Home · Links · Contact Us
Home arrow Forums
Home
Features
FAQ
Screen Shots
Modules
Themes
Demos
Documentation
Forums
Contact Us
Download
Purchase
Quotes

" ... I want to tell you that your thyme product is functional and valuable beyond words. I cannot imagine why any portal would be without it. It is the cornerstone of our new project ..."

" ... Thanks for such a complete project, its making my job much easier. ..."

" ... I have now deployed 4 different calendars and our users love them ... "

" ... Easy to install and use and a great look/design. ..."

" ... This has to be the easiest to use program I think I've had to deal with at all this year. ..."


  FAQFAQ    SearchSearch  RegisterRegister   Log inLog in 
Logout doesn't appear

 
Post new topic   Reply to topic     Forum Index -> Hacking Thyme
View previous topic :: View next topic  
Author Message
vinsp



Joined: 24 Jul 2008
Posts: 7

PostPosted: Wed Aug 06, 2008 6:20 pm    Post subject: Logout doesn't appear Reply with quote

Hi,

I am using the remove login from the menu as described in this forum. I use a custom login page. All is working just fine. However, after logging in the logut > username doesn't appear in the bottom menu. The only way to log out is to close the page.

Thank you for your help
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Wed Aug 06, 2008 6:24 pm    Post subject: Reply with quote

Hi,

Removing the login link also removes the logout link. I assume you only want to remove the log in link?
Back to top
View user's profile Send private message Visit poster's website
vinsp



Joined: 24 Jul 2008
Posts: 7

PostPosted: Wed Aug 06, 2008 7:11 pm    Post subject: Logout doesn't appear Reply with quote

Yes, that is correct. What I am trying to accomplish is not to present the login link to a public viewed calendar but have our calendar users go through the login.php page. As I mentioned ealier, all is working fine except the logged in user has to exit the page to logout. Any way around this?
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Wed Aug 06, 2008 7:27 pm    Post subject: Reply with quote

Hi,

Yes, this is possible with some code hacking. Restore index.php from a backup or undo the change that you had done to remove the login link. Then change line 555 from this:

} else {

.. to this ..

} else if(false) {

Let me know if you have any questions / trouble.
Back to top
View user's profile Send private message Visit poster's website
vinsp



Joined: 24 Jul 2008
Posts: 7

PostPosted: Thu Aug 07, 2008 1:51 pm    Post subject: Logout doesn't appear Reply with quote

Hi,

The code you supplied actually put the login link back on the public view calendar. What I am trying to do is basically force all calendar admins to use a login page that directs them to the index.php and not have the general public see the login link.

I was successful in removing the login link from the public view calendars and all is working great using the login.php approach, except for once a calendar admin logs in they do not see a logout link.

Is there anyway to accomplish this?

In the same area around line 555 can the users level of access be checked? i.e. if not "normal" or admin do not show links?

Thank you for your help
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Mon Aug 11, 2008 6:35 pm    Post subject: Reply with quote

Hi,

Could you please e-mail me your index.php in reference to this post? ian@extros...
Back to top
View user's profile Send private message Visit poster's website
adr894



Joined: 24 Sep 2008
Posts: 5

PostPosted: Sat Oct 18, 2008 4:32 am    Post subject: Reply with quote

Hi Ian,
In my index.php file, I found this on line 554. I made the suggested change and only got a blank screen. I too would like to remove the 'log in' option and have the 'log out' option appear if I'm logged in...
Thanks for all your support Smile

P.S. Is there another page in the forums describing how to customize the actual login.php page?
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Sat Oct 18, 2008 3:46 pm    Post subject: Reply with quote

Hi,

Please also send me your index.php file.

Customizing the login screen is described here.

Let me know if you have any questions / trouble.
Back to top
View user's profile Send private message Visit poster's website
adr894



Joined: 24 Sep 2008
Posts: 5

PostPosted: Sat Oct 18, 2008 5:29 pm    Post subject: Reply with quote

Ian,
THANKS again...

Being able to change the login screen is fine for me...I don't need to remove the login option any longer..
Thanks again as always,
Adam
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Hacking Thyme All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
© 2005 eXtrovert software unless otherwise noted. All rights reserved.
Portions © 2004 Ben Brown. All rights reserved.
Trademarks are property of their respective owners.