Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

[MyBB] Floating Guest Message Without Plugin

1- Go to ACP -> Templates & Styles -> Templates -> Your skin template -> Header Templates -> header_welcomeblock_guest

Right on top of the code add this:

Code
<style>#avviso {
background: #000;
margin-right: 7px;
color: #9C0;
font-size: 10px;
border: 0px
solid #94c2e8;
padding: 8px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
filter:alpha(opacity=88);
-moz-opacity:.88; opacity:.88;
-moz-box-shadow:5px 5px 5px #191919;
-webkit-box-shadow:5px 5px 5px #191919;
box-shadow:5px 5px 5px #191919;
}

#avviso a:link {
color: red; text-decoration: none;
}

#avviso a:visited {
color: red; text-decoration: none;
}

#avviso a:hover, #avviiso a:active {
color: #fff;
text-decoration:
underline;
}

.avviso_fixed {
height: auto;
position: fixed;
top:80%;
right: 2%;
width: 280px;
}

</style><div class="avviso_fixed"><div id="avviso">Welcome!! To see all content in the site/forum and post messages, you must <a href="member.php?action=register"><strong>Register</strong></a> or login to your <a href="member.php?action=login"><strong>Account</strong></a>!</div></div>

[Image: SaSeesI.png]
Seems usefull for people who don't have any knowledge regarding HTML / CSS.

Thanks for sharing.

Rapist🤝
Ill be adding a lot more tutorials soon to help people out.
This is not useful at all for anyone who has no clue how to use HTML or CSS because it is so far from being complete code.
(Jan 29, 2014 09:30 AM)BrainDeadGenius Wrote:  This is not useful at all for anyone who has no clue how to use HTML or CSS because it is so far from being complete code.

I never said this was complete code, but it should be helpful to someone, somewhere.
Now that you've updated it, my only suggestion would be a non-fixed message. Fixed content is a pain in the ass for most users, and horrid on mobile devices, for the most part.
Ill add some more tutorials after the weekend for people to use.
its very cool tutorial thnk you so much!!!!!!
No problem man, glad to help you out.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by XfernoAug 21, 2025 12:26 AM 0 95 Aug 21, 2025 12:26 AM
Last Post: Xferno
by SIM-587985Oct 16, 2024 10:58 AM 2 155 Oct 16, 2024 10:58 AM
Last Post: SIM-587985
by SIM-587985Oct 15, 2024 03:34 PM 3 216 Oct 15, 2024 03:34 PM
Last Post: SIM-587985