#55220
01/15/2003 6:35 PM
|
Joined: Jan 2002
Posts: 39
Member
|
Member
Joined: Jan 2002
Posts: 39 |
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 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.
Thanks!
|
|
|
#55221
01/15/2003 10:29 PM
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
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: Click Here 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. 
|
|
|
#55222
01/15/2003 10:56 PM
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
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.
|
|
|
#55223
01/15/2003 11:01 PM
|
Joined: Jan 2002
Posts: 39
Member
|
Member
Joined: Jan 2002
Posts: 39 |
Thanks for the reply, PrimeTime. 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. 
|
|
|
#55224
01/16/2003 12:10 AM
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Thanks. 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.
|
|
|
#55225
01/16/2003 12:25 AM
|
Joined: Jan 2002
Posts: 39
Member
|
Member
Joined: Jan 2002
Posts: 39 |
Thanks Prime, I appreciate it!
|
|
|
#55226
03/10/2003 7:02 PM
|
Joined: Jan 2002
Posts: 39
Member
|
Member
Joined: Jan 2002
Posts: 39 |
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.
|
|
|
#55227
03/10/2003 11:09 PM
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Ohh geez...I forgot about this. I'll look into that thread (once I figure out this IM thing) and go from there. 
|
|
|
#55228
03/11/2003 12:27 AM
|
Joined: Jan 2002
Posts: 39
Member
|
Member
Joined: Jan 2002
Posts: 39 |
No rush, Prime... you've already helped me out a ton. 
|
|
|
#55229
03/14/2003 9:17 PM
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
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]".
|
|
|
#55230
03/17/2003 12:48 AM
|
Joined: Jan 2002
Posts: 39
Member
|
Member
Joined: Jan 2002
Posts: 39 |
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.
Thanks for the effort, Prime!
|
|
|
#55231
03/17/2003 5:22 AM
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
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. 
|
|
|
#55232
04/20/2003 9:23 PM
|
Joined: Oct 2001
Posts: 13
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 13 |
Just a bump to see if anyone has made any progress on this. Thanks. 
|
|
|
#55233
04/20/2003 11:31 PM
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
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. 
|
|
|
#55234
04/21/2003 2:01 AM
|
Joined: Oct 2001
Posts: 13
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 13 |
Thanks Prime, I appreciate it. 
|
|
|
#55235
04/21/2003 2:19 AM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
if you wanna share what you already have, I can help out 
|
|
|
#55236
04/21/2003 10:21 PM
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Thanks Allen. 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. 
|
|
|
#55237
05/25/2003 4:43 AM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
any updates on this? And if you guys do get it working on 6.4, would it most likely work on 6.5 too?
|
|
|
#55238
07/04/2003 1:26 AM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
working on this here: https://www.ubbdev.com/db/ultimatebb.php am I missing anything?
|
|
|
#55239
07/05/2003 1:01 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
silence means no? 
|
|
|
#55240
07/05/2003 1:04 PM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
how hard would it be to call other parts of teh profile, ie Your Style is: Frost, etc
|
|
|
#55241
07/05/2003 1:23 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
not difficult, but that would be something individualized per admin... everyone would want something different 
|
|
|
#55242
07/05/2003 1:40 PM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
of course, I just wanted to know what'd I call, ie $user_profile[60]?
|
|
|
#55243
07/21/2003 3:17 PM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Allen, any update on this?
|
|
|
#55244
12/26/2003 6:37 PM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Originally posted by Weird Al:
Allen, any update on this?
bump the bump
|
|
|
#55245
12/26/2003 10:17 PM
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
Oooh, this sounds like fun for the 6.7 upgrade I'm doing.
|
|
|
#55246
12/28/2003 4:25 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
what needs to be updated?  Shouldn't be much of anything needing updated for this to work on 6.6+ Headed muddin on 4-wheelers, will check back later tonight 
|
|
|
#55247
12/28/2003 4:27 PM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
updated? you never gave us the original code 
|
|
|
#55248
12/28/2003 4:30 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
ok, will post tonight... not sure what I used, but it might break the generic wrapper and need to be updated 
|
|
|
#55249
12/28/2003 8:30 PM
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
lol... But allen, breaking code is what we do best!
|
|
|
#55250
12/28/2003 8:35 PM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Originally posted by Gizzy:
lol... But allen, breaking code is what we do best!
amen. My motto: "If you've never broken your boards... you're not trying hard enough"
|
|
|
#55251
12/29/2003 3:37 AM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
https://www.ubbdev.com/test/ubb/ultimatebb.php getting a javascript error, not sure if it's due to this one or not... 1:30am, will post what I have tomorrow 
|
|
|
#55252
12/29/2003 3:37 AM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
and yes, I know it repeats that table that's in the generic wrapper 
|
|
|
#55253
12/29/2003 3:58 AM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
|
|
|
#55254
12/29/2003 1:18 PM
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
ooh, finish it, i want! lol
|
|
|
#55255
12/29/2003 3:10 PM
|
Joined: Mar 2002
Posts: 64
Member
|
Member
Joined: Mar 2002
Posts: 64 |
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|