Popup require guest register new user v2.0


Original post by admin : Popup-require-guest-register-new-user.html
i have just edit the css code
1. Open file /templates/{current template}/css/engine.css
At the end of file, add
.popup {
width: 400px;
height: 25px;
background: #FFFFD5 url(../images/alert.png) no-repeat 8px;
z-index: 1;
position: fixed;
margin: 10px;
border: 1px dotted #bebebe;
color: #757575;
}
.popup a:link { color: #ff0000; text-decoration: none; }
.popup a:hover { color: #04b404; text-decoration: none; }
.popup img { border:none; }
2. Save this image
to folder /templates/{current template}/images/rename saved image to : alert.png
3. Open file /templates/{current template}/main.tpl
Find :
{AJAX}
BELOW add :
[group=5]
<table class="popup">
<tr>
<td style="padding: 0 0 0 30px;">
You are not registred ! Please < <a href="/index.php?do=register"><b>register</b></a> > in site and get full access...
</td>
</tr>
</table>
[/group]
<table class="popup">
<tr>
<td style="padding: 0 0 0 30px;">
You are not registred ! Please < <a href="/index.php?do=register"><b>register</b></a> > in site and get full access...
</td>
</tr>
</table>
[/group]

Updates
Dle templates English


