Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Greet Members' Xth posts via Email/PM/Thread automatically Details »»
Greet Members' Xth posts via Email/PM/Thread automatically
Version: 1.00, by Logician Logician is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 06-13-2002 Last Update: Never Installs: 45
 
No support by the author.

Hiyas,

Greeting your board's contributing members when they reached some special post numbers like 500, 1000, 2000, 5000 can be nice to motivate them and this is what this hack does: It automatically greets your members when their posts reach to certain numbers, by sending them:
* Private Messages
* Emails
* or both

You can configure the hack to create a thread to greet your member's Xth post either.

Features:
* The hack will send PMs, emails (or both) or you can choose to send them PM if he can receive PM or else send email.
* The hack can create special greeting threads for your users. (optional)
* Greeted post numbers are set by you and you can set different numbers for email/pm greetings and thread greetings. So for example you can send a thank you email/pm to members for their every 100th message and create a special greeting thread for their every 500th messages.
* Admin can choose to receive a report via Email or PM about the greetings the hack performed. (optional)
* Special usergroups can be excluded from greetings. (optional)
* Greetings messages are template driven and easily customizable.
* Compatible with ALL vbulletin versions I know.
* Easy to install and highly customizable.

Although this hack is supposed to be a "time consuming" to code hack, I already had a similar algorithm for automatic threads/emails/pms for my Automatic Birthday Greetings Hack and I made a quick adaptation in that hack's structure to form this one.

Although I didnt test this hack for a long time, I dont expect any problems since its structure which is inherited from "birthday greetings hack" proved to be quite robust, stable and tested for a long time. If you come across any bugs, holler and I'll fix it. Holler anyway if it runs ok too..

One known issue: This version of the hack is not coded to detect their Xth posts if it is "moderated". So moderator approved posts may be missed. This also applies to thread's first message IF member choose to create a poll (technically vbulletin behaves these posts as if they are moderated). But all other posts will be detected by the hack wheather they are thread's first messages or reply messages and regardless of the board they are in. (public/private)

If you use it please click INSTALL , thank you! Enjoy the hack..

Logician \\=^))

Show Your Support

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

Comments
  #22  
Old 11-22-2002, 08:47 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Logician's hack works beautifully. I installed it recently and it has been working flawlessly - my members love it. Thanks, mate.
Reply With Quote
  #23  
Old 04-08-2003, 02:25 AM
legendarysk8er legendarysk8er is offline
 
Join Date: Nov 2002
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried opening the php file and it was just a bunch of symbols, was the file corupt or something?

EDIT: Nvm, I got it, nice hack .
Reply With Quote
  #24  
Old 07-23-2003, 11:24 PM
midnightz midnightz is offline
 
Join Date: Jan 2003
Location: Inside the Velvet Tunnel
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yummy hack
Reply With Quote
  #25  
Old 10-08-2003, 08:09 PM
midnightz midnightz is offline
 
Join Date: Jan 2003
Location: Inside the Velvet Tunnel
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Logician

Is it possible somehow to have store points given to users to celebrate lets say a 2500th post?
Reply With Quote
  #26  
Old 10-08-2003, 08:37 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by midnightz
Hi Logician

Is it possible somehow to have store points given to users to celebrate lets say a 2500th post?
You can add:
PHP Code:
$DB_site->query("UPDATE user SET storep=storep+100 WHERE userid='$bbuserinfo[userid]'"); 
Before hack line:
Quote:
$greeteduserpostsstring=(string)$greeteduserposts;
and it will grant the poster "100" points everytime a user is greeted by the hack.

But please note that it is not a perfect solution because wise users might cheet: After they posted their X posts and get the point, they can delete any of their posts to lower their post count by 1, then repost and get another greeting thus point.

Please do not ask for a fix for it as it is not possible without changing the hack's structure..
Reply With Quote
  #27  
Old 10-08-2003, 08:39 PM
midnightz midnightz is offline
 
Join Date: Jan 2003
Location: Inside the Velvet Tunnel
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you
Reply With Quote
  #28  
Old 02-08-2004, 04:29 PM
erikajune's Avatar
erikajune erikajune is offline
 
Join Date: Jan 2004
Location: Canada
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having a problem... I installed everything, got no errors but nothing happens when a member reaches the desired post count.
Reply With Quote
  #29  
Old 02-08-2004, 05:10 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by erikajune
I'm having a problem... I installed everything, got no errors but nothing happens when a member reaches the desired post count.
Please double check you installed it correctly. If everything looks all right, make sure you created the hack templates in all your template sets if you have more than one. Also make sure template names are correct (including caps). It sounds like a template problem.
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 07:51 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.04848 seconds
  • Memory Usage 2,291KB
  • Queries Executed 23 (?)
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
  • (1)bbcode_php
  • (3)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
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)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