![]() |
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?? |
Hey man, great hack! Thanks a lot! :) Just one question for ya...How can I make it to where Moderators can give out Points (in my case, Awards)? You have to edit the user profile to give it to them, and I've looked everywhere and so far only Administrator's can give them out. How can I make it to where Moderators can give out awards? Thanks again for the great hack! :)
|
Also, how do I make it to where they can see the "Awards" or "Points" when they post? Everytime I've installed it on my test board, it only shows up in their profile, yet you can still see "Points" or "Awards" underneath" the # of posts they have..Help! heh..thanks! :)
|
Scratch this. I figured it out. Apparently everytime you add a custom user field, then delete it, it adds another # anyway. So mine wouldn't show b/c instead of "5" it was going up. Ended up at "8" heh...Thanks for the great hack! :)
Edit: Still would like to know about letting Mods give out awards. Thanks again! :) |
Quote:
function getpostbit($post) should do. Try right after eval("\$post[buddy] = \"".gettemplate("postbit_buddy")."\";"); =================== Psychdrone: I just added that, actually... I'm updating the zip file after this post with the change. Basically... where you type in the number of points to give... If you put in a number, it adds or subtracts points. If you type in text instead, it changes it to the text. =================== Radon3k: Umm... Mods should be able to give out points by default. I don't know what the problem would be. |
I click the points link for any user, and just a blank white screen pop ups...
Any suggestions? http://rapbattle.com/vb Check any thread, for yourself. :( Thanks in advance |
Quote:
Thanks a bunch Palmer! :D |
Works great now thanks Palmer :)
|
Would it work if i created a group called Points and then give it the appropriate usergroup number in points.php ?
Trying to make it so that only 1 user and admin/sup admin can edit the points. if (!$bbuserinfo[usergroupid]==6) Ok, this is Administrator group, what if i made another group with only 1 user in it and that group became id 15 say. How could i make the if statement include group 6 and 15 ? Wouldn't it be better to use user id's instead in this case, as apposed to group id's...*sigh* sorry for the spam =/ |
Easy... first find the userid's of whoever you want to have permission.
Say it was here and I wanted you to have permission... your userid is 2722. Change all the PHP Code:
PHP Code:
Add ORs for whoever else you want to allow. You should change moderator.php as well PHP Code:
PHP Code:
|
hi~~Palmer ofShinra i have a little question
if i want admin supermod and mod can use this ~~ how should i do ?? and in admin panel when i click points but nothing happen~~ why?? |
If you do it just the way you're told, admins, mods and supermods should eb able to give points.
I know because that's how I set ti up, and it's been tested like that. Link in the admin panel? Blank page? Buddy... READ THE INSTRUCTIONS. Did you uncomment the large chunk of code in points.php? because that section is OPTIONAL, and there's no reason to add anything to the CP unless you use it. But if you didn't uncomment the code, of course you'd get a blank page. *sigh* |
[Edited By: Sinecure]
Removed because of persistant profanity. |
Shadowz - your using two instances of the point hack right?
One for wins and another for losses? If so you have to play around with the hack or use two instances to get it running. My educated guess is that the second instance your trying to use is causing the problems your experiencing. Try getting just the first to work then try the second. |
shadowz are you trying to get banned?
|
I dont care either way. Banned or not. Cuz this enviornment doesnt make me too comfortable. When I have too be uncertaint too ask a question or not, because there might be a negative backlash from someone more "computer gifted".
Not too mention im not gonna tolerate someones bullsh*t just because they made a hack. What making a hack and knowing php, makes me inferior? pshhhhh All I wanted was an answer like Reeve's... So simple and too the point. And even though my question might have seem stupid too him, he didnt show any arrogance, like "hes too good of a programmer too answer simple questions". So with that said, Thank you Reeve, its appreciated. And I stand strong in what I said too Palmer. F*CK YOU |
You take things too personally - and using profanity to debate your premise only makes you lower ...
Good luck getting help ;) |
Great, thanks! :) But what script was it that I need to change? Also, what if I wanted to add more than one member to allow them to give out awards? Thanks again! :)
|
heh I wish I saw the first post before it was censored but anyway ... its all good now I hope.
Radon3k - everything you need should be in this thread. If you have probs, let us know. |
Ok I must be really blind. Please tell me how mods can add points or awards to other people. Becuz I just can't figure this out. I must be really blind. Thanks :)
Edit: Nevermind. I'm the biggest idiot in the world. I had no idea there was a Mod CP. But they don't have permission to change the profile, how do I enable this? I can't find it anywhere. Thanks, and sorry for all this trouble... |
If you did the template edit exactly as described in the instructions, then there should be a
Points: 23 Display under each person's postcount, "From" etc next to posts. The word Points is a link. Click the Points link under the person in question's name. That should pop up a window with a form to give the points. |
Has the file in the first post been updated, or do i have to install the hack and then add all the other stuff in this thread?
|
Ohh..I get it now, thanks :) I took out the link becuz it only made a blank page, but then that's where your post comes in about making the link work. I get ya, and only mods can do this, right? Thanks again! :)
|
Can you add and subtract using decimal places?
|
It should work, but I haven't tried it...
Test for yourself if you want. |
Hi
I can't seem to download the file, and I am a registered member (no pirates over here!) Can anyone help? Cheers, |
You followed the instructions in this link yet?
https://vborg.vbsupport.ru/showthrea...threadid=31848 |
[QUOTE]Originally posted by Palmer ofShinra
It should work, but I haven't tried it... Test for yourself if you want. |
Avenger, earlier in this post I explained how to change the field type. By default it is text but changing it to an integer in phpmyadmin might help with your problem. As for the $ sign,... maybe you can put it in the begging then whatever #. like: $ post[field5] ....
|
[QUOTE]Originally posted by Reeve of shinra
Avenger, earlier in this post I explained how to change the field type. By default it is text but changing it to an integer in phpmyadmin might help with your problem. As for the $ sign,... maybe you can put it in the begging then whatever #. like: $ post[field5] .... |
IS this hack working on VBB 2.0.1 ????????
Thanks!! |
All times are GMT. The time now is 02:26 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:
|