Follow Us:


Tricked Out Mods: Forums


 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Not seeing that content is waiting on main rn site
 
 
Post new topic   Reply to topic   print    Tricked Out News Forum Index -> NukeC
View previous topic :: View next topic  
Author Message
aeroskyn
Newbie
Newbie


Joined: Jun 03, 2011
Posts: 5
Location: 29.8N 81.8W

PostPosted: Fri Jul 22, 2011 12:52 am 
Post subject: Not seeing that content is waiting on main rn site
Reply with quote

Someone has posted an ad on my site. I see that there is content waiting when I look in the nukec module, but I don't see where anything is in content waiting, for approval, on my website. Further, I don't see anyplace to approve of the ad, much less review it in the nukec module. Am I missing something? Any help, is again, appreciated.
  
Back to top
View user's profile Send private message Visit poster's website
bobby
Site Admin
Site Admin


Joined: Jan 20, 2009
Posts: 804


PostPosted: Fri Jul 22, 2011 6:19 am 
Post subject:
Reply with quote

You can view the ad to approve it when you click on the NukeC Admin. There should be a button that says view. Once you click it just click the ads title to preview and approve it. To get the ads to show in the waiting content block will require a few changes to mainfile.php in RN. I will post those changes in just a few minutes.
_________________
Tricked Out News
  
Back to top
View user's profile Send private message Visit poster's website
bobby
Site Admin
Site Admin


Joined: Jan 20, 2009
Posts: 804


PostPosted: Fri Jul 22, 2011 6:50 am 
Post subject:
Reply with quote

In mainfile.php, find:

Code:
function adminblock()


It will be around line 1179. At the bottom of the function you will see this line:

Code:
themesidebox($title, $content);


above it add this:

Code:
$num = $db->sql_numrows($db->sql_query("SELECT * FROM nukec30_ads_ads WHERE active='0'"));

      if (!empty($num)) {
     $content .= '<strong><big></big></strong><a href="'. $admin_file . '.php?op=NukeC30AdminWaiting">Classifieds</a>: ' .$num. '<br />';
    }


Save and close mainfile.php

Make sure you back up your mainfile before you start editing it just in case something goes wrong.
  
Back to top
View user's profile Send private message Visit poster's website
aeroskyn
Newbie
Newbie


Joined: Jun 03, 2011
Posts: 5
Location: 29.8N 81.8W

PostPosted: Thu Jul 28, 2011 7:54 pm 
Post subject:
Reply with quote

Thanks, Bobby. That fixed it. Sorry it took so long to reply, but I had problems logging in here. Seems my browser insisted on using my email address instead of my nickname.
_________________
Life is hard, Concrete is hard, Life is concrete.
  
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic   print    Tricked Out News Forum Index -> NukeC All times are GMT - 5 Hours
 
 Page 1 of 1
 
 

Jump to:   
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
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001-2008 phpBB Group
Forums ©