![]() |
openx with vb4
hi all,
how to add openx ads inside vb4? regards saad |
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> |
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> |
Quote:
|
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
|
use the script, at least i used it like that and worked fine :p
|
Quote:
thank for your reply to me how to register the variable to the templates? thanks in advance for your help |
<a href="https://vborg.vbsupport.ru/showthread.php?t=228078" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=228078</a>
|
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 |
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. :) |
All times are GMT. The time now is 09:04 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|