![]() |
Goodmorning/Goodafternoon/Goodevening Username
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: Code:
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong> Replace With V.1: Code:
<strong><phrase 1="$bbuserinfo[username]"><script type="text/javascript"> Code:
<strong><phrase 1="$bbuserinfo[username]"><script type="text/javascript"> 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 |
Reserved
|
This is cool. Thanks for sharing!
|
no problem. thanks for liking it :p
|
Can you make is only say good morning from 12am but before 12pm and then good afternoon from then till 6pm, then 6pm to 12am it would say good evening.
Making the full cycle?? |
yes i will release that soon in the next version
|
Quote:
|
which time does it use, the server time or the user time???
|
:( not working for me, i'm using v.1.1
|
installed great! :)
|
Quote:
|
Quote:
|
I know someone is going to request this, so it may as well be me.
How about making it so there's a period of time for "good morning," a period of time for "good afternoon," and a period of time for "good evening?" So like, from 6:00AM to 12:00AM, it would be "good morning." From 12:00AM to 5:00PM it would be "good afternoon." And from 5:00PM to midnight it would be "good evening." Or something like that. Making the times customizable in the admin CP would be cool too. |
Quote:
|
that mode didnt work so well...... the one before this one... this one seems to work great... thanks for bringing this one out..
|
Quote:
https://vborg.vbsupport.ru/showthrea...nicer+greeting |
Thanks, looks nice! :D
|
Very nice mod. Thank you.
|
Quote:
|
Ok it's work now. But how come it still say welcome between 12 PM to 6 PM??
|
Quote:
|
Quote:
|
v1.2 product aint workin, i fixed it for you man. Its attatched
|
sorry i didnt have enough time to test this. thanks m8
|
lol its just fixing your coding. Take a look at the code in both of em. In yours theres unclosed tags and unneeded ones.
I got errors importing yours so I did a little editing and now it works perfect. |
I'm getting errors on the update.
|
XML Error: Mismatched tag at Line 20
|
Line 20 didn't have < before:
PHP Code:
PHP Code:
|
updated
|
Let me give it a second go around.
|
It's not showing now.
|
Code:
XML Error: mismatched tag at Line 21 |
for some reason the goodafternoon_x or afternoon_x (depend on which xml file you use) didn't get added to the phase manager. Go to the phase Manager and add goodafter_x of afternoon_x then it should be fine.
|
Quote:
Quote:
|
its all working now. sorry about that. didnt have time to test. :D
|
Now, that's what I call an update.:up:
|
thanks for installing. if you have any problems, dont be shy about asking me :D
|
V1.1:
Code:
<strong><phrase 1="$bbuserinfo[username]"><script type="text/javascript"> Code:
document.write("<b>$vbphrase[afternoon_x]") Code:
document.write("<b>$vbphrase[goodafternoon_x]") |
Just curious why there is no </b> tag after goodafternoon and goodevening?
|
i'll add one in now
|
All times are GMT. The time now is 06:08 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|