vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Automatic Birthday Thread (https://vborg.vbsupport.ru/showthread.php?t=62613)

Boofo 08-07-2004 06:22 AM

Quote:

Originally Posted by ChurchMedia
Well, I've looked some code in newthread.php and I think I could re-write this hack to work correctly and streamline it a bit. I won't have time for a while, though (I've having surgery on Tuesday and will be out for a few weeks). I'll look back into it as soon as I can. :)

Thanks,

I think they are using verify_id now, like the following:

PHP Code:

$forumid verify_id('forum'$_REQUEST['forumid']); 


Bison 08-12-2004 12:28 AM

Can someone please make it so we don't have to turn on HTML in our forums?

ambrosious 08-21-2004 01:17 PM

Installed yesterday, this morning I got this,

PHP Code:

Dear Adult Barnyard,<br><br>Here are today's birthdays!<br><br><a href="member.php?u=954">Callisto</a>, born 08-21-0000 

Any ideas?

ChurchMedia 08-21-2004 06:41 PM

You have to turn on HTML for your birthday forum. That will fix it...

ambrosious 08-21-2004 07:29 PM

I can't find out where that is in CP, can you hint me?

ambrosious 08-21-2004 07:38 PM

I got it and it works beautifully!

ChurchMedia 08-21-2004 07:48 PM

In the forum manager -- then enable/disable features. See the screenshot.

ambrosious 08-21-2004 07:57 PM

Thanks! You rock!

duncan99 08-23-2004 04:04 PM

I use phrase in the birthday.php, when I test it by running cron, it works normally all the phrases show up properly, but when the cron runs in automatic mode, all phrases never show? whats the problem?

jugo 08-27-2004 12:28 PM

Quote:

Originally Posted by Bison
Can someone please make it so we don't have to turn on HTML in our forums?


OK...

I didn't want to enable HTML on my forums (for obvious reasons) so I used BBCode Instead to create the thread's post text.

***EDIT*** The BR Code works even if you do not have HTML enabled.

And it works just fine. :squareeyed: :nervous:

This is what my code looks like:

PHP Code:

    $bday_people .= "-->[url=member.php?u=".$userinfo['userid']."] ".$username."[/url], Age: ".$age."<br>"



All times are GMT. The time now is 03:21 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.01394 seconds
  • Memory Usage 1,739KB
  • 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_php_printable
  • (2)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