The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
Pages: 1
Hi
I want to redirect the main domain "site.com/mobile/" to sub-domain "m.site.com"
How to?
Thanks
Offline
Latest version 1.0.10 supports this by default. Please see INSTALL.txt.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Is it possible to have the code to implement a link in the mobile version, by pass redirect, to the full version of the site, like m.xhasmter has.
I think it would be nice for anyone who uses iPad.
Offline
Yes, it is possible, but only if you use the subdomain option in the latest version 1.0.10.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
I use the subdomain and the last version, m.xfapzap.com
What changes should I make?
thank you
Offline
Admin -> Extend -> Module Manager -> mobile -> config and disable redirect. This way only users that select if they want to use the mobile or desktop version will be redirected. Or another better method would be that on first visit redirect to mobile, but if a session variable is set, then dont redirect. Edit index.php and find:
if (VModule::enabled('mobile')) {
$mobile = (VBrowser::get('is_mobile')) ? TRUE : FALSE;
if (($mobile && VF::cfg_item('module.mobile.redirect')) OR
$module == 'mobile') {
require BASE_DIR.'/mobile/mobile.php';
VMobile::process();
}
}
Replace with:
if (isset($_GET['desktop'])) {
$_SESSION['desktop'] = 1;
}
if (VModule::enabled('mobile') && !isset($_SESSION['desktop'])) {
$mobile = (VBrowser::get('is_mobile')) ? TRUE : FALSE;
if (($mobile && VF::cfg_item('module.mobile.redirect')) OR
$module == 'mobile') {
require BASE_DIR.'/mobile/mobile.php';
VMobile::process();
}
}
In the mobile version you add a link to www.domain.com/?desktop=true so this way redirect will not be forced.
Will add this in the next version.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
How do I convert all my videos at once for Mobile (not one by one at a time)?
Offline
This is not possible by default. It will be possible in the next major version.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Pages: 1