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

 
 
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
  #2  
Old 02-01-2001, 08:14 PM
Guest
 
Posts: n/a
Default

What you should do is just set it to use a custom title and since HTML is enabled automatically in custom titles you can just insert something like...

Code:
Anime Master<br><img src="/images/5stars.gif">
Reply With Quote
  #3  
Old 02-02-2001, 01:55 AM
Guest
 
Posts: n/a
Default

Code:
elseif ($userinfo[usertitle]=="Moderator") {
$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>";
}
This is the code that is inserted in for the Moderator status. What would I have to do to it to make it recognize Anime Master?
Reply With Quote
  #4  
Old 02-02-2001, 03:29 AM
Guest
 
Posts: n/a
Default

all i did was include it in the usertitle. i did that for personal pics as well cause i couldn't get the avatar to work properly..

Code:
<img src="www.starimage.com/pic.gif">Anime Master<br><br><img src="www.icon.com/pic.gif">
this will put stars above the title and a personal icon under the title..

rather simple trick only problem is that u'r members won't be able to do it themselves..

hope this helped.
Reply With Quote
  #5  
Old 02-02-2001, 12:59 PM
Guest
 
Posts: n/a
Default

Trying to determine a user's level by their title is not a very good way of doing it. Nor do I think embedding HTML code in the custom user titles is. These both work of course but are quick fixes and not flexible. Not only that everytime a Moderator is created or one leaves, there is a lot of maintenance to be done.

However if you program the code correctly, you only have to do things once and the program will adapt to the environment it is in including creating and deleting moderators.

Look at this thread for a better way of determining who is a moderator or admin and let the program do the work.

http://vbulletin.com/forum/showthrea...ighlight=stars
Reply With Quote
  #6  
Old 02-02-2001, 08:11 PM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by wluke
Trying to determine a user's level by their title is not a very good way of doing it. Nor do I think embedding HTML code in the custom user titles is. These both work of course but are quick fixes and not flexible. Not only that everytime a Moderator is created or one leaves, there is a lot of maintenance to be done.
Have to Agree with Wayne
Reply With Quote
  #7  
Old 02-02-2001, 08:17 PM
Guest
 
Posts: n/a
Default

When 2.0 is released I will give out my updated stars hack (you do notice that I have stars on my forum running 2.0 right?).
Reply With Quote
  #8  
Old 02-02-2001, 10:46 PM
Guest
 
Posts: n/a
Default

wluke, me & you have never been on the same level.

OK lets start over.

Suppose PHP programming were like drving a car.

I would be 16months old binding me ineligeble to drive
However you would be 25... not only old enough but several years of experience ok..

In other words!

I DO NOT HAVE THE SLIGHTEST CLUE ABOUT PHP SCRIPTING!

So I will always have to revert back to the easiest option. HTML it is.
Reply With Quote
  #9  
Old 02-02-2001, 11:18 PM
Guest
 
Posts: n/a
Default

Dude if your forum doesn't have like 10 + mods then you can just do what I said, I do that on mine and everythings great.
Reply With Quote
  #10  
Old 02-03-2001, 09:18 PM
Guest
 
Posts: n/a
Default

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
 


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 09:23 PM.


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.03958 seconds
  • Memory Usage 2,268KB
  • Queries Executed 24 (?)
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
  • (3)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)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