Determine whether a user is logged in
3 posters
Page 1 of 1
Determine whether a user is logged in
Is there a code for that ? i mean , what are the variables ?
example :
just tryin my luck here .. :]]
click my website to view my forumotion forum .. :]]
example :
if (user.isloggedin){
//codes here
}
else{
alert('please register');
}
just tryin my luck here .. :]]
click my website to view my forumotion forum .. :]]
Last edited by darylldelfin on November 14th 2008, 11:28 am; edited 1 time in total
Re: Determine whether a user is logged in
hello,
i don't think such script can be apply on forumotion because we dont have direct access on php database. but still there is a way to make similar thing without require coding.
i suggest you to make a new portal block and set permission to guest only. put welcoming message there with link to register or login.
for example :
translation :
welcome guest, please register before can join our community or just login if you already have an account
it not much but i think it only way to do it
i don't think such script can be apply on forumotion because we dont have direct access on php database. but still there is a way to make similar thing without require coding.
i suggest you to make a new portal block and set permission to guest only. put welcoming message there with link to register or login.
for example :
translation :
welcome guest, please register before can join our community or just login if you already have an account
it not much but i think it only way to do it
Adiex- Active Poster
- Posts : 1014
Reputation : 33
Language : er?
Location : back alive & kicking xD
Re: Determine whether a user is logged in
hey there thanks for attending to my problem .
i already had solution to my problem . i managed to do different scripts one for members and one for guests ..but not by a portal .. i put it at every page of my forum .. i did it by widgets ..
take a look :
http://hidecodesgalore.forumotion.net/forum.htm
there will be a different floating bar if you are a registered member already .
ps. i dont have/bought any credits yet .. T_T
i already had solution to my problem . i managed to do different scripts one for members and one for guests ..but not by a portal .. i put it at every page of my forum .. i did it by widgets ..
take a look :
http://hidecodesgalore.forumotion.net/forum.htm
there will be a different floating bar if you are a registered member already .
ps. i dont have/bought any credits yet .. T_T
Re: Determine whether a user is logged in
Since this problem appears to be resolved, I will lock this topic now.
=> Locked
=> Locked
Nessa- Energetic
- Posts : 6203
Reputation : 128
Language : English
Similar topics
» A way to tell if the user is logged in?
» BEGIN switch user logged out in html pages??
» User gets logged out when trying to post
» pun-visit 'welcome, user' instead of 'logged in as'
» how determine character amount username
» BEGIN switch user logged out in html pages??
» User gets logged out when trying to post
» pun-visit 'welcome, user' instead of 'logged in as'
» how determine character amount username
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum