This is a common feature on many Invision script boards where the forum will have the member's avatar or rank image displayed in somewhat of a welcome block at the top of the main forum index. I have only seen it on one UBB board here , so I'm pretty sure it's feasible under UBB.
At my forum, currently 6.1 and going to add 6.4 soon, I use a post ranking system. You can see an example of it here . I used Jimbo's Custom Status Hack to handle all of the ranks; however, I will be using the options in the User Titles section of the 6.4 CP to do my next ranking system. I've found that adding an <img..> tag onto the user title works just fine.
My request is, could someone tell me or point me in the right direction of how to get the user's rank/title (not avatar) to display in forum_summary in 6.4? I understand the html part, it's just that I'm not sure how to call the variable. I'm gearing up to have a post ranking system with over a hundred different ranks (sets of armor outfits... I run a board on the game, Age of Mythology ) and I'd really like to show it off in forum_summary as well.
Any help is greatly appreciated and I'd be very grateful if someone knew how to do this.
I think if you get the Profile Field (#) assignments you would be able to pull the user's info and display it in the login welcoming line. You could write to the web designer for City of Ancients and see if he/she is willing to help.
Since you're using Jimbo's Custom Status Hack any HTML tags will work (including "img"). Rather than just using the $custom_status you could use $user_status simultaneously with each user...No limit. To give you a better example:
Above the avatar notice the custom user's title...Now for the members who ask, look at the bottom of each user's post (right above the $AuthorExtra)...There will have the rank of the members and the divisions they play in and/or departments associated with. It's perfect for clan sites.
Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Bookie had that running on a 6.3 board. It was exactly what you're looking for but I tried it on a 6.4 board and it didn't work. I'm sure that it wouldn't take much to fix it though.
_________________________
3 time Spotlight winner. Believe The Lie
I emailed the webmaster and hopefully he'll respond back soon.
Very nice site and forums, btw. I like all of the custom tags that you give your members.
Are you talking about using "$user_profile[x]", where 'x' is the line in the user's profile? I used to use this in 6.1, but it doesn't seem to be working for me in 6.4. I did "$user_profile[1]", which should display the member's name, as a test and it didn't display anything in forum summary. Has the method for calling lines in the profile changed since 6.1 or do I need to declare a variable in forum_summary?
Thanks for the help, I really appreciate it. I used to be somewhat proficient with the code in 6.1, but there's been quite a few changes since the last time I upgraded my script.
You got the right profile codes actually which should work in 6.4 since they never changed. As X pointed out I don't think it should be too difficult but when I have the time I can see if I can get it to work with 6.4.
Bumping this a bit since I've yet to get this working after a few months. I PM'ed LK on how to do this and he pointed me to the BLAM template thread (look near the bottom) where he and Bookie explained how to do this on a 6.3.x board. I tried doing what was instructed, but as TheX said, it doesn't seem to be working on 6.4+.
Thanks for any help. This would be a great feature for sites that use special avatars or post ranking systems.
Hey Xiphoid_pAOM! I think I can get the avatar up on the Forum Summary but it differs from Bookie and LK's version. What is the variable used for your avatar? I'm using "$user_profile[16]".
My image ranking system is done by placing an image tag after the user's title in the User Title section of the control panel. Looking in ubb_lib_posting, user_status is the following:
[code][/code]... so I'm pretty sure I will be using $user_profile[7], since [8] tells you whether or not the member is a mod, admin, or member.
Even if other people don't use an image/avatar system like I am, it'll still be helpful as $user_profile[7] will display the member's text status on the main forum page.
Currently I have not been able to get the custom status (especially when using Qasic/Jimbo's Stats/Ranks hack), let alone $user_status. I can however, pull the user's info using their profile fields on the Forum Summary. Allow me to explore this and I'll keep you updated as I make progress.
I haven't forgotten about it. I'm still having the issue with Qasic/Jimbo's Stats/Ranks hack. There is a sub routine code that I'm missing in the mesh...I'm gussing the answer is right in front of me. Heh.
I've stripped everything down and started from scratch. Instead of trying to re-invent the wheel, recently I've been trying to extract the codes and sub routines that enables the custom ranks. I'm using the Custom Title Rank's install instructions (in ubb_lib_posting.cgi); focusing on ubb_custom_status.cgi (all sub routines); vars_custom_status.cgi (for crankma, cranko & cstatus); and in ubb_lib_posting.cgi I'm primarily focusing on "sub create_topic" sub routine.
I apologize for not being any more specific but this is where I'm at currently.
Because the "$username", "$password" and "$user_number" codes are recognized I'm able to pull "$user_profile[8]" and "$user_profile[7]" in the Forum Summary...But as soon as I try to use "$user_status" and "$custom_status" (which both are from Custom Title/Rank hack) I get nothing. Even when I extracted all of the hack's sub routines in "ubb_custom_status.cgi" I don't get any results.
I'm going to experiment a bit tonight but seems like I'm running in circles.