I have modified the viewtopic_body and the album_index_body.tlp to do some parts of the page only visibles to logged users through inserting: <!-- BEGIN switch_user_logged_in --> (and END blablabla), but they don't work.
What may I do to make this code work?
Thanks.
SOLVED How To Do Zones Only Visible To Logged Users?
Subject: Re: How To Do Zones Only Visible To Logged Users?
Try MG_SWICH
Then trun on and off the ligths at MG's house :LOL: :LOL:
Then trun on and off the ligths at MG's house :LOL: :LOL:
Subject: Re: How To Do Zones Only Visible To Logged Users?
I had took this code from another part of the code in the overall header.
Subject: Re: How To Do Zones Only Visible To Logged Users?
Ok, tagging solved...
Which was the answer?
I guess you did not set "reg" at the CMS....
Which was the answer?
I guess you did not set "reg" at the CMS....
Subject: Re: SOLVED - How To Do Zones Only Visible To Logged Users?
I dont' know the answer yet xD, I tried with this code I took from overall_header (so it works) but it don't work in the viewtopic_body (As I remember, that is the file which you can modify the avatar, user info, and signs).
Subject: Re: SOLVED - How To Do Zones Only Visible To Logged Users?
If it is not working it is because you are trying to use that switch within another switch... and it is not going to work.
You need to create another variable in your php file.
If you are using MG_THEMES you can use this:
You need to create another variable in your php file.
If you are using MG_THEMES you can use this:
Subject: Re: SOLVED - How To Do Zones Only Visible To Logged Users?
Mighty Gorgon, aha!
Thanks very much MG, I will try that :mrblue: .
Thanks very much MG, I will try that :mrblue: .
Subject: Re: SOLVED - How To Do Zones Only Visible To Logged Users?
Mighty Gorgon, I have been busy and ill, but I have tried now and it works perfectly! :D .
PD: I don't know how to create another variables to create new switches, but this solution works perfectly for me ;) .
PD: I don't know how to create another variables to create new switches, but this solution works perfectly for me ;) .
Page 1 of 1
You cannot post new topicsYou cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 0.088s (PHP: 21% SQL: 79%)
SQL queries: 10 - Debug Off - GZIP Enabled