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)
-   -   Dynamic Announcements: Programmable Forum Home Announcement/Message with conditionals (https://vborg.vbsupport.ru/showthread.php?t=64189)

lefthome 04-09-2005 05:09 PM

Excellent Hack in 3.07.

Logician 04-09-2005 07:52 PM

Quote:

Originally Posted by netcommander
how can i edit condititon for see only todays birthdays user this message

this should work:

[[(substr("$bbuserinfo[birthday_search]",-5)== date("m-d", time()))]]
happy birthday $bbuserinfo[username]!
[[/(substr("$bbuserinfo[birthday_search]",-5)== date("m-d", time()))]]

netcommander 04-12-2005 01:33 PM

Quote:

Originally Posted by Logician
this should work:

[[(substr($bbuserinfo[birthday_search],-5)==date("m-d"))]]
happy birthday $bbuserinfo[username]!
[[(substr($bbuserinfo[birthday_search],-5)==date("m-d"))]]

thanks I will try

MB Dreamz 04-13-2005 03:29 AM

Awesome hack. Thanks Logician! *clicks install*

I ran into a minor issue. It must be an error on my part because I've scanned this entire thread, and cannot find the answer. The popup works fine except the "Close Announcement" button. It does nothing. What could be wrong? Thanks in advance!

t-roz 04-13-2005 05:01 AM

thanx for the hack

can i change its language if you dont mind with leaving the copyrights??

netcommander 04-13-2005 09:31 PM

Quote:

Originally Posted by Logician
this should work:

[[(substr($bbuserinfo[birthday_search],-5)==date("m-d"))]]
happy birthday $bbuserinfo[username]!
[[(substr($bbuserinfo[birthday_search],-5)==date("m-d"))]]

I have try but not run this code

Logician 04-14-2005 07:13 AM

Quote:

Originally Posted by netcommander
I have try but not run this code

updated above.. try the edited code again.

netcommander 04-14-2005 10:31 AM

ok I will try again

yesfans 04-19-2005 12:32 PM

I am REALLY stupid here, but I can't get this line to work....

http://YOUR_SITE_URL/FORUM_URL/admin...hp?do=addgroup



my site is www.yesfans.com hopw the hell do I put that in there????

fly 04-19-2005 12:49 PM

http://www.yesfans.com/forum/admincp...hp?do=addgroup

:D
edit: fixt. Added /forum/


All times are GMT. The time now is 08:27 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.01608 seconds
  • Memory Usage 1,734KB
  • 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
  • (4)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