Nick(NR) Moderator


 Virtual Cash: 15760
Joined: 06 May 2006 Posts: 4743
Location: Medway, Kent Add Karma
 rated by 37 members
Add Comment
Show Comments
 |
Posted: Sat Jul 29, 2006 6:47 pm Post subject: Hiding you portals, until the member logs in? *update* |
|
|
This can't be done by using the portal tutorial Here
I believe there is a way to do this, I'll work on it and inform you if it works and I'll try and get a walkthrough up as well. _________________ CALM TIME: When calm time is called, all posters in a topic must take time out to calm down.
I'm better than Jose! |
|
| Back to top |
|
 |
Viper Moderator


 Virtual Cash: 1480
Joined: 20 Sep 2005 Posts: 2012
Add Karma
 rated by 6 members
Add Comment
Show Comments
 |
Posted: Mon Jul 31, 2006 2:01 pm Post subject: |
|
|
I have found a way to hide the portal when you are a guest, but when logged in, it screws everything up.
|
|
| Back to top |
|
 |
Nick(NR) Moderator


 Virtual Cash: 15760
Joined: 06 May 2006 Posts: 4743
Location: Medway, Kent Add Karma
 rated by 37 members
Add Comment
Show Comments
 |
Posted: Tue Aug 01, 2006 9:37 am Post subject: |
|
|
| Viper wrote: | | I have found a way to hide the portal when you are a guest, but when logged in, it screws everything up. |
Viper already worked it out, sort of
I'm still gonna tweak it as it's for a login box.
The login box disappears when logged in and the other portals move up, I will hopefully get it to switch over to the who's online info when logged in. hopefully admin will improve upon what I'll finish up with. _________________ CALM TIME: When calm time is called, all posters in a topic must take time out to calm down.
I'm better than Jose! |
|
| Back to top |
|
 |
admin (no pm's please) Site Admin


 Virtual Cash: 24210
Joined: 22 May 2005 Posts: 25515
Add Karma
 rated by 214 members
Add Comment
Show Comments
 |
Posted: Tue Aug 01, 2006 9:48 am Post subject: |
|
|
I have had problems with switches myself Some of it may be that switches will only ever work in certain contexts. This is down to the phpbb template code. We have done a little keyhole surgery on this code to make the portal work, but we would be foolish to try and completely rewrite it.
We have to find a good compromise between adding the facilities and keeping the code as close to stand phpbb as possible.
If that means some tricks with switches are not possible, then that is something we may have to live with.
phpbb has a whole community dedicated to maintaining the code, we are close enough to standard to be a part of that. If we were to drift too far, then we would have much more work to do! _________________
Family Friendly Shareware | | Web Design/Services | Free Forums
|
|
| Back to top |
|
 |
Viper Moderator


 Virtual Cash: 1480
Joined: 20 Sep 2005 Posts: 2012
Add Karma
 rated by 6 members
Add Comment
Show Comments
 |
Posted: Tue Aug 01, 2006 11:51 am Post subject: |
|
|
Done it, and it all seems to work fine (from what I can see). It can be seen Here. Use:
Username: test
Password: test
to log in.
|
|
| Back to top |
|
 |
Nick(NR) Moderator


 Virtual Cash: 15760
Joined: 06 May 2006 Posts: 4743
Location: Medway, Kent Add Karma
 rated by 37 members
Add Comment
Show Comments
 |
Posted: Mon Aug 07, 2006 10:35 am Post subject: |
|
|
| Viper wrote: | Done it, and it all seems to work fine (from what I can see). It can be seen Here. Use:
Username: test
Password: test
to log in. |
Let me guess, you used the login switches inside the cms files? _________________ CALM TIME: When calm time is called, all posters in a topic must take time out to calm down.
I'm better than Jose! |
|
| Back to top |
|
 |
blakelives0312 Apprentice


Joined: 15 Dec 2006 Posts: 119
Location: Houston, Texas Add Karma
 rated by 0 members
Add Comment
Show Comments
 |
Posted: Thu Dec 21, 2006 6:16 pm Post subject: |
|
|
*in borat accent* itsa verry nice.
and i am SURE that you used "switch_user_logged_in" in overal_header.tpl, in fact i believe i can recreate that... but i dont want too seeing as I love my forum. _________________ -still only a n00b

|
|
| Back to top |
|
 |
Manz Craftsman

Virtual Cash: 1270
Joined: 27 Dec 2006 Posts: 272
Add Karma
 rated by 3 members
Add Comment
Show Comments
 |
Posted: Sat Aug 25, 2007 9:43 am Post subject: |
|
|
| Viper wrote: | Done it, and it all seems to work fine (from what I can see). It can be seen Here. Use:
Username: test
Password: test
to log in. |
how do you do it?
i tried begin switch user logged in etc.. but it didnt work...  _________________ http://prisonbreak.myfreeforum.org
http://prisonbreakforum.co.uk
www.prisonbreakforum.co.uk |
|
| Back to top |
|
 |
admin (no pm's please) Site Admin


 Virtual Cash: 24210
Joined: 22 May 2005 Posts: 25515
Add Karma
 rated by 214 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
perthtruebluetwo Craftsman


Virtual Cash: 1810
Joined: 26 May 2007 Posts: 277
Add Karma
 rated by 0 members
Add Comment
Show Comments
 |
Posted: Thu Oct 22, 2009 4:26 pm Post subject: |
|
|
Is this possible to do admin, hiding the portals until someone logs in? _________________
|
|
| Back to top |
|
 |
admin (no pm's please) Site Admin


 Virtual Cash: 24210
Joined: 22 May 2005 Posts: 25515
Add Karma
 rated by 214 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |