- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 48 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 [ ]
Author
Message
hu531n
Nuke Soldier
Joined: May 09, 2003
Posts: 16
Posted:
Sun Aug 24, 2003 5:46 pm
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;" . $userdata['user_id']) . '" />' . $userdata['username'] . '</a>';
------------Change to
$name_link = '<a href="' . append_sid("profile.$phpEx?mode=editprofile") . '" />' . $userdata['username'] . '</a>';
_________________ another god-wannabe
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