Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

October 02, 2022, 09:27:27 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 193513
  • Total Topics: 21092
  • Online today: 38
  • Online ever: 3540
  • (September 02, 2022, 06:38:54 PM)
Users Online
Users: 1
Guests: 31
Total: 32

Author Topic: Show hello message each day  (Read 17692 times)

0 Members and 1 Guest are viewing this topic.

Offline RoarinRow

  • Hero Member
  • *****
  • Posts: 1034
  • Ride my AV!
    • Avalanche Style
Re: Show the hello message on day
« Reply #10 on: May 19, 2006, 09:10:33 PM »
I got this error:

8: Undefined index: today_is_birthday
File: /forum/Themes/default/TPortal.template.php (eval?)
Line: 280

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

technodragon73

  • Guest
Re: Show the hello message on day
« Reply #11 on: May 19, 2006, 09:21:47 PM »
sort of...whatever time you have with the forum compared to your time zone....so it is a hybrid...

technodragon73

  • Guest
Re: Show the hello message on day
« Reply #12 on: May 19, 2006, 09:31:15 PM »
Sorry, edited the post above.  The birthday greeting was part of an edit that involved other files as well so i removed it...the greeting is still there.

Offline RoarinRow

  • Hero Member
  • *****
  • Posts: 1034
  • Ride my AV!
    • Avalanche Style
Re: Show the hello message on day
« Reply #13 on: May 19, 2006, 10:31:36 PM »
Sorry, edited the post above.  The birthday greeting was part of an edit that involved other files as well so i removed it...the greeting is still there.

Cool, that worked thanks!   8)

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

technodragon73

  • Guest
Re: Show the hello message on day
« Reply #14 on: May 19, 2006, 11:24:41 PM »
anytime!

elpvn

  • Guest
Re: Show the hello message on day
« Reply #15 on: May 20, 2006, 01:40:42 AM »
Nice code, Tech  ;D

Offline pheasant_plucker

  • Jr. Member
  • **
  • Posts: 82
Re: Show the hello message on day
« Reply #16 on: May 20, 2006, 11:29:55 AM »
I tried this but it doesn't show my avatar in the box! It's stored externaly to the forum server would that stop it showing?

Gerry

rbh

  • Guest
Re: Show the hello message on day
« Reply #17 on: May 20, 2006, 12:26:24 PM »
just curious, but i tried the mod to the template file tech posted and it didn't change anything. i looked at both codes posted and they look the same. am i missing something?

Offline RoarinRow

  • Hero Member
  • *****
  • Posts: 1034
  • Ride my AV!
    • Avalanche Style
Re: Show the hello message on day
« Reply #18 on: May 20, 2006, 12:31:56 PM »
just curious, but i tried the mod to the template file tech posted and it didn't change anything. i looked at both codes posted and they look the same. am i missing something?

Tech's code worked for me.  See attached.

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

rbh

  • Guest
Re: Show the hello message on day
« Reply #19 on: May 20, 2006, 12:39:29 PM »
look back at both codes posted and compare them, i couldnt find any changes between the two.  ??? i copied the second code and changed it within the TPortalBlocks.template.php and it doesn't do anything different.

roarin, can you open your TPortalBlocks.template.php and copy what change you made and post it here?


sorry, i was the one messing up. i copied the wrong thing. :o  :uglystupid2: ok, i will try again. thanks!

it works great! ;D
« Last Edit: May 20, 2006, 12:46:36 PM by rbh »