The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
openx with vb4
hi all,
how to add openx ads inside vb4? regards saad |
#2
|
|||
|
|||
Copy the code that openx gives you and input it into any template you want manually or add it to one of the pre-positioned areas in the advertising section in the admincp. Don't forget to do it like this:
Code:
<vb:literal> AD CODE GOES HERE </vb:literal> |
#3
|
|||
|
|||
i put the openx code like this and not work please help
<vb:literal> <? if (@include(getenv('DOCUMENT_ROOT').'/open/phpadsnew.inc.php')) { if (!isset($phpAds_context)) $phpAds_context = array(); $phpAds_raw = view_raw ('zone:1329', 0, '', '_top', '0', $phpAds_context); echo $phpAds_raw['html']; } ?> </vb:literal> |
#4
|
|||
|
|||
Quote:
|
#5
|
|||
|
|||
If you want to use the php code, you have to create a plugin, register the variable to the templates, where you want to show it and to put it into the templates
|
#6
|
|||
|
|||
use the script, at least i used it like that and worked fine
|
#7
|
|||
|
|||
Quote:
thank for your reply to me how to register the variable to the templates? thanks in advance for your help |
#8
|
|||
|
|||
<a href="https://vborg.vbsupport.ru/showthread.php?t=228078" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=228078</a>
|
#9
|
|||
|
|||
Quote:
thanks for your reply to me i am not very good on that story can you explain to step by step, how to add openx ads on vb4? i hope you continue help me regards helmica |
#10
|
|||
|
|||
Hmm... how about a replacement variable?
Get your script code and add it to the replacement variable, then use that varibale and add it in your style. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|