vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Automatic PM on Reputation (https://vborg.vbsupport.ru/showthread.php?t=75300)

tnguy3n 01-27-2005 10:00 PM

Automatic PM on Reputation
 
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 


yoyoyoyo 01-28-2005 01:33 PM

isn't the rep usually anonymous unless a user enters a name? won't this defeat that system?

Ghostsuit 01-28-2005 02:16 PM

You have the option to make it Anonymous or not. Some boards have it set some don't.

Floris 01-28-2005 02:26 PM

Nice idea, thank you for making it and sharing it with the customers for free! I hope to see nice addons to vBulletin from you in the future! I've installed this on a test board without problems.

yoyoyoyo 01-28-2005 02:34 PM

Quote:

Originally Posted by Ghostsuit
You have the option to make it Anonymous or not. Some boards have it set some don't.

good to know.. I need to check those prefs more closely :)

trackpads 01-28-2005 02:48 PM

Thanks for making my request!! Mucho Appreciated!!!!!

Ghostsuit 01-28-2005 03:03 PM

Quote:

Originally Posted by yoyoyoyo
good to know.. I need to check those prefs more closely :)

Tell me about it, I come across things I've not noticed all the time ;).

Guest190829 01-28-2005 04:23 PM

Nice hack. Good Job, = )

trackpads 01-28-2005 06:49 PM

What would the query to be to turn this on for all current users?

tnguy3n 01-28-2005 08:55 PM

Quote:

Originally Posted by trackpads
What would the query to be to turn this on for all current users?

you this query in admin cp or phpmyadmin:
Code:

UPDATE userfield SET fieldXX = 1;
change fieldXX to fieldid of yours. be careful or you'll update wrong column in userfield table.


All times are GMT. The time now is 10:54 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.00973 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete