The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
Stars hack should be standard in vB 2.0 my users LOVE it on our UBB. But It shouldnt go, every 50. More like,
|
#22
|
|||
|
|||
Quote:
Edit: I figured out i can just add an elseif and set the mods stars that way. |
#23
|
|||
|
|||
Im getting a weird problem with this hack. I just get like 50 lines of the stars.php repeating at the top of my pages?
|
#24
|
|||
|
|||
Quote:
Here's what I changed my code to (in order to have different color stars based on posts.) |
#25
|
|||
|
|||
If you need to make mods have seperate stars just do this:
Code:
if ($post[usergroupid]==5 || $post[usergroupid]==6) // Admin and Supermod Stars $starsgif = '<img src="images/stars/Admin1.gif" border=0 width="99" height="20">'; else Code:
if ($post[usergroupid]==5 || $post[usergroupid]==6) // Admin and Supermod Stars $starsgif = '<img src="images/stars/Admin1.gif" border=0 width="99" height="20">'; elseif ($post[usergroupid]==15) $starsgif = '<img src="yourmodstarshere" border=0>'; else Code:
if ($post[usergroupid]==15) $stars .= $starsmod elseif ($post[posts] > 149) $stars .= $stars8; ..... I hope this helps. I have 2% PHP knowledge, but that's how i got it to work. |
#26
|
|||
|
|||
Moderator-specified stars still aren't being shown. The stars of Moderators are still based on their post count, as if they were regular members.
|
#27
|
|||
|
|||
Make sure that your usergroupid for mods is correct. Mine is 15, so i put 15, but my friends' is 36. Try that.
|
#28
|
|||
|
|||
The userid isn't 36. How can I find out which number mine is?
Another problem is, on some posts, the post-based stars are added to my admin stars. How can I prevent that? |
#29
|
|||
|
|||
In your CP, go to where you edit the user groups. When you highlight one the link should have something that includes &usergroupid=xxxx. Use that.
And for the rest, i'm not sure what your file looks like or what exactly you're trying to do, so i can't help ya there. |
#30
|
|||
|
|||
Okay, I found my moderator's ID is 7. But it's still adding post-based stars at the end of the mod or admin stars.
Here's my file: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|