PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
killer007
New Member
New Member


Joined: Dec 01, 2006
Posts: 16

PostPosted: Sat Dec 09, 2006 7:54 am Reply with quote Back to top

Helloo I installed both NSN DL's and Dynamic titles But Now title is not changing i also changed "_downloads_downloads to nsngd_downloads and Categories but still not working any body can please help ?
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Sat Dec 09, 2006 9:09 am Reply with quote Back to top

huh...can you explain that again...
what are you trying to accomplish ?
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Sat Dec 09, 2006 11:47 pm Reply with quote Back to top

I think I understand the first part - the Dynamic Titles mod may not have logic to detect NSN Group Downloads, so it won't load titles there.
View user's profile Send private message
killer007
New Member
New Member


Joined: Dec 01, 2006
Posts: 16

PostPosted: Sun Dec 10, 2006 10:33 am Reply with quote Back to top

Well yeah Dynamic titles working with phpnuke downloads system but when i install NSN downloads it stop working for downloads working for others like Forums and New's etc i changed "_downloads_categories" to "_nsngd_categories" but still not working .. .
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9135
Location: Arizona

PostPosted: Sun Dec 10, 2006 10:38 am Reply with quote Back to top

I use NSN GR Downloads myself and have this working. Replace the existing downloads code in includes/dynamic_titles.php with the following:

Code:

if($name=="Downloads"){
global $op,$cid,$lid;
$cid = intval( $cid );
$lid = intval( $lid );
$newpagetitle = "$sitename $item_delim $name";
$newpagetitle = check_html($newpagetitle, nohtml);
    if ( $cid ) {
        $sql = "SELECT title, parentid FROM ".$prefix."_nsngd_categories WHERE cid='$cid'";
        $result = $db->sql_query($sql);
        $row = $db->sql_fetchrow($result);
        $cat = $row['title'];
        $parent = $row['parentid'];
            if($parent=="0"){
                $newpagetitle = "$cat";
                $newpagetitle = check_html($newpagetitle, nohtml);
            }
            else{
                $sql = "SELECT title FROM ".$prefix."_nsngd_categories WHERE cid='$parent'";
                $result = $db->sql_query($sql);
                $row = $db->sql_fetchrow($result);
                $parent = $row['title'];
                $newpagetitle = "$parent $item_delim $cat";
                $newpagetitle = check_html($newpagetitle, nohtml);
            }
    }
   if($op=="viewdownloaddetails" || $op=="getit") {
       $sql = "SELECT title FROM ".$prefix."_nsngd_downloads WHERE lid='$lid'";
      $result = $db->sql_query($sql);
        $row = $db->sql_fetchrow($result);
      $dl = $row['title'];
      $newpagetitle = "$dl";
                $newpagetitle = check_html($newpagetitle, nohtml);
   }
}
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Sun Dec 10, 2006 11:07 am Reply with quote Back to top

Thanks, Montego.
View user's profile Send private message
killer007
New Member
New Member


Joined: Dec 01, 2006
Posts: 16

PostPosted: Sun Dec 10, 2006 8:25 pm Reply with quote Back to top

Well thanks sir now its working i also installed TN_ShortLinks for nsn downloads its working but i noticed one thing that 1st my links were like this > "downloadview-details-1-Download-name.html" But Now its Changed "download-file-1.html" and can u guys tell me where i can get "Enhanced Downloads Module 2.1" ?
View user's profile Send private message
killer007
New Member
New Member


Joined: Dec 01, 2006
Posts: 16

PostPosted: Sun Dec 10, 2006 9:52 pm Reply with quote Back to top

Sorry for Double Posting but i Got Enhanced Downloads Block here is the link "http://upload2.net/page/download/x4RQ5ChxLDnYXx2/Nukestyles_EDL_V21_dm1a.zip.html"
but now prob is when i try to install it giving me errors of altering few tables and creating tables any of you guys can send me sql file so that i can manually add and alter tables ? thanks in advance.
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9135
Location: Arizona

PostPosted: Mon Dec 11, 2006 6:00 am Reply with quote Back to top

Sorry, don't have it...
View user's profile Send private message Visit poster's website
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Mon Dec 11, 2006 6:00 am Reply with quote Back to top

I think you'l need to make your mind up which downloads module you are going to use - no offence.
The enhanced download block wil onlu work with the enhanced download module (NOT NSN GR Downloads) as the table structure is probabbly different.
As NSN GR Downloads uses its own tables and I think Enhanced Downloads alters the existing downloads tables you are on the fast track to disaster if you are not very careful.

What is it exactly you are trying to achieve?
View user's profile Send private message Send e-mail Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Mon Dec 11, 2006 6:54 am Reply with quote Back to top

EDL 2.1 is commercial, and as Guardian2003 stated, it uses different table structures than NSN GR Downloads. If you've already installed NSN GR Downloads, I'd suggest looking for or creating a block that provides what you need using NSN GR Downloads tables.
View user's profile Send private message
killer007
New Member
New Member


Joined: Dec 01, 2006
Posts: 16

PostPosted: Mon Dec 11, 2006 7:12 am Reply with quote Back to top

Well installer with EDl 2.1 is not creating tables thats my prob and also i gave u guys link to download that so please can u guys grab all mysql data from install.php ?
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Mon Dec 11, 2006 7:19 am Reply with quote Back to top

Quote:
is not creating tables


so why should it work for us ?
View user's profile Send private message
killer007
New Member
New Member


Joined: Dec 01, 2006
Posts: 16

PostPosted: Mon Dec 11, 2006 7:45 am Reply with quote Back to top

Mean i can see everything in install.php but not creating tables and also giving errors while altering few here is code of install.php
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Mon Dec 11, 2006 8:08 am Reply with quote Back to top

well you cant expect us to install it ...
if you see any errors then just post them here...
View user's profile Send private message
killer007
New Member
New Member


Joined: Dec 01, 2006
Posts: 16

PostPosted: Mon Dec 11, 2006 10:20 am Reply with quote Back to top

well sir i am not saying that you guys install it and i told you it giving me errors when creating tales and altering tables and thats php file so i dont know how i can grab all mysql data from it so that i can creat and alter tabels throught phpmyadmin
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Mon Dec 11, 2006 11:46 am Reply with quote Back to top

I think hitwalker is saying that it would be easier if you posted the errors.
View user's profile Send private message
killer007
New Member
New Member


Joined: Dec 01, 2006
Posts: 16

PostPosted: Mon Dec 11, 2006 5:11 pm Reply with quote Back to top

Code:
-- Table nuke_downloads_categories altered successfully.

** Error Altering Table: nuke_downloads_categories **

** Error Altering Table: nuke_downloads_downloads **

** Error Altering Table: nuke_downloads_downloads **

** Error Altering Table: nuke_downloads_downloads **

** Error Altering Table: nuke_downloads_downloads **

** Error Altering Table: nuke_downloads_downloads **

** Error Altering Table: nuke_downloads_downloads **

-- Table nuke_downloads_downloads altered successfully.

-- Table nuke_downloads_downloads altered successfully.

** Error Altering Table: nuke_downloads_modrequest **

** Error Altering Table: nuke_downloads_modrequest **

** Error Altering Table: nuke_downloads_modrequest **

** Error Altering Table: nuke_downloads_modrequest **

-- Table nuke_downloads_modrequest altered successfully.

-- Table nuke_downloads_modrequest altered successfully.

** Error Altering Table: nuke_downloads_newdownload **

** Error Altering Table: nuke_downloads_newdownload **

** Error Altering Table: nuke_downloads_newdownload **

** Error Altering Table: nuke_downloads_newdownload **

-- Table nuke_downloads_newdownload altered successfully.

-- Table nuke_downloads_newdownload altered successfully.

** Error Creating Table: nuke_ns_downloads_new_pop **

** Dump Error for Table: nuke_ns_downloads_new_pop **

-- Table nuke_ns_downloads_rating created successfully.

   -- Table Dump for nuke_ns_downloads_rating successful.

** Error Creating Table: nuke_ns_downloads_general **

** Dump Error for Table: nuke_ns_downloads_general **

-- Table nuke_ns_downloads_add_modify created successfully.

   -- Table Dump for nuke_ns_downloads_add_modify successful.

** Error Creating Table: nuke_ns_downloads_desc_img **

** Dump Error for Table: nuke_ns_downloads_desc_img **

-- Table nuke_ns_downloads_theme created successfully.

** Error Creating Table: nuke_ns_downloads_theme_mode **

** Error Creating Table: nuke_ns_downloads_table_form **

** Error Creating Table: nuke_ns_downloads_table_html **

** Error Creating Table: nuke_ns_downloads_upload **

** Dump Error for Table: nuke_ns_downloads_upload **

-- Table nuke_ns_downloads_field created successfully.

** Error Creating Table: nuke_ns_downloads_field_perm **

** Dump Error for Table: nuke_ns_downloads_field_perm **

** Error Creating Table: nuke_ns_downloads_nfeatured **

** Error Creating Table: nuke_ns_downloads_recommend **

** Dump Error for Table: nuke_ns_downloads_recommend **

** Error Creating Table: nuke_ns_downloads_recom_dlstats **

** Error Creating Table: nuke_ns_downloads_recom_usrstats **

** Error Creating Table: nuke_ns_downloads_fetch **

** Dump Error for Table: nuke_ns_downloads_fetch **

** Error Creating Table: nuke_ns_downloads_auth **

** Dump Error for Table: nuke_ns_downloads_auth **

** Error Creating Table: nuke_ns_downloads_blocks **

** Dump Error for Table: nuke_ns_downloads_blocks **



Installation complete.

You now have the best d*** Downloads Module in all of NukeLand!

If you see an error in the update above, or are having any trouble setting up the administration, please use the Support Forums set up specifically for the EDL V2.0+.

Please do not email me for support... I can't handle all of the emails, and they WILL be ignored.

Please delete this file from your server immediatly for security reasons.

Thank You for purchasing the EDL V2.1!


© NukeStyles.com


and when i goto to Download i can see these errors

Table 'nuke3.nuke_ns_downloads_general' doesn't exist
Table 'nuke3.nuke_ns_downloads_nfeatured' doesn't exist
Table 'nuke3.nuke_ns_downloads_theme_mode' doesn't exist
Unknown column 'ns_disable' in 'where clause'
Table 'nuke3.nuke_ns_downloads_blocks' doesn't exist
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Mon Dec 11, 2006 5:18 pm Reply with quote Back to top

Strange that you could not create tables. Does the database user in your config.php file have the ability to create tables?
View user's profile Send private message
killer007
New Member
New Member


Joined: Dec 01, 2006
Posts: 16

PostPosted: Tue Dec 12, 2006 9:55 am Reply with quote Back to top

well yeah i am trying this one localhost here is detail of user
Privileges = Select Insert Update Delete Create Drop Reload Shutdown Process File Grant References Index Alter

and i installed few other scripts with no problem.
and we can creat install files using that script on phpbb.com but is there any way to grab sql queries from install files like this one?
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Tue Dec 12, 2006 12:14 pm Reply with quote Back to top

I would try to use phpMyAdmin to run the same SQL that the install script is failing with to find more details about the error.
View user's profile Send private message
killer007
New Member
New Member


Joined: Dec 01, 2006
Posts: 16

PostPosted: Wed Dec 13, 2006 2:52 pm Reply with quote Back to top

thanks i am waiting for u
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Wed Dec 13, 2006 3:27 pm Reply with quote Back to top

Waiting for what?
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Wed Dec 13, 2006 3:28 pm Reply with quote Back to top

i think he interpreted the
Quote:
I would try to use
a bit wrong.... Laughing
View user's profile Send private message
killer007
New Member
New Member


Joined: Dec 01, 2006
Posts: 16

PostPosted: Thu Dec 14, 2006 12:09 pm Reply with quote Back to top

kguske wrote:
I would try to use phpMyAdmin to run the same SQL that the install script is failing with to find more details about the error.


weel from that line i thought that you will run this script and will detect errors and will try to find some solution thats why i said "i am waiting".
View user's profile Send private message
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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum