![]() |
Hi,
Just thought all of might like to know that I've just done the "Stars" hack that places a little graphical representation of the "User Levels" in the form of little stars. If you want an example head for http://highervoltage.net/mb/ The thing is still very messy and I just hacked it in half and hour... It checks for custom titles and if it finds one, places the maximum stars wanted. The only thing I haven't gotten it to work around is People who are placed in the "Group Administrators/Moderator/etc" groups. If anyone would like the hack, let me know and I'll clean it up before posting. Just doing my part :D --red |
Rather than code hacking (I'm assuming that this is what you have done) why not just include HTML in the user titles?
eg. Member<br><img="1star.gif" border=0> etc. Just a thought! John |
that's the route I took. Easiest way to go :)
|
> Member<br><img="1star.gif" border=0>
Ahh, the beauty of templates... :cool: |
I didn't realise templates could do that... Can anyone give me a clearer example of templates and its power?
John, would that example that you gave post stars according to what their user title is? So if someone was on 50 posts and another was on 100, the member on 100 would have more stars? Anyway, the hack which gave me the idea was from http://www.oneminuteleft.com/ubb/hac...rshack2000.zip Ahh well... I'll see if I can port some other UBB hacks into VB -- that is if they don't come as standard out-of-the-box ;) --red |
well, in the user titles I put it like this
0 = @ newbie 50 = @pprentice<br><img src="images/star.gif"> 100 = @ctive member<br><img src="images/star.gif"><img src="images/star.gif"> etc, etc it works fine:) [Edited by Martin on 05-19-2000 at 01:49 AM] |
I didn't realise it could do that, thanks ;)
It gave me an oppurtunity to flex my PHP muscles, so I guess it wasn't a waste after all... --red |
Works good thanks!
[Edited by Brian on 05-19-2000 at 10:48 AM] |
That works fine for the users, but what about the admins and mods? How can I set the stars for them?
|
Works the same way
Just look up their status, and add a few image tags after it |
All times are GMT. The time now is 02:06 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|