PDA

View Full Version : Forum Home Enhancements - CWMOFH - Customisable Welcome Message On Forumhome


EnIgMa1234
03-03-2007, 10:00 PM
Description - This Allows You To Change The Welcome Message At Differant Times Of The Day - See Screenshots

DONT COPY THIS HACK OR CHANGE WITHOUT PERMISSION

Features:

VBoptions
3 Messages
3 Times
Images
And More...


Install:
Find In Navbar:
<strong><phrase 1="$bbuserinfo">$vbphrase[welcome_x]</phrase></strong><br />

Replace With:
<strong><phrase 1="$bbuserinfo"><script type="text/javascript">
var d = new Date()
var time = d.getHours()


if (time < 12)
{
document.write("<b><img src=\"$vboptions\" /> $vboptions[text_1] $vbphrase[welcome_x]</b>");
}
else if (time > 12 && time < 18)
{
document.write("<b><img src=\"$vboptions[imgurl_2]\" /> $vboptions[text_2] $vbphrase[welcome_x]</b>");
}
else
{
document.write("<b><img src=\"$vboptions[imgurl_3]\" /> $vboptions[text_3] $vbphrase[welcome_x]</b>")
}
</script></strong></phrase>
[I][U]Replace The Red With Your Time In 24 Hour Clock e.g 23 = 11:00PM

Then:
Install Product

Then:
Change Options

History:
V.1- Initial Release

[U]Remember To Click Install

Instructions File Coming Soon

This Isnt Fully Done Yet

projectego
03-04-2007, 03:40 PM
Woo-hoo! Thanks very much, EnIgMa1234. I'll go ahead and be the first to install this. ;)

EnIgMa1234
03-04-2007, 03:41 PM
thanks a lot steve :D

synn
03-04-2007, 06:31 PM
Great mod just what I've been looking for! Is it possible so that I can add a message based on day of the week...???

For example For Fri: Thank GOD it's Friday! Or The weekend's almost here!...you get the idea...

That would be great!

Tralala
03-05-2007, 06:56 PM
Great mod just what I've been looking for! Is it possible so that I can add a message based on day of the week...???

For example For Fri: Thank GOD it's Friday! Or The weekend's almost here!...you get the idea...


Or how about day/month?

For example for December 25: Merry Christmas!

Tralala
03-07-2007, 03:27 PM
Where are the images?

EnIgMa1234
03-11-2007, 03:59 PM
i will do more updates as soon as i get my own comp back

rjmjr69
03-13-2007, 04:44 AM
Wow will this work with the Good Morning Good afternoon hack? Sorta would be redundant no? Great Idea the suggestions are good ones hope to see them implemented. Will keep track

ZomgStuff
03-13-2007, 11:14 AM
Reserved, thx!

da420
03-13-2007, 07:01 PM
i will do more updates as soon as i get my own comp back

That would be sweet, especially days of the week.

EnIgMa1234
03-16-2007, 07:01 PM
my computer is nearly ready. keep an eye on this thread

deezelpope
03-16-2007, 10:01 PM
Ok, this is very cool EnIgMa1234, and I have it installed, but haven't done any template changes, because I have another mod installed that changed the color of our usernames there and I want to keep this. Can you help me modify yours so I can have both? Here's the link to the color-change mod. I have your mod bookmarked and will check back often! Thanks much!:up:


https://vborg.vbsupport.ru/showthread.php?t=138509

rjmjr69
03-17-2007, 12:07 AM
Can't wait to see this with more options I'll uninstall the goodmorning one for sure

EnIgMa1234
03-29-2007, 06:35 PM
im back. im starting this right away

EnIgMa1234
03-29-2007, 06:36 PM
Ok, this is very cool EnIgMa1234, and I have it installed, but haven't done any template changes, because I have another mod installed that changed the color of our usernames there and I want to keep this. Can you help me modify yours so I can have both? Here's the link to the color-change mod. I have your mod bookmarked and will check back often! Thanks much!:up:


https://vborg.vbsupport.ru/showthread.php?t=138509yes i will help you tomorrow.

JorgeX
03-30-2007, 02:05 AM
Where are the images? =D...........it looks to be very nice !

Deezelpope put here the code of your template to see it.

rjmjr69
04-04-2007, 04:04 PM
Ok, this is very cool EnIgMa1234, and I have it installed, but haven't done any template changes, because I have another mod installed that changed the color of our usernames there and I want to keep this. Can you help me modify yours so I can have both? Here's the link to the color-change mod. I have your mod bookmarked and will check back often! Thanks much!:up:


https://vborg.vbsupport.ru/showthread.php?t=138509

That should not be an issue at all seeing how this adds the color to the username in the welcome box and not the memberprofile.

rjmjr69
04-04-2007, 04:06 PM
You link to this thread from this one
https://vborg.vbsupport.ru/showthread.php?t=139312

Whats the difference?

EnIgMa1234
04-04-2007, 06:48 PM
this one uses vbulletin options, can display pics and soon you'll be able to set per day

rjmjr69
04-04-2007, 08:10 PM
this one uses vbulletin options, can display pics and soon you'll be able to set per day


Thank you for such a speedy reply. I have the other one installed In YOUR opinion is this one better? And should I use this one instead? Do I uninstall the other completely?

Thanks for the help.

***Clicks Install for now****

EnIgMa1234
04-05-2007, 09:42 AM
i believe this one is better because its fully customizable via vboptions. you can use your own messages

yes you would completely uninstall the other

rjmjr69
04-05-2007, 04:06 PM
Ok very nice installed. One thing I do not like though. Why's it still say WELCOME and its placed AFTER the custom message... So I have

Good Afternoon Welcome rjmjr69

Which made the box also grow. can you have it continue on the next line or something? How do I fix the Message?

EnIgMa1234
04-05-2007, 05:12 PM
i will update this soon

rjmjr69
04-05-2007, 06:38 PM
Thank you very much. I mean its not that it has to COME off but if you make it so the overflow of text starts on a new line instead of expanding the box I would be happy as well. Or even an option to remove the word Welcome

EnIgMa1234
04-05-2007, 07:13 PM
make sure you installed properly, it shouldnt have welcome. if you have any other problems please pm me

rjmjr69
04-05-2007, 08:28 PM
Thank you sir. PM sent

Mystery Man
10-10-2007, 04:29 PM
I just installed this plugin and I'm receiving the same error
Good Morning Welcome, mike
Followed instructions to a T. Anybody know a workaround this?

I'm running 3.6.8

daz1967
11-01-2007, 04:52 PM
find the phrase $vbphrase[welcome_x] remove the word welcome from welcome, {username}

i left the comma in so it reads Good Morning, XXXXX

also can anyone let me know the way to make a hack like this pick up the days of the week

OnyxChase
01-30-2008, 03:18 PM
I installed as described, but when it is noon or 12PM it will say good evening.