- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 52 guest(s) and 1 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Banners isn't working [ ]
Author
Message
busby
Nuke Cadet
Joined: Jan 24, 2006
Posts: 7
Posted:
Thu Mar 23, 2006 12:13 pm
You lost me with that one sorry
Here is the code what bit should i take out
Code:
$sql = "SELECT bid, imageurl, clickurl, alttext FROM ".$prefix."_banner WHERE position='$position' AND active='1' LIMIT $bannum,1";
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
$bid = intval($row['bid']);
$imageurl = filter($row['imageurl'], "nohtml");
$clickurl = filter($row['clickurl'], "nohtml");
$alttext = filter($row['alttext'], "nohtml");
$db->sql_query("UPDATE ".$prefix."_banner SET impmade=impmade+1 WHERE bid='$bid'");
if($numrows > 0) {
$sql2 = "SELECT cid, imptotal, impmade, clicks, date, ad_class, ad_code, ad_width, ad_height FROM ".$prefix."_banner WHERE bid='$bid'";
$result2 = $db->sql_query($sql2);
$row2 = $db->sql_fetchrow($result2);
$cid = intval($row2['cid']);
$imptotal = intval($row2['imptotal']);
$impmade = intval($row2['impmade']);
$clicks = intval($row2['clicks']);
$date = $row2['date'];
$ad_class = filter($row2['ad_class'], "nohtml");
$ad_code = filter($row2['ad_code'], "nohtml");
$ad_width = intval($row2['ad_width']);
$ad_height = intval($row2['ad_height']);
Thanks
RemixCulture
Nuke Soldier
Joined: Dec 07, 2004
Posts: 15
Location: Silicon Valley
Posted:
Thu May 04, 2006 2:36 pm
I can't get the Advertising block to work with a virgin install of 7.8
'Add a New Banner' is italicized without a link...
and 'Add a New Client' opens this page /admin.php?op=add_client but there's no text or images or anything in the box
_________________ remixculture.com | journees.com |
RemixCulture
Nuke Soldier
Joined: Dec 07, 2004
Posts: 15
Location: Silicon Valley
Posted:
Thu May 04, 2006 3:38 pm
i installed the 78patched3dot2 and it didn't help... in fact now it won't let me put images in the welcome box with
Code:
<img src="image.jpg">
Add New Banner is in Banners Admin and Add Client just doesn't show anything... grrr
_________________ remixculture.com | journees.com |
RemixCulture
Nuke Soldier
Joined: Dec 07, 2004
Posts: 15
Location: Silicon Valley
Posted:
Fri May 05, 2006 8:54 am
At http://www.nukeresources.com/ it says 'Patches for PHP-Nuke 7.7 through 7.9 no longer supported'
_________________ remixculture.com | journees.com |
Draconic
Nuke Soldier
Joined: Jan 02, 2006
Posts: 26
Posted:
Fri May 05, 2006 8:48 pm
Goto page Previous 1 , 2
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum