![]() |
Crinos - do what we do and put something funny in its place.
For example one of our staff has his say - 1,000,000 pesos. Of course they can always change that but as staff - you should trust them. =) squawell - that has to do with the hack ... you probably dont have the semi colon at the end of line 19. |
Hmm, well, is there any way to "hide" user points for a specific usergroup? Both in the postbit and getinfo? Thanks :)
|
I think thats possible but I dont know if I have time to check it out ... maybe next week sometime.
|
Kewl! I'll be waiting eagerly then ... Thanks!
|
Umm... don't expect me to actually conde anything at the moment...
But the way I'm seeing... Make a new template... call it postbit_points It consists of one line... The line you use to display (and link) points normally in postbit. Replace the part in postbit with $points In the showthread part of functions.php Stick this in... eval("\$points = \"".gettemplate("postbit_points")."\";"); Stick that Eval inside an IF clause that checks $post[usergroupid] That way people who belong to certain groups won't display Points at all. Or if you want to hide EVERYONES points from certain usergroups, use $bbuserinfo[usergroupid] instead. As for getinfo... I really don't know atm... |
Please could you explain how to set it up so that only 1 or 2 users could edit the points but everyone else could view them?
Thanks alot in advance, Tryfwar |
Read the thread. It tells you where to change the permissions.
|
I created a new template called: postbit_points
added the following line: <a href="moderator.php?s=$session[sessionhash]&action=points&userid=$userinfo[userid]" target=_blank>ELP:</a> $post[field5] removed that line from postbits and replaced it with $points edited functions.php and added this to the Start buildpostbit section: (wasn't too sure where exactly to do this as i couldn't find a IF $post[usergroupid]) eval("\$points = \"".gettemplate("postbit_points")."\";"); I then uploaded the new functions.php. anyway, i can't seem to work out exactly where i should place this line :( Any hints? :) Thanks |
HOw do i make it so that admins/mods, may add text, not just #s in the field?
THanks And thanks again for the wonderful hack!! |
i have a problem with this code:
IF YOU ARE USING VB 2.2.0 Find: ===================== makenavoption("Build Mailing List","email.php?action=genlist"); ===================== Replace with: ===================== makenavoption("Build Mailing List","email.php?action=genlist","<br>"); makenavoption("Points","../mod/points.php?s=<?php echo $session[sessionhash]; ?>&action=masspoints"); ===================== but in my admin panel it can't work why?? |
All times are GMT. The time now is 09:29 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:
|