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, 314 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 - Downlods modification [ ]
 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
prem
Nuke Cadet
Nuke Cadet


Joined: Mar 11, 2006
Posts: 2


PostPosted: Sat Mar 11, 2006 1:47 pm Reply with quoteBack to top

hello, in downlod modle i dont like to give the add downlods to my members, they can downlod only,how can i remove thet? only admin can add downlods. i need like that any one plz help
thx
prem
Find all posts by premView user's profileSend private message
astalavistabd
Captain
Captain


Joined: Dec 19, 2004
Posts: 663

Location: Canada

PostPosted: Mon Mar 13, 2006 12:47 pm Reply with quoteBack to top

There should be a line in your modules/Downloads/index.php file:

Code:
<a href=\"modules.php?name=$module_name&d_op=AddDownload#adddownload\">"._ADDDOWNLOAD."</a>


If you delet the link there won't be any Add Download link in your downloads module and that should solve your problem. Smile

_________________
Free PHPNuke Themes, PHPNuke Modules, PHPNuke Blocks (No Registration Required)
Find all posts by astalavistabdView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
prem
Nuke Cadet
Nuke Cadet


Joined: Mar 11, 2006
Posts: 2


PostPosted: Tue Mar 14, 2006 1:47 pm Reply with quoteBack to top

so as a admin can i only add downlods if i remove this?
thx
prem
Find all posts by premView user's profileSend private message
nando9923
Nuke Cadet
Nuke Cadet


Joined: May 19, 2006
Posts: 4


PostPosted: Mon May 22, 2006 12:47 pm Reply with quoteBack to top

yes, as admin u will still be able 2 add dls but from your admin panel only...
Find all posts by nando9923View user's profileSend private message
saho
Nuke Soldier
Nuke Soldier


Joined: Jun 26, 2005
Posts: 12

Location: Turkey

PostPosted: Tue May 23, 2006 2:08 am Reply with quoteBack to top

Code:

global $admin;
if (is_admin($admin) == true) {
<a href=\"modules.php?name=$module_name&d_op=AddDownload#adddownload\">"._ADDDOWNLOAD."</a>
}

only see admin

_________________
www.ankabt.net www.mizahturk.net www.kulturmantari.net
www.tokat.us www.starsarea.com
www.phptrcms.com www.rc6fan.com
www.maxiturka.com www.lincoln10fan.com
Find all posts by sahoView user's profileSend private messageSend e-mailVisit poster's websiteYahoo MessengerMSN Messenger
Cabinet
Nuke Cadet
Nuke Cadet


Joined: Feb 06, 2006
Posts: 8


PostPosted: Wed Jun 14, 2006 9:41 am Reply with quoteBack to top

When someone adds a new download, it doesn't automatically get added to the download database.

The admin has to verify it first. The it can either be added or deleted.
Find all posts by CabinetView user's profileSend private message
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 - TUTTISU E-COMMERCE http://www.tuttisu.it
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.093 Seconds - 365 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::