Statistik |
Beiträge: 144.534 (Täglich: 19,19 )
Themen: 16.701
Mitglieder: 13.209
Neuestes Mitglied: zitronentee.
Ausl. d. letzten Minute: 133%
Ausl. d. letzten 5 Minuten: 158%
Ausl. d. letzten 15 Minuten: 264%
Aktulle Uhrzeit: 06:25
Freier Webspace: 4.04 TB
PHP-Version: 7.4.33
|
|
|
|
|
Navigationsbox |
|
Hallo
ich habe da mal eine frage wie kann ich es machen wenn ich eine navigationsbox erstelle und gewisse link z.b galerie, chat nur angezeigt werden wenn die leute registriert sind. kann mir da einer weiter helfen?
Mfg Hans170854
|
|
23.09.2006 15:33 |
|
|
|
Einfach den Link in eine if Abfrage legen.
Hier ein Beispiel:
code: |
1:
|
<if($wbbuserdata[userid])><then>HIER KOMT DER CODE FÜR DEN LINK REIN</then></if> |
|
|
|
23.09.2006 17:36 |
|
|
|
habe vergessen das ich das in einer Tabelle habe und das geht bei mir irgendwie nicht mit der if abfrage. Wo muss ich die da einfügen damit die tabelle nur angezeigt wird bei regestrierten Membern
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
|
<tr><td width="100%" class="tablecat" colspan="10" align="left"><span class="smallfont">
<b>Kontrollzentrum</b>
</span></td></tr>
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="usercp.php{SID_ARG_1ST}">Profileinstellungen</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="usercp.php?action=buddy_list{SID_ARG_1ST}">Buddyliste</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="jgs_galerie.php{SID_ARG_1ST}">Galerie</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="jgs_chat.php{SID_ARG_1ST}">Chat</a><br />
</span></center></td>
</tr>
</table>
|
|
|
|
24.09.2006 14:17 |
|
|
janolaf
wBB2-User
Zeige janolaf auf Karte
Dabei seit: 23.05.2004
Beiträge: 1.918
2 Filebase-Einträge
Alter: 59 Jahre
Herkunft: nahe bei Kölle wBB-Version: wBB2.3 PHP-Version: 5.2.6 MySQL-Version: 5.0.26 Wo bist du gehostet?: selbst ist der Mann
Bewertung:
Level: 52 [?]
Erfahrungspunkte: 13.904.409
Nächster Level: 16.259.327
|
|
hallo Hans170854 ,
probier mal so:
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
|
<tr>
<if($wbbuserdata['userid'])><then>
<td width="100%" class="tablecat" colspan="10" align="left"><span class="smallfont">
<b>Kontrollzentrum</b>
</span></td></tr>
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="usercp.php{SID_ARG_1ST}">Profileinstellungen</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="usercp.php?action=buddy_list{SID_ARG_1ST}">Buddyliste</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="jgs_galerie.php{SID_ARG_1ST}">Galerie</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="jgs_chat.php{SID_ARG_1ST}">Chat</a><br />
</span></center></td>
</then></if>
</tr>
</table>
|
|
gruß janolaf
__________________ wenn du total verliebt in zwei glänzende augen schaust, vergewissere dich ,
ob es nicht nur die sonne ist, die durch den hohlen schädel scheint.
|
|
24.09.2006 14:29 |
|
|
|
irgendwie macht der das aber nicht. Der zeigt mir als gast immer noch die tabelle an?
Mfg Hans
|
|
24.09.2006 17:12 |
|
|
janolaf
wBB2-User
Zeige janolaf auf Karte
Dabei seit: 23.05.2004
Beiträge: 1.918
2 Filebase-Einträge
Alter: 59 Jahre
Herkunft: nahe bei Kölle wBB-Version: wBB2.3 PHP-Version: 5.2.6 MySQL-Version: 5.0.26 Wo bist du gehostet?: selbst ist der Mann
Bewertung:
Level: 52 [?]
Erfahrungspunkte: 13.904.409
Nächster Level: 16.259.327
|
|
gib mir mal bitte nen link dorthin , dann kann ich mir das besser anschauen.
__________________ wenn du total verliebt in zwei glänzende augen schaust, vergewissere dich ,
ob es nicht nur die sonne ist, die durch den hohlen schädel scheint.
|
|
24.09.2006 17:13 |
|
|
|
www.6otikum.de
Auf der rechten seite ist die Menüübersicht und dort möchte ich das ab dem Kontrollzentrum das nur angezeigt wird wenn man registriert ist.
Danke
Mfg Hans
|
|
24.09.2006 17:34 |
|
|
janolaf
wBB2-User
Zeige janolaf auf Karte
Dabei seit: 23.05.2004
Beiträge: 1.918
2 Filebase-Einträge
Alter: 59 Jahre
Herkunft: nahe bei Kölle wBB-Version: wBB2.3 PHP-Version: 5.2.6 MySQL-Version: 5.0.26 Wo bist du gehostet?: selbst ist der Mann
Bewertung:
Level: 52 [?]
Erfahrungspunkte: 13.904.409
Nächster Level: 16.259.327
|
|
ohm ja....
dann ist der code , den du oben gepostet hast , aber nicht der , der dort jetzt aktuell drin ist.
denn die aufteilung sieht ja momentan doch nen bissel anders aus
aber (laut deinem oben gepostetem code) probier das mal :
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
|
<tr>
<if($wbbuserdata['userid'])><then>
<tr class="tabletitle">
<td width="100%" class="tablecat" colspan="10" align="left"><span class="smallfont"><b>Kontrollzentrum</b><br />
</span>
</td>
</tr>
<tr>
<td class="tablea" align="left" valign="top"><span class="normalfont">
» <a href="usercp.php{SID_ARG_1ST}">Profileinstellungen</a><br />
» <a href="usercp.php?action=buddy_list{SID_ARG_1ST}">Buddyliste</a><br />
» <a href="jgs_galerie.php{SID_ARG_1ST}">Galerie</a><br />
» <a href="jgs_chat.php{SID_ARG_1ST}">Chat</a><br />
</span>
</td>
</tr>
</then></if>
</tr>
</table>
|
|
__________________ wenn du total verliebt in zwei glänzende augen schaust, vergewissere dich ,
ob es nicht nur die sonne ist, die durch den hohlen schädel scheint.
|
|
24.09.2006 17:43 |
|
|
|
der oben angegebenen code ist der code den ich im acp eingetragen. Damit immer die striche unter dem text sind und damit die tabelle in einem durch geht.
Und der code von dir geht auch nicht ich sehe als gast immer noch das kontrollzentrum und die striche sind jetzt weg unter dem text.
Mfg Hans
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top" width="20%"><table cellpadding="4" cellspacing="1" border="0" style="width:100%" class="tableinborder">
</tr><tr><td width="100%" class="tablecat" colspan="10" align="left"><span class="smallfont">
<b>Swingerclub Gerlinde</b>
</span></td></tr>
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="board.php?boardid=1{SID_ARG_1ST}">Club Info</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="calendar.php?action=eventcalendar&sid={SID_ARG_1ST}">Mottofeten</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="board.php?boardid=22{SID_ARG_1ST}">Räumlichkeiten</a><br>
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="board.php?boardid=7{SID_ARG_1ST}">Partytage / Kosten</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="thread.php?threadid=19{SID_ARG_2ND}">Anfahrt</a><br>
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="thread.php?threadid=19{SID_ARG_2ND}">Unsere Banner</a><br>
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="misc.php?action=imprint{SID_ARG_2ND}">Impressum</a>
<tr>
<td width="100%" class="tablecat" colspan="10" align="left"><span class="smallfont">
<b>Kontrollzentrum</b>
</span></td></tr>
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="usercp.php{SID_ARG_1ST}">Profileinstellungen</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="usercp.php?action=buddy_list{SID_ARG_1ST}">Buddyliste</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="jgs_galerie.php{SID_ARG_1ST}">Schwarzeliste</a><br />
</span></center></td>
</tr>
<td width="100%" class="tablecat" colspan="10" align="left"><span class="smallfont">
<b>Userbereich</b>
</span></td></tr>
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="team.php{SID_ARG_1ST}">Team</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="board.php?boardid=2{SID_ARG_1ST}">Regeln</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="jgs_galerie.php{SID_ARG_1ST}">Galerie</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="jgs_chat.php{SID_ARG_1ST}">Chat</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="club_map.php{SID_ARG_1ST}">Clubmap</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="map.php{SID_ARG_1ST}">Usermap</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="search.php?searchid=222{SID_ARG_1ST}">Neues imForum</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="misc.php?action=faq{SID_ARG_1ST}">Häufig gestellte Fragen</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="board.php?boardid=12{SID_ARG_1ST}">Userrvorstellung</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="usercp.php{SID_ARG_1ST}">Umfrage</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="usercp.php{SID_ARG_1ST}">Spiele</a><br />
</span></center></td>
</table> |
|
Das ist mein code aus dem acp
|
|
24.09.2006 18:06 |
|
|
janolaf
wBB2-User
Zeige janolaf auf Karte
Dabei seit: 23.05.2004
Beiträge: 1.918
2 Filebase-Einträge
Alter: 59 Jahre
Herkunft: nahe bei Kölle wBB-Version: wBB2.3 PHP-Version: 5.2.6 MySQL-Version: 5.0.26 Wo bist du gehostet?: selbst ist der Mann
Bewertung:
Level: 52 [?]
Erfahrungspunkte: 13.904.409
Nächster Level: 16.259.327
|
|
ich weiss bald nicht mehr weiter, aber einen hab ich noch
probier mal bitte :
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top" width="20%"><table cellpadding="4" cellspacing="1" border="0" style="width:100%" class="tableinborder">
</tr><tr><td width="100%" class="tablecat" colspan="10" align="left"><span class="smallfont">
<b>Swingerclub Gerlinde</b>
</span></td></tr>
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="board.php?boardid=1{SID_ARG_1ST}">Club Info</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="calendar.php?action=eventcalendar&sid={SID_ARG_1ST}">Mottofeten</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="board.php?boardid=22{SID_ARG_1ST}">Räumlichkeiten</a><br>
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="board.php?boardid=7{SID_ARG_1ST}">Partytage / Kosten</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="thread.php?threadid=19{SID_ARG_2ND}">Anfahrt</a><br>
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="thread.php?threadid=19{SID_ARG_2ND}">Unsere Banner</a><br>
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="misc.php?action=imprint{SID_ARG_2ND}">Impressum</a>
<if($wbbuserdata['userid'])><then>
<tr>
<td width="100%" class="tablecat" colspan="10" align="left"><span class="smallfont">
<b>Kontrollzentrum</b>
</span></td></tr>
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="usercp.php{SID_ARG_1ST}">Profileinstellungen</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="usercp.php?action=buddy_list{SID_ARG_1ST}">Buddyliste</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="jgs_galerie.php{SID_ARG_1ST}">Schwarzeliste</a><br />
</span></center></td>
</tr>
<td width="100%" class="tablecat" colspan="10" align="left"><span class="smallfont">
<b>Userbereich</b>
</span></td></tr>
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="team.php{SID_ARG_1ST}">Team</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="board.php?boardid=2{SID_ARG_1ST}">Regeln</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="jgs_galerie.php{SID_ARG_1ST}">Galerie</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="jgs_chat.php{SID_ARG_1ST}">Chat</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="club_map.php{SID_ARG_1ST}">Clubmap</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="map.php{SID_ARG_1ST}">Usermap</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="search.php?searchid=222{SID_ARG_1ST}">Neues imForum</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="misc.php?action=faq{SID_ARG_1ST}">Häufig gestellte Fragen</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="board.php?boardid=12{SID_ARG_1ST}">Userrvorstellung</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="usercp.php{SID_ARG_1ST}">Umfrage</a><br />
<tr><td width="100%" class="tablea">
<span class="normalfont">» <a href="usercp.php{SID_ARG_1ST}">Spiele</a><br />
</span></center></td>
</then></if>
</table>
|
|
__________________ wenn du total verliebt in zwei glänzende augen schaust, vergewissere dich ,
ob es nicht nur die sonne ist, die durch den hohlen schädel scheint.
|
|
24.09.2006 18:24 |
|
|
|
Es geht auch nicht
kann es denn an den rechten der box liegen?
|
|
24.09.2006 18:41 |
|
|
janolaf
wBB2-User
Zeige janolaf auf Karte
Dabei seit: 23.05.2004
Beiträge: 1.918
2 Filebase-Einträge
Alter: 59 Jahre
Herkunft: nahe bei Kölle wBB-Version: wBB2.3 PHP-Version: 5.2.6 MySQL-Version: 5.0.26 Wo bist du gehostet?: selbst ist der Mann
Bewertung:
Level: 52 [?]
Erfahrungspunkte: 13.904.409
Nächster Level: 16.259.327
|
|
jetzt hab ich die lösung.
so in der art wie jetzt , mit ner "einfachen" mod-box klappt das nicht.
ich habs eben bei mir getestet und so geht's.
alsooo , folgendes:
--> acp
--> template erstellen
name des templates
--> hm_ownbox_menue
inhalt des templates
--> mein zuletzt geposteter code
SPEICHERN
jetzt:
--> HM-Portal - Neue Box erstellen
--> Frei editierbare Box
angeben , wo die box hin soll (also links , rechts.... spalte 1 oder 38 oder ....was weiss ich)
klicken auf
--> neue box erstellen
jetzt siehst du die neue box schon im boxenkonfigurator.
dort gibst du der box den titel
--> Menü Ubersicht
jetzt bei
--> Boxinhalt:
nur noch auf
--> Anschauen/Ändern ...
klicken, und dort alles raus löschen und als inhalt nur
--> hm_ownbox_menue
eintragen
SPEICHERN
FERTIG
__________________ wenn du total verliebt in zwei glänzende augen schaust, vergewissere dich ,
ob es nicht nur die sonne ist, die durch den hohlen schädel scheint.
|
|
24.09.2006 19:07 |
|
|
janolaf
wBB2-User
Zeige janolaf auf Karte
Dabei seit: 23.05.2004
Beiträge: 1.918
2 Filebase-Einträge
Alter: 59 Jahre
Herkunft: nahe bei Kölle wBB-Version: wBB2.3 PHP-Version: 5.2.6 MySQL-Version: 5.0.26 Wo bist du gehostet?: selbst ist der Mann
Bewertung:
Level: 52 [?]
Erfahrungspunkte: 13.904.409
Nächster Level: 16.259.327
|
|
hmm, gute frage ... nächste frage
ich hab grad mal probiert den titel der box so zu achreiben:
<if($wbbuserdata[userid])><then>Menü Ubersicht</then><else>Gäste Menü</else></if>
aber dann steht beides nebeneinander , egal ob eingeloggt oder nicht.
sorry ,
aber da muss ich jetzt echt passen .
das bekomm ich irgendwie nicht hin.
einzige möglichkeit, die ich sehe ...
2 boxen machen...
einmal sichtbar nur für gäste
und die andere eben für user.
wobei in die gästebox dann natürlich nur die links reinkommen , die die gäste auch sehen sollen/dürfen.
__________________ wenn du total verliebt in zwei glänzende augen schaust, vergewissere dich ,
ob es nicht nur die sonne ist, die durch den hohlen schädel scheint.
|
|
24.09.2006 19:39 |
|
|
|
ja alles klar danke für deine Arbeit
Mfg Hans
|
|
24.09.2006 20:18 |
|
|
|
|
|
|