vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Home Enhancements - CWMOFH - Customisable Welcome Message On Forumhome (https://vborg.vbsupport.ru/showthread.php?t=141120)

EnIgMa1234 03-03-2007 10:00 PM

CWMOFH - Customisable Welcome Message On Forumhome
 
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:
Code:

<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
Replace With:
Code:

<strong><phrase 1="$bbuserinfo[username]"><script type="text/javascript">
var d = new Date()
var time = d.getHours()


if (time < 12)
{
document.write("<b><img src=\"$vboptions[imgurl_1]\" /> $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>

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

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

Quote:

Originally Posted by synn (Post 1195662)
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

Quote:

Originally Posted by EnIgMa1234 (Post 1200904)
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

Quote:

Originally Posted by deezelpope (Post 1205160)
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

yes 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

Quote:

Originally Posted by deezelpope (Post 1205160)
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

Quote:

Originally Posted by EnIgMa1234 (Post 1219867)
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.


All times are GMT. The time now is 01:37 AM.

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.01415 seconds
  • Memory Usage 1,774KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (29)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete