Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 12-04-2010, 06:28 PM
michelle86 michelle86 is offline
 
Join Date: Jan 2010
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default help: ads do not display if conditionals are used

I would like to display an advertisement to people browsing a specific forum.

I set the conditional:

"Display this ad if... User is browsing forum __"

When I set this conditional, the ad does not display. If the conditional is not used, the ad works and is displayed everywhere (not desireable, as this ad is specific to a particular section of my forum).

I realize this is a bug and after googling it, it seems to have been around since vb4.0.1.

I have vb 4.1.0

Does anyone know a workaround?
Reply With Quote
  #2  
Old 01-04-2011, 03:16 AM
michelle86 michelle86 is offline
 
Join Date: Jan 2010
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone?
Reply With Quote
  #3  
Old 01-04-2011, 03:32 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you please post your actual code that you used? We can't tell you what is wrong if you don't tell us exactly what you did. (It does work if you use the right condition - I've done it before.)
Reply With Quote
  #4  
Old 01-04-2011, 03:53 AM
michelle86 michelle86 is offline
 
Join Date: Jan 2010
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

all it was was a simple<a href="ad link"><img src="image link"></a> type of code.
Reply With Quote
  #5  
Old 01-04-2011, 05:37 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You said you set the condition and it didn't work. So what condition did you set? I just set one to only display in my Main Forum forum and it works just fine in my 4.1 default test forum. So, we really need more details in order to help out.
Reply With Quote
  #6  
Old 01-05-2011, 12:27 AM
michelle86 michelle86 is offline
 
Join Date: Jan 2010
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As I said before, the condition I used was: "Display this ad if... User is browsing forum ___ "

I set it to only show up in a specific forum section. Does the name of the forum section matter?
Reply With Quote
  #7  
Old 01-05-2011, 03:44 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As I said, this works just fine on my default 4.1.0 test site. So, I was just asking for any other specifics (the code? a screen shot? any other options selected?) to be able to help you figure out why it doesn't work for you.
Reply With Quote
  #8  
Old 01-05-2011, 05:30 PM
michelle86 michelle86 is offline
 
Join Date: Jan 2010
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here you go:



If I unselect the conditional, the ad works forum-wide. When I select the conditional as check-marked in the image the ad does not appear in the selected forum section.

I have tried researching this, and it appears I'm not the only one with an issue and that this is a bug. I just want to know if anyone has figured out a way around it.

I have tried disabling all other site ads to ensure it wasn't conflicting with anything else. But this made no difference.
Reply With Quote
  #9  
Old 01-05-2011, 06:27 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If it is a bug and there is a fix, then it would be posted in the bug report.
Reply With Quote
  #10  
Old 01-05-2011, 07:09 PM
michelle86 michelle86 is offline
 
Join Date: Jan 2010
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here, I googled and found this... there are 3 people in this thread that have the same problem as me: http://www.vbulletin.com/forum/showt...tising-problem

--------------- Added [DATE]1294262201[/DATE] at [TIME]1294262201[/TIME] ---------------

and here.. http://www.vbulletin.com/forum/proje...?issueid=34666

The ad placement I'm trying to get is in "first post content" not below the navbar.
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:32 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04644 seconds
  • Memory Usage 2,239KB
  • 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
  • (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