Hacks4wbb by HFW™ (https://hacks4wbb.de/index.php)
- WBB Bereich (https://hacks4wbb.de/board.php?boardid=20)
--- (https://hacks4wbb.de/board.php?boardid=)
------ wbblite 1.0.2 PHP_4/5 (https://hacks4wbb.de/board.php?boardid=259)
---------- Hacks/Addons wbblite1 (https://hacks4wbb.de/board.php?boardid=410)
----------- WBBLite Hacks (https://hacks4wbb.de/board.php?boardid=265)
------------ Support -> slide- menü (https://hacks4wbb.de/thread.php?threadid=23712)


Geschrieben von fraiser am 02.02.2007 um 21:02:

  RE: Support -> slide- menü

schick mir mal ftp zugang und nen testnick per pn



Geschrieben von fraiser am 02.02.2007 um 21:26:

  RE: Support -> slide- menü

wird übernommen, aba bei deinem style sind die farben ziemlich gleich. kannst bisschen rum probieren und tablecolora/b tabletitelcolor oda tablecatcolor suchen und durch ein anderes von den 4 oben genannten austauschen ;)



Geschrieben von rey-619-mysterio am 03.02.2007 um 09:31:

 

naja ok danke noch mal :]



Geschrieben von Soldize am 28.06.2007 um 14:02:

Fragezeichen RE: Support -> slide- menü

Hallo!!!

Hab da ne frage zum slide menü!!!

Ich habe da ne beschreibung dabei wo steht ich soll die "slide.php" auf den server laden!!!Es gibt aber keine slide.php in der rar file die ich hier gezogen habe!!!!Könnt ihr mir bitte helfen???

Danke im Voraus!!!

Mfg

Christopher

p.s.: Tolles Forum weiter so!!!



Geschrieben von Tahtschi am 14.10.2007 um 14:57:

  RE: Support -> slide- menü

Hallöchen

Endlich hab ich das Slide Menü gefunden, und hab es auch gleich eingebaut. Hat einwandfrei geklappt.

Nur da gibt es ein Problem: Irgendwie kann ich nichts an dem Menü ändern. Ich brauche z.B. für mein Forum den "Guthaben-Hack" nicht, und möchte ihn somit aus dem Menü rauslöschen. Hab es schon in der Slide.tpl und in slide.tpl.bak versucht, es hat sich aber nichts geändert.

Zu meinem Forum *klick*

Wäre über Hilfe sehr dankbar!



Geschrieben von fraiser am 23.10.2007 um 17:28:

  RE: Support -> slide- menü

zitat aus der anleitung: ##### paße die Links im untersten Block in der slide.tpl Deinen Bedürfnissen an

da machst du irgendwas falsch. slide.tpl runterladen, sicheren, ändern, hochladen und dabei überschreiben, fertig.



Geschrieben von Tahtschi am 30.10.2007 um 12:15:

 

Ich habs genau so gemacht, wie's in der Anleitung steht, ich kopier dir den Code hinein. Wenn ich's mit dem überschreibe, dann wird das Slide Menü garnicht mehr angezeigt

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:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
<script language=javascript> 
NS6 = (document.getElementById&&!document.all) 
IE = (document.all) 
NS = (navigator.appName=="Netscape" && navigator.appVersion.charAt(0)=="4") 
moving=setTimeout('null',1); 
lastY = 0; 
function moveOut() { 
if ((NS6 && parseInt(ssm.left)<0)||(IE && ssm.style.pixelLeft<0)||(NS && document.ssm.left<0)) 
{ 
clearTimeout(moving);moving = setTimeout('moveOut()', slideSpeed) 
if (NS6){ 
ssm.left = parseInt(ssm.left)+10+"px"; 
} 
if (IE){ 
ssm.style.pixelLeft += 10; 
} 
if (NS){ 
document.ssm.left += 10; 
} 
} else { 
clearTimeout(moving); 
moving=setTimeout('null',1); 
} 
} 
function moveBack(){ 
clearTimeout(moving); 
moving = setTimeout('moveBack1()', waitTime); 
} 
function moveBack1() { 
if ((NS6 && parseInt(ssm.left)>(-menuWidth))||(IE && ssm.style.pixelLeft>(-menuWidth))||(NS && document.ssm.left>(-menuWidth))) 
{ 
clearTimeout(moving);moving = setTimeout('moveBack1()', slideSpeed); 
if (NS6){ 
ssm.left = parseInt(ssm.left)-10+"px"; 
} 
if (IE){ 
ssm.style.pixelLeft -= 10; 
} 
if (NS){ 
document.ssm.left -= 10; 
} 
} else { 
clearTimeout(moving);moving=setTimeout('null',1) 
} 
} 
function makeStatic() { 
if (NS6) { 
winY = window.pageYOffset; 
} 
if (IE) { 
winY = document.body.scrollTop;var NM=document.all('ssm').style 
} 
if (NS){ 
winY = window.pageYOffset;var NM=document.ssm 
} 
if (NS6||IE||NS){ 
if (winY!=lastY&&winY>YOffset-staticYOffset){ 
smooth = .2 * (winY - lastY - YOffset + staticYOffset); 
} else if(YOffset-staticYOffset+lastY>YOffset-staticYOffset) { 
smooth = .2 * (winY - lastY); 
} else { 
smooth=0 
} 
if(smooth > 0) smooth = Math.ceil(smooth); 
else smooth = Math.floor(smooth); 
if (NS6) ssm.top=parseInt(ssm.top)+smooth+"px" 
if (IE) NM.pixelTop+=smooth; 
if (NS) NM.top+=smooth; 
lastY = lastY+smooth; 
setTimeout('makeStatic()', 1) 
} 
} 
function initSlide() { 
if (NS6){ 
ssm=document.getElementById("ssm").style 
ssm.visibility="visible"; 
ssm.left = -menuWidth + "px";    ; 
} else if (IE) { 
ssm.style.visibility = "visible" 
ssm.style.pixelLeft = -menuWidth; 
} else if (NS) { 
document.ssm.left = -menuWidth; 
document.ssm.visibility = "show" 
} 
if (menuIsStatic=="no") makeStatic(); 
} 
function startMenu(menuHeader, barText) { 
if (IE||NS6) { 
document.write('<div id="ssm" style="visibility:hidden;position : absolute ;left : 0px ;top : '+YOffset+' ;Z-Index : 20;width:1px" onmouseover="moveOut()" onmouseout="moveBack()">') 
} 
if (NS) { 
document.write('<span class="tablea" layer visibility="hide" top="'+YOffset+'" name="ssm" left="0" onmouseover="moveOut()" onmouseout="moveBack()">') 
} 
if (NS6){ 
document.write('<table border="0" cellpadding="0" cellspacing="0" width="'+(menuWidth+barWidth+2)+'" span class="tablea"><tr><td>') 
} 
tempBar="" 
for (i=0;i<barText.length;i++) { 
tempBar+=barText.substring(i, i+1)+"<br>" 
} 
document.write('<table cellpadding="0" cellspacing="2" width="'+(menuWidth+barWidth+2)+'" border="1" bgcolor="#000000" class="tableinborder"><tr><td bgcolor="{tabletitlecolor}" class="tabletitle" width="'+(menuWidth-1)+'" height="6" align="center" valign="center"> <span class="smallfont"><b>'+menuHeader+'</b></span></td><td bgcolor="{tablecatcolor}"align="center" rowspan="100" width="'+barWidth+'" span class="tableb" valign="center"><p align="center"><span class="smallfont"><b>'+tempBar+'</b></span></p></td></tr>') 
} 
function addItem(text, link, target) { 
if ( !target ) { 
target = '_self'; 
} else { 
target = '_blank'; 
} 
document.write('<tr>'); 
document.write('<td bgcolor="{tablecatcolor}" span class="tablea" width="'+(menuWidth-1)+'">'); 
document.write('<ilayer><layer width="100%" align="center">'); 
document.write('<div align="left">'); 
document.write('<a href="'+link+'" class="ssmItems" target='+target+'>'); 
document.write('<b><smallfont> '+text+'</font></b></div></a>'); 
document.write('</layer></ilayer></td></tr>'); 
} 
function addHdr(text) { 
document.write('<tr><td bgcolor="{tabletitlecolor}"span class="tabletitle" height="4" align="center" valign="center" width="'+(menuWidth-1)+'"> '); 
document.write('<span class="smallfont"><b>'+text+'</b></span></td></tr>') 
} 
function endMenu() { 
document.write('</table>') 
if (NS6){document.write('</td></tr></table>')} 
if (IE||NS6) {document.write('</div>')} 
if (NS) {document.write('</layer>')} 
if (NS6||IE||NS) setTimeout('initSlide();', 100) 
} 
//--> 

YOffset=20; // no quotes!! 
staticYOffset=20; // no quotes!! 
slideSpeed=30; // no quotes!! 
barWidth=10; // no quotes!!
waitTime=1000; // no quotes!! this sets the time the menu stays out for after the mouse goes off it. 
menuWidth=180; // Must be a multiple of 10! no quotes!! 
menuIsStatic="no"; 
linkTarget="_self"; 

startMenu("N A V I G A T I O N")
addHdr("Navigation");
addItem("Forum", "index.php");
addItem("Team", "team.php");
addItem("Suche", "search.php");
addItem("ACP", "acp.php");
addItem("Wizards", "memberslist.php");
addItem("wer ist wo", "wiw.php", "_blank");
addHdr("Profil");
addItem("Profil editieren", "usercp.php?action=profile_edit");
addItem("Signatur editieren", "usercp.php?action=signature_edit")
addItem("Einstellungen editieren", "usercp.php?action=options_change")
addItem("Passwort editieren", "usercp.php?action=password_change")
addItem("Avatar ändern", "usercp.php?action=avatars"
addItem("PN-Box", "pms.php?");
addItem("User-CP Übersicht", "usercp.php?");
addItem("Foren als gelesen markieren", "markread.php?action=index");
addHdr("Statistik")
<tr bgcolor="{tabletitlecolor}" id="tabletitle">
 <td colspan=6><smallfont color="{fontcolorsecond}"><b>Statistik</b></font></td> 
</tr>
<tr>
 <td colspan=6 bgcolor="{tablecolorb}" id="tableb"><smallfont>Wizards: $members[members] | Themen: $threads[threads] | Beitr&auml;ge: $posts[posts] (durchschnittlich $postperday Beitr&auml;ge/Tag)<br>
  Our newest Magician ist: <a href="profile.php?userid=$newestmember[userid]&sid=$session[hash]">$newestmember[username]</a>.</font></td>
</tr>
endMenu()
</script>



Geschrieben von fraiser am 30.10.2007 um 14:40:

 

nee, hast du ned, die ; und ) haben schon nen sinn, die kannst ned einfach unterschlagen!

versuch mal die:



Geschrieben von Chaos Jaden am 13.11.2007 um 18:50:

 

Hi

Großes thx für den Hack. Hab den schon seit Monaten gesucht und nicht gefunden ^^

Ich hätt da ma ne Frage:

Zitat:
##### öffne global.php und suche:

$header_pms="";
$header_acp="";

##### füge darüber ein:

if($wbbuserdata['useslide']==1) {
eval ("\$slide= \"".$tpl->get("slide")."\";");
}

##### wenn Gäste das Menü sehen sollen, ändere den Code ""if(wbbuserdata['useslide']==1).....in ...['useslide']==0)....#####


Leider weis ich nich wie das gemeint ist. Ich will es für Gäste Sichtbar machen. Aber was muss ich da jetzt machen.

Aja, wollts eig. so, das man das Slide Menü so oder so hat, also man soll es bekommen ohne das man es noch extra in den Usercp's ändern muss.

Was muss ich dafür machen?

thx schon ma im vorraus.


MFG



Geschrieben von fraiser am 13.11.2007 um 20:12:

 

so:

##### öffne global.php und suche:

$header_pms="";
$header_acp="";

##### füge darüber ein:

if($wbbuserdata['useslide']==0) {
eval ("\$slide= \"".$tpl->get("slide")."\";");
}



Geschrieben von Chaos Jaden am 13.11.2007 um 20:25:

 

ok thx ^^

und was muss ich machen, damit man das slide menü hat ohne das man was im usercp ändern muss?

MFG



Geschrieben von fraiser am 13.11.2007 um 20:49:

 

soweit ich noch weiss, sollten jetzt alle, die auf "nein" gestellt haben sowie gäste das slide sehn.

wenns so is und du den schönheitsfehler ändern willst, suche:

code:
1:
2:
3:
4:
5:
6:
7:
 <tr id="tableb" bgcolor="{tablecolorb}">
    <td><normalfont><b>bewegliches Menue:</b></font><br><smallfont></font></td>
    <td><select name="r_useslide">
     <option value="0"$useslide[0]>Nein</option>
     <option value="1"$useslide[1]>Ja</option>
    </select></td>
</tr>


und ersetzte mit:

code:
1:
2:
3:
4:
5:
6:
7:
 <tr id="tableb" bgcolor="{tablecolorb}">
    <td><normalfont><b>bewegliches Menue:</b></font><br><smallfont></font></td>
    <td><select name="r_useslide">
     <option value="0"$useslide[0]>Ja</option>
     <option value="1"$useslide[1]>Nein</option>
    </select></td>
</tr>



Geschrieben von Chaos Jaden am 14.11.2007 um 18:04:

 

ok thx ^^

also bei mir hat der hack gut geklappt, aber als ich den in einem anderen forum einbauen wollte, erschien folgende Fehlermeldung

Zitat:
Fatal error: Call to a member function query() on a non-object in /usr/export/www/hosting/semperficologne/wbblite/index.php on line 18


Was soll ich tun?



Geschrieben von fraiser am 14.11.2007 um 18:46:

 

das hat nix direkt mit dem slide zu tun, musst irgendwo was verhaut haben (richtige global?) oder der server hängt.



Geschrieben von Chaos Jaden am 14.11.2007 um 18:48:

 

Naja wenn ich die änderungen rückgängig mache, gehts wieder

Kannst du mir trotzdem sagen, was die fehlermeldung bedeutet?



Geschrieben von fraiser am 15.11.2007 um 20:17:

 

er versteht die funktion query nicht mehr, die in der function.php angegeben wurde, da du keinen code änderst, nur zufügst, dürfte das nicht am slide liegen, aba wie weiter oben geschrieben funktioniert der hack nicht auf allen servern, sry.


Forensoftware: Burning Board 2.3.6, entwickelt von WoltLab GmbH