You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 52 guest(s) and 0 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 [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
busby
Nuke Cadet
Nuke Cadet


Joined: Jan 24, 2006
Posts: 7


PostPosted: Thu Mar 23, 2006 12:13 pm Reply with quoteBack to top

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
Find all posts by busbyView user's profileSend private message
RemixCulture
Nuke Soldier
Nuke Soldier


Joined: Dec 07, 2004
Posts: 15

Location: Silicon Valley

PostPosted: Thu May 04, 2006 2:36 pm Reply with quoteBack to top

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 |
Find all posts by RemixCultureView user's profileSend private message
RemixCulture
Nuke Soldier
Nuke Soldier


Joined: Dec 07, 2004
Posts: 15

Location: Silicon Valley

PostPosted: Thu May 04, 2006 3:38 pm Reply with quoteBack to top

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

Image Confused Rolling Eyes

_________________
remixculture.com | journees.com |
Find all posts by RemixCultureView user's profileSend private message
RemixCulture
Nuke Soldier
Nuke Soldier


Joined: Dec 07, 2004
Posts: 15

Location: Silicon Valley

PostPosted: Fri May 05, 2006 8:54 am Reply with quoteBack to top

Evaders99 wrote:
What version are you using? Using the latest Patched files? http://www.nukeresources.com



At http://www.nukeresources.com/ it says 'Patches for PHP-Nuke 7.7 through 7.9 no longer supported'

_________________
remixculture.com | journees.com |
Find all posts by RemixCultureView user's profileSend private message
Draconic
Nuke Soldier
Nuke Soldier


Joined: Jan 02, 2006
Posts: 26


PostPosted: Fri May 05, 2006 8:48 pm Reply with quoteBack to top

RemixCulture wrote:
Evaders99 wrote:
What version are you using? Using the latest Patched files? http://www.nukeresources.com


At http://www.nukeresources.com/ it says 'Patches for PHP-Nuke 7.7 through 7.9 no longer supported'


Just google for it, I know they are out there. I just downloaded one a week ago.

_________________
Web Hosting and VoIP Service Forums
Web Hosting Forums | VoIP Service Forums | WLNN | VoIP Reviews
Find all posts by DraconicView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.171 Seconds - 237 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::