The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Announcement & Login

View previous topic View next topic Go down

Announcement & Login

Post by petros_7 on September 25th 2011, 11:24 am

Hi, … would like to know how to put Šnnouncement on header on all pages and are visible only to visitors!

Also I will the login to make that seem so



The mine is



I use phpBB2 thank you!

petros_7
Forumember

Male Posts : 341
Reputation : 2
Language : Greek
Location : Greece

http://www.thegreeksenergy.com/forum

Back to top Go down

Re: Announcement & Login

Post by Acara Games on September 25th 2011, 12:16 pm

Go to ACP > Display > Homepage > Generalities > Add page announcement

This announcement will be seen by all.

In order to create an announcement that guests can't see you must disable the permission for guests to see any posts and then create a global announcement.

Acara Games
Forumember

Female Posts : 79
Reputation : 3
Language : Ireland
Location : Meath

http://acaragames.forumotion.com

Back to top Go down

Re: Announcement & Login

Post by petros_7 on September 25th 2011, 12:33 pm

Oh yes but i want this only visitors...

petros_7
Forumember

Male Posts : 341
Reputation : 2
Language : Greek
Location : Greece

http://www.thegreeksenergy.com/forum

Back to top Go down

Re: Announcement & Login

Post by LGforum on September 28th 2011, 10:10 am

You can do this:

Code:

<span id="uname" style="display: none;">{ USERNAME }</span>
<script type="text/javascript">
function guesthide() {
x=document.getElementById('uname').innerHTML;
if ((x=='Guest')||(x=='guest')) {document.getElementById('myannouncement').style.display='none'}
}
</script>
<div id="myannouncement" style="display: block;" onload="guesthide();">
PUT YOUR ANNOUNCEMENT HERE
</div>

Copy and paste that code into your announcement box or homepage message. Remember to fill in your actually announcement where it says PUT YOUR ANNOUNCEMENT HERE.
Also find the bit where it says USERNAME, and remove the spaces before and after it.

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Announcement & Login

Post by petros_7 on September 28th 2011, 2:59 pm

Ok thanks again but I want to like it and Topics list, Topic messages

petros_7
Forumember

Male Posts : 341
Reputation : 2
Language : Greek
Location : Greece

http://www.thegreeksenergy.com/forum

Back to top Go down

Re: Announcement & Login

Post by petros_7 on September 28th 2011, 6:06 pm

i solve it alone only Announcement!

petros_7
Forumember

Male Posts : 341
Reputation : 2
Language : Greek
Location : Greece

http://www.thegreeksenergy.com/forum

Back to top Go down

Re: Announcement & Login

Post by Jophy on September 29th 2011, 1:52 am

Please avoid double/triple posting. Posts need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button. Wink Since this is your 4th reminder about double posting, you have earned another warning.

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum