Message that displays for guests only

Started by Thrilling, January 24, 2011, 02:42:57 PM

Previous topic - Next topic

Thrilling

I want a registration message to appear, for guests only. I want it somewhere in the header, cheers.
Geeksoup.net - Free Technical Support

Redefining tech support..

kat


Thrilling

That's a decent mod, but I just wanted a simple message in the header :) Thank you.
Geeksoup.net - Free Technical Support

Redefining tech support..

TheListener

#3
This is another one.

Can be placed in the footer as an alternative.

oops I did it again.

Activity Reminder message is the mod.

:-[

Illori


Mick.

#5
In your lagusta theme,

open, index.template.php

find:
<div id="mainbody" class="pngbg2">
<div class="wrapper">
<div id="header">
<h1 id="logo">
<a class="pngbg2" href="'.$scripturl.'">' . $context['forum_name'] . '</a>
</h1>
</div>



add after:
';
if (!$context['user']['is_logged'])
echo'
<span class="upperframe"></span>
<div class="roundframe">SMF is written in the popular language PHP and uses a MySQL database. It is designed to provide you with all the features you need from a bulletin board while having an absolute minimal impact on the resources of the server. SMF is the next generation of forum software - and best of all it is and will always remain completely free!</div>
<span class="lowerframe"></span><br />';
echo'




It will show right below your logo.    Change the text with your own.  ;)

Road Rash Jr.

Hey Thrilling, if this works for you please post a capture of the before and after to show us how it looks. I might be interested in this myself ;D
Never argue with an Idiot like myself, they just drag you down to their level then beat you with experience.

Mick.



Mick.


Thrilling

Sorry for long reply guys, thank you all for your help! Awesome stuff! :D
Geeksoup.net - Free Technical Support

Redefining tech support..

Advertisement: