Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Hiding IM Contacts And Bithdays From Guests 
 
Hello is it possible to hide IM contacts and birthday from guests   I would like that only registered users could see them...

thank you
 



 
LordCSend private message  
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: Hiding IM Contacts And Bithdays From Guests 
 
use switches in .tpl

ex. for contacts

Code: [Download] [Hide] [Select]
<!-- BEGIN switch_user_logged_in -->
<tr>
    <td align="left" width="8">{IMG_NAV_MENU_SEP}</td>
    <td class="genmed" align="left"><a href="{U_CONTACT_US}">{L_CONTACT_US}</a></td>
</tr>
<!-- END switch_user_logged_in -->

 




____________
*VOLVO CLUB*
 
difusSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Hiding IM Contacts And Bithdays From Guests 
 
for contacts and birthdays in which file I have to insert that lines?

thank you
 



 
LordCSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Hiding IM Contacts And Bithdays From Guests 
 
for contacts


OPEN nav_quick_links.tpl
FIND
Code: [Download] [Hide] [Select]
<tr>
    <td align="left" width="8">{IMG_NAV_MENU_SEP}</td>
    <td class="genmed" align="left"><a href="{U_CONTACT_US}">{L_CONTACT_US}</a></td>
</tr>

REPLACE WITH
Code: [Download] [Hide] [Select]
<!-- BEGIN switch_user_logged_in -->
<tr>
    <td align="left" width="8">{IMG_NAV_MENU_SEP}</td>
    <td class="genmed" align="left"><a href="{U_CONTACT_US}">{L_CONTACT_US}</a></td>
</tr>
<!-- END switch_user_logged_in -->

 




____________
*VOLVO CLUB*
 
difusSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Hiding IM Contacts And Bithdays From Guests 
 
birthdays are shown in mini calendar and the forum
which you want to hide ?
 




____________
*VOLVO CLUB*
 
difusSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Hiding IM Contacts And Bithdays From Guests 
 
Both... I want that only registered users can see birthdays  thx
 



 
LordCSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Hiding IM Contacts And Bithdays From Guests 
 
for mini calendar. you can edit it in CMS to view only registered users
also
you can try this

OPEN templates/mg_themes/mini_cal_body.tpl
FIND
Code: [Download] [Hide] [Select]
<tr><td colspan="7" class="row1" align="left"><span class="gensmall">{L_LESO}{L_WHOSBIRTHDAY_TODAY}</span></td></tr>
<tr><td colspan="7" class="row1" align="left"><span class="gensmall">{L_WHOSBIRTHDAY_WEEK}</span></td></tr>

REPLACE WITH
Code: [Download] [Hide] [Select]
<!-- BEGIN switch_user_logged_in -->
<tr><td colspan="7" class="row1" align="left"><span class="gensmall">{L_LESO}{L_WHOSBIRTHDAY_TODAY}</span></td></tr>
<tr><td colspan="7" class="row1" align="left"><span class="gensmall">{L_WHOSBIRTHDAY_WEEK}</span></td></tr>
<!-- END switch_user_logged_in -->



for forum

OPEN templates/mg_themes/index_body.tpl
FIND
Code: [Download] [Hide] [Select]
<!-- BEGIN switch_show_birthday -->
{IMG_THL}{IMG_THC}<a href="{U_CALENDAR}" class="forumlink">{L_BIRTHDAYS}</a>{IMG_THR}<table class="forumlinenb" width="100%" cellspacing="0" cellpadding="0">
    <tr>
        <td class="row1 row-center" rowspan="2" width="95" valign="middle"><center><img src="{BIRTHDAY_IMG}" alt="" /></center></td>
        <td class="row1"><span class="gensmall">{L_WHOSBIRTHDAY_TODAY}<br />{L_WHOSBIRTHDAY_WEEK}<br /></span></td>
    </tr>
</table>{IMG_TFL}{IMG_TFC}{IMG_TFR}
<!-- END switch_show_birthday -->

REPLACE WITH
Code: [Download] [Hide] [Select]
<!-- BEGIN switch_user_logged_in -->
{IMG_THL}{IMG_THC}<a href="{U_CALENDAR}" class="forumlink">{L_BIRTHDAYS}</a>{IMG_THR}<table class="forumlinenb" width="100%" cellspacing="0" cellpadding="0">
    <tr>
        <td class="row1 row-center" rowspan="2" width="95" valign="middle"><center><img src="{BIRTHDAY_IMG}" alt="" /></center></td>
        <td class="row1"><span class="gensmall">{L_WHOSBIRTHDAY_TODAY}<br />{L_WHOSBIRTHDAY_WEEK}<br /></span></td>
    </tr>
</table>{IMG_TFL}{IMG_TFC}{IMG_TFR}
<!-- END switch_user_logged_in -->

 




____________
*VOLVO CLUB*
 
difusSend private messageVisit poster's website  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  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