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, 564 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 - Broken links in Avatar in Index Mod [ ]
 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
hu531n
Nuke Soldier
Nuke Soldier


Joined: May 09, 2003
Posts: 16


PostPosted: Sun Aug 24, 2003 5:46 pm Reply with quoteBack to top

I'm using the betaNC from the latest snapshot. The Avatars in Index mod has broken links causing the red x. The link to Edit Profile also broken.

Here's what I did to fix mine:

Code:
File : 'modules\Forums\index.php'

------------Find (around line 331)
         $avatar_img = '<img src="templates/subSilver/images/whosonline.gif" >';
------------Change to
         if (file_exists("themes/$ThemeSel/forums/images/whosonline.gif")) {
             $avatar_img = '<img src="themes/' . $ThemeSel . '/forums/images/whosonline.gif" >';
         } else {
             $avatar_img = '<img src="' . $phpbb_root_path . 'templates/subSilver/images/whosonline.gif" >';
         }

------------Find (around line 336)
         $name_link = '<a href="' . append_sid("profile.$phpEx?mode=editprofile&amp;amp;" . $userdata['user_id']) . '" />' . $userdata['username'] . '</a>';
------------Change to
         $name_link = '<a href="' . append_sid("profile.$phpEx?mode=editprofile") . '" />' . $userdata['username'] . '</a>';

_________________
another god-wannabe Wink
Find all posts by hu531nView 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 - TUTTISU E-COMMERCE http://www.tuttisu.it
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.036 Seconds - 182 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::