Announcement & Login
4 posters
Page 1 of 1
Announcement & Login
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!
Also I will the login to make that seem so
The mine is
I use phpBB2 thank you!
Re: Announcement & Login
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.
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.
Re: Announcement & Login
You can do this:
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.
- 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
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Announcement & Login
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. Since this is your 4th reminder about double posting, you have earned another warning. |
Jophy- ForumGuru
- Posts : 17924
Reputation : 836
Language : English
Location : Somewhere
Similar topics
» How to creat login popup when user click to the Login button?
» How can I edit the login page and the login button there?
» Move Facebook login button to login widget.
» Top Urgent, Help, I can login to my site, but can't login to the control panel !!
» linking forum motion login to my site login
» How can I edit the login page and the login button there?
» Move Facebook login button to login widget.
» Top Urgent, Help, I can login to my site, but can't login to the control panel !!
» linking forum motion login to my site login
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum