Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.5
Author Message
Para620
Regular
Regular



Joined: Mar 16, 2004
Posts: 62

PostPosted: Sun Sep 12, 2004 5:20 pm Reply with quote

I tried adding a second downloads module for 7.5 and I think that I may have missed something. All I did was basically change the original download Module to a second one. The second Admin link should Showup as Downloads 2 however its showing up as _Downloads2 in the admin section. Also when I click on it, it says access denied. Did I miss something in the database where the admins have to be granted access for it. Hopefully I made this clear enough, if not let me know.


-Brent

_________________
www.commoguru.com 
View user's profile Send private message
Nukeum66
Life Cycles Becoming CPU Cycles



Joined: Jul 30, 2003
Posts: 551
Location: Neurotic, State, USA

PostPosted: Sun Sep 12, 2004 5:41 pm Reply with quote

add this to your admin/languages/yourlang.php
Code:
define("_DOWNLOAD2","Downloads2");


Did you also edit :
case.download.php
and admin/modules/download.php

_________________
Scott Johnson MIS Ubuntu/Linux 11.10 
View user's profile Send private message Visit poster's website
Nukeum66







PostPosted: Sun Sep 12, 2004 5:57 pm Reply with quote

Also try reading this >> http://www.ravenphpscripts.com/modules.php?name=PHP-Nuke_HOWTO&page=duplicating-php-nuke-modules.html

It should help
 
Para620







PostPosted: Sun Sep 12, 2004 8:29 pm Reply with quote

Thanks for the help there Nukeum66. I have got it to show correctly in the Admin section but still having a little trouble with the SQL Tables I think because I am getting the access Denied. Here is the SQL Tables that I have added.



# --------------------------------------------------------

#
# Table structure for table `nuke_downloads2_categories`
#

CREATE TABLE `nuke_downloads2_categories` (
`cid` int(11) NOT NULL auto_increment,
`title` varchar(50) NOT NULL default '',
`cdescription` text NOT NULL,
`parentid` int(11) NOT NULL default '0',
PRIMARY KEY (`cid`),
KEY `cid` (`cid`),
KEY `title` (`title`)
) TYPE=MyISAM AUTO_INCREMENT=8 ;

# --------------------------------------------------------

#
# Table structure for table `nuke_downloads2_downloads`
#

CREATE TABLE `nuke_downloads2_downloads` (
`lid` int(11) NOT NULL auto_increment,
`cid` int(11) NOT NULL default '0',
`sid` int(11) NOT NULL default '0',
`title` varchar(100) NOT NULL default '',
`url` varchar(100) NOT NULL default '',
`description` text NOT NULL,
`date` datetime default NULL,
`name` varchar(100) NOT NULL default '',
`email` varchar(100) NOT NULL default '',
`hits` int(11) NOT NULL default '0',
`submitter` varchar(60) NOT NULL default '',
`downloadratingsummary` double(6,4) NOT NULL default '0.0000',
`totalvotes` int(11) NOT NULL default '0',
`totalcomments` int(11) NOT NULL default '0',
`filesize` int(11) NOT NULL default '0',
`version` varchar(10) NOT NULL default '',
`homepage` varchar(200) NOT NULL default '',
PRIMARY KEY (`lid`),
KEY `lid` (`lid`),
KEY `cid` (`cid`),
KEY `sid` (`sid`),
KEY `title` (`title`)
) TYPE=MyISAM AUTO_INCREMENT=81 ;

# --------------------------------------------------------

#
# Table structure for table `nuke_downloads2_editorials`
#

CREATE TABLE `nuke_downloads2_editorials` (
`downloadid` int(11) NOT NULL default '0',
`adminid` varchar(60) NOT NULL default '',
`editorialtimestamp` datetime NOT NULL default '0000-00-00 00:00:00',
`editorialtext` text NOT NULL,
`editorialtitle` varchar(100) NOT NULL default '',
PRIMARY KEY (`downloadid`),
KEY `downloadid` (`downloadid`)
) TYPE=MyISAM;

# --------------------------------------------------------

#
# Table structure for table `nuke_downloads2_modrequest`
#

CREATE TABLE `nuke_downloads2_modrequest` (
`requestid` int(11) NOT NULL auto_increment,
`lid` int(11) NOT NULL default '0',
`cid` int(11) NOT NULL default '0',
`sid` int(11) NOT NULL default '0',
`title` varchar(100) NOT NULL default '',
`url` varchar(100) NOT NULL default '',
`description` text NOT NULL,
`modifysubmitter` varchar(60) NOT NULL default '',
`brokendownload` int(3) NOT NULL default '0',
`name` varchar(100) NOT NULL default '',
`email` varchar(100) NOT NULL default '',
`filesize` int(11) NOT NULL default '0',
`version` varchar(10) NOT NULL default '',
`homepage` varchar(200) NOT NULL default '',
PRIMARY KEY (`requestid`),
UNIQUE KEY `requestid` (`requestid`)
) TYPE=MyISAM AUTO_INCREMENT=3 ;

# --------------------------------------------------------

#
# Table structure for table `nuke_downloads2_newdownload`
#

CREATE TABLE `nuke_downloads2_newdownload` (
`lid` int(11) NOT NULL auto_increment,
`cid` int(11) NOT NULL default '0',
`sid` int(11) NOT NULL default '0',
`title` varchar(100) NOT NULL default '',
`url` varchar(100) NOT NULL default '',
`description` text NOT NULL,
`name` varchar(100) NOT NULL default '',
`email` varchar(100) NOT NULL default '',
`submitter` varchar(60) NOT NULL default '',
`filesize` int(11) NOT NULL default '0',
`version` varchar(10) NOT NULL default '',
`homepage` varchar(200) NOT NULL default '',
PRIMARY KEY (`lid`),
KEY `lid` (`lid`),
KEY `cid` (`cid`),
KEY `sid` (`sid`),
KEY `title` (`title`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

# --------------------------------------------------------

#
# Table structure for table `nuke_downloads2_votedata`
#

CREATE TABLE `nuke_downloads2_votedata` (
`ratingdbid` int(11) NOT NULL auto_increment,
`ratinglid` int(11) NOT NULL default '0',
`ratinguser` varchar(60) NOT NULL default '',
`rating` int(11) NOT NULL default '0',
`ratinghostname` varchar(60) NOT NULL default '',
`ratingcomments` text NOT NULL,
`ratingtimestamp` datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (`ratingdbid`),
KEY `ratingdbid` (`ratingdbid`)
) TYPE=MyISAM AUTO_INCREMENT=5 ;
 
Para620







PostPosted: Sun Sep 12, 2004 8:52 pm Reply with quote

Dont even bother replying, this is going to take me a little bit to figure out. I just realized that in 7.5 that there is no longer any download files under the admin folder any longer. There now is a admin folder located in the modules folder for downloads. I think I am just going to step away from the computer and come back with a clear head to try again later today
 
Para620







PostPosted: Mon Sep 13, 2004 7:02 am Reply with quote

Well I have had a little bit of success doing this. I can get the Downloads2 to open and work everywhere but the admin section. Here are the URL's that work.


http://www.gurustore.net/modules.php?name=Downloads
http://www.gurustore.net/modules.php?name=Downloads2


Now when I go to this URL:

http://www.gurustore.net/admin.php?op=downloads2

I only get a solid white page. Does anyone happen to know what I did wrong.
 
Nukeum66







PostPosted: Mon Sep 13, 2004 9:11 am Reply with quote

Send me your files .

ZIP All download2 module and admin I'll look it over.

SEND TO :
nukeum66 at bellsouth dot net
 
Para620







PostPosted: Mon Sep 13, 2004 1:58 pm Reply with quote

I appreciate the Help Nukeum
 
Nukeum66







PostPosted: Mon Sep 13, 2004 3:53 pm Reply with quote

Received your emails . Glad to heard everything is working now.
 
sting
Involved
Involved



Joined: Sep 23, 2003
Posts: 456
Location: Somewhere out there...

PostPosted: Sat Jan 21, 2006 9:03 am Reply with quote

LOL - old post, and a long walk for a very short drink of water...

-sting
 
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.5

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©