Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by AMG (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 02-01-2001 Last Update: Never Installs: 0
 
No support by the author.

OK...

The last time I asked this question I may have made it unclear.

So here goes,

I have the Star hack installed.

This is how it goes.

There are 10 Ranks, 1 star each for every level

1 = 1 star
2 = 2 star
3 = 3 star

etc...

Mod = 11 stars
Admin = 12
Webmaster = 12

I have created a new group webmaster where every ability is included.. due to past events now only I have access to the control panel.

However, this is my dilema... Instead of the user status saying "Moderator" i wanted it to say "Anime Master" it would go with my board much better however, once this is changed.. instead of 11 stars, it only adds the amount of stars for the rank that person would be at

Example:

MOD = Anime Master
315 Post 300 posts = 3 stars
XXX

They are a MOD & have MOD powers but only have the amount of stars for their amount of posts.

How would I edit the file so that it would recognize them, Adminz & the Webmaster status asnd show the correct amount of stars?

Show Your Support

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

Comments
  #12  
Old 02-05-2001, 04:53 PM
Guest
 
Posts: n/a
Default

Please Someone Helpme.. I would like to get this straightened out!

BUMP!

Re: I tried this and it didn't work!

elseif ($userinfo[usertitle]=="Moderator") {
$usertitle="$userinfo Anime Master<br><img src=\"images/star1.gif\" border=0>
}
Reply With Quote
  #13  
Old 02-10-2001, 11:23 AM
Guest
 
Posts: n/a
Default

i would assume you can do something like

Code:
elseif ($userinfo[usertitle]=="Anime Master") {
$usertitle="$userinfo[usertitle]<br><img src=\"images/star1.gif\" border=0><img src=\"images/star2.gif\" border=0><img src=\"images/star3.gif\" border=0><img src=\"images/star4.gif\" border=0><img src=\"images/star5.gif\" border=0><img src=\"images/star6.gif\" border=0><img src=\"images/star7.gif\" border=0><img src=\"images/star8.gif\" border=0><img src=\"images/star9.gif\" border=0><img src=\"images/star10.gif\" border=0><img src=\"images/star11.gif\" border=0>";
}
or maybe
Code:
elseif ($userinfo[usertitle]=="Moderator") {
$usertitle="$userinfo[Anime Master]<br><img src=\"images/star1.gif\" border=0><img src=\"images/star2.gif\" border=0><img src=\"images/star3.gif\" border=0><img src=\"images/star4.gif\" border=0><img src=\"images/star5.gif\" border=0><img src=\"images/star6.gif\" border=0><img src=\"images/star7.gif\" border=0><img src=\"images/star8.gif\" border=0><img src=\"images/star9.gif\" border=0><img src=\"images/star10.gif\" border=0><img src=\"images/star11.gif\" border=0>";
}
and add that where all the other status things are.
but why not do what wayne said, afterall it does seem to be the best way.
Reply With Quote
Reply


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 06:07 PM.


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.03646 seconds
  • Memory Usage 2,208KB
  • Queries Executed 19 (?)
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)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
  • (1)pagenav_pagelink
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)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_postinfo_query
  • fetch_postinfo
  • 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
  • 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