vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   is there a hack for the birthday on the main page? (https://vborg.vbsupport.ru/showthread.php?t=11911)

03-22-2001 05:52 PM

Almost there kier. It all shows up correctly, but it puts a <BR> after each person with a birthday. That could be a problem for busy boards that have 5-10 birthdays every day

03-22-2001 05:54 PM

Quote:

Originally posted by Castel
Almost there kier. It all shows up correctly, but it puts a <BR> after each person with a birthday. That could be a problem for busy boards that have 5-10 birthdays every day
Actually Kier is working on something like this for me which will just use a different template for the front page birthdays.

03-22-2001 06:04 PM

Quote:

Originally posted by freddie
yes I had noticed someone forgot to unset the $age but I new someone would quickly see that and fix it.
This hack will be in beta 4?

03-22-2001 06:45 PM

Quote:

Originally posted by Me2Be
Actually Kier is working on something like this for me which will just use a different template for the front page birthdays.
Great, I will be needing that also. I don't have that many birthdays yet. But I just opened the vB so not all users have updated profiles just yet. Still I wanted it listed on one line even if it's only 2-3 birthdays.

03-22-2001 07:01 PM

Templates people. If you edit what you already have to work with you can get what you want.

03-22-2001 07:18 PM

I've installed an enhanced version of the birthday hack into vbPortal alpha5 release which will be out by this weekend. It displays both today's events and birthdays and uses it's own templates so you can customize them, I was working on this before, but thanks to Kier and Freddie it finally works.

I'm also porting an e-card script so that you will be able to send a birthday card to the birthday boy or girl... that will take a while longer. Possibly next week to get completed.

03-22-2001 07:30 PM

Quote:

Originally posted by wajones
I've installed an enhanced version of the birthday hack into vbPortal alpha5 release which will be out by this weekend. It displays both today's events and birthdays and uses it's own templates so you can customize them, I was working on this before, but thanks to Kier and Freddie it finally works.

I'm also porting an e-card script so that you will be able to send a birthday card to the birthday boy or girl... that will take a while longer. Possibly next week to get completed.

I thank you - I thank you - I thank you for all the work you and others are putting into this. I am waiting for the beta or even the most stable alpha release to come out to install this on my active site.

Between this hack and the USENET hack I love it....Way to go..."applause"...:)

03-22-2001 08:07 PM

Quote:

Originally posted by freddie
Templates people. If you edit what you already have to work with you can get what you want.
Doh, go easy on me freddie :). I'm still UBB brainwashed. Thanks for the tip and thanks to Kier for the neat little hack. Users are loving it.

03-22-2001 08:23 PM

OH! look what i did. i fixed it! I knew this was wrong. Late night Kier?

Find this, (at top)
Code:

require ("./forums/admin/config.php");
$db = mysql_connect('$servername','dbusername','$dbpassword');
mysql_select_db('$dbname',$db);

Replace with,

Code:

require("/forums/admin/config.php");
$db=mysql_connect($servername,$dbusername,$dbpassword);
mysql_select_db($dbname);

and i'm new to this php stuff too :)

03-22-2001 09:53 PM

There's nothing wrong with mysql_select_db(xxxxxx,$db);, as you can see here.

You're right about the single quotes around the connect variables do needing to be removed though :)


All times are GMT. The time now is 03:41 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.01284 seconds
  • Memory Usage 1,738KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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