Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 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: 1.1.2, by skhms skhms is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.8 Rating:
Released: 11-05-2007 Last Update: 06-17-2008 Installs: 49
DB Changes Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

SK Reputation Notification v1.1.2

Updated to v1.1.2 - 2008-06-18

Notification system for reputation comments.
This modification sends a private message (PM) to the user whenever someone gives him/her a reputation comment.
User must first enable the function on the User CP => Edit Options page. It's off by default.

Created and tested on vBulletin 3.6.8
This mod uses the template hook - $template_hook[usercp_options_messaging]. Which is new since 3.6.8.
So it won't work in earlier versions without some editing on your own.

Two step installation.
Copy 1 file. Import the product.
See instructions in the attached zip file.

Version history:
  • 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.
  • v1.0.0
    First attempt. Not available.
/SK

Show Your Support

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

Comments
  #12  
Old 11-11-2007, 09:27 PM
skhms's Avatar
skhms skhms is offline
 
Join Date: Oct 2006
Location: Sweden
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by viper357 View Post
Any chance you could help me in getting this to work on 3.6.5? Please

It should work by editing the template Modify User Option Templates >> modifyoptions

Find:
Code:
$customfields[messaging]
Above it add:
Code:
$template_hook[usercp_options_messaging]

You must also edit the dependency tag in the product-file "product-sk_repnotif.xml".
Change
Code:
minversion="3.6.8"
to
Code:
minversion="3.6.5"
or whatever version you want to try. It should work on all 3.6 and probably even 3.5

/SK
Reply With Quote
  #13  
Old 11-13-2007, 09:00 PM
donna8284 donna8284 is offline
 
Join Date: Nov 2002
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks - worked on 3.6.4!
Reply With Quote
  #14  
Old 11-28-2007, 01:37 AM
GhoHan's Avatar
GhoHan GhoHan is offline
 
Join Date: Oct 2007
Location: Jakarta - Indonesia
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great mod. installed
Reply With Quote
  #15  
Old 11-28-2007, 04:46 AM
DoB Rhapsody DoB Rhapsody is offline
 
Join Date: Jul 2007
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This doesn't seem to work for me. I'm running 3.6.7 PL1 and seems that it didn't add any SQL tables and there is no indication of any new options. No errors during install.
Reply With Quote
  #16  
Old 11-28-2007, 05:08 AM
skhms's Avatar
skhms skhms is offline
 
Join Date: Oct 2006
Location: Sweden
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DoB Rhapsody View Post
This doesn't seem to work for me. I'm running 3.6.7 PL1 and seems that it didn't add any SQL tables and there is no indication of any new options. No errors during install.
There is no new tables, the only change is an addition to the user table.

If no new option has been added to the User CP => Edit Option page I would guess that the $template_hook[usercp_options_messaging] hasn't been added correctly.
You must do that manually on v3.6.7. See previous post.

/SK
Reply With Quote
  #17  
Old 12-12-2007, 01:12 PM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by skhms View Post
If you are willing to do SQL queries you can enter this at the Maintenance > Execute SQL Query Page:
Code:
ALTER TABLE user ALTER sk_repnotif_options SET DEFAULT '1'
This will make the option active as default for new users.

To activate it for all current user, use this:
Code:
UPDATE user SET sk_repnotif_options = '1'
Don't forget to add in your table prefix as well.

As always, be careful and take backups before you mess with the database.

/SK
This is the first time I will be executing a SQL query, can you tell me where exactly I must add my table prefix in the above code? Thanks.
Reply With Quote
  #18  
Old 12-12-2007, 03:27 PM
skhms's Avatar
skhms skhms is offline
 
Join Date: Oct 2006
Location: Sweden
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by viper357 View Post
This is the first time I will be executing a SQL query, can you tell me where exactly I must add my table prefix in the above code? Thanks.
Add it before the table name - user

ALTER TABLE table_prefixuser ALTER sk_repnotif_options SET DEFAULT '1'

UPDATE table_prefixuser SET sk_repnotif_options = '1'

/SK
Reply With Quote
  #19  
Old 12-12-2007, 06:41 PM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the help
Reply With Quote
  #20  
Old 03-30-2008, 10:46 PM
JustAskJulie JustAskJulie is offline
 
Join Date: Nov 2002
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by skhms View Post
Add it before the table name - user

ALTER TABLE table_prefixuser ALTER sk_repnotif_options SET DEFAULT '1'

UPDATE table_prefixuser SET sk_repnotif_options = '1'

/SK
How do I know what my table prefix is?
Reply With Quote
  #21  
Old 03-31-2008, 04:47 AM
skhms's Avatar
skhms skhms is offline
 
Join Date: Oct 2006
Location: Sweden
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JustAskJulie View Post
How do I know what my table prefix is?
Its in your config.php file (includes/config.php).
If you left it empty then you obviously don't need to add anything.

/SK
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 10:34 PM.


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.04427 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
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
  • (6)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete