Vivvo CMS Support Forum Home | Free Trial | Online Demo | Docs and Manuals | Order Now   

Go Back   Vivvo CMS Support Forums > Vivvo 4 > Troubleshooting

Troubleshooting Problems, need help? Have a tip or advice? Post it here.

Reply
 
Thread Tools Display Modes
Old 10-30-2007, 03:42 AM   #1
marcozurita
Guest
 
Posts: n/a
Default banner ads

Hi,

I Need help me with work code in www.lucesdelsiglo.com.mx/index.php

my code is:

********************

<script language='JavaScript' type='text/javascript' src='http://lucesdelsiglo.com.mx/ad/adx.js'></script>
<script language='JavaScript' type='text/javascript'>
<!--
if (!document.phpAds_used) document.phpAds_used = ',';
phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);

document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
document.write ("http://lucesdelsiglo.com.mx/ad/adjs.php?n=" + phpAds_random);
document.write ("&amp;what=zone:1");
document.write ("&amp;exclude=" + document.phpAds_used);
if (document.referrer)
document.write ("&amp;referer=" + escape(document.referrer));
document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://lucesdelsiglo.com.mx/ad/adclick.php?n=ade347cd' target='_blank'><img src='http://lucesdelsiglo.com.mx/ad/adview.php?what=zone:1&amp;n=ade347cd' border='0' alt=''></a></noscript>

******************

regards

Marco Z.
Cancun, Mx.
  Reply With Quote
Old 10-30-2007, 08:01 AM   #2
zaini0411
Guest
 
Posts: n/a
Default what happened with your code

Hello,
i've lookig for your web, but is nothing happend..can you explain more to us..may be we can help you.
  Reply With Quote
Old 10-30-2007, 09:32 AM   #3
Micha
Administrator
 
Micha's Avatar
 
Join Date: Feb 2006
Location: Belgrade
Posts: 2,661
Rep Power: 10
Micha will become famous soon enough
Default

Yes, could you be more specific about this?
What exactly is your problem?
__________________
--[Read Forum Rules and Guidelines before you post!!!]--

Djole, Djole, bas si bezobrazan sto si se pravio da si mali zekan. Zato cu te dobro kazniti...
Micha is offline   Reply With Quote
Old 10-30-2007, 07:17 PM   #4
EWorld
Guest
 
Posts: n/a
Default

since your using phpads why dont you use the IMAGE TAG Code under Direct selection? Loads the banner just fine
  Reply With Quote
Old 10-31-2007, 01:14 AM   #5
marcozurita
Guest
 
Posts: n/a
Default Ad

My problem is:

when i paste code y my homepage/default.tpl

no work other sections no see and de banner to

regards

Marco
  Reply With Quote
Old 10-31-2007, 06:23 AM   #6
EWorld
Guest
 
Posts: n/a
Default

yes i know, i run into the same problem. thats why i created with phpads an other code, the IMAGE CODE TAG!

hope someone can help you with using the javascript version
  Reply With Quote
Old 10-31-2007, 10:45 AM   #7
shketuljko
Vivvo Developer
 
shketuljko's Avatar
 
Join Date: Nov 2006
Posts: 2,002
Rep Power: 10
shketuljko is on a distinguished road
Default

That code should look like:

Quote:
<script language='JavaScript' type='text/javascript' src='http://lucesdelsiglo.com.mx/ad/adx.js'></script>
<script language='JavaScript' type='text/javascript'>
<!--
if (!document.phpAds_used) document.phpAds_used = ',';
phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);

document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
document.write ("http://lucesdelsiglo.com.mx/ad/adjs.php?n=" + phpAds_random);
document.write ("&amp;what=zone:1");
document.write ("&amp;exclude=" + document.phpAds_used);
if (document.referrer)
document.write ("&amp;referer=" + escape(document.referrer));
document.write ("'><" + "/script>");
//-->
</script><a href='http://lucesdelsiglo.com.mx/ad/adclick.php?n=ade347cd' target='_blank'><img src='http://lucesdelsiglo.com.mx/ad/adview.php?what=zone:1&amp;n=ade347cd' border='0' alt=''></a>
__________________
Ola
W i l l c o d e f o r f o o d
shketuljko is offline   Reply With Quote
Old 11-08-2007, 01:44 PM   #8
utvara
Administrator
 
utvara's Avatar
 
Join Date: Feb 2006
Posts: 186
Rep Power: 10
utvara is on a distinguished road
Default

Here is a simple reusable template for phpAdsNew. You can call this file from your templates like this:

Code:
<vte:include file="{VIVVO_TEMPLATE_DIR}box/box_adv.tpl" zone="3" code="a234b55d" />
box_adv.tpl should go to templates/xhtml/box
Attached Files
File Type: zip box_adv.tpl.zip (543 Bytes, 41 views)
utvara is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Order now:

Order your copy of Vivvo now and get:
bullet Six months free upgrades
bullet Free support
bullet Full source code
bullet Immediate download
bullet Starting at only $295.00
Order now

Support HelpDesk:

You can submit a trouble ticket in the support area at any time, using your client area email and password.

Vivvo CMS Resource Center:

The Vivvo CMS Resource Center is your window to a variety of resources that showcase Vivvo's features and technologies. So whether you're brand new to Vivvo or a seasoned user, you can find the information you need right here!

Latest Additions:

Contact us:

Business hours
Mon-Fri 9:00AM - 6:00PM GMT+1
(Europe)
Telephone Sales
381 11 311-50-20
Email inquiries
sales@vivvo.net
(Sales inquiries)
support@vivvo.net
(Support inquiries)

All times are GMT +1. The time now is 01:32 PM.
Contact Us - Vivvo Home - Archive - Privacy Statement - Top

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.