![]() |
Stars hack should be standard in vB 2.0 my users LOVE it on our UBB. But It shouldnt go, every 50. More like,
|
Quote:
Edit: I figured out i can just add an elseif and set the mods stars that way. |
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?
|
1 Attachment(s)
Quote:
Here's what I changed my code to (in order to have different color stars based on posts.) |
If you need to make mods have seperate stars just do this:
Code:
if ($post[usergroupid]==5 || $post[usergroupid]==6) Code:
if ($post[usergroupid]==5 || $post[usergroupid]==6) Code:
if ($post[usergroupid]==15) I hope this helps. I have 2% PHP knowledge, but that's how i got it to work. |
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.
|
Make sure that your usergroupid for mods is correct. Mine is 15, so i put 15, but my friends' is 36. Try that.
|
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? |
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. |
1 Attachment(s)
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: |
All times are GMT. The time now is 06:55 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|