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)
-   -   Automatic Greeting Email/PM/Threads for Member Birthdays (https://vborg.vbsupport.ru/showthread.php?t=39663)

David Bott 06-23-2002 07:35 PM

Ok...will give it a shot. Thank you.

Heineken77 07-15-2002 08:07 PM

Odd problem.

I followed the instructions to the T, used phpMyAdmin to run the queries, added and saved the templates, and edited my index.php file under forum/index.php .. however when I tried to access my site I got the following email:

Quote:

Database error in vBulletin :

Link-ID == false, connect failed
mysql error: Can't connect to MySQL server on 'mysql.zeonhost.com' (110)

mysql error number: 2003

Date: Monday 15th of July 2002 04:55:58 PM
Script: http://nba2k3.net/forum/index.php
Referer:
Any ideas? I just put everything back to it's original state :(

Heineken

Logician 07-15-2002 10:06 PM

MYSQL error no 2003 is related to MYSQL access problems and occurs when the script can not access to MYSQL. So it can not be related to the hack. It's very likely your were just unlucky, your MYSQL server went down at the moment you installed the hack. When it's back online, IMO give it a shot again .. The hack has been tested, installed and used by many people with no problems at all.. ;)

Heineken77 07-15-2002 10:08 PM

DOH! Means I have to redo it all over again lol ... should have waited before reverting back to original state eheh

Thanks bro, great hack by the way! Look forward to installing it :)

Logician 07-15-2002 10:23 PM

yw, let me know if you encounter any problems again.. :)

dprice 07-16-2002 12:45 PM

Logician,

Installed the hack and it sent the emails and PMs to the Birthday members, but the EMAILS are Blank. The subject is titled: Happy Birthday, but there isnt any messages in the PMs or emails?

Logician 07-16-2002 02:20 PM

Quote:

Originally posted by dprice
Installed the hack and it sent the emails and PMs to the Birthday members, but the EMAILS are Blank. The subject is titled: Happy Birthday, but there isnt any messages in the PMs or emails?
dprice, make sure :
a) you have created the templates
b) content of that templates are not blank
c) You entered the template names exactly (no trailing space etc.)
d) Create the templates in all styles if it still does not work..

Your problem is very likely related to either of these..

dprice 07-17-2002 01:50 AM

That was the problem, thanks!

I am using a CUSTOM template and when I added the templates above, they were added in the DEFAULT templates, which I was not using.
So I merely moved them to my custom templates.

Thanks again my friend!

tractor-beam 07-17-2002 06:16 PM

Great hack! Quick question:

Can I add either the "$birthday_children[username]" or "$birthday_children[user]" to the title in the new thread, such as:

$title = "Happy Birthday " .$birthday_children[username]."!"

Thanks!

- Gerry

Logician 07-17-2002 09:19 PM

Quote:

Originally posted by tractor-beam
Can I add either the "$birthday_children[username]" or "$birthday_children[user]" to the title in the new thread, such as:

$title = "Happy Birthday " .$birthday_children[username]."!"

Gerry, greeting thread is not seperate for each user. Instead one thread is created per day regardless of birthday number, so you cant use user name in thread title..


All times are GMT. The time now is 06:35 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.01173 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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