Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Automatic PM on Reputation Details »»
Automatic PM on Reputation
Version: 1.00, by tnguy3n tnguy3n is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.0.5 Rating:
Released: 01-27-2005 Last Update: Never Installs: 16
 
No support by the author.

Modded by tnguy3n @ http://www.all4actions.net

This mod allow members to enable sending PM option when a user give him/her a reputation point.

To enable sending PM upon receiving reputation point, go to User CP => Edit Profile =>
PM upon reputation option, then check the option.

File modification: 1
Template mod: none
Installation Time: 3-4 mins

Requested here
--------------
IMPORTANT:
Make sure to change to your own fieldid of following line in the mod:
PHP Code:
$reputationfield $userfield['fieldXX']; // adjust field id to your own value 

Show Your Support

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

Comments
  #12  
Old 01-28-2005, 09:15 PM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!!!
Reply With Quote
  #13  
Old 01-29-2005, 02:37 PM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to make the PM from the person that gave you rep? That way people could reply directly to them. I have neg rep disabled so for me it is a good idea.

Thanks!

-Jason
Reply With Quote
  #14  
Old 01-29-2005, 03:22 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this be made to send a pm for other than 1 point? If an admin gives rep on my site, it is 100 points. Can it reflect the right amount, too?
Reply With Quote
  #15  
Old 01-29-2005, 05:32 PM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
Can this be made to send a pm for other than 1 point? If an admin gives rep on my site, it is 100 points. Can it reflect the right amount, too?
I just edited the text so that this just says they were given rep and to check their usercp.
Reply With Quote
  #16  
Old 01-30-2005, 02:05 AM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by trackpads
Is there a way to make the PM from the person that gave you rep? That way people could reply directly to them. I have neg rep disabled so for me it is a good idea.

Thanks!

-Jason
change $forumbot, $forumbotid variables to following ones:
PHP Code:
$forumbot "$bbuserinfo[username]"// rename it to whatever you like
        
$forumbotid "$bbuserinfo[userid]"// don't change this value if you don't know what it is
        
$pm_title "You have been given 1 rep point.";
        
$pm_content "I've just given you 1 reputation point for your excellent post.\n\rKeep up good work!\n\rRegard,\n\r$forumbot"
Reply With Quote
  #17  
Old 01-30-2005, 02:16 AM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tnguy3n
change $forumbot, $forumbotid variables to following ones:
PHP Code:
$forumbot "$bbuserinfo[username]"// rename it to whatever you like
        
$forumbotid "$bbuserinfo[userid]"// don't change this value if you don't know what it is
        
$pm_title "You have been given 1 rep point.";
        
$pm_content "I've just given you 1 reputation point for your excellent post.\n\rKeep up good work!\n\rRegard,\n\r$forumbot"
Thanks!!!!
Reply With Quote
  #18  
Old 01-30-2005, 02:29 AM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
Can this be made to send a pm for other than 1 point? If an admin gives rep on my site, it is 100 points. Can it reflect the right amount, too?
I have not tested this yet, but i think you can add an if ... else statement to check if the user is in admin group to return proper amount point. for example:

PHP Code:
if($bbuserinfo[usergroupid] == '6')
{
$reppoint '100';
}
else
{
$reppoint  '1';

now, in title + message, modify it a bit. i.e.
PHP Code:
$pm_title "You have been given $reppoint point."
Reply With Quote
  #19  
Old 02-01-2005, 09:02 PM
jilly jilly is offline
 
Join Date: Jul 2002
Location: central maryland
Posts: 461
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You'd think people would know where to look, but new users sometimes need direct links to help them out - so I'd like a link in the PM that goes directly into the User CP so they can click to go see the reputation
Reply With Quote
  #20  
Old 02-26-2005, 02:58 PM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would just like to post that this hack ahas almost tripled the use of the rep system on my site. Members love it and are now pm'ing the heck out of each other with this simple little addon.

Thanks again!

-Jason
Reply With Quote
  #21  
Old 10-02-2005, 11:58 PM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will these be ported to 3.5?

Thanks again!
Reply With Quote
Reply

Thread Tools

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 05:07 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
  • Page Generation 0.07449 seconds
  • Memory Usage 2,311KB
  • 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
  • (5)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
  • (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