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
Filter Birthdays By Posts Details »»
Filter Birthdays By Posts
Version: 1.00, by afterlab afterlab is offline
Developer Last Online: Jul 2022 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-04-2002 Last Update: Never Installs: 4
 
No support by the author.

Filter Birthdays By Posts
Because members sometime only register to be famous.
============================================

This hack will only show Birthdays in the calendar and forumhome if the user's postcount is more than 10. (That number can be changed, just check out the install file.. Find the 10 in there somewhere. )

Compatibility: This hack will work with vB 2.0.3 and higher.
Install Time: 1-2 Minutes
Download: Instructions are in attachment.

Show Your Support

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

Comments
  #12  
Old 05-05-2002, 02:36 PM
TigerLily TigerLily is offline
 
Join Date: Oct 2001
Location: Never Never Land
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great hack! I am wondering though how I could use it to include only users from a members group, mods, and admin (excluding banned, inactive, and awaiting moderation people from the bday listings). Is there an easy way to do this?
Thanks!
TigerLily
Reply With Quote
  #13  
Old 05-05-2002, 03:55 PM
Keyser S?ze's Avatar
Keyser S?ze Keyser S?ze is offline
 
Join Date: Apr 2002
Location: USA
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok that seems to work, odd thing is, the other was working fine as well when i checked, so i think its a problem with the time, like 1am-9am type thing, i dunno, ill post again here tonight and tell u what happens

thanks
Reply With Quote
  #14  
Old 05-05-2002, 05:04 PM
Broekie's Avatar
Broekie Broekie is offline
 
Join Date: Dec 2001
Location: Netherlands
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

whoa, you really scared me!

could someone please change that [vB 2.2.6] to [vB 2.2.5]

[high]* Broekie allready started sweating 'cause he thought it was update time again [/high]
Reply With Quote
  #15  
Old 05-05-2002, 05:16 PM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by IceMalee
ok that seems to work, odd thing is, the other was working fine as well when i checked, so i think its a problem with the time, like 1am-9am type thing, i dunno, ill post again here tonight and tell u what happens

thanks
If it worked, it will keep working. The code looks like it breaks the day up into two parts. The the two varialbes in the OR part of the query needed to be grouped together in parentheses.
Reply With Quote
  #16  
Old 05-06-2002, 09:21 PM
-=dm=- -=dm=- is offline
 
Join Date: Nov 2001
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx

its working for me, but not in forumhome, it still shows todaysbirthday
Reply With Quote
  #17  
Old 06-04-2002, 02:09 PM
Danny Danny is offline
 
Join Date: Dec 2001
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah on forumhome it still shows todays birthdays? do you know how fix this? or does anyone know how to fix this?
Reply With Quote
  #18  
Old 06-04-2002, 06:12 PM
Keyser S?ze's Avatar
Keyser S?ze Keyser S?ze is offline
 
Join Date: Apr 2002
Location: USA
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if u are using this hack and you have a member that has enough posts and its their b-day it suppose to show

if u dont want it to show ever just go to the admin cp>options and turn it off
Reply With Quote
  #19  
Old 09-06-2002, 06:15 AM
LaNder LaNder is offline
 
Join Date: Nov 2001
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On forumhome it still shows all Birthdays not depending on postcount.

The $birthdays-variable is no affected by this hack.

How could this be fixed?

LaNder
Reply With Quote
  #20  
Old 09-07-2002, 08:00 AM
LaNder LaNder is offline
 
Join Date: Nov 2001
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No Ideas?
Reply With Quote
  #21  
Old 01-01-2003, 08:54 PM
LangTuDaTinh LangTuDaTinh is offline
 
Join Date: Dec 2001
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if u have vbportal from phpportals.com u can use this hack just change

showbirthdays.php

just change this line

PHP Code:
$bdays $DB_site->query("SELECT userid, username, birthday FROM user WHERE birthday LIKE '%-$today'"); 

to this line.

$bdays $DB_site->query("SELECT posts, userid, username, birthday FROM user WHERE posts>='10' AND birthday LIKE '%-$today'"); 
great hack...thanks, and it works on 2.2.9
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 03:00 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.05207 seconds
  • Memory Usage 2,299KB
  • Queries Executed 25 (?)
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
  • (1)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
  • (1)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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