2011-01-04, 04:12 PM
2011-01-04, 08:31 PM
You'd need a plugin. I suggest requesting one here: http://community.mybb.com/forum-65.html
2011-01-04, 10:56 PM
No need for a plugin, if you don't mind some javascript that would work. You'd just need to add it to your header.
2011-01-07, 03:08 PM
What kind of Javascript? I only know very basic.
2011-01-07, 04:28 PM
Go to: ACP > Templates > Header Templates > header_welcomeblock_member > and find;
and before it, add the following;
Should result into this;
For screenshots, please visit this post: http://yaldaram.com/showthread.php?tid=167
{$lang->welcome_back}
and before it, add the following;
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Robert Ison -->
<!-- Web Site: http://www.infosourcetraining.com -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
datetoday = new Date();
timenow=datetoday.getTime();
datetoday.setTime(timenow);
thehour = datetoday.getHours();
if (thehour > 18) display = "Evening";
else if (thehour >12) display = "Afternoon";
else display = "Morning";
var greeting = ("<b>Good " + display + "!</b>");
document.write(greeting);
// End -->
</script> -
Should result into this;
For screenshots, please visit this post: http://yaldaram.com/showthread.php?tid=167
2011-01-10, 06:42 PM
(2011-01-07, 04:28 PM)Yaldaram Wrote: [ -> ]Go to: ACP > Templates > Header Templates > header_welcomeblock_member > and find;Thank you, +rep.
{$lang->welcome_back}
and before it, add the following;
<SCRIPT LANGUAGE="JavaScript"> <!-- Original: Robert Ison --> <!-- Web Site: http://www.infosourcetraining.com --> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin datetoday = new Date(); timenow=datetoday.getTime(); datetoday.setTime(timenow); thehour = datetoday.getHours(); if (thehour > 18) display = "Evening"; else if (thehour >12) display = "Afternoon"; else display = "Morning"; var greeting = ("<b>Good " + display + "!</b>"); document.write(greeting); // End --> </script> -
Should result into this;
For screenshots, please visit this post: http://yaldaram.com/showthread.php?tid=167
2011-01-10, 06:57 PM
Ive used this script (with permission) and turned it into a plugin (Free plugin) : http://www.mybbextras.com/showthread.php?tid=717
2011-01-11, 03:42 AM
Thanks.