Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 61
4 members and 57 guests
bea9qgchcomberc, cliaw9cckhereto, garere3denstc3t, int5nwernetmarx
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > NM Staff > Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
Anyone?
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 86
Join Date: Sep 2002
Location: USA
Anyone? - 12-05-2002, 08:38 PM

Will anyone look at the php for the rank images and see if they can fix it for both the admin panel and the website? I would greatly appreicate it if someone could get it working in both.



-Konan
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Junior Member
 
Status: Offline
Posts: 86
Join Date: Sep 2002
Location: USA
12-05-2002, 09:40 PM

I have a fix that makes it show in both the admin panel and in the forum.

Look in your /modules/Forums/admin/ for the admin_ranks.php file.
Goto line 130 or some where around it and look for this code:

Code:
"IMAGE_DISPLAY" => ( $rank_info['rank_image'] != "" ) ? '[img]../' . $rank_info['rank_image'] . '[/img]' : "",
Now replace that whole line with this code:

Code:
"IMAGE_DISPLAY" => ( $rank_info['rank_image'] != "" ) ? '[img]../../../' . $rank_info['rank_image'] . '[/img]' : "",

For your rank image path be sure to specify this path when setting up ranks for your users:
modules/Forums/templates/subBlack/ranks/
Replace subBlack with your theme name and the image will show in both places.

And wha la it's fixed and shows in both the admin panel and forum.


I hope this helps some people out because ive been looking for a fix for awhile but messed around with it and got it working myself.


-Konan
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Cool thanks!!!
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 89
Join Date: Nov 2002
Location: USA
Cool thanks!!! - 12-06-2002, 10:10 PM

Nice to be able to see the ranks, was pretty annoying to not be able to see it properly before!!!
 Send a message via ICQ to Cyberclark  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31