PDA

View Full Version : End-User Options - Reputation Point Chooser FREE by BOP5 (Choose how much rep to give when leaving rep)


BirdOPrey5
05-08-2012, 10:00 PM
Brought to you by BirdOPrey5
www.Qapla.com (http://www.qapla.com/mods/)

Updated to Version 1.2.1

This is the FREE version. It does everything the old 3.x version of this mod (https://vborg.vbsupport.ru/showthread.php?t=14643) used to do.
This is NOT an update of that mod- it has been coded from scratch specifically for VB 4.x.

Demo: www.qapla.com/mods/forum.php - Leave rep on any post.

A GOLD Version with additional options is available at Qapla.com (http://www.qapla.com/mods/showthread.php/438-Rep-Point-Chooser-Gold-by-BOP5-Choose-how-much-rep-to-give-when-leaving-rep-VB-4x).

The GOLD version allows for custom rep multipliers (Multiply the amount of rep a user is allowed to give.) (Independent positive rep and negative rep values.)

The GOLD version also allows for per-usergroup enabling of the mod.

Both the FREE and GOLD versions share these features:

A single select field with all possible positive and negative rep values.
If negative reputation is enabled a note will automatically be displayed explaining the difference. (Editable phrase)
If a user chooses a positive or negative value the appropriate "Approve" or "Disapprove" radio button will automatically be checked.
Check to make sure user can't use "hacking" tools to specify more rep than allowed.
Tested on latest Chrome, Firefox, Opera, Safari, and IE9.


This has been tested as far back as VB 4.0.8, 4.1.10. and on the latest 4.1.12 version without issue. It has not been tested on VB versions prior to 4.0.8.

As usual all text presented to the user is fully phrased for easy translation.

German Translation Courtesy Of: Alex@bulletin (Version 1.2)

------------------------------------------------------

Please "Mark as Installed" if you use this. :)
Donations always appreciated. :up:
Nominate MOTM if you LOVE it! ;)

BirdOPrey5
05-09-2012, 12:14 AM
Reserved.

goxy63
05-09-2012, 12:46 AM
Tagged, nominated, rated

Thanks

faisaly.com
05-09-2012, 12:49 AM
nothing appears in the drop down box for me... i have the reputation system enabled using vb4.1.11 is there a basic setup i can use to see if it works...

BirdOPrey5
05-09-2012, 01:15 AM
nothing appears in the drop down box for me... i have the reputation system enabled using vb4.1.11 is there a basic setup i can use to see if it works...

Try using the default style and see if you see it.

Did you enable the mod in settings?

faisaly.com
05-09-2012, 01:18 AM
mod enabled rep system set to yes and tested on default style...

Browser = firefox

Maybe an example of the built in rep system admincp/options/user reputation options setup would help, i could havepoints set up wrong?

edit this typo in your post... It has not been rested on VB versions prior to 4.0.8. - tested

BirdOPrey5
05-09-2012, 01:35 AM
Thanks for pointing out the typo-

When you say the drop-down box, you mean where you would pick a value right? (+3, +2, +1, 0. -1, -2, etc..) ??

I see your site is in Arabic (if it's your username) - can you make an account for me (username: BirdOPrey5) so I can see it first hand?

PM me a password.

faisaly.com
05-09-2012, 01:39 AM
I am using it on my other site... and using english, no numbers are represented... PM sent...

BirdOPrey5
05-09-2012, 01:58 AM
I am using it on my other site... and using english, no numbers are represented... PM sent...

Weird...

If you go to the Admin CP -> Products & Plugins -> Plugin Manager

Edit the plugin: Build Rep Options

Change the "Hook Location" from reputation_form_start to reputation_start

Does that fix the issue?

faisaly.com
05-09-2012, 02:05 AM
Not working after following those steps... it was set on reputation_form and changed to reputation_start... still a no go!

New Joe
05-09-2012, 02:08 AM
Would this still work even if we have negative rep turned off?

DM BoNeZ
05-09-2012, 03:26 AM
yes im having the same problem the drop down box wont show
im running vb 4.1.7...
thanks for making it too :D hope you get it fixed...



Will be buying the gold version once fully working :P

mitch84
05-09-2012, 04:43 AM
installed on vb 4.1.11 but numbers don't appear
tested with style by defaut + 2 themes
language french or english, same results

BirdOPrey5
05-09-2012, 07:57 AM
Sorry guys, I have it working on 3 VB 4.x forums- 4.0.8, 4.1.10, and my site (Qapla.com) which is 4.1.12.

Let me install a fresh 4.x on my local machine and see what is up.

Stand by.

BirdOPrey5
05-09-2012, 10:15 AM
OK, released version 1.1, fixed a couple of things I saw wrong- would have been annoying but shouldn't have caused the issues you've seen.

I've changed some code in regards to building the number list I hope it helps.

BUT Here's the thing.

I've now installed this on 5 VB 4.x forums- VB 4.0.8 and two VB 4.1.12 production servers. ALSO one VB 4.1.12 FRESH INSTALL and one VB 4.1.10 FRESH INSTALL.

I've used both Litespeed/Apache and Linux/Apache servers.

And in all 5 cases the mod is working just fine. Tested it as an Admin, tested it as a user, and as a mod. I've tested it with reputation enabled and off, and reputation negative reputation enabled and off- and I cannot reproduce the missing numbers issue.

If this version 1.1 doesn't fix the issue for you please if you're willing PM me with an Admin account I can access on your site to trouble-shoot this further.

If anyone out there DOES get this working PLEASE PLEASE PLEASE report that in this thread too- so I know I'm not (that) crazy. :D

Would this still work even if we have negative rep turned off?

Yes, especially now in the 1.1 version.

mitch84
05-09-2012, 10:21 AM
don't work after upgrade, same result

BirdOPrey5
05-09-2012, 10:38 AM
If anyone is wiling to PM me access to their forum- I need an Admin account with basically full access (settings, plugins, users, usergroups at least.)

BlueCheri
05-09-2012, 10:38 AM
Joe very nice idea.

Installed, numbers not showing.

The 1.1 version is in same file?

G!

BirdOPrey5
05-09-2012, 10:43 AM
No version 1.1 is not the same file- it should say version "1.1" in your products list after you install. The old file said "1.0."

BlueCheri
05-09-2012, 10:47 AM
Sorry Joe, still it's not working.

G!

No version 1.1 is not the same file- it should say version "1.1" in your products list after you install. The old file said "1.0."

BirdOPrey5
05-09-2012, 10:53 AM
Do you know what type of server you're on and webserver?

Linix/Apache?
Windows/IIS?

Something else?

datoneer
05-09-2012, 12:17 PM
Doesn't work for me either

datoneer
05-09-2012, 12:18 PM
I'm on Linux

New Joe
05-09-2012, 12:38 PM
Not working the same as others my end either.

BirdOPrey5
05-09-2012, 12:56 PM
Anyone want to try this version attached here and let me know?

[edit -removed file]

DM BoNeZ
05-09-2012, 01:29 PM
this time when i click the rep image nothing shows up.
well i have to go to school. will be back later

datoneer
05-09-2012, 02:48 PM
Yes same

BirdOPrey5
05-09-2012, 03:09 PM
Wow.

OK I released version 1.2- I completely changed the way the drop-down box is added to existing template- it is now a template itself and properly pre-registered to the reputationbit template.

PLEASE let me know if you can get 1.2 to work. I am dying over here. :o

mitch84
05-09-2012, 04:18 PM
ok, work fine now, but when I add two points only 1 is added, or I missed a set?

BirdOPrey5
05-09-2012, 04:49 PM
While nothing would surprise me, even though it is working fine for me (giving full points) where are you checking this value?

You should be checking in Admin CP -> Users -> Search for User -> Username

The reputation value is reported (default is 10 usually.)

Then go give rep to that user, and reload the User page, check if the number reported goes up by the number of points you left.

Remember (for everyone out there, some may not be used to rep) there are two values. Reputation itself and "Rep Power"- Rep Power is a calculation based off the real rep value. There is no default option to show the real rep value in a postbit so if you are reading a number from the postbit it is more likely "Rep Power" not actual reputation.

datoneer
05-09-2012, 07:10 PM
Awesome BOP5, works like a charm!

DM BoNeZ
05-09-2012, 09:40 PM
thanks man. it works. im going to save up for some of your gold stuff on your site

faisaly.com
05-10-2012, 12:12 AM
v1.2 is working on vb4.1.11 thanks for updating BOP....

BirdOPrey5
05-10-2012, 09:56 AM
Thanks.

In consulting with kh99 we think there may have been another mod changing the order in which one of the hooks executed on the old version (1.0/1.1) and that was stopping it from working correctly for some people- so I wasn't crazy, just didn't have that particular mod installed.

DM BoNeZ
05-10-2012, 01:28 PM
Thanks.

In consulting with kh99 we think there may have been another mod changing the order in which one of the hooks executed on the old version (1.0/1.1) and that was stopping it from working correctly for some people- so I wasn't crazy, just didn't have that particular mod installed.

well if it was everyone that was having the problem it must of been one famous mod.
could be the vbshout because lots of people use it. im not sure.atleast it works now

BirdOPrey5
05-10-2012, 03:03 PM
It may well be since I don't use any shoutbox... Also the mod did work when he tested it on his so it wasn't something unique to mine.

All in the past now :)

DM BoNeZ
05-10-2012, 03:36 PM
I have a idea for your gold version or free,your choice.if its possible.add like a option for a max amount of rep a user or usergroup can give.
Example:
Lets say someone has 81 rep power and the max is 50 on the drop down menu
There only allowed to give 50 rep points out of the 81 they have.
I thought that would be cool

BirdOPrey5
05-10-2012, 04:52 PM
DM BoNeZ,

That's interesting although I don't know about integrating into this mod... will see... The problem is doing it per usergroup will get very messy when having to account for secondary groups.

What about a "Max Rep" mod where an admin can specify a max rep value per usergroup? That would be different than this mod because it would deal with actual reputation where this mod limits "Rep Power."

Alex@bulletin
05-10-2012, 05:30 PM
Let me provide a little German translation ;)

DM BoNeZ
05-10-2012, 06:25 PM
Well idk if users will not like there rep maxed. But if you can integrate to that mod it will be cool.
Its up to you

BirdOPrey5
05-10-2012, 07:46 PM
Let me provide a little German translation ;)

Danke! Added to first post.

lazytown
05-11-2012, 12:40 AM
I think it would be better if the reputation point options didn't go up by one for most users... Like divide a user's max reputation ability by 10 and display those options in increments.. Example, if a user has 100 rep power, then they would have the option of giving -100, -90, -80 .... 10, 20, 80, 100.. etc.... An admin could specify how many options members would have (6, 10, 20, etc) .. Not that hard to code the math. It would also eliminate all that extra HTML on the page for someone with 250 rep having 500 drop down selections (-250 to 250).

BirdOPrey5
05-11-2012, 02:37 AM
Good idea vissa- something I will likely include in an upcoming version.

BlueCheri
05-15-2012, 06:24 AM
It's working fine Joe.

Many thanx

G!

Wow.

OK I released version 1.2- I completely changed the way the drop-down box is added to existing template- it is now a template itself and properly pre-registered to the reputationbit template.

PLEASE let me know if you can get 1.2 to work. I am dying over here. :o

lazytown
05-15-2012, 06:33 AM
Good idea vissa- something I will likely include in an upcoming version.

Awesome -- thanks!

BirdOPrey5
05-23-2012, 07:31 PM
Updated to version 1.2.1 - fixed some rounding errors and confirmed working in 4.2.0.
I did not add any of the new features yet, that will be 1.3.

dwx
05-31-2012, 10:01 AM
i've got the 1.2.1 version install on my vb4.2.0 server, but the drop down list only has one choice in it, a "0".

any ideas what could be causing this?

-dwx

BirdOPrey5
05-31-2012, 12:10 PM
The user probably has zero rep power.

Please Mark As Installed.

Any new users probably won't have rep power until 30 days and 50 posts using vbulletin's default rep settings.

You can edit these in Admin CP -> Settings -> Options -> User Reputation Options

dwx
06-01-2012, 12:27 PM
The user probably has zero rep power.

Any new users probably won't have rep power until 30 days and 50 posts using vbulletin's default rep settings.

You can edit these in Admin CP -> Settings -> Options -> User Reputation Options

That did the trick. I also had to "rebuild user reputation" to get it settings to take effect.

Thanks! I'll get my IT guy to order the GOLD version on Monday.

-dwx

hsoen
06-01-2012, 12:52 PM
Does this mod work if different user has different rep power?

For example,
Global Mod rep power = 10
Mod rep power = 8
Member A rep power = 5
Member B rep power = 3

Will Member A see the rep points that he can give lie between -5 to +5?

and Global Mod, between -10 to +10.

and etc.

BirdOPrey5
06-01-2012, 05:53 PM
Yes, it only shows the +/- in the range each user has.

Nirjonadda
08-05-2012, 04:56 PM
Installed GOLD Version Working Excellent !!!

emperatour
08-18-2012, 05:58 PM
Thanks for developing this plugin for vb4+. Great work!

I found some bugs:
- I have set vB Options->User Reputation Options->Require Negative Reputation Comment option to yes but the plugin seems to be ignoring this setting.

- As mentioned in the features: "If a user chooses a positive or negative value the appropriate "Approve" or "Disapprove" radio button will automatically be checked."
What if the user chose negative value first and then chooses Approve? Is seems like the radio button has no effect on the value, however I think it would be appropriate if the value is set to zero if the radio button is changed. Or Maybe just remove the radio buttons. They are very useless.

Thanks a lot.

mitch84
12-27-2012, 01:23 PM
hi, I can only give +2(max) and -1 and reputation, it's normal? thx

BirdOPrey5
12-29-2012, 07:38 PM
It's normal if your reputation power is low or you set the max/min values that way.

As you trying from your Administrator account?

In "User Reputation Options" in your vBulletin Settings what is "Administrator's Reputation Power" set to?

Iguana Goddess
01-02-2013, 08:21 PM
Ok I just installed this on version 4.2.0. patch 3
When I give pos rep, it lowers the rep points, when I neg rep, it raises the rep points. Any idea why it would do this? Or how to fix it?

EDIT: Updating the reputation via admincp fixed issue.

datoneer
06-18-2013, 05:06 PM
When i click add to reputation i get this: <p>Database Error</p>

datoneer
06-21-2013, 08:57 AM
Any chance to fix this?

BirdOPrey5
06-21-2013, 09:56 AM
Can you paste the full database error?

You can hide/mask your IP address and other server specific info.

mertiliuss
06-21-2013, 12:25 PM
is posible similar, but in user profile?

eg: http://vampirefreaks.com/Alyce_

"Rate Me"

tnks

datoneer
06-21-2013, 12:52 PM
https://vborg.vbsupport.ru/external/2013/06/16.png

I can see this only nothing else when i click on add to reputation

BirdOPrey5
06-21-2013, 05:06 PM
In your config.php file make sure there is an email address set to receive a copy of your database errors. Then you should get a copy in your email whenever there is an error.

BirdOPrey5
06-21-2013, 05:07 PM
is posible similar, but in user profile?

eg: http://vampirefreaks.com/Alyce_

"Rate Me"

tnks

Sorry doesn't appear to be related to this mod.

datoneer
06-23-2013, 06:59 PM
This is the error:

Invalid SQL:
UPDATE user SET
reputationlevelid = 5,
reputation = 31,
newrepcount = 1
WHERE userid = 1816;

MySQL Error : Unknown column 'newrepcount' in 'field list'
Error Number : 1054
Request Date : Friday, June 21st 2013 @ 09:50:24 AM
Error Date : Friday, June 21st 2013 @ 09:50:25 AM
Script : http://www.imspot.org/reputation.php?do=addreputation&p=12697
Referrer : http://www.imspot.org/imspot-forum-news/3545-vbcredits-new-points-system.html
IP Address :
Username : enigma
Classname : vB_Database
MySQL Version : 5.1.68-cll

datoneer
06-26-2013, 05:48 PM
I'll wait for your fix bop5 it is not urgent

Lazorbeam
07-05-2013, 01:25 PM
Nice mod. Installed.

Members are asking to have the mod give max rep as default, instead of 0. Is this possible? How bout setting it to 1?

BirdOPrey5
07-06-2013, 09:20 PM
Anything is possible if you know how to code it. Unfortunately I will not be making any updates to this mod for the foreseeable future.

kamran_dotnet
08-19-2013, 08:53 AM
This is the error:

Invalid SQL:
UPDATE user SET
reputationlevelid = 5,
reputation = 31,
newrepcount = 1
WHERE userid = 1816;

MySQL Error : Unknown column 'newrepcount' in 'field list'
Error Number : 1054
Request Date : Friday, June 21st 2013 @ 09:50:24 AM
Error Date : Friday, June 21st 2013 @ 09:50:25 AM
Script : http://www.imspot.org/reputation.php?do=addreputation&p=12697
Referrer : http://www.imspot.org/imspot-forum-news/3545-vbcredits-new-points-system.html
IP Address :
Username : enigma
Classname : vB_Database
MySQL Version : 5.1.68-cll

use this MySQL query to fix this:
ALTER TABLE user ADD newrepcount SMALLINT UNSIGNED NOT NULL DEFAULT '0';

ozzy47
08-19-2013, 09:19 AM
Just because a mod does not get any features added does not mean it is unsupported.

BirdOPrey5
08-19-2013, 09:35 AM
This is the error:

Invalid SQL:
UPDATE user SET
reputationlevelid = 5,
reputation = 31,
newrepcount = 1
WHERE userid = 1816;

MySQL Error : Unknown column 'newrepcount' in 'field list'
Error Number : 1054
Request Date : Friday, June 21st 2013 @ 09:50:24 AM
Error Date : Friday, June 21st 2013 @ 09:50:25 AM
Script : http://www.imspot.org/reputation.php?do=addreputation&p=12697
Referrer : http://www.imspot.org/imspot-forum-news/3545-vbcredits-new-points-system.html
IP Address :
Username : enigma
Classname : vB_Database
MySQL Version : 5.1.68-cll

This mod doesn't make any changes to the database, in fact it doesn't make any direct database queries at all.

This error is either because of a different modification or a problem with your VB install.

What exact version of VB are you using?

ozzy47
08-19-2013, 10:07 AM
Seems something went haywire during a upgrade of vB, here is a thread on it, http://www.vbulletin.com/forum/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/411446-problem-with-reputation-after-upgrad-to-4-2

BirdOPrey5
08-19-2013, 10:18 AM
That meakes sense at least as to why there is the error- and the query posted in post #69 should fix this issue - https://vborg.vbsupport.ru/showpost.php?p=2439670&postcount=69

I would just be concerned what else didn't run if it was my forum that was affected. To fix the reputation issue though that manual query should work just fine. :up:

kamran_dotnet
08-19-2013, 11:54 AM
i wish there is a way to show who reputaion in the posts
just like thanks you hack or like hack

datoneer
09-13-2013, 05:02 PM
Thank you guys it is working now, the sql query fixed my problem! And btw i'm on 4.2.1 version

hellboundblogge
10-06-2013, 08:26 AM
Its not working for vb 4.2.1 :(

BirdOPrey5
10-06-2013, 12:52 PM
If you have a custom style, try with the default style. It works on my 4.2.1 forum.

navidmoj
01-15-2014, 08:11 AM
Hi
thanks for your great job
does this work on vb 3.8?
if so, please gimme the link
thank you

M.C.
02-18-2014, 03:53 PM
sorry can you help me? Why my users can see only ZERO in dropdown? thanks!

BirdOPrey5
02-18-2014, 05:50 PM
Because they don't yet have the ability to leave rep worth even 1 point. You need to edit he settings under User Reputation Options in Admin CP so your users can have more reputation power. Settings like how long they've been a member or minimum rep they need to have to leave rep.

M.C.
02-18-2014, 06:02 PM
OK! Thanks! Need to get used to that system :)

Sorry, can you please help me to change setting to make users over 30 days old be able to give not only ZERO rep?
https://vborg.vbsupport.ru/external/2014/02/12.jpg (http://www.radikal.ru)

akz645
09-09-2015, 02:16 AM
Reserved.

This modification stopped working correctly, when I recently updated my google chrome browser. Others are experiencing the same issues.
https://productforums.google.com/forum/#!topic/chrome/m5sRq0_UKek

My google chrome version:
45.0.2454.85 m

It works fine on modzilla firefox:
40.0.3

Problem:
If I try changing the number from the dropdownbox, it doesn't change.

BirdOPrey5
09-09-2015, 03:49 PM
Wow that's interesting- I confirm the same issue. I'll have to take a look and see what is up.

akz645
10-03-2015, 06:19 PM
Wow that's interesting- I confirm the same issue. I'll have to take a look and see what is up.

One of Google Chrome's latest update fixed it :)