Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Goodmorning/Goodafternoon/Goodevening Username Details »
Goodmorning/Goodafternoon/Goodevening Username
Mod Version: 1.2, by EnIgMa1234 (Member) EnIgMa1234 is offline
Developer Last Online: May 2011 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.4 Rating: (7 votes - 4.71 average) Installs: 88
Released: 13 Feb 2007 Last Update: 15 Feb 2007 Downloads: 399
Not Supported Uses Plugins Template Edits  

Dont Copy This Hack

Description: This Will Add A Good Morning $username To Replace The Welcome $username If The Time Is 12:00PM To 11:59AM. If It Isnt In These Times, It WIll Have The Usual Welcome phrease

3 New Phrases
1 Template Edit

Install:

Find In Navbar:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Replace With V.1:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

OR For V.1.1

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then: Import The Product

History
- V.1.0 Released
- V1.1 Added Good Evening
- V1.2 Added New Phrase - Good Afternoon X

Future Developments
- Cache Template

Upgrading From V.1.1 => V.1.2
Reimport The Product - Overwrite Set To Yes
Redo The Template Edit

I Will Only Give Support To Those That Click Install

V.3 - 80% Done

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Username Management Addon - Latest Username Changes on Forumhome Marco van Herwaarden vBulletin 3.5 Add-ons 19 22 Jun 2012 07:17

  #76  
Old 07 Jun 2008, 08:54
ArjanU ArjanU is offline
 
Join Date: Oct 2005
Is there an option to make:

Goodmorning
Goodafternoon
Goodevening
Goodnight?

Here in Europe we use Goodmorning from 06.00AM till 12.00, Goodafternoon from 12.00 till 06.00PM, Goodevening from 06.00PM till 0.00AM and Goodnight from 0.00 till 06.00AM

When it is 0.05AM there is standing Goodmorning, it is better here to say Goodnight

Thanks!
Reply With Quote
  #77  
Old 08 Aug 2008, 17:36
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Brilliant - Thank You.
Reply With Quote
  #78  
Old 08 Aug 2008, 19:02
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Slight Problem - Since adding this Hack - I have lost the "email" thingy under the usernames...


Please see attachment....
Attached Images
File Type: jpg Missing email.jpg (8.5 KB, 16 views)
Reply With Quote
  #79  
Old 08 Aug 2008, 19:10
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
This has only happened on my account (Admin) and another account (Super Admin).
Reply With Quote
  #80  
Old 09 Aug 2008, 10:24
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
It has re-appeared on the Admin account. But NOT on the SuperAdmin account.


Does anyone know what is going on?
Reply With Quote
  #81  
Old 06 Oct 2008, 03:19
Outbackmark's Avatar
Outbackmark Outbackmark is offline
 
Join Date: Jun 2007
I have just installed this on a couple of 3.6.11 forums and had to fiddle a bit as some hacks that place info in this area of the navbar hook onto the {welcome_x} phrase will be affected by the template edit.
I lost my New Posts since last visit and had to do the following


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

It now says
Welcome, outbackmark.
2 New Posts since your last visit.
Good Afternoon, outbackmark.
You last visited: Today at 11:18 AM
Private Messages: Unread 0, Total 576.
__________________
Aus Scambaiters
Reply With Quote
  #82  
Old 13 Oct 2008, 01:20
SirFlash's Avatar
SirFlash SirFlash is offline
 
Join Date: Feb 2007
'Good Early Morning' added w/ link to member's profile page

I feel that saying "Good Evening" or even "Good Night" isn't appropriate for the hours between 12:00am and 05:00am, because: "Good evening" shouldn't refer to the early AM hours - that's simply not etymologically correct. If someone logs in to your forum at 1:00 am and you tell them "Good night!" it sounds like you're telling them to have a good night's sleep, as people normally say before they go to bed and close down for the day. I prefer a more welcoming term for the early AM caffeine-empowered individuals. 12-5am is a period I prefer to tell people "Good Early Morning"!

So I took the liberty of editing this hack so that it reads "Good Early Morning, Username", in which 'Username' will link to the member/users' profile page.

3-STEP INSTALLATION INSTRUCTIONS:

1) Upload the file product_goodmorning_welcome_v2.xml to your /includes/xml/ directory.

2) Go to your AdminCP / Manage Products / and click "Add/Import Product", and Import the XML File from your server, enter: ./includes/xml/product_goodmorning_welcome_v2.xml

and click import. Be sure to select "allow overwrite" if you have already installed this product.

3) Template Edit:

Go to AdminCP / Style Manager / Edit Templates (from the drop-down menu) / Navigation Breadcrumb Templates / navbar

Edit the "navbar" template

Find (for 3.6 and maybe 3.7 vbulletin versions):
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong>
OR if you are using a later 3.7 or 3.8 version of vbulletin, find this instead:

<strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br />
and Replace with:
<!-- START Welcome User Edit -->
<strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]"><script type="text/javascript">
var d = new Date()
var time = d.getHours()
if (time>=0 && time<=5)
{
document.write("<b>$vbphrase[goodearlymorning_x]</b>")
}
else if (time>=5 && time<12)
{
document.write("<b>$vbphrase[goodmorning_x]</b>")
}
else if (time>=12 && time<18)
{
document.write("<b>$vbphrase[goodafternoon_x]</b>")
}
else
{
document.write("<b>$vbphrase[goodevening_x]</b>")
}
</script></phrase></strong><br />

<!-- END Welcome User Edit -->
Done!

I have tested this hack on vb 3.6.x, 3.7.x, and am currently running it on vb3.8 BETA - it works on all of these. Enjoy!
Attached Files
File Type: xml product_goodmorning_welcome_v2.xml (1.0 KB, 7 views)
Reply With Quote
  #83  
Old 06 Feb 2009, 09:09
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
I have this on my 3.6.8 board.

I am upgrading it to a 3.8.1 at the weekend. Will this work on it please? I don't want to lose this fantastic add-on.
Reply With Quote
  #84  
Old 12 Oct 2009, 01:29
SirFlash's Avatar
SirFlash SirFlash is offline
 
Join Date: Feb 2007
It still works, aye!

Welchy - I just installed this modification with my modification to it so that it also says "Good Early Morning" (posted above your post) on vb 3.8.4 PL1, and it works perfectly.

Mind you, I installed my modification (the post above yours), the code difference between my modification of this modification shouldn't be an issue though, I'm pretty sure it'll work perfectly whichever hack you wish to use (the post before yours or the author's original release). Enjoy!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 20:07.

Layout Options | Width: Wide Color: