View Full Version : Add-On Releases - PM notification when receiving reputation points
skhms
05-07-2010, 10:00 PM
SK Reputation Notification v2.0.0 - 2010-05-08
Notification system for reputation comments.
This modification sends a PM to the user whenever someone gives him/her a reputation comment.
User must first enable the function on the Settings => General Settings page. It's off by default.
v2.0.0 is updated for vBulletin 4. See v1.x (https://vborg.vbsupport.ru/showthread.php?t=162083) for vBulletin 3.x.
Created and tested on vBulletin 4.0.3
Two step installation.
Copy 1 file. Import the product.
See instructions in the attached zip file.
Version history:
v2.0.0 - 2010-05-08
Updated for vBulletin 4.
v1.1.2 - 2008-06-18
Support for option 'Can See Who Left User Ratings'.
- If user not allowed to see who left a reputation comment the sender of the notification PM will always be the specified user and not the actual user leaving a comment.
- Also a different message will be used with no name included.
v1.1.1 - 2008-04-19
Added admin options so you can specify a specifik user as the sender of the notification PM.
v1.1.0 - 2007-11-06
First official release.
/SK
chriske
05-08-2010, 10:39 AM
Very nice, will give it a try :)
sadiq6210
05-08-2010, 01:57 PM
Great .. Thanks
trackpads
05-08-2010, 03:20 PM
This is awesome! thanks so much for updating to vb4! This hack is great because it gets people talking about rep and posts!
Thanks again!
-Jason
ProFifaLeagues
05-08-2010, 06:36 PM
Nice one installed and working a1
fishmaster
05-09-2010, 08:22 AM
MOTM, worked great
BlueCheri
05-09-2010, 03:18 PM
Will it work for 4.0.2?
skhms
05-09-2010, 07:19 PM
Will it work for 4.0.2?
Most likely.
Can't imagine it would be a problem but I haven't tried it.
/SK
BlueCheri
05-10-2010, 03:10 AM
Most likely.
Can't imagine it would be a problem but I haven't tried it.
/SK
:( not working, will use it when update to 4.0.3
Thanx
AcidX
05-11-2010, 10:21 AM
Is there a chance to modify it so we can receive notifications on quote as well? :)
BrightStar
06-17-2010, 11:44 AM
Is the option checked by default for new registrations?
skhms
06-17-2010, 07:47 PM
Is the option checked by default for new registrations?
No it isn't
If you want to change that you need to run a SQL query.
Enter this at the Maintenance > Execute SQL Query Page:
ALTER TABLE tableprefixuser ALTER sk_repnotif_options SET DEFAULT '1'
This will make the option active as default for new users.
Change the tableprefix to whatever you are using or remove it if you don't use any.
/SK
GT2.0
06-20-2010, 06:20 PM
does not work in 4.04
funmasti
06-21-2010, 04:04 AM
such a great mod, thanks
skhms
06-21-2010, 04:44 PM
does not work in 4.04
What happens, or doesn't happen?
I just install 4.0.4 on my testsite and I haven't seen any problems yet.
/SK
BlueCheri
06-27-2010, 06:53 AM
Tried for 4.0.4, now working :(
merk_aus
06-27-2010, 09:31 AM
Have installed it on 4.0.4 with no issues at all thanks.
pointalk
06-28-2010, 12:11 AM
"User must first enable the function on the Settings => General Settings page. It's off by default."
How to set on by default?
skhms
06-28-2010, 04:29 AM
"User must first enable the function on the Settings => General Settings page. It's off by default."
How to set on by default?
To set it on as default for new users run this SQL query at the Maintenance > Execute SQL Query Page.
ALTER TABLE tableprefixuser ALTER sk_repnotif_options SET DEFAULT '1'
To activate it for all current user run this SQL query.
UPDATE tableprefixuser SET sk_repnotif_options = '1'
Change the tableprefix to whatever you are using or remove it if you don't use any.
/SK
pointalk
06-28-2010, 12:06 PM
But"You are not authorized to execute SQL queries" at the Maintenance > Execute SQL Query Page
How to do it via phpmyadmin?
skhms
06-28-2010, 06:31 PM
But"You are not authorized to execute SQL queries" at the Maintenance > Execute SQL Query Page
How to do it via phpmyadmin?
Have never used phpmyadmin so I don't how it works.
You can always give yourself access to run queries in vBulletin by editing the config.php file though.
/SK
pointalk
06-28-2010, 10:04 PM
Run this SQL query UPDATE tableprefixuser SET sk_repnotif_options = '1'But
An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table '6.tableprefixuser' doesn't exist
vb4.0.4
skhms
06-29-2010, 04:29 AM
See this part of my original post
Change the tableprefix to whatever you are using or remove it if you don't use any.
That would be the bold part in the query.
If you don't know what your prefix is, if you have any, check the config.php file.
/SK
michelle86
09-02-2010, 03:35 AM
In my usergroup manager I have it set so register users cannot see who left them reputation.
Would I still be able to use this mod? Or will it tell them who gave them reputation in the PM notification?
skhms
09-03-2010, 02:29 PM
In my usergroup manager I have it set so register users cannot see who left them reputation.
Would I still be able to use this mod? Or will it tell them who gave them reputation in the PM notification?
There is an option where you can set which user that will be the sender of the PM if the receiver isn't allowed to see who left the reputation.
So, yes you should still be able to use this mod.
/SK
TITAN-UZ
11-04-2010, 04:59 PM
does not work to 4.0.7
skhms
11-05-2010, 08:48 PM
does not work to 4.0.7
Just gave it quick try and no it doesn't work. So I confirm this.
Haven't heard anything about 4.0.5 or 4.0.6. Last version I've seen it working on is 4.0.4.
To be honest I'm not sure if I will bother to fix this. Sorry.
If anyone else is willing to check it out please go ahead.
/SK
Kat-2
04-15-2011, 06:58 PM
Please update this!! It is a great mod.
I have it working on 4.1.2, except instead of going to the post it goes to the OP of the thread.
Can anyone tell me how to edit it to make it go to the post?
Kat-2
04-19-2011, 02:35 AM
Anyone??
venom2124
04-19-2011, 03:17 AM
Trying to figure out how to make the notification automatic and not off by default. Most users will never turn it on and that kind of makes it worthless. So if someone figures out how to make it on by default before I do let me know.
Kat-2
06-07-2011, 06:37 PM
Well, I guess after almost 2 months, no one is going to answer. Shame.
It's Damn Real!
06-21-2011, 12:02 AM
Trying to figure out how to make the notification automatic and not off by default. Most users will never turn it on and that kind of makes it worthless. So if someone figures out how to make it on by default before I do let me know.
Same.
skhms
06-21-2011, 04:27 AM
Trying to figure out how to make the notification automatic and not off by default. Most users will never turn it on and that kind of makes it worthless. So if someone figures out how to make it on by default before I do let me know.
Same.
See post #19 (https://vborg.vbsupport.ru/showpost.php?p=2060869&postcount=19) in this thread.
/SK
MagicThemeParks
07-02-2011, 09:55 PM
Just gave it quick try and no it doesn't work. So I confirm this.
Haven't heard anything about 4.0.5 or 4.0.6. Last version I've seen it working on is 4.0.4.
To be honest I'm not sure if I will bother to fix this. Sorry.
If anyone else is willing to check it out please go ahead.
/SK
So, it will not work on versions > 4.0.7?
Is there another option out there?
It's Damn Real!
08-09-2012, 04:58 AM
This mod thrashes the General Settings page in 4.1.11
Please update.
intheghost1
08-09-2012, 06:03 AM
Good plugin, thank you very much.
It's Damn Real!
08-09-2012, 03:11 PM
Will there be an update to patch whatever the CSS issue is for the Gen. Settings page in 4.1.11?
Reed_HCT
08-21-2012, 10:45 AM
It works fine.
Thank you ;)
Max Taxable
06-06-2013, 01:23 AM
Please update this!! It is a great mod.
I have it working on 4.1.2, except instead of going to the post it goes to the OP of the thread.
Can anyone tell me how to edit it to make it go to the post?
Here is what I see going on with this on your board.
When the PM is received, the link to the post is malformed. It has "&" in it, like this:
vbulletin.org/forum/showpost.php?&p=2355813&postcount=37
And sometimes, not always, it is making the pageload stop before it settles on the right post. It stops at the top of the page instead of where the post is.
BOP5 knows how to cure this, I think it is a server side issue.
BirdOPrey5
06-06-2013, 09:21 AM
See post #27, this mod is unsupported. Harassing the mod author isn't going to help.
Not 100% sure & is the issue though it certainly isn't correct after a ? in a URL.
If the page loads but it simply isn't going to the specific post, you have to add #post2355813 at the end of the URL (from the example above.)
It is the #[post#] that brings the page to the correct spot in the browser window.
Max Taxable
06-06-2013, 01:47 PM
See post #27, this mod is unsupported. Harassing the mod author isn't going to help.
Not 100% sure & is the issue though it certainly isn't correct after a ? in a URL.
If the page loads but it simply isn't going to the specific post, you have to add #post2355813 at the end of the URL (from the example above.)
It is the #[post#] that brings the page to the correct spot in the browser window.That does exist in the link sent via PM. The Mod is working right except for the & being inserted into the link.
Sometimes you land on the post, sometimes on the OP of the thread the post is in.
Max Taxable
06-06-2013, 02:17 PM
you have to add #post2355813 at the end of the URL (from the example above.)
It is the #[post#] that brings the page to the correct spot in the browser window.Here's a correct example of what her board actually sends to recipients of reputation:
http://kat2forum.com/forum/showthread.php?12461-The-Draft&p=222938#post222938
As you can see, all the information is there to direct the browser to the specific post, but that information comes after the "&" in the malformed link.
Max Taxable
06-06-2013, 02:49 PM
Here's the code in question, from the plugin:
// Create link to post
$sk_repnotif_postlink = $vbulletin->options['bburl'] . "/" . fetch_seo_url('thread', $threadinfo, array('p' => $postid)) . "#post$postid";
//
BirdOPrey5
06-06-2013, 03:23 PM
I would suggest changing the line to:
$sk_repnotif_postlink = $vbulletin->options['bburl'] . "/showthread.php?$session[sessionurl]p=$postid#post$postid";
That works fine in VB4 although it doesn't produce the SEO friendly URL in the browser- but as this URL will never be seen by search engines it isn't a problem.
Whatever the bug it seems to be with the fetch_seo_url() function, not the code from this mod.
Max Taxable
06-06-2013, 03:56 PM
I would suggest changing the line to:
$sk_repnotif_postlink = $vbulletin->options['bburl'] . "/showthread.php?$session[sessionurl]p=$postid#post$postid";
That works fine in VB4 although it doesn't produce the SEO friendly URL in the browser- but as this URL will never be seen by search engines it isn't a problem.
Whatever the bug it seems to be with the fetch_seo_url() function, not the code from this mod.I will try the line you suggest and report back, thanks for the help!
Max Taxable
06-06-2013, 04:14 PM
Hey BoP5..... That did the trick, no more mean old "amp;" stuff in the URLS, and several test reps have confirmed we now go straight to the post that was repped.
YOU FIXED IT.
THANK YOU!
Kat-2
06-06-2013, 04:16 PM
Thank you, Thank you!!! I have been dealing with this for over 2 years....*big grin*
Max Taxable
06-06-2013, 04:29 PM
VICTORY! We kicked it's ASS!
datoneer
07-05-2013, 10:31 PM
Great it works with 4.2.1! Installed and nominated!
DemOnstar
07-09-2013, 10:58 AM
Great it works with 4.2.1! Installed and nominated!
As above! :up:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.