Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Simple rank images hack Details »»
Simple rank images hack
Version: 1.00, by EvilLS1 EvilLS1 is offline
Developer Last Online: May 2021 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 12-24-2002 Last Update: Never Installs: 7
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 12-26-2002, 03:23 PM
Mystic Gohan's Avatar
Mystic Gohan Mystic Gohan is offline
 
Join Date: Jul 2002
Location: Iowa
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #13  
Old 12-26-2002, 10:25 PM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Xenon
is the zip-file ok, the txt file in, i can't open with ultraedit, just notepad, and it didn't show up well
You're right.. I opened the text file with my work compter and it looks all messed up.. Weird, it looked fine on my home computer. *shrugs*

Anyway, I updated the first post with readable instructions.
Reply With Quote
  #14  
Old 12-27-2002, 12:29 AM
ULTIMATESSJ's Avatar
ULTIMATESSJ ULTIMATESSJ is offline
 
Join Date: Nov 2001
Location: Bristol, England
Posts: 315
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

open it in WordPad, it looks fine in that
Reply With Quote
  #15  
Old 12-28-2002, 09:23 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@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
Reply With Quote
  #16  
Old 12-28-2002, 11:05 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@EvilSL1 - I have an idea how to do this

PM me for details

Satan
Reply With Quote
  #17  
Old 12-29-2002, 03:53 PM
Joe Page Joe Page is offline
 
Join Date: Sep 2002
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a good hack, thanks
Reply With Quote
  #18  
Old 03-11-2003, 05:03 PM
monstergamer's Avatar
monstergamer monstergamer is offline
 
Join Date: Feb 2003
Location: around the corner
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

every little hack helps
and this is a great hack
Reply With Quote
  #19  
Old 03-11-2003, 05:21 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #20  
Old 03-12-2003, 03:16 AM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)) {
$rank = "<img src=\"http://www.yoursite.com/forums/images/specialrank.gif\">";
}
Reply With Quote
  #21  
Old 05-06-2003, 10:01 PM
ogden2k's Avatar
ogden2k ogden2k is offline
 
Join Date: Apr 2003
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This does't work if I go above 1500 posts?
Code:
if ($post[posts]<=19) { 
$rank="<img src=\"http://www.binarydreams.us/forums/images/ranks/rank0.gif\">";
}
   else if ($post[posts]<=149) { 
$rank="<img src=\"http://www.binarydreams.us/forums/images/ranks/rank1.gif\">";
}
   else if ($post[posts]<=599) { 
$rank="<img src=\"http://www.binarydreams.us/forums/images/ranks/rank2.gif\">";
}
   else if ($post[posts]<=1499) { 
$rank="<img src=\"http://www.binarydreams.us/forums/images/ranks/rank3.gif\">";
}
   else if ($post[posts]>=2599) { 
$rank="<img src=\"http://www.binarydreams.us/forums/images/ranks/rank4.gif\">";
}
   else if ($post[posts]>=9999) { 
$rank="<img src=\"http://www.binarydreams.us/forums/images/ranks/rank5.gif\">";
}
   else if ($post[posts]>=10001) { 
$rank="<img src=\"http://www.binarydreams.us/forums/images/ranks/rank6.gif\">";
}
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:24 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09029 seconds
  • Memory Usage 2,299KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete