The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Here is the code I use for stars on v2. It gives one color stars to admins/super mods and another color for everyone else. If you want to give different stars to regular moderators than you will have to insert the ismoderator() function which is going to increase the queries on showthread. Just rename it to stars.php, put it in your forums/admin directory. Open up functions.php and put
include('stars.php'); after // sorts through all the stuff to return the postbit template This is a very simple hack but it is all I need for my forum. The next version of vB (the next full version, not beta) will have a more comprehensive stars function. Oh yeah and put $stars in the postbit template where you want the stars. |
#2
|
|||
|
|||
next version...
that brings back memories... but seriously, is that vb2.0 final or vb2.x sort of thing? ie a couple of weeks away or a few months away? |
#3
|
|||
|
|||
i think stars should be included automatically in the 2.0 package, so you do not have to hack them...
it is a somewhat irritating feature not to have. (if they already are plz dont flame me because I have not upgraded yet to find out for myself) |
#4
|
|||
|
|||
v2.x sort of thing...
|
#5
|
|||
|
|||
????
Parse error: parse error in stars.php on line 3 |
#6
|
|||
|
|||
maybe changing <? php to <?php might help?
|
#7
|
|||
|
|||
yes that was the prob ;-) thx mate
|
#8
|
|||
|
|||
Freddie, talk to John about getting this into 2.0 Final release. I know that there is a lot to do, but as you demonstrated, It is a very simple addition that could be revised and beefed up in the future.
But this also brings up the karma hack... Which will VB use? Stars or karma? |
#9
|
|||
|
|||
karma?
|
#10
|
|||
|
|||
Or both? ranks are only based on posts while Karma is based on other's ratings of yourself.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|