vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Simple rank images hack (https://vborg.vbsupport.ru/showthread.php?t=46991)

Mystic Gohan 12-26-2002 03:23 PM

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.

EvilLS1 12-26-2002 10:25 PM

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. :)

ULTIMATESSJ 12-27-2002 12:29 AM

open it in WordPad, it looks fine in that

Xenon 12-28-2002 09:23 PM

@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 ;)

Chris M 12-28-2002 11:05 PM

@EvilSL1 - I have an idea how to do this;)

PM me for details:)

Satan

Joe Page 12-29-2002 03:53 PM

This is a good hack, thanks :)

monstergamer 03-11-2003 05:03 PM

every little hack helps
and this is a great hack

N9ne 03-11-2003 05:21 PM

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.

EvilLS1 03-12-2003 03:16 AM

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\">";
}


ogden2k 05-06-2003 10:01 PM

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\">";
}



All times are GMT. The time now is 01: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
  • Page Generation 0.00994 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete