![]() |
Edit: Nevermind...I figured it out on my own...thanks. :\
|
is there way to add multiple fields to this?
for example, instead of typing a point score i type in a word so far I have a weapon field, I want to add Armor and Gil, is there a way to do that? |
NM! I got it
|
hey guys,
novice here, wondering how you can make it so that "points" is only hyperlinked (under user name in posts) if the thread reader is an admin or moderator... and to everyone else, it's just not clickable... |
Simple...
You find the getpostbit function in functions.php Add a line that checks permissions to see if the person is authorized to give points. Example - Only admins can if ($bbuserinfo[usergroupid]==6) { $points="blahblah"; <-- make that the code with the link } else { $points="Points: $post[field5]"; } I have an even cooler solution working... but I'm keeping that to myself. |
If anyone would like it, I could release a hack that gives administrators and mods the ability to give users points, but in stead of displaying the points in the user profile, the amount of points would actually decide the usertitle of the user...
I have this implemented on my own site and it works very well... If anyone wants this, let me know, and I'll make a release. |
Quote:
|
Quote:
|
Sorry for not having released this yet. I have been incredibly busy at work the past week. Will try to get this out during the weekend (which might be difficult, since I have to build my new computer and do some serious gaming ;) )
|
Just install it.. Works GREAT ! Thanks ! ;)
|
Great hack,
I use it for long time but... I was thinking if it possible to insert links inside of the box. So that I can remove the user best threads from his signature and insert it on his fields. |
If you did it the way I did (rather than Reeve's alternate that has the default value set) then you should be able to...
Just use raw HTML <a href=http://www.mydomain.com/board/showthread.php?threadid=12345>Check out my cool thread!</a> Something like that. Just make sure it falls under the 250 character limit. |
Yeah, that edit I posted was only if you wanted a default number set. Otherwise its not needed.
|
for anyone wanting a shop: https://vborg.vbsupport.ru/showthrea...threadid=35156
here's my own version of it. |
thank you Palmer ofShinra
it's work cool |
why when I click on the points.php under postbit, it popup up a new window but nothing there.
only white background.. ? help please |
mewgood...I had the same problem, make sure that the address in the link is pointed to the right source. If it isn't, you'll get that error, same thing happened to me :)
|
nice
|
I have a great mod for this hack, go check it out here!! it will count your points automatically according to your posts, you get 2 points per post..
https://vborg.vbsupport.ru/showthrea...threadid=35754 |
Quote:
help please |
I think you need to change the group id to corrolate with group your trying to use here ....
|
makenavoption("Points","../mod/points.php?s=<?php echo $session[sessionhash]; ?>&action=masspoints");
THIS LINK DOESN'T WORK can you help me ? |
If this is the link thats added to the admin panel then you have to change makenavoption to whatever is being used for the rest of the links....
Makenavoption started in 2.2.0 I think ,... |
It is 6.
what do I do now? |
Quote:
|
Shoot man, I was trying to make it so when mods/admins click Gill
There are two fields one where they could add points ( already included) and one where they could subtract points Eh Palmer goo O" buddy!;) |
Psyc - just use a negative # to subtract points (ie: -510)
Exc - look at the other admin panel options and use that format per se. |
ok, ok, i'will try it!
|
hm.......doesn't work, like
PHP Code:
PHP Code:
|
No promises, but I will try to take a look at it over the weekend to see what needs to be changed for vb223 (if anything).
|
ok, thx, i'll wait....
may be i have error in my points.php???? |
Exc -- if you want to do MASS POINTS, then you need to UNCOMMENT lines 27 & 77
As for the link you are adding to the admin panel it should look like this for VB 222 & 223b PHP Code:
|
Installing for the first time to VB 223?
Use the install provided in the zip for 203. Your only change will be to the link in the admin panel. You will use this instead: PHP Code:
Upgraded your board to 223? From 222: Make your template changes & add the code to Moderator.php From 203: Do the same thing, only change the code mentioned above for the admin link. Simple as that. |
Quote:
I just made two forums thu, to make it easier on the mods and admins! *cheers |
Great hack ! Installed as "gold" for my Romance of three kingdoms forum
|
hi all,
I have read through all this page and think I may have missed a bit somewhere :( I get this error where I try to add points There seems to have been a slight problem with the The ClanRam Forums database. Please try again by pressing the refresh button in your browser. An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists. We apologise for any inconvenience. and below Database error in vBulletin Mod Control Panel 2.2.3: Invalid SQL: SELECT field6 FROM userfield WHERE userid=Array[userid] mysql error: You have an error in your SQL syntax near '[userid]' at line 1 mysql error number: 1064 Date: Sunday 10th of March 2002 12:18:07 AM Script: http://www.clanram.com/forum/forum/mod/points.php Referer: http://www.clanram.com/forum/mod/poi...ay%5Buserid%5D any help please :) |
can we specify only certain mod can give the points?
And how to make it give out certain point at certain time,let said evrty beginning of the month, the system will generate 10 points for certain group of members |
I was wondering if for the postbit, only moderators and aministrators can view the link under Gil, instead of all members being able to see the link.
Also, do you have any good "shopping systems" you could recommend that uses this hack and awards users custom titles and stuff? Thanks, Alex |
Quote:
|
Works great on 2.2.4! :)
|
All times are GMT. The time now is 05:15 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:
|