Description
I am converting from phpbb3 to smf 1.1.7 and on my phpbb3 board I have a mod called Announcement Center. It creates a box at the top of the forum. It can be set for "Guest Announcements" and "Site Announcements" each with a different message and each can be turned on/off separately. The messages can have different colored text, smilies, the use of img tags, etc.
Permissions
Admin only feature and controlled in the Admin Control Panel
You can view the "Guest Announcement" part by visiting my phpbb3 forum at www.rsdlaughter.com
Maybe sth. like that
http://custom.simplemachines.org/mods/index.php?mod=1425
yes that is kinda what I want, except that one is only for guests. I would like to be able to have a seperate message for me members. I have a registration announcement for guests and then I have an announcement for my members that usually includes the date, an inspirational quote, some smilies and maybe even an important notice from the admins.
If the mod you showed me had a member announcement it would be perfect.
maybe this 1 might serve your purpose http://www.simplemachines.org/community/index.php?topic=288554.0
I had seen that mod, but I really, REALLY despise pop up boxes and although I realize that that mod isn't a pop up as it is a floating layer inside the page, it just resembles a pop up too much. I think it would be rather annoying to my members and guests, but if no one wants to take this on and create a mod, I might end up with that mod instead.
Thanks for the suggestion though!
Maybe if you ask on the thread for the Message for your guests Mod suggested by Duncan the designer maybe able to give you advice on how to make this mod work for different usergroups, this maybe even a topic that has already been covered in the thread discussions
this is the support thread http://www.simplemachines.org/community/index.php?topic=265071.0
I would, but the mod author has not responded to that thread since the beginning of November.
I've tried sth. for you
At first install the mod from above and after that,do that few changes,which i'll give you below
Sources/ModSettings.php
array('check', 'allow_guestAccess'),
'',
array('check', 'enable_mfg_mod',
&$txt['enable_mfg_mod']),
array('large_text', 'mf_guests', '5'),
'',
array('check', 'allow_guestAccess'),
'',
array('check', 'enable_mfg_mod',
&$txt['enable_mfg_mod']),
array('large_text', 'mf_guests', '5'),
array('check', 'enable_mfm_mod',
&$txt['enable_mfm_mod']),
array('large_text', 'mf_members', '5'),
'',
index.template.php
//Hopefully this message will encourage the guests to register
if ($context['user']['is_guest'] && !empty($modSettings['enable_mfg_mod']))
echo '
<div class="windowbg2" style="margin:0 auto;text-align:center">',!empty($modSettings['mf_guests']) ? $modSettings['mf_guests'] : $txt['default_message'],'</div>';
//Hopefully this message will encourage the guests to register
if ($context['user']['is_guest'] && !empty($modSettings['enable_mfg_mod']))
echo '
<div class="windowbg2" style="margin:0 auto;text-align:center">',!empty($modSettings['mf_guests']) ? $modSettings['mf_guests'] : $txt['default_message'],'</div>';
elseif ($context['user']['is_logged'] && !empty($modSettings['enable_mfm_mod']) && !empty($modSettings['mf_members']))
echo '
<div class="windowbg2" style="margin:0 auto;text-align:center">'. $modSettings['mf_members'] .'</div>';
languages/Modifications.english.php
?>
$txt['enable_mfm_mod']='Enable the member message mod';
$txt['mf_members']='Member Greeting Message';
Duncan,
It worked. You rock! Thanks a ton!