The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
![]()
I suppose it could be the template modification system. Try using hook global_start instead.
Quote:
|
#12
|
||||
|
||||
![]()
Lol, i hadn't built that in (but i could do) as the person that comissioned it didnt need that, but it has the ability to put seperate variables in different forums, the ads dont show if you dont add the variable.
I suppose i could extend it to add the variable depending on forum selection, may be a little while as i dont have a lot of time at the moment. |
#13
|
|||
|
|||
![]()
Oh, I see - that could be used by making one of the variables a list of forums, then using that in a conditional, so it would allow you to edit the list in the settings instead of having to go to a plugin. Yeah, seems like that would work.
|
#14
|
||||
|
||||
![]() Quote:
![]() |
#15
|
|||
|
|||
![]()
so how can i solve my problem with Simon Lloyd mod ??? i didnt really get what u guys talking about...
@kh99 even global_start hook didnt work ![]() |
#16
|
|||
|
|||
![]()
Well, you'd have to convert a string of number to an array then use it in an in_array(). But reading what you psted above, it wasn't working using the in_array() condition so there's got to be some other problem with your condition. If you use the plugin code and this condition do you see ads?
Code:
<if condition="(($post[postcount] % $vboptions[maxposts] == 1)) AND ($show['member']) AND 1"> |
#17
|
|||
|
|||
![]()
hmmm, very weird...
i tried: <if condition="(($post[postcount] % $vboptions[maxposts] == 1)) ads here </if> even then, i dont see ads inside the postbit it still saves somewhere my old conditions, because for "guests" the ads are shown, but not for members... |
#18
|
|||
|
|||
![]()
Maybe that's just a typo, but try this:
Code:
<if condition="($post[postcount] % $vboptions[maxposts]) == 1"> ads here </if> Also, make sure the template you're editing is in the same style you're using. |
#19
|
|||
|
|||
![]()
doesnt work ... i dont understand why?!?
i delete datastore cache, deactivated, flushed xcache, rebuild bit_fields .... everything tried... i dont understand, why my this condition doesnt work in postbit_legacy template: Code:
<!-- message --> <if condition="($post[postcount] % $vboptions[maxposts]) == 1"> <div style="float:left; width:301px; height:251px; border:0px solid #336699;margin-left:2px;margin-right:15px;"> adtag comes here ... </div> </if> <div id="post_message_$post[postid]"> $ad_location[ad_showthread_firstpost_start] $post[message] </div> <!-- / message --> |
#20
|
|||
|
|||
![]()
Are you sure you're using postbit_legacy and not postbit (is the user information on the left or on top)? And if you have more than one style are you editing the same one that you're using?
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|