![]() |
Simple rank images hack
The stars hack wasn't really what I was looking for, so I came up with this.
This is a simple way to show rank images (based on post count) under your member's usernames in the postbit. Since its based on post counts rather than titles, it works no matter if your users have custom titles or not. PS: Hopefully I'm not re-inventing the wheel here.. :laugh: If someone has already posted this, my appologies, and feel free to delete this. Screenshot below. :) {Edit} Zip file updated. |
Screenshot
|
Nice:)
Satan |
i think i've seen such thing very often ;)
just a question: why not just use html - img code in the usertitles? also, is the zip-file ok, the txt file in, i can't open with ultraedit, just notepad, and it didn't show up well :) |
good hack i like it so much thanks
|
Quote:
Ah, my bad then. I didn't see anything similar in the hacks database. Whats the name of it? Also, I'm not sure I understand what you mean by useing html -img code in the usertitles. What do ya mean? I don't think its possible to display ranks based on post counts with just html? How would it check the post count? Quote:
|
i think it's not released as hack, just moretimes in the requestforum :)
if i understand right what you try to do, no hacking at all is needed in your ACP you can set up usertitles depending on postcount, and there you can also use html, also on the usergroup usertitles. or did i get something wrong? if yes, tell me and i'll move it back :) |
Quote:
It doesn't matter to me though.. I just thought someone else might find it useful. :) |
ok, for custom titles you are right :)
i've moved it back :) can i give a suggestion: maybe add options to the acp, so you have a system like the usertitle, just with images :) |
Quote:
|
I have the same hack on my forum but its called the Pips and Stars hack and updated to perfection by TinTin and Guichi of PGamers. I like it its pretty nice addition to the forum.
|
Quote:
Anyway, I updated the first post with readable instructions. :) |
open it in WordPad, it looks fine in that
|
@Evil: ahh, ok, my comp is ok :)
Yes, i'd know how to code it to make a real similar functions than usertitles, but i don't have the time to do ;) i'd say look into how the usertitle is updated at the users maybe you can find out how to do :) see it as a quest, it's not needed, but why not ;) |
@EvilSL1 - I have an idea how to do this;)
PM me for details:) Satan |
This is a good hack, thanks :)
|
every little hack helps
and this is a great hack |
I'm actually working on a hack right now (well it's not for this purpose but ok ill release it for this purpose lol)
Poeple might be interested in it. |
I'm sure there's a way integrate this with the CP like the stars hack, but thats something that I don't think I'd really need since this works fine for me and I'll probably never change rank images anyway. But if someone wants to make a more advanced version, go for it! :)
BTW, if anyone wants to give mods, admins and supermods the highest rank or a special rank no matter what their post count is, you could just add something like this: Code:
if (($post[usergroupid] ==5) || ($post[usergroupid] ==6) || ($post[usergroupid] ==7)) { |
This does't work if I go above 1500 posts?
Code:
if ($post[posts]<=19) { |
Quote:
Use this instead and it'll work. Code:
if ($post[posts]<=19) { |
Works, thanks very much!
Any way to show the rank in a pm? |
Quote:
In the template "privmsg" find: Code:
<smallfont>$fromuserinfo[usertitle]</smallfont><br> Code:
$rank<br> |
It doesn't work, I tried it in the tpl you suggested and in the annoucements tpl.
|
All times are GMT. The time now is 02:45 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:
|