Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #31  
Old 05-28-2002, 09:57 AM
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 Boofo
since GMT can only go +12 at the most. Does that make sense?
You can set the variable timeset what ever number you want. So eg. this works: $timeset=17 or $timeset=-44.

The problem is it is not possible for the hack to get into details for all users that have a birthday in a specific day. When hack is triggered, it just checks if it has already greeted the birthday for "today" and if not gets birthday of ALL users once and send them greetings, again once. I cant make it remember "when birthday should be greeted for which user".

Consider the "today's birthday" field in your main page. It has this behaviour either. For example it lists 2 birtdays for A and B in your main page (according to page viewer's time zone) and the page viewer may send A a PM to greet his birthday. But maybe it's not his birthday according to A's time zone yet, there may be 2 hours left for instance..

But nothing we can do about it, it's really too complex to add such a feature..
Reply With Quote
  #32  
Old 05-28-2002, 10:09 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, I understnad a little better now. What you have there is fine. I need to ask, though, if there is no year after the birthday for the user, can it just show the happy birthday part and not show anything for the age part? Like parse it if there is not a year available? Just a thought...
Reply With Quote
  #33  
Old 05-28-2002, 11:04 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is showed depends to you because you set it inside the templates. If you remove the relevant $birthday_child[yas] variable from your template, it wont display the age. However I will add a feature that if the year is blank, this variable will be just "-" instead of 2002
Reply With Quote
  #34  
Old 05-28-2002, 11:44 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see what you are saying but I want the age displayed if there is a year and not if there isn't. Is there a way to do this? Or is that what you meant?
Reply With Quote
  #35  
Old 06-01-2002, 12:34 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BUG FIX

I found a bug and fixed it, if you install the hack, please you fix that too:

Edit index.php:

Find:

PHP Code:
$n_month=(integer)date("n",strtotime($last_action['leftdate']));$n_day=(integer)date("j",strtotime($last_action['leftdate']))+1;$n_year=(integer)date("Y",strtotime($last_action['leftdate'])); 
and REPLACE it AS:

PHP Code:
$n_month1=(integer)date("n",strtotime($last_action['leftdate']));
$n_day1=(integer)date("j",strtotime($last_action['leftdate']))+1;
$n_year1=(integer)date("Y",strtotime($last_action['leftdate']));
$n_monthdate("n"mktime (0,0,0$n_month1$n_day1$n_year1));
$n_daydate("j"mktime (0,0,0$n_month1$n_day1$n_year1));
$n_yeardate("Y"mktime (0,0,0$n_month1$n_day1$n_year1)); 
If you dont fix it, hack will stop greeting the birthdays as of today (first day of June). After the fix hack will go on greetings from the date it stopped (Last day of May) and will not miss birthdays in the meantime..

Although not likely, please let me know if you have any problems afterwards..

Regards,
Logician
Reply With Quote
  #36  
Old 06-02-2002, 12:58 PM
Highlander Highlander is offline
 
Join Date: Apr 2002
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes me too as beta tester..

mail@spieleplanet.com
Reply With Quote
  #37  
Old 06-04-2002, 04:35 AM
c-pr0mpt's Avatar
c-pr0mpt c-pr0mpt is offline
 
Join Date: Oct 2001
Location: Michigan
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would love to help beta test this.

corey@ravio.com - Email
Reply With Quote
  #38  
Old 06-04-2002, 09:10 PM
Jeremy W. Jeremy W. is offline
 
Join Date: May 2002
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is the expected release date on this?
Reply With Quote
  #39  
Old 06-04-2002, 10:01 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 Jeremy W.
What is the expected release date on this?
Very soon.. After the last bug fix, I sent the script to Highlander and c-pr0mpt and when I get their feedback, I will release it (provided that everything is ok)..
Reply With Quote
  #40  
Old 06-04-2002, 10:06 PM
Me2Be's Avatar
Me2Be Me2Be is offline
 
Join Date: Oct 2001
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would it be too difficult to add an option where you can specify how recently a user has visited? I don't think members who haven't visited in, let's say, six months will be coming back to the boards (at least on our site!)

Look forward to this release!
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 05:42 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.05336 seconds
  • Memory Usage 2,286KB
  • Queries Executed 12 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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