The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Announcement & Login

4 posters

Go down

Announcement & Login Empty Announcement & Login

Post by petros_7 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

Announcement & Login Screen23

The mine is

Announcement & Login Screen24

I use phpBB2 thank you!
petros_7
petros_7
Forumember

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

http://www.thegreeksenergy.com/forum

Back to top Go down

Announcement & Login Empty Re: Announcement & Login

Post by Acara Games 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
Acara Games
Forumember

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

http://acaragames.forumotion.com

Back to top Go down

Announcement & Login Empty Re: Announcement & Login

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

Oh yes but i want this only visitors...
petros_7
petros_7
Forumember

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

http://www.thegreeksenergy.com/forum

Back to top Go down

Announcement & Login Empty Re: Announcement & Login

Post by LGforum 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
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Announcement & Login Empty Re: Announcement & Login

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

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

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

http://www.thegreeksenergy.com/forum

Back to top Go down

Announcement & Login Empty Re: Announcement & Login

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

i solve it alone only Announcement!
petros_7
petros_7
Forumember

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

http://www.thegreeksenergy.com/forum

Back to top Go down

Announcement & Login Empty Re: Announcement & Login

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

Announcement & Login WarningPlease 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
Jophy
ForumGuru

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

Back to top Go down

Back to top

- Similar topics

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