vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Cyb - Auto Birthday Greeter (https://vborg.vbsupport.ru/showthread.php?t=156293)

Valter 08-25-2007 10:00 PM

Cyb - Auto Birthday Greeter
 
vB 3.7 VERSION HERE;
https://vborg.vbsupport.ru/showthread.php?t=177931


======

Info:
This hack automatically creates a birthday thread in the forum you select. Only members that allow their date of birth to be displayed will be listed, and age will be shown only for those who has choosen that. Members are shown in colors defined in usergroup settings. You can choose to exclude inactive members. Several users can be set as greeters (used randomly when posting). Thread will be created first time when someone loads forumhome after midnight.


Note:
-This executes 1 very simple query on forumhome.


Installation:
-Import XML file (as product) through AdminCP: Plugin System > Manage Products > [Add/Import Product]


To set options:
Go to: vBulletin Options > Cyb - Auto Birthday Greeter


Versions:
v1.0 - Aug 26. 2007.
-Initial release
v1.1 - Aug 27. 2007.
-New: Option to exclude members with post count lower than X
-Fixed bug where several threads are posted for the same birthday
-Shortcut to "Age" phrase added to the list on settings page
v1.2 - Aug 28. 2007.
-Date format follows your forum acp settings
-New: Option to exclude members joined in last X days
-Another fix for duplicate birthday threads on some forums
v1.3 - Aug 31. 2007.
-Option to synchronize hack with forum time to avoid situations where birthday thread is created too early or too late


Mark as INSTALLED to get support and updates.

Symmetrical? 08-26-2007 03:22 PM

tnhks first installed

johnrizz 08-26-2007 03:23 PM

Nice, I like it! **installed**

johnrizz 08-26-2007 03:24 PM

by less them 30 sec Symmetrical®, lol!

Deepdog009 08-26-2007 03:28 PM

Beauts

Folks been wanting this,,, Keep the ball rolling Cyber...

EnIgMa1234 08-26-2007 03:28 PM

Very useful.. Thanks :D

Symmetrical? 08-26-2007 03:32 PM

Quote:

Originally Posted by stone0075 (Post 1326059)
by less them 30 sec Symmetrical?, lol!

:) maybe

SuperTaz 08-26-2007 10:48 PM

Installed. :D

shadowevil 08-27-2007 12:56 AM

Mod nice, i like it .... *installed*

kkeezer 08-27-2007 03:57 AM

Word like a charm... Thank you! and once again great mod.

Kyle

Zerovb 08-27-2007 04:33 AM

Thanks Great Hack As Usual

Endurer 08-27-2007 07:06 AM

This is awesome :) Installed.

Can we have the option to include only those users who have posted at least 1 post at the board? Also, is this possible to automatically add a URI of the birthday thread to the email that vbulletin sends on user's birthday?

Much thanks.

Valter 08-27-2007 08:39 AM

v1.1 - Aug 27. 2007.
-New: Option to exclude members with post count lower than X
-Fixed bug where several threads are posted for the same birthday
-Shortcut to "Age" phrase added to the list on settings page

To upgrade: Import product XML, allow overwrite.

killerkraft 08-27-2007 09:20 AM

Sorry, but does this work on 3.6.7 ?

And if not, could it be converted ?

Thank's in advance.

KK

Valter 08-27-2007 09:34 AM

It works with all 3.6.x releases.

3.5.x too.

meissenation 08-27-2007 09:38 AM

w00t thanks for this! I have been waiting ever since upgrading from 3.5 to 3.6.

killerkraft 08-27-2007 12:41 PM

Yes it does, i tested it and works fine, thank's.

Another question : you put dates like mm-dd and in Portugal we use tham as dd-mm.

Could this be changed ?

KK

Feckie (Roger) 08-27-2007 01:09 PM

Can you get it to post in a thread as well.

if not can this be added

Subah 08-27-2007 01:23 PM

Cool, Thanks :)

titorevolu 08-27-2007 03:25 PM

thanks, install

Stifmeister2 08-27-2007 06:01 PM

Works with 3.6.4 ?

Valter 08-27-2007 10:51 PM

Quote:

Originally Posted by Feckie (Roger) (Post 1326700)
Can you get it to post in a thread as well.

It creates new thread. Is that what you are asking for?
Quote:

Originally Posted by Subah (Post 1326716)
Cool, Thanks :)

Mark as installed.
Quote:

Originally Posted by Stifmeister2 (Post 1326866)
Works with 3.6.4 ?

This was already asked and answered. Hack works with all 3.5.x and 3.6.x releases.

====================

And here is a new version...

v1.2 - Aug 28. 2007.
-Date format follows your forum acp settings
-New: Option to exclude members joined in last X days
-Another fix for duplicate birthday threads on some forums

To upgrade: Import product XML, allow overwrite.

Zaiaku 08-28-2007 01:33 PM

This been needed for a very long time.

Is there anyway to set it to users that have been active on the forums in X amount of days.

Stifmeister2 08-28-2007 04:41 PM

Quote:

Originally Posted by Cybernetec (Post 1327007)
It creates new thread. Is that what you are asking for?

Mark as installed.

This was already asked and answered. Hack works with all 3.5.x and 3.6.x releases.

====================

And here is a new version...

v1.2 - Aug 28. 2007.
-Date format follows your forum acp settings
-New: Option to exclude members joined in last X days
-Another fix for duplicate birthday threads on some forums

To upgrade: Import product XML, allow overwrite.

Ok thanks. :) I'll probably get this soon...

SCRIPT3R 08-28-2007 05:52 PM

curious... this hack only creates a thread if the user who's birthday it is actually logs into the forum on that day; if that user does not log into the forums on their birthday no thread will be created?

johnrizz 08-28-2007 06:50 PM

No, If it's there B-day it a create it, they don't have to show up for this thread to be created

SCRIPT3R 08-28-2007 08:55 PM

scratch that... it works. i had another plugin test running that was interferring with this one. i also found one minor grammatical error:

PHP Code:

        <phrase name="cybabgreeter_message_user"><![CDATA[{1member is celebrating birthday on {2}:
        {
3}
        
        
        
Happy Birthday!]]></phrase

should read...

PHP Code:

        <phrase name="cybabgreeter_message_user"><![CDATA[{1member is celebrating their birthday on {2}:
        {
3}
        
        
        
Happy Birthday!]]></phrase

add "their" between "celebrating ### birthday". ;)

Valter 08-29-2007 12:22 AM

Following members will be excluded:
-Those who choose in usercp to not show birthday info to others
-Those who are members of usergroups where we have disabled option "Birthdays Viewable"
-Those who are inactive (if we choose in hack options to exclude them)
-Those who has less than X posts (if we choose in hack options to exclude them)
-Those who joined in last X days (if we choose in hack options to exclude them)

Following usergroups are automatically excluded:
-Users Awaiting Email Confirmation (3)
-Users Awaiting Moderation (4)
-Banned Users (8)

SCRIPT3R 08-29-2007 12:54 AM

Quote:

Originally Posted by Cybernetec (Post 1327760)
Following members will be excluded:
-Those who choose in usercp to not show birthday info to others
-Those who are members of usergroups where we have disabled option "Birthdays Viewable"
-Those who are inactive (if we choose in hack options to exclude them)
-Those who has less than X posts (if we choose in hack options to exclude them)
-Those who joined in last X days (if we choose in hack options to exclude them)

Following usergroups are automatically excluded:
-Users Awaiting Email Confirmation (3)
-Users Awaiting Moderation (4)
-Banned Users (8)


thnx for that info. i also posted one grammatical error above; very minor.

Valter 08-29-2007 01:07 AM

Quote:

Originally Posted by GearTripper (Post 1327770)
thnx for that info. i also posted one grammatical error above; very minor.

There are already two different phrases for that.

cybabgreeter_message_user
cybabgreeter_message_users

Check phrase shortcuts in hack settings.

cambridgedaz 08-29-2007 06:03 AM

Can an option be given so that this mod creates a post in an existing thread rather that creating a new thread each time?

That would be a big improvement to the mod I think.

:up:

M. Vaahsen 08-29-2007 12:34 PM

really nice, installed and clicked :)

Is it possible to use in the subject a variable, which fills in the username?

thx

0tolerance 08-29-2007 01:38 PM

you have created the perfect modification!!
ive wondered for ages when some one would create this.
deffinately installed and nominated for mod of month

pauloo 08-29-2007 06:12 PM

Nice thank you !

Mum 08-29-2007 07:17 PM

This appears to post at 5pm at night, by which time one of my members has already started a thread. Can we make it post at 6a instead? How would i change this?

Valter 08-29-2007 07:40 PM

Quote:

Originally Posted by Mum (Post 1328282)
This appears to post at 5pm at night, by which time one of my members has already started a thread. Can we make it post at 6a instead? How would i change this?

Not possible with the current version.

It follows server time.

In next version I'll add an option to adjust this (set +/- x hours from server time).

Joe_S2k 08-30-2007 01:09 AM

Nice job! Installed. Thanks.

Kaleem 08-30-2007 03:24 PM

still having multiple threads posted )

Mum 08-31-2007 12:13 AM

Quote:

Originally Posted by Cybernetec (Post 1328294)
Not possible with the current version.

It follows server time.

In next version I'll add an option to adjust this (set +/- x hours from server time).

So what time does it post?

It is possible because it's done it 2 days in a row now :)

Cigarcritic 08-31-2007 04:14 AM

Quote:

Originally Posted by Mum (Post 1328282)
This appears to post at 5pm at night, by which time one of my members has already started a thread. Can we make it post at 6a instead? How would i change this?

Thanks for that report. It would be pointless to use this mod as my users would beat this hack to posting. IMO, it should fire at 12:01am.


All times are GMT. The time now is 05:50 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.01432 seconds
  • Memory Usage 1,818KB
  • 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_php_printable
  • (10)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
  • (40)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