4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 21, 2014, 10:05:33 AM

Login with username, password and session length
Search:     Advanced search
Check the new Tutorial subforum with helpfull guides and tutorials for modifications and tweaks.
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Issues / Ausgaben
| |-+  Discussion & Troubleshooting (Moderators: Acidgod, ivan, Rembrandt)
| | |-+  Userbox nur für Mitglieder sichtbar
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Userbox nur für Mitglieder sichtbar  (Read 1315 times)
Allround
Jr. Member
**
Offline Offline

Posts: 59

Thank You
-Given: 0
-Receive: 0


View Profile
« on: November 24, 2012, 06:44:47 PM »

Hallo,

da ich einen separaten Login Link und separate Login Seite habe, macht das die User Box für Gäste sinnlos. Allerdings nicht für einegloggte, weil da ja Kontrollbereich und Leuchtkasten Link angezeigt wird.

Nun meine Frage. Kann man die Userbox nur für eingeloggte User sichtbar machen?

MfG
Logged
Rembrandt
Moderator
4images Guru
*****
Offline Offline

Posts: 4056

Thank You
-Given: 105
-Receive: 850

Vienna


View Profile WWW
« Reply #1 on: November 24, 2012, 07:19:00 PM »

Hi!

Suche in all deinen Haupt html files, home, categories, details, search, member:´
1
2
3
4
5
6
7
8
9
10
11
12
13
14
                  <table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td class="head2" height="20"><img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_registered_user}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                    <tr>
                      <td align="center" class="row1">{user_box}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                  </table>
und ersetze es mit:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
                  {if user_loggedin}
                  <table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td class="head2" height="20"><img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_registered_user}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                    <tr>
                      <td align="center" class="row1">{user_box}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                  </table>
                  {endif user_loggedin}

mfg Andi
Logged

Meine 4Images Modifikationen  Now over 100 Modification Online!    Meine 4images Demo Seite


Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Allround
Jr. Member
**
Offline Offline

Posts: 59

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #2 on: November 24, 2012, 08:17:55 PM »

{if user_loggedin} + {endif user_loggedin}  ist quasi dafür verantwortlich.. kann man das bei allem verwenden innerhalb des Templates? Zum Beispiel auch Links, Banner, u.a.?
Logged
Rembrandt
Moderator
4images Guru
*****
Offline Offline

Posts: 4056

Thank You
-Given: 105
-Receive: 850

Vienna


View Profile WWW
« Reply #3 on: November 24, 2012, 08:22:26 PM »

ja sicher du kannst auch schreiben:
{ifnot user_loggedin} ... {endifnot user_loggedin}

das gleiche mit admin:

{if is_admin} ... {endif is_admin}
oder
{ifnot is_admin} ... {endifnot is_admin}

mfg Andi
Logged

Meine 4Images Modifikationen  Now over 100 Modification Online!    Meine 4images Demo Seite


Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.168 seconds with 20 queries.