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)
-   -   Filter Birthdays By Posts (https://vborg.vbsupport.ru/showthread.php?t=38248)

TigerLily 05-05-2002 02:36 PM

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:D

Keyser S?ze 05-05-2002 03:55 PM

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 :D

thanks

Broekie 05-05-2002 05:04 PM

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]

FWC 05-05-2002 05:16 PM

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 :D

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.

-=dm=- 05-06-2002 09:21 PM

Thanx :)

its working for me, but not in forumhome, it still shows todaysbirthday:(

Danny 06-04-2002 02:09 PM

yeah on forumhome it still shows todays birthdays? do you know how fix this? or does anyone know how to fix this?

Keyser S?ze 06-04-2002 06:12 PM

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

LaNder 09-06-2002 06:15 AM

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

LaNder 09-07-2002 08:00 AM

No Ideas? :(

LangTuDaTinh 01-01-2003 08:54 PM

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


All times are GMT. The time now is 06:14 AM.

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.01123 seconds
  • Memory Usage 1,730KB
  • 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
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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