php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#55220 - 01/15/03 05:35 PM Avatar/rank at top of forum_summary
Xiphoid_pAOM Offline
Member

Registered: 01/08/02
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 <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 smile ) 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!
_________________________
PlanetAgeofEmpires Forums

Top
#55221 - 01/15/03 09:29 PM Re: Avatar/rank at top of forum_summary
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
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. smile
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55222 - 01/15/03 09:56 PM Re: Avatar/rank at top of forum_summary
RandyM Offline
Spotlight Winner

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

Top
#55223 - 01/15/03 10:01 PM Re: Avatar/rank at top of forum_summary
Xiphoid_pAOM Offline
Member

Registered: 01/08/02
Posts: 39
Thanks for the reply, PrimeTime. smile

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. smile
_________________________
PlanetAgeofEmpires Forums

Top
#55224 - 01/15/03 11:10 PM Re: Avatar/rank at top of forum_summary
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Thanks. smile

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.
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55225 - 01/15/03 11:25 PM Re: Avatar/rank at top of forum_summary
Xiphoid_pAOM Offline
Member

Registered: 01/08/02
Posts: 39
Thanks Prime, I appreciate it!
_________________________
PlanetAgeofEmpires Forums

Top
#55226 - 03/10/03 06:02 PM Re: Avatar/rank at top of forum_summary
Xiphoid_pAOM Offline
Member

Registered: 01/08/02
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.
_________________________
PlanetAgeofEmpires Forums

Top
#55227 - 03/10/03 10:09 PM Re: Avatar/rank at top of forum_summary
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Ohh geez...I forgot about this. I'll look into that thread (once I figure out this IM thing) and go from there. smile
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55228 - 03/10/03 11:27 PM Re: Avatar/rank at top of forum_summary
Xiphoid_pAOM Offline
Member

Registered: 01/08/02
Posts: 39
No rush, Prime... you've already helped me out a ton. smile
_________________________
PlanetAgeofEmpires Forums

Top
#55229 - 03/14/03 08:17 PM Re: Avatar/rank at top of forum_summary
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
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]".
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55230 - 03/16/03 11:48 PM Re: Avatar/rank at top of forum_summary
Xiphoid_pAOM Offline
Member

Registered: 01/08/02
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!
_________________________
PlanetAgeofEmpires Forums

Top
#55231 - 03/17/03 04:22 AM Re: Avatar/rank at top of forum_summary
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
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. smile
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55232 - 04/20/03 09:23 PM Re: Avatar/rank at top of forum_summary
Xiphoid Offline
Junior Member

Registered: 10/03/01
Posts: 13
Just a bump to see if anyone has made any progress on this. Thanks. smile
_________________________
PlanetAgeofMythology Forums

Top
#55233 - 04/20/03 11:31 PM Re: Avatar/rank at top of forum_summary
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
I haven't forgotten about it. smile 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. smile
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55234 - 04/21/03 02:01 AM Re: Avatar/rank at top of forum_summary
Xiphoid Offline
Junior Member

Registered: 10/03/01
Posts: 13
Thanks Prime, I appreciate it. smile
_________________________
PlanetAgeofMythology Forums

Top
#55235 - 04/21/03 02:19 AM Re: Avatar/rank at top of forum_summary
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
if you wanna share what you already have, I can help out smile
_________________________
- Allen wavey
- What Drives You?

Top
#55236 - 04/21/03 10:21 PM Re: Avatar/rank at top of forum_summary
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Thanks Allen. smile

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. smile

I apologize for not being any more specific but this is where I'm at currently. frown

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. smile
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55237 - 05/25/03 04:43 AM Re: Avatar/rank at top of forum_summary
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
any updates on this? And if you guys do get it working on 6.4, would it most likely work on 6.5 too?
_________________________
Code monkey like Fritos

Top
#55238 - 07/04/03 01:26 AM Re: Avatar/rank at top of forum_summary
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
working on this here:

http://www.ubbdev.com/db/ultimatebb.php

am I missing anything?
_________________________
- Allen wavey
- What Drives You?

Top
#55239 - 07/05/03 01:01 PM Re: Avatar/rank at top of forum_summary
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
silence means no? tipsy
_________________________
- Allen wavey
- What Drives You?

Top
#55240 - 07/05/03 01:04 PM Re: Avatar/rank at top of forum_summary
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
how hard would it be to call other parts of teh profile, ie Your Style is: Frost, etc
_________________________
Code monkey like Fritos

Top
#55241 - 07/05/03 01:23 PM Re: Avatar/rank at top of forum_summary
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
not difficult, but that would be something individualized per admin... everyone would want something different smile
_________________________
- Allen wavey
- What Drives You?

Top
#55242 - 07/05/03 01:40 PM Re: Avatar/rank at top of forum_summary
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
of course, I just wanted to know what'd I call, ie $user_profile[60]?
_________________________
Code monkey like Fritos

Top
#55243 - 07/21/03 03:17 PM Re: Avatar/rank at top of forum_summary
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Allen, any update on this?
_________________________
Code monkey like Fritos

Top
#55244 - 12/26/03 05:37 PM Re: Avatar/rank at top of forum_summary
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Quote:
Originally posted by Weird Al:

Allen, any update on this?


bump the bump
_________________________
Code monkey like Fritos

Top
#55245 - 12/26/03 09:17 PM Re: Avatar/rank at top of forum_summary
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Oooh, this sounds like fun for the 6.7 upgrade I'm doing.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#55246 - 12/28/03 03:25 PM Re: Avatar/rank at top of forum_summary
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
what needs to be updated? tipsy 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 tipsy
_________________________
- Allen wavey
- What Drives You?

Top
#55247 - 12/28/03 03:27 PM Re: Avatar/rank at top of forum_summary
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
updated? you never gave us the original code tipsy
_________________________
Code monkey like Fritos

Top
#55248 - 12/28/03 03:30 PM Re: Avatar/rank at top of forum_summary
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
ok, will post tonight... not sure what I used, but it might break the generic wrapper and need to be updated smile
_________________________
- Allen wavey
- What Drives You?

Top
#55249 - 12/28/03 07:30 PM Re: Avatar/rank at top of forum_summary
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
lol... But allen, breaking code is what we do best!
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#55250 - 12/28/03 07:35 PM Re: Avatar/rank at top of forum_summary
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Quote:
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"
_________________________
Code monkey like Fritos

Top
#55251 - 12/29/03 02:37 AM Re: Avatar/rank at top of forum_summary
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
http://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 smile
_________________________
- Allen wavey
- What Drives You?

Top
#55252 - 12/29/03 02:37 AM Re: Avatar/rank at top of forum_summary
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
and yes, I know it repeats that table that's in the generic wrapper tipsy
_________________________
- Allen wavey
- What Drives You?

Top
#55253 - 12/29/03 02:58 AM Re: Avatar/rank at top of forum_summary
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
_________________________
- Allen wavey
- What Drives You?

Top
#55254 - 12/29/03 12:18 PM Re: Avatar/rank at top of forum_summary
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
ooh, finish it, i want! lol
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#55255 - 12/29/03 02:10 PM Re: Avatar/rank at top of forum_summary
*Cartman* Offline
Member

Registered: 03/20/02
Posts: 65
Nice hack!!!!

Top
Page 1 of 2 1 2 >


Moderator:  Gizmo