Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post How To Do Zones Only Visible To Logged Users? 
 
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.
 




____________
My 2 IP Forums:
ModMovil: Motorola, Nokia, SonyEricsson
 
tiolaluSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: How To Do Zones Only Visible To Logged Users? 
 
Try MG_SWICH

Then trun on and off the ligths at MG's house   
 



 
novice programmerSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 




____________
My 2 IP Forums:
ModMovil: Motorola, Nokia, SonyEricsson
 
tiolaluSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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....
 



 
novice programmerSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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).
 




____________
My 2 IP Forums:
ModMovil: Motorola, Nokia, SonyEricsson
 
tiolaluSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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:
Code: [Download] [Hide] [Select]
<!-- IF S_LOGGED_IN -->
YOUR CODE
<!-- ELSE --->
YOUR CODE
<!-- ENDIF -->

 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: SOLVED - How To Do Zones Only Visible To Logged Users? 
 
Mighty Gorgon, aha!

Thanks very much MG, I will try that   .
 




____________
My 2 IP Forums:
ModMovil: Motorola, Nokia, SonyEricsson
 
tiolaluSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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! .

PD: I don't know how to create another variables to create new switches, but this solution works perfectly for me .
 




____________
My 2 IP Forums:
ModMovil: Motorola, Nokia, SonyEricsson
 
tiolaluSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: SOLVED - How To Do Zones Only Visible To Logged Users? 
 
Great!
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You 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


  

 

  cron