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.6
Author Message
killer007
New Member
New Member



Joined: Dec 01, 2006
Posts: 16

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

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

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: 6433

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

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.

_________________
I search, therefore I exist...
nukeSEO - nukeFEED - nukePIE - nukeSPAM - nukeWYSIWYG
 
View user's profile Send private message
killer007







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

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 .. .
 
montego
Site Admin



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

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

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);
   }
}

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
kguske







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

Thanks, Montego.
 
killer007







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

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" ?
 
killer007







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

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.
 
montego







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

Sorry, don't have it...
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

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

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
kguske







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

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.
 
killer007







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

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 ?
 
hitwalker







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

Quote:
is not creating tables


so why should it work for us ?
 
killer007







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

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! ]
 
hitwalker







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

well you cant expect us to install it ...
if you see any errors then just post them here...
 
killer007







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

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
 
kguske







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

I think hitwalker is saying that it would be easier if you posted the errors.
 
killer007







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

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
 
kguske







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

Strange that you could not create tables. Does the database user in your config.php file have the ability to create tables?
 
killer007







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

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?
 
kguske







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

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.
 
killer007







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

thanks i am waiting for u
 
kguske







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

Waiting for what?
 
hitwalker







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

i think he interpreted the
Quote:
I would try to use
a bit wrong.... Laughing
 
killer007







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

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".
 
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.6

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 ©