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 - Goodmorning/Goodafternoon/Goodevening Username (https://vborg.vbsupport.ru/showthread.php?t=139312)

Soliloquy 02-15-2007 05:03 PM

Installed; so far so good this time!

EnIgMa1234 02-15-2007 05:13 PM

good :D

chkdgate 02-15-2007 06:02 PM

That's good. For a second there, it wasn't working but then taydu's post fixed this problem. Thanks.

Charlie98902 02-15-2007 06:54 PM

I never had a prior version installed so what do I need to do as I imported the xml and it installed with no change?

EnIgMa1234 02-15-2007 06:57 PM

did you do the template changes?

chkdgate 02-15-2007 07:06 PM

Quote:

Originally Posted by Charlie98902 (Post 1183433)
I never had a prior version installed so what do I need to do as I imported the xml and it installed with no change?

Just perform the Navbar template mod from above and you're done.

rjmjr69 02-16-2007 06:56 AM

Very easy install works just fine in 3.6.4 with tons of mods.... Thanks

WEBDosser 02-16-2007 07:32 AM

Nice hack..

Tralala 02-16-2007 01:14 PM

Nice mod!

/clicks install



Note, if you want to make this greeting clickable, so it takes the user to their profile, then in the navbar template put

Code:

<a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">

right before

Code:

<phrase 1="$bbuserinfo[username]"><script type="text/javascript">

EnIgMa1234 02-16-2007 02:01 PM

what would everyone like to see in the next version of this?

chkdgate 02-16-2007 02:21 PM

Quote:

Originally Posted by Tralala (Post 1183871)
Note, if you want to make this greeting clickable, so it takes the user to their profile, then in the navbar template put

Code:

<a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">

right before

Code:

<phrase 1="$bbuserinfo[username]"><script type="text/javascript">

Thank you for this little add on

Quote:

Originally Posted by EnIgMa1234 (Post 1183907)
what would everyone like to see in the next version of this?

Most definitely!

EnIgMa1234 02-16-2007 02:24 PM

i was thinking of using vbulletin options too

chkdgate 02-16-2007 02:30 PM

Is there a way to where we can have this show the message on line 1 then the last log in information on line 2 and finally the PM info on line 3? It just looks too long. See screen cap below.

EnIgMa1234 02-16-2007 02:58 PM

just add <br /> after the template edit

chkdgate 02-16-2007 03:23 PM

Quote:

Originally Posted by Tralala (Post 1183871)
Nice mod!

/clicks install



Note, if you want to make this greeting clickable, so it takes the user to their profile, then in the navbar template put

Code:

<a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">

right before

Code:

<phrase 1="$bbuserinfo[username]"><script type="text/javascript">

Any way to just make the greeting and username clickable instead of the entire line that also includes the last login info?

Tralala 02-16-2007 05:00 PM

Quote:

Originally Posted by EnIgMa1234 (Post 1183907)
what would everyone like to see in the next version of this?

-Admin prefs to change the actuall text of each of the greetings

-Admin prefs to change the times they are invoked

-Three graphics to associate: bright sun, medium sun (?) and moon

I'd also like the greeting to be a separate phrase on it's own in the xml (distinct from the username which would reside in the navbar template.) That way I could make just the username itself clickable, and not the entire line, or make it bolder or a different size or color or whatever.

EnIgMa1234 02-16-2007 05:51 PM

yes i will do that

Tralala 02-16-2007 05:53 PM

sweet!

chkdgate 02-16-2007 07:45 PM

Quote:

Originally Posted by Tralala (Post 1184024)
-Admin prefs to change the actuall text of each of the greetings

-Admin prefs to change the times they are invoked

-Three graphics to associate: bright sun, medium sun (?) and moon

I'd also like the greeting to be a separate phrase on it's own in the xml (distinct from the username which would reside in the navbar template.) That way I could make just the username itself clickable, and not the entire line, or make it bolder or a different size or color or whatever.

These are some great suggestions!

Rickeo 02-16-2007 08:18 PM

This is one sweet mod works fine on this end

apiasto 02-19-2007 06:34 AM

how can i get v 1.2 need that good after noon please

Tralala 02-19-2007 12:47 PM

Quote:

Originally Posted by Tralala (Post 1184024)
-Admin prefs to change the actuall text of each of the greetings

Along these lines, I'd like to see a Admin pref for a "temporary override" ... so, for example, I could type in "Merry Christmas!" on December 25. Give that temporary override an expiration date, so it knows when to resume with the normal greetings, and you got yourself a winner. Maybe even a Mod of the Month. :)

Add a bunch of customizable fields with start/end dates, and we can pre-fill them up with upcoming holidays!

EnIgMa1234 02-19-2007 01:02 PM

yes thats a good idea. i will look into it

Tralala 02-19-2007 01:33 PM

Quote:

Originally Posted by EnIgMa1234 (Post 1185964)
yes thats a good idea. i will look into it

Thanks! Would be nice way to celebrate holidays... I thought of it because today is President's Day.

:)

EnIgMa1234 02-21-2007 12:21 PM

i am starting this project today

EnIgMa1234 02-21-2007 03:53 PM

this project is nearly ready. just gotta fix 1 or 2 big problems

rjmjr69 02-21-2007 07:03 PM

Quote:

Originally Posted by EnIgMa1234 (Post 1187575)
this project is nearly ready. just gotta fix 1 or 2 big problems

SWEET. I already have the original installed but with all these new features I can't wait till your done... Great work. I also would like the order of the lines changed and all these suggestions are awesome. custom text for holidays and such would be awesome. And admin control over it all via the cp would be great too

Tralala 02-22-2007 07:15 PM

Quote:

Originally Posted by EnIgMa1234 (Post 1187575)
this project is nearly ready. just gotta fix 1 or 2 big problems


Excellent, EnIgMa1234... happy to hear you liked my suggestions. If you'd like me to test anything, feel free to let me know. :)

apiasto 02-28-2007 03:41 PM

ok found the problem it was in navbar temp. working great thnx

EnIgMa1234 03-01-2007 04:24 PM

my computer is broken so i will be finishing v3 when i get my computer back

chkdgate 03-02-2007 05:28 PM

Has anyone tried it with 3.6.5 yet?

EnIgMa1234 03-04-2007 02:49 PM

it works with 3.6.5

EnIgMa1234 03-04-2007 03:36 PM

i have finally gotten around to release the new version

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

karabaja3 05-08-2008 03:40 PM

anything for 3.7.0.?

Kinneas 05-09-2008 10:13 AM

I have modified this for 3.7 :)

Find:

PHP Code:

<strong><phrase 1="$bbuserinfo[username]2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br /> 

Replace with:

PHP Code:

<strong><phrase 1="$bbuserinfo[username]2="member.php?$session[sessionurl]u=$bbuserinfo[userid]"><script type="text/javascript">
var 
= new Date()
var 
time d.getHours()
if (
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 /> 

You also need to edit the Phrases for Goodmorning_x, Goodafternoon_x and Goodevening_x, like so

Quote:

Good Morning, {1}.
change to
Quote:

Good Morning, <a href={2}>{1}</a>.
Obviously repeat this with the other 2.

ArjanU 06-07-2008 07:54 AM

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!

Welshy2008 08-08-2008 04:36 PM

Brilliant - Thank You.

Welshy2008 08-08-2008 06:02 PM

Slight Problem - Since adding this Hack - I have lost the "email" thingy under the usernames...

Please see attachment....

Welshy2008 08-08-2008 06:10 PM

This has only happened on my account (Admin) and another account (Super Admin).

Welshy2008 08-09-2008 09:24 AM

It has re-appeared on the Admin account. But NOT on the SuperAdmin account.

Does anyone know what is going on?


All times are GMT. The time now is 01:04 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
  • Page Generation 0.01677 seconds
  • Memory Usage 1,826KB
  • 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
  • (6)bbcode_code_printable
  • (2)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete