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, 114 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 - Web Links and Download modules search typo [ ]
 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
intel352
Lieutenant
Lieutenant


Joined: Mar 11, 2003
Posts: 180


PostPosted: Wed Aug 20, 2003 4:26 am Reply with quoteBack to top

when running a search in the Web Links or Downloads modules, if the download or link has any comments, a developer typo will throw off the rest of the page

this is the report that i submitted to bugs.nukecops.com:
Quote:
If you run a search in the Web Links module, the Comments link give the incorrect url, due to a typo on the part of the author.

Search for this code:
Code:

           if ($totalcomments != 0) {
      echo " | <a href=\"modules.php?name=".$module_name."&l_op=viewsitecomments&amp;site_id=$site_id&amp;ttitle=$transfertitle>"._SCOMMENTS." ($totalcomments)</a>";
       }

Replace with this code:
Code:

           if ($totalcomments != 0) {
      echo " | <a href=\"modules.php?name=".$module_name."&l_op=viewsitecomments&amp;site_id=$site_id&amp;ttitle=$transfertitle\">"._SCOMMENTS." ($totalcomments)</a>";
       }

Please note, the corrected code place a \" at the end of the url, which was missing before.

The same typo is in the default Downloads module in PHP Nuke 6.5 (tho slightly different code, of course). I'm not sure about later Download modules, since I use NS EDL for all of my post-6.5 sites.

_________________
Image
CSMapCentral || NukeBBMods
Find all posts by intel352View user's profileSend private messageVisit poster's websiteICQ Number
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.174 Seconds - 170 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::