Haumis wbb hilfe (http://haumis-wbb-hilfe.de/wbb2/index.php)
- WBB2 (http://haumis-wbb-hilfe.de/wbb2/board.php?boardid=3)
-- Fragen zum WBB2 (http://haumis-wbb-hilfe.de/wbb2/board.php?boardid=4)
--- Login oben (http://haumis-wbb-hilfe.de/wbb2/thread.php?threadid=74)
Geschrieben von Shivaeye am 22.06.2009 um 19:04:
Login oben
Hallöchen,
ich hab eine Frage, denn ich würde das LogIn des Forums gern nach oben verlegen.
Ich weiß das es machbar ist, nur nicht wie. Ob ihr mir einen Tip geben könnt?
Ich danke Euch!
Anne alias Shivaeye
Geschrieben von nobody am 22.06.2009 um 19:49:
Hi Anne
Die Veränderung muss in dem index.tpl gemacht werden.
Das bedeutet für Dich das du dieses templates VORHER sicherst !!!!!
Nun zum Code.
Suche in dem index.tpl nach:
| 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:
|
<if($wbbuserdata['userid']==0)>
<then>
<br /><a name="login" id="login"></a>
<if($allowloginencryption==1)><then>
<script type="text/javascript" src="js/sha1.js"></script>
<script type="text/javascript" src="js/crypt.js"></script>
</then></if>
<form method="post" action="login.php" name="loginform"<if($allowloginencryption==1)><then> onsubmit="return encryptlogin(this);"</then></if>>
<input type="hidden" name="send" value="send" />
<input type="hidden" name="sid" value="$session[hash]" />
<if($allowloginencryption==1)><then>
<input type="hidden" name="authentificationcode" value="$session[authentificationcode]" />
<input type="hidden" name="crypted" value="false" /></then></if>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tabletitle" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_LOGIN']}</b></span></td>
</tr>
<tr>
<td class="tableb"><table cellpadding="0" cellspacing="5" align="center" class="tableb_fc">
<tr>
<td><span class="smallfont">{$lang->items['LANG_START_USERNAME']}</span></td>
<td><span class="smallfont"><input type="text" name="l_username" maxlength="50" size="20" class="input" tabindex="1" /> </span></td>
<td><span class="smallfont">{$lang->items['LANG_START_PASSWORD']} (<a href="forgotpw.php{$SID_ARG_1ST}">{$lang->items['LANG_START_LOSTPW']}</a>):</span></td>
<td><span class="smallfont"><input type="password" name="l_password" maxlength="30" size="20" class="input" tabindex="2" /> </span></td>
<if($allowloginencryption==1)><then>
<td><span class="smallfont"><label for="checkbox1">{$lang->items['LANG_GLOBAL_ENCRYPT_TRANSFER']}</label></span></td>
<td><span class="smallfont"><input type="checkbox" id="checkbox1" name="activateencryption" onclick="activate_loginencryption(document.loginform);" /> </span></td></then></if>
<td><input type="submit" value="{$lang->items['LANG_START_LOGIN']}" class="input" tabindex="3" /></td>
</tr>
</table></td>
</tr>
</table></form>
<if($allowloginencryption==1)><then>
<script type="text/javascript">
<!--
activate_loginencryption(document.loginform);
//-->
</script></then></if>
</then>
</if> |
|
Füge diesen code dann dort ein wo der login sein sollte.
Dann TESTEN ob es geht !!!
Wenn es dann läuft kann der Codeteil der ja auch noch unten ist gelöscht werden.
nobody
Geschrieben von Shivaeye am 25.06.2009 um 13:05:
Hallöchen nobody
Das:
| Zitat: |
| Das bedeutet für Dich das du dieses templates VORHER sicherst !!!!! |
|
hast du geschrieben, weil Du mich kennst wa? :D
Werde ich natürlich machen :P
und der GANZE Code ist fürs login verantwortlich? Ich frage nur, weil ich ja im index auch hacks habe,....
Geschrieben von nobody am 25.06.2009 um 17:10:
Moin Moin Anne
Der Hinweis mit dem Sichern ist für ALLE und jeden gemeint.
Der Code der jetzt oben eingestellt ist, ist nur für das Login zuständig.
Du kannst das ja einfach austesten und bei nicht gefallen zurück setzen.
nobody
Geschrieben von Shivaeye am 25.06.2009 um 17:45:
Ich fühlte mich so angesprcoehn =)
Aha, d.h. der code oben ist der komplette Inhalt und ich muß ihn an die richtige Stelle setzen?
Geschrieben von Shivaeye am 25.06.2009 um 21:06:
Habe alles gut hinbekommen. Das Logion ist nun oben, sieht bissl komisch aus, weil es so an den Top5 klebt... könnte man das evt. davon abheben?
Und ... als ich das dann unten weggenommen habe fiel mir auf, dass unter dem letzten Forum nun noch eine Klammer ist, so eine >
Ich find die aber nicht... wo ist sie nur zu viel?
EDIT: Hab sie gefunden *lach
Danke noch mal Nobody
Geschrieben von nobody am 25.06.2009 um 22:55:
baue am ende von dem code ein:
<br>
<br/>
dann ist ein zweizeilen abstand wenn der zugroß ist nimm des erste <br> raus
nobody
Geschrieben von Shivaeye am 26.06.2009 um 13:06:
Danke! So sieht es schon iel besser aus!
Danke!
Geschrieben von pasputin am 12.12.2012 um 14:51:
in 2 styles hab ichs gefunden .. nur in einem sieht es so aus :
| 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:
|
<if($wbbuserdata['userid']==0)>
<then>
<br />
<table cellspacing="0" cellpadding="0" border="0" style="width:{$style['tableinwidth']}"><tr>
<td align="left"><img src="{$style['imagefolder']}/obenlinks.gif" alt="" title="" /></td>
<td style="width:100%" class="oben-mitte" align="center"></td>
<td align="right"><img src="{$style['imagefolder']}/obenrechts.gif" alt="" title="" /></td>
</tr></table>
<a name="login" id="login"></a>
<if($allowloginencryption==1)><then>
<script type="text/javascript" src="js/sha1.js"></script>
<script type="text/javascript" src="js/crypt.js"></script>
</then></if>
<form method="post" action="login.php" name="loginform"<if($allowloginencryption==1)><then> onsubmit="return encryptlogin(this);"</then></if>>
<input type="hidden" name="send" value="send" />
<input type="hidden" name="sid" value="$session[hash]" />
<if($allowloginencryption==1)><then>
<input type="hidden" name="authentificationcode" value="$session[authentificationcode]" />
<input type="hidden" name="crypted" value="false" /></then></if>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tabletitle" align="left"><span class="smallfont"><b>{$lang->items['LANG_START_LOGIN']}</b></span></td>
</tr>
<tr>
<td class="tableb"><table cellpadding="0" cellspacing="5" align="center" class="tableb_fc">
<tr>
<td><span class="smallfont">{$lang->items['LANG_START_USERNAME']}</span></td>
<td><span class="smallfont"><input type="text" name="l_username" maxlength="50" size="20" class="input" tabindex="1" /> </span></td>
<td><span class="smallfont">{$lang->items['LANG_START_PASSWORD']} (<a href="forgotpw.php{$SID_ARG_1ST}">{$lang->items['LANG_START_LOSTPW']}</a>):</span></td>
<td><span class="smallfont"><input type="password" name="l_password" maxlength="30" size="20" class="input" tabindex="2" /> </span></td>
<if($allowloginencryption==1)><then>
<td><span class="smallfont"><label for="checkbox1">{$lang->items['LANG_GLOBAL_ENCRYPT_TRANSFER']}</label></span></td>
<td><span class="smallfont"><input type="checkbox" id="checkbox1" name="activateencryption" onclick="activate_loginencryption(document.loginform);" /> </span></td></then></if>
<td><input type="submit" value="{$lang->items['LANG_START_LOGIN']}" class="input" tabindex="3" /></td>
</tr>
</table></td>
</tr>
</table></form>
<table cellspacing="0" cellpadding="0" border="0" style="width:{$style['tableinwidth']}"><tr>
<td align="left"><img src="{$style['imagefolder']}/untenlinks.gif" alt="" title="" /></td>
<td style="width:100%" class="unten-mitte" align="center"></td>
<td align="right"><img src="{$style['imagefolder']}/untenrechts.gif" alt="" title="" /></td>
</tr></table>
<if($allowloginencryption==1)><then>
<script type="text/javascript">
<!--
activate_loginencryption(document.loginform);
//-->
</script></then></if>
</then>
</if>
|
|
ist das dasselbe ?
Geschrieben von nobody am 12.12.2012 um 22:04:
Ja das ist die gleiche abfrage.
Bei dir sind nur die vGrafiken oben und unten mit dabei.
nobody
Geschrieben von pasputin am 13.12.2012 um 05:15:
danke dir :-)
Forensoftware: Burning Board 2.3.6, entwickelt von WoltLab GmbH