vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Greet Members' Xth posts via Email/PM/Thread automatically (https://vborg.vbsupport.ru/showthread.php?t=39821)

Logician 06-13-2002 10:00 PM

Greet Members' Xth posts via Email/PM/Thread automatically
 
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 \\=^))

Logician 06-13-2002 10:29 PM

Sample Screenshot:

The thread automatically created by the hack to greet a user who has recently posted his 1000th message in the board.

Brad 06-13-2002 10:37 PM

/me clicks install button

w00t no more i got 1000 post post LOL

scsa20 06-14-2002 12:46 AM

it'll be cool to have an add on that would turn on starting a thread in a forum(s) of your choice after getting the number of post set.....and if it's lower then the one that's set, they can't start a thread in the forum(s) of your choice, only post replys :D

Logician 06-14-2002 06:14 AM

Quote:

Originally posted by scsa20
it'll be cool to have an add on that would turn on starting a thread in a forum(s) of your choice after getting the number of post set.....and if it's lower then the one that's set, they can't start a thread in the forum(s) of your choice, only post replys :D
As far as I know this hack already exists. If you cant find it, holler and I'll give you the code. It's a very simple a few lines of modification. (1 line I guess?) But IMO the logic has nothing to do with this hack. :)

Smoothie 06-14-2002 07:13 AM

One question, in the options:
// Icon ID of the PMs
$log_iconid=0;
What should that be set to?

Logician 06-14-2002 08:48 AM

Quote:

Originally posted by Smoothie
One question, in the options:
// Icon ID of the PMs
$log_iconid=0;
What should that be set to?

It's not an important setting. As you know, private messages can have "message icons" next to them and if you want the pms produced by the hack to have a message icon too, you can set its id there.

Leave it as 0, to have no icons..

Smoothie 06-14-2002 02:06 PM

Ok, thanks.

Conroy 07-07-2002 04:25 AM

I am having some trouble. Whenever I add alot of code to one of my files and then save it, it is all pushed to the top the next time I open that file. I am getting errors on my vB and I am pretty sure this is why. It has happened with other hacks besides this one too. Do you have any idea what could be wrong? It really doesn't make sense to me.

squawell 07-07-2002 05:38 AM

[high]* squawell like this hack.....
[/high]

great hack Logician....:D:D:D


All times are GMT. The time now is 04:43 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.01029 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)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