Adult Script Pro Community Forums

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.

#1 2015-01-30 17:37:13

elraise
Member
Registered: 2015-01-22
Posts: 10

Mobile site

Hello, the mobile version of my site, currently, aims to: m.site.com
How can I change it to restore the default behavior, namely: site.com/mobile

Thank You

Offline

#2 2015-01-30 19:07:05

ful2fun.com
Member
From: Usa
Registered: 2011-09-16
Posts: 1,048
Website

Re: Mobile site

reverse the process you followed

Offline

#3 2015-01-30 19:29:00

elraise
Member
Registered: 2015-01-22
Posts: 10

Re: Mobile site

Adrian had done for me.

I tried to upload the folder/mobile, from the .zip file original script that Adrian gave me, but when I access from the mobile always seeks the subdomain.

Offline

#4 2015-01-30 20:20:50

elraise
Member
Registered: 2015-01-22
Posts: 10

Re: Mobile site

edit: I also changed the config.php file, under the mobile url. But nothing comes more in the subdomain

Offline

#5 2015-01-31 07:15:31

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Mobile site

If you are using aspro >= 1.2.0 then you cannot reverse and /mobile will not work anymore. Why is m.domain.com not good for you?


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#6 2015-01-31 12:50:47

elraise
Member
Registered: 2015-01-22
Posts: 10

Re: Mobile site

I use version 1.0.12. I resolved, in idex.php there this code:

VF::redirect('http://m.site.com');

that should be changed to:

require BASE_DIR.'/mobile/mobile.php';
		VMobile::process();

Now works.

The subdomain was not good for me because it gave me error, the page generated a loop. I do not know what may depend


Thank you

Offline

Board footer

Powered by FluxBB