» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 44
0 members and 44 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Oral Chelation - initial cleansing of your veins & arteries

Register Now! Contact Us

About this Page
This is a discussion on Anyone? within the Purged Topics forums, part of the NM Staff category; Will anyone look at the php for the rank images and see if they can fix it for both the ...


Go Back   Nukemods Forum » NM Staff » Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-05-2002, 09:38 PM
Junior Member
 
Join Date: Sep 2002
Location: USA
Posts: 86
Anyone?
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
  #2 (permalink)  
Old 12-05-2002, 10:40 PM
Junior Member
 
Join Date: Sep 2002
Location: USA
Posts: 86
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
  #3 (permalink)  
Old 12-06-2002, 11:10 PM
Junior Member
 
Join Date: Nov 2002
Location: USA
Posts: 89
Send a message via ICQ to Cyberclark
Cool thanks!!!
Nice to be able to see the ranks, was pretty annoying to not be able to see it properly before!!!
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



All times are GMT -5. The time now is 08:16 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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