HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media


Welcome to TinyPortal. Please login or sign up.

September 24, 2023, 03:59:51 AM

Login with username, password and session length
  • Total Posts: 194,545
  • Total Topics: 21,180
  • Online today: 138
  • Online ever: 3,540
  • (September 03, 2022, 01:38:54 AM)
Users Online
Users: 0
Guests: 80
Total: 80

Show hello message each day

Started by elpvn, May 18, 2006, 03:01:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Quote from: rbh on May 20, 2006, 07: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

Been there, done that.   :2funny:

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0



Just to clarify things because somehow I got confused.  If I add this snippet, will it also include a "happy birthday" message on a user's birthday?  If not, could I tie in this snippet to have that work?


Quote from: rjholla2003 on August 17, 2006, 06:43:49 PM
If I add this snippet, will it also include a "happy birthday" message on a user's birthday?

No.. unless you add the 2 seperate codes ;)


yes, you can add both codes to do what you ask...I have and it has been a hit with my members.


i would like to suggest that there is also a code that changes the greeting in the user box (not the one in the block, but the original user info at the top header).

to have a clearer detail on what i meant, try shnging to the Babylon theme, there you will see the original user box at the top, so you will have two user boxes, the one at the top and the one in the Tportal block.

some themes can not remove the one at the top therefore your other userbox will say Good Afternoon! while the other one at the top would say Hey,.


Damn, so nice! haha. Thanks mate!


actually I have both on the default theme...I have to look at where the other code goes, but it can be done!


Vauuu! nice - thanks  :up:


Ok this is too cool!  I am going to have to try this out on my forums!

I just put this up on my site.  copyed the text and placed it where it should go.  But I am thinking I missed something.

Is says Good Afternoon no matter what time my profile is changed to.  I knowticed this off the bat because it's 6:40pm on my forum and it said Good Afternoon.   :o