View Full Version : Issue with Mobile Style in Showthread
supermak
07-20-2013, 04:07 PM
Hi, I've installed the mobile style, and placed an adsense baner within it
the problem is that the ad is displayed only sometimes... let me show you:
When you are browsing the mobile style in the URL:
http://www.iphoneros.net/noticias/30936-iwork-en-icloud-com.html
the banners appears... but, sometimes when you browse the mobile style it generates an url like this one and the banner is not displayed:
http://www.iphoneros.net/noticias/#/noticias/30936-iwork-en-icloud-com.html?forcenoajax=1
Any idea of what am I doing wrong?
Thanks
supermak
07-21-2013, 10:43 PM
any help please???
Lynne
07-21-2013, 10:51 PM
Where are you getting the forcenoajax link from?
supermak
07-22-2013, 12:44 AM
its quite weird because when you are in the forum display (ex iphoneros.net/noticias ) the link points to a url without the "forcenoajax" variable and also without the "#" character.
If you remove the # character in this url
http://www.iphoneros.net/noticias/#/noticias/30936-iwork-en-icloud-com.html?forcenoajax=1
Then it renders ok, but with the # character the adsense code does not appear...
I m really confused...
Lynne
07-22-2013, 01:38 AM
OK, but can you point me to a page where you are getting the forcenoajax URL to link to? There should be no pages that point to a link like you are showing.
supermak
07-23-2013, 06:46 PM
Lynne, first of all, thanks for taking the time to answer, I can't find the problem. Let me show you, enter
www.iphoneros.net
Then, in the footer, select the mobile style, the click in "noticias" (news) and it will link you to:
http://www.iphoneros.net/#/noticias/?forcenoajax=1
I don't know why the "/#/" and the "?forcenoajax=1" appears :(
does it help as an example?
Thanks in advance,
Lynne
07-23-2013, 07:44 PM
I don't see Noticias in the footer, but I see it in the forums list. You are using something other than the vbulletin Friendly URLs for your site URLs (vbseo?). Can you please disable vbseo via it's control panel and remove the .htaccess for it from your .htaccess file and then try your URLs again. My totally default site is not doing what yours is doing.
supermak
07-24-2013, 10:24 PM
Lyne, thanks again for your answer, and sorry for the delay in mine :).
"noticias" is a forum, what you should find in the footer is the mobile version style (you can choose it in the footer of the vbulletin forum ("version movil" in spanish), and yes, I?m using vbseo indeed.
http://img707.imageshack.us/img707/6355/uo8x.png
What have I done?
Following your advise I have disabled vbseo and I have uploaded a blank htaccess
How does urls look like with this new configuration?
http://www.iphoneros.net/index.php#showthread.php?t=30950&forcenoajax=1
Wich is the problem?
I have adsense in the showthread mobile style template but this adsense code is not display in this url:
http://www.iphoneros.net/index.php#showthread.php?t=30950&forcenoajax=1
Let me show you
http://img38.imageshack.us/img38/6654/8gom.png
If you remove the "index.php#" and the "forcenoajax=1" the adsense code within the mobile style is displayed correctly (always on the mobile version)
http://www.iphoneros.net/showthread.php?t=30950
http://img841.imageshack.us/img841/2931/p55c.png
Lynne
07-25-2013, 04:27 PM
I just went to your site again and you still have vbseo enabled.
supermak
07-25-2013, 04:50 PM
Yes, I leave it enabled because Google Crawls my site everytime, but as I told you, with vbseo disabled and a blank htaccess the problem remains and the url's look like this:
http://www.iphoneros.net/index.php#showthread.php?t=30950&forcenoajax=1
And removing "index.php#" solves the problem, but I don't know how to remove it :(
.
Lynne
07-26-2013, 02:20 AM
I don't know what to suggest because, as I said, on my totally default site, it doesn't do that. So, something on your site is causing the issue. I'd suggest disabling other modifications also to see if one of them is causing the issue.
supermak
07-28-2013, 04:30 PM
Ok Lynne, thanks anyway. I hope that somebody that reads the thread would help me.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.