The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Quote:
|
Благодарность от: | ||
HMBeaty |
#12
|
|||
|
|||
Hey guys,
This time i want to SHOW ads for one forum and its two sub-forums -- but i don't want the ad to show in any other forums. What's the conditional? |
#13
|
|||
|
|||
Assuming you still want guests only:
Code:
<vb:if condition="$foruminfo['forumid'] == '50' AND $show['guest']"> ad code here </vb:if> |
#14
|
|||
|
|||
Quote:
http://img15.imageshack.us/img15/5799/24292276.jpg 1. I believe this code needs to go somewhere in postbit legacy, but i don't know exactly where. I would like it for the 1st post on all pages. Please advise. 2. The forum IDs for this particular ad code: 27, 31, and 33. (31 and 33 are subforums to 27) I want everyone to see this ad. I don't want this ad appearing in any other forums. 3. What's the piece of code to make the thread titles show for Send "(Thread Title)" Ringtone to your Cell For our wordpress site this works: rm_artist = "<?php the_title(); ?>"; |
#15
|
|||
|
|||
Sorry, you did say "and subforums". Try this:
Code:
<vb:if condition="in_array($foruminfo['forumid'], array(27, 31, 33)) AND $show['guest']"> ad code here </vb:if> I'm not sure if you wanted a response to the rest of the styuff you posted. |
#16
|
|||
|
|||
Quote:
thanks for providing me the conditional as well |
#17
|
|||
|
|||
Quote:
Quote:
|
#18
|
|||
|
|||
something is wrong...
the code isn't appearing at all... i don't see it in the page source either Quote:
|
#19
|
|||
|
|||
I guess the 'if' condition is false. Where are you putting that code?
|
#20
|
|||
|
|||
i'm placing the code in postbit legacy
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|