What's new

How to add a floating alert for guests only!

_B_

Resident Member
500 Posts Club
May 18, 2020
934
4
USD
$0.0000USD
Biznotes
0
A little feature to get some guests to register for your page. The alert will be displayed at the bottom right of the guest's index.

Rz9pmVy.png


[hide]

Add this bit of code underneath and save:


PHP:
.guestbox {
background:#131313;
width:250px;
padding:10px 15px 15px;
position:fixed;
z-index:100000;
opacity:.9;
color:#fff;
border-radius:2px;
bottom:0;
right:10px;
text-align:center
}
> Templates & Style > Templates > > Header > header_welcomeblock_guest
Add this bit of code and save too:


PHP:
<div class="guestbox mobilehide">
<span style="color:#ff2f2f;font-size:20px;font-weight:bold;">ALERT!</span>
<br>
<a class="smalltext" href="member.php?action=register">Click here to register with a few steps and explore all our cool stuff we have to offer!</a>
</div>

And you should be done! However you may need to hard refresh (CTRL+F5) to see a noticeable change)
[/hide]​
 
This can be a good thing to have on the forum because this way you are able to force people in order to sign up for your site in order to see the content that is on there.
 

Newest Directory Listings

Shortie
Forums
Clicks
29
Views
93
Comments
1
WWE Hub is a discussion forum for all things wrestling! Share and chat with other wrestling fans throughout the world!
momode
Forums
Clicks
12
Views
53
ABCProxy is cost-effective, ethical residential proxies network!
coderway
Forums
Clicks
11
Views
60
AI digital artwork generator
Back
Top