Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
CWMOFH - Customisable Welcome Message On Forumhome Details »»
CWMOFH - Customisable Welcome Message On Forumhome
Version: 1.00, by EnIgMa1234 EnIgMa1234 is offline
Developer Last Online: May 2011 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.5 Rating:
Released: 03-03-2007 Last Update: Never Installs: 25
Uses Plugins Template Edits
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 04-05-2007, 09:42 AM
EnIgMa1234 EnIgMa1234 is offline
 
Join Date: Mar 2006
Location: .:: Ireland ::.
Posts: 1,306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #23  
Old 04-05-2007, 04:06 PM
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Location: Southie
Posts: 876
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #24  
Old 04-05-2007, 05:12 PM
EnIgMa1234 EnIgMa1234 is offline
 
Join Date: Mar 2006
Location: .:: Ireland ::.
Posts: 1,306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i will update this soon
Reply With Quote
  #25  
Old 04-05-2007, 06:38 PM
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Location: Southie
Posts: 876
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #26  
Old 04-05-2007, 07:13 PM
EnIgMa1234 EnIgMa1234 is offline
 
Join Date: Mar 2006
Location: .:: Ireland ::.
Posts: 1,306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

make sure you installed properly, it shouldnt have welcome. if you have any other problems please pm me
Reply With Quote
  #27  
Old 04-05-2007, 08:28 PM
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Location: Southie
Posts: 876
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you sir. PM sent
Reply With Quote
  #28  
Old 10-10-2007, 04:29 PM
Mystery Man Mystery Man is offline
 
Join Date: Sep 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #29  
Old 11-01-2007, 04:52 PM
daz1967's Avatar
daz1967 daz1967 is offline
 
Join Date: Mar 2007
Location: birmingham
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #30  
Old 01-30-2008, 03:18 PM
OnyxChase OnyxChase is offline
 
Join Date: Jul 2007
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed as described, but when it is noon or 12PM it will say good evening.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:38 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06279 seconds
  • Memory Usage 2,285KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete