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, 49 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 - Stuck while modifieing news module [ ]
 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
taliezin
Nuke Soldier
Nuke Soldier


Joined: Jul 05, 2004
Posts: 16


PostPosted: Mon Jul 12, 2004 4:06 pm Reply with quoteBack to top

Because I can't find any topic where to paste this question, I think this is the right place to drop hacking issues.

I am modifiying the News module in phpNuke 7.3, because I want one for News and one for art like poetry, Story's and so on. Now I've almost have everything working but 1 page, the index.php page Laughing . Topics, Search, Archive, Submit, Admin, Submission, everything is copied and renamed and modified to have two News modules; 1=News, 2=Stories.
Now thus, the only page that I can't get to work is the core index.php in the News module. I am puzzled, I got stuck on 1 problem, 1 table if renamed in the php, the page comes back empty.
Code:

66   $result = $db->sql_query("SELECT sid, catid, aid, title, time,
       hometext, bodytext, comments, counter, topic, informant, notes,
       acomm, score, ratings FROM ".$prefix."_stories $qqdb $querynlang
       ORDER BY sid DESC limit $newsnum");


if I rename _stories to the other _news table, like I did in al the other parts, which work, the page comes back empty. Is there a part in it made by the programmers to stop somebody like me who modifies it, or what can be the reason. I am really puzzled, I hope somebody can help me.
Find all posts by taliezinView user's profileSend private message
Darrell3831
Captain
Captain


Joined: Jan 05, 2004
Posts: 425


PostPosted: Sat Jul 24, 2004 9:26 am Reply with quoteBack to top

Quote:
Is there a part in it made by the programmers to stop somebody like me who modifies it


There is nothing in it to stop you from modifying it.

There could be dozens of reasons why the "page comes back empty".

From the insanely obvious, you have not created any articles for it to return, to the more obscure coding and logic mistakes...

Darrell

_________________
http://www.psy-center.com
Find all posts by Darrell3831View user's profileSend private messageVisit poster's website
taliezin
Nuke Soldier
Nuke Soldier


Joined: Jul 05, 2004
Posts: 16


PostPosted: Tue Jul 27, 2004 11:53 pm Reply with quoteBack to top

Darrell3831 wrote:
Quote:
Is there a part in it made by the programmers to stop somebody like me who modifies it


There is nothing in it to stop you from modifying it.

There could be dozens of reasons why the "page comes back empty".

From the insanely obvious, you have not created any articles for it to return, to the more obscure coding and logic mistakes...

Darrell


Thanks but that wasn't the problem, there were 10 articles that could be found. But solved the problem, it got stuck in the themes folder, in it is story_home.html and story_page.html. It works now correctly, thanks anyway.
Find all posts by taliezinView user's profileSend private message
everity
Nuke Cadet
Nuke Cadet


Joined: Nov 19, 2004
Posts: 3


PostPosted: Fri Nov 26, 2004 10:43 am Reply with quoteBack to top

Hi taliezin

I am in the process of creating a duplicate news module too. I am using phpNuke 7.5 and although the articles are all displaying fine in the duplicate...I can't seem to get the administration screen working. In "Modules Administration" I now have two 'News' links which both go to the duplicate News module. I haven't been able to see where/how to change this. Can you help? Did you have the same problem?

Any hints or tips would be appreciated as you are the only person I have found on any forum that has duplicated the News module too!

Emma
Find all posts by everityView 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
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.296 Seconds - 378 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::