Fr, 17/12/15, 11:30
   
[ New messages · Members · Forum rules · Search · RSS ]
Page 1 of 11
Forum moderator: Fliros 
uDev Club Forum » uCoz System management and tuning » Additional Features » Ajax window "Please register"
Ajax window "Please register"
FlirosDate: Fr, 10/08/27, 16:00 | Message # 1
Lieutenant
Group: Administrators
Messages: 31
Awards: 2
Reputation: 3
Status: :-(
New script that we use on uor site. This pop-up window which asks users to register.

Look like...

Code here insert before </head> in Customize design on each page where you want to see it. Or use Quick replacement.

Code
<!--infoWindow by Fliros (skype fliros28)-->
<?if(!$USER_LOGGED_IN$)?>      
<script type="text/javascript">      
window.onload = function PlsReg() {openLayerB('PlsReg',0,'/PlsReg.xml','Information',335,300,1,0,0);}</script>      
<?endif?>
<!--/infoWindow-->

Download archive below and copy PlsReg.xml file to root of your site, info.gif file to images folder.

Attachments: ajax_plsreg.rar(2Kb) · 0373919.gif(15Kb)


 
FlirosDate: Fr, 10/08/27, 21:05 | Message # 2
Lieutenant
Group: Administrators
Messages: 31
Awards: 2
Reputation: 3
Status: :-(
nono Gigabyte, let's deal from now no more short post. Or a meaningful message or no post.
For all other cases there are Recycle and Communication. nocomp


 
GigabyteDate: Sa, 10/08/28, 20:49 | Message # 3
Sergeant
Group: Administrators
Messages: 19
Awards: 2
Reputation: 3
Status: :-(
All right, sorry Fliros.
 
ScubsDate: Mo, 10/08/30, 14:54 | Message # 4
Private
Group: Checked
Messages: 5
Awards: 0
Reputation: 2
Status: :-(
i really like this code , deleted my prev message because i found how to change the text , i'm just wondering Gigabyte, said to me that there's a major glitch with my ajax register window can u please come and take a look ?

http://uCause.ucoz.com

i think i will just remove that script for now
untill there's a new one or a fix where it sdon't pops up every time

Message edited by Scubs - Mo, 10/08/30, 15:21
 
FlirosDate: Mo, 10/08/30, 15:22 | Message # 5
Lieutenant
Group: Administrators
Messages: 31
Awards: 2
Reputation: 3
Status: :-(
Scubs, script on your site work well, but you should do something with 2 "X" button. It's don't look nice.

 
ScubsDate: Mo, 10/08/30, 15:25 | Message # 6
Private
Group: Checked
Messages: 5
Awards: 0
Reputation: 2
Status: :-(
yes i was already changing that , but i'm gonna remove the script it lookst like a great idea but constantly popup is annoying for users

but thanks anyway

best regards Scubs

 
FlirosDate: Mo, 10/08/30, 15:36 | Message # 7
Lieutenant
Group: Administrators
Messages: 31
Awards: 2
Reputation: 3
Status: :-(
Quote (Scubs)
yes i was already changing that , but i'm gonna remove the script it lookst like a great idea but constantly popup is annoying for users

All I can advise you Scubs, and other users. Will try to find that piece of code that is responsible for the marked up pop-up window, and move it to the right bottom corner.

If you find it, post message "How to move..." to this topic


 
FlirosDate: Mo, 10/08/30, 22:40 | Message # 8
Lieutenant
Group: Administrators
Messages: 31
Awards: 2
Reputation: 3
Status: :-(
This option may help resolve the problem with all the annoyance of users

Code
<?if(!$USER_LOGGED_IN$)?>
   <script type="text/javascript">$(document).ready(function(){ _uWnd.alert('Dear Guest. To get additional features on the site, you must register.<br><a href="http://udev.ucoz.net/index/3" target="_blank">Registration</a>','Alert!',{w: 200, h: 100, tm:555555});});</script>
<?endif?>

Paste it before </body> tag. And don't forget script must be in-line.




Message edited by Fliros - Mo, 10/08/30, 22:58
 
ScubsDate: Tu, 10/08/31, 00:37 | Message # 9
Private
Group: Checked
Messages: 5
Awards: 0
Reputation: 2
Status: :-(
hmm i will try this right away thanks

worked perfectly thanks

Message edited by Scubs - Tu, 10/08/31, 00:39
 
uDev Club Forum » uCoz System management and tuning » Additional Features » Ajax window "Please register"
Page 1 of 11
Search:

Forum Statistics
Latest updated threads Most popular threads Top users New users
Hello (0)
Fliros (31 Posts)
Gigabyte (19 Posts)
Scubs (5 Posts)
Wild_Eragon (2 Posts)
mad_A (2 Posts)
junglist905 (2 Posts)
Dark__Gamer (1 Posts)
stephanie (1 Posts)
akonens (0 Posts)
Elexy (0 Posts)
istván (17/04/16)
jaaydk (16/12/06)
DjWiicked (16/12/02)
junglist905 (15/04/23)
AdminDan (14/12/16)
Pro (14/12/16)
Paradiso (14/08/31)
adminstr (14/06/18)
akonens (14/06/13)
T-sin (13/10/01)