Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
PM notification when receiving reputation points Details »»
PM notification when receiving reputation points
Version: 2.0.0, by skhms skhms is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.0.3 Rating:
Released: 05-07-2010 Last Update: Never Installs: 48
DB Changes Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

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 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

Download Now

File Type: zip SK_Reputation_Notification_200.zip (4.0 KB, 268 views)

Screenshots

File Type: gif admincp.gif (16.9 KB, 0 views)
File Type: gif generalsettings.gif (7.9 KB, 0 views)
File Type: gif pm.gif (11.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 06-06-2013, 01:47 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
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.
Reply With Quote
  #43  
Old 06-06-2013, 02:17 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View 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.
Here's a correct example of what her board actually sends to recipients of reputation:
PHP Code:
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.
Reply With Quote
  #44  
Old 06-06-2013, 02:49 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's the code in question, from the plugin:

PHP Code:
  // Create link to post
  
$sk_repnotif_postlink $vbulletin->options['bburl'] . "/" fetch_seo_url('thread'$threadinfo, array('p' => $postid)) . "#post$postid";


// 
Reply With Quote
  #45  
Old 06-06-2013, 03:23 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would suggest changing the line to:

Code:
$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.
Reply With Quote
Благодарность от:
Max Taxable
  #46  
Old 06-06-2013, 03:56 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
I would suggest changing the line to:

Code:
$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!
Reply With Quote
  #47  
Old 06-06-2013, 04:14 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
Благодарность от:
BirdOPrey5
  #48  
Old 06-06-2013, 04:16 PM
Kat-2's Avatar
Kat-2 Kat-2 is offline
 
Join Date: Feb 2011
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, Thank you!!! I have been dealing with this for over 2 years....*big grin*
Reply With Quote
Благодарность от:
BirdOPrey5
  #49  
Old 06-06-2013, 04:29 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

VICTORY! We kicked it's ASS!
Reply With Quote
  #50  
Old 07-05-2013, 10:31 PM
datoneer datoneer is offline
 
Join Date: Jul 2011
Posts: 453
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great it works with 4.2.1! Installed and nominated!
Reply With Quote
  #51  
Old 07-09-2013, 10:58 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by datoneer View Post
Great it works with 4.2.1! Installed and nominated!
As above! :up:
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:58 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08752 seconds
  • Memory Usage 2,353KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete