The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
VSa - Auto Birthday Greeter Details »» | |||||||||||||||||||||||||||||||
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 chosen 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. Notes: -This executes 1 very simple query on forumhome/in target forum. -mktime() error? Check out this post. Installation: -Import XML file (as product) through AdminCP: Plugin System > Manage Products > [Add/Import Product] To set options: Go to: vBulletin Options > VSa - Auto Birthday Greeter Versions: v1.0 - Aug 26. 2007. -Initial release v1.4 - May 03. 2008. -Latest vb 3.x version v2.0 - Feb 17 2010. -Updated for vB 4 -Added option to disable smilies v2.0.1 - Feb 28 2010. -New: Proper Time is now automatically detected -Fixed: Several compatibility issues v2.0.2 - Feb 28 2010. -Fixed: Bug with multiple threads created v2.0.3 - Mar 02 2010. -Fixed mktime errors v2.0.4 - Sep 06 2010. -Fixed: Another bug with multiple threads created -Fixed: Minor bugs v2.0.5 - Sep 16 2010. -Fixed: Multiple threads v2.0.6 - Sep 23 2010. -Fixed: Wrong thread creation time Download Now
Screenshots
Show Your Support
|
2 благодарности(ей) от: | ||
iiioroh, kiba snowpaw |
Comments |
#172
|
||||
|
||||
Yesterday it greeted a member who lives in Norway at ~2:00pm EST (10 hours early). Today it greeted a member who lives in IL in the US ( GMT-6) at ~10:00pm (2 hours early).
Could the program be triggering on the members time zone instead of the servers? |
#173
|
|||
|
|||
This is working incorrectly. on 4.0.7. It is posting the birthday messages roughly 25 hours late. I just had a posting for a members birthday that was yesterday, and it didn't post till almost 1am last night.
|
#174
|
||||
|
||||
I've had this installed for a while now, even on 4.0, and it's been working OK, it just posted the thread too early (about an hour before midnight or so), so I just had to manually edit the date inside the thread. Which wasn't a problem, because not a lot of birthday threads were posted.
But today I had to disable it. I had two members who had a birthday, and during the night, this script posted over 100 threads :S Hopefully there'll be an update soon, because I really like this script! |
#175
|
|||
|
|||
Even though i have created translations of the phrases; It's still uses the default English phrases in the gratulations.
|
#176
|
||||
|
||||
Not posting any threads. Giving up on this one.
|
#177
|
|||
|
|||
Persian Translation
By Persian Prince |
#178
|
|||
|
|||
The original code used the vbdate()-function in a way that created bogus times, which actually is a design flaw in the function itself. However, since the Unix timestamp is independent from the default timezone settings i see no point in the original logic anyway, unless you alter the code to take advantage of vbdate's built in hourdiff mechanism, but since that mechanism uses the current users timezone you could get pretty unpredictable times.
I have altered the code so that a current UTC time is first created and then modified with the forums' timezone setttings to create a local forum time. In short, the product works fine now with the following changes. Replace: PHP Code:
With: PHP Code:
Note that the exclude times are still there, which by default means that no threads will be created after 20:00. These times can be altered in the array shown below PHP Code:
or removed completely by replacing: PHP Code:
with PHP Code:
Attached is a file with all changes. |
#179
|
||||
|
||||
Thanks Kras!
|
#180
|
||||
|
||||
Kras, I'm getting this error since installing your version
Warning: DateTime::modify() [datetime.modify]: Failed to parse time string (hour) at position 0 (h): The timezone could not be found in the database in [path]/includes/class_bootstrap.php(517) : eval()'d code on line 91 |
#181
|
||||
|
||||
I wouldn't install it without valter's permission!
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|