The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
ads besides posts - no longer working in v4
I had this code in the postbit, it showed adsense to non logged in users, memeber bannesr to logged in users.
<div id=\"post_message_$post[postid]\"> ".((($post[postcount]==1) and ($show['guest'])) ? (" <div style=\"margin-left:5px; float: right\"> <script type=\"text/javascript\"><!-- google_ad_client = \"pub-5601728979355758\"; /* nat-par-forum */ google_ad_slot = \"6214323237\"; google_ad_width = 336; google_ad_height = 280; //--> </script> <script type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\"> </script> </div> ") : (""))." ".((($post[postcount]==1) and is_member_of($GLOBALS['vbulletin']->userinfo, 2, 5, 6, 7, 56)) ? (" <div style=\"margin-left:5px; float: right\"> <!-- ad tag (Iframe) : Natural Family Directory Beside Forum Posts | http://www.natural-family.com.au | 338 x 280 --> <script type=\"text/javascript\"> var kadId=4; var kadwidth=338; var kadheight=280; </script> <script type=\"text/javascript\" src=\"http://www.natural-family.com.au/scripts/display_ads.js\"> </script> </div> but no longer works in v4 what do I need to update in the syntax? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|