Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-20-2013, 04:07 PM
supermak supermak is offline
 
Join Date: Mar 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Issue with Mobile Style in Showthread

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/30...cloud-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/#/...?forcenoajax=1

Any idea of what am I doing wrong?

Thanks
Reply With Quote
  #2  
Old 07-21-2013, 10:43 PM
supermak supermak is offline
 
Join Date: Mar 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any help please???
Reply With Quote
  #3  
Old 07-21-2013, 10:51 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where are you getting the forcenoajax link from?
Reply With Quote
  #4  
Old 07-22-2013, 12:44 AM
supermak supermak is offline
 
Join Date: Mar 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
PHP Code:
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...
Reply With Quote
  #5  
Old 07-22-2013, 01:38 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 07-23-2013, 06:46 PM
supermak supermak is offline
 
Join Date: Mar 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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,
Reply With Quote
  #7  
Old 07-23-2013, 07:44 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 07-24-2013, 10:24 PM
supermak supermak is offline
 
Join Date: Mar 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.


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#s...&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#s...&forcenoajax=1

Let me show you



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

Reply With Quote
  #9  
Old 07-25-2013, 04:27 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just went to your site again and you still have vbseo enabled.
Reply With Quote
  #10  
Old 07-25-2013, 04:50 PM
supermak supermak is offline
 
Join Date: Mar 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:

PHP Code:
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

.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:25 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03937 seconds
  • Memory Usage 2,252KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete