|
|
Latest News |
Latest Threads |
|
 |
56.474 Posts & 4.945 Themen in 78 Foren |
|
|
|
 |
Forensuche |
|
Suchbegriff |
Benutzerauswahl |
Ergebnisse anzeigen |
 |
 |
hack.forum.quickreply 10 Beiträge in diesem Thema |
|
|
 |
 |
Geschlossen |
|
|
|
|
 |
|
 |
27.07.2007 - 19:39 Uhr |
|
|
|
Hallo,
habe versucht den forum.quickreply Hack zu installieren aber wenn ich die showtread.htm/php so hochlade dann haut es mir alles durcheinander.
z.B. Statusanzeige ob User,Admin... Geschlecht sind weg.(im Forum)
Das Schnellanntwortfenster wird aber dargestellt.
Gibt es die Möglichkeit dieses manuell anzupassen.
Gruß,
Olaf
|
|
|
|
|
|
|
 |
WEBI Unberechenbares Urgestein |
 |
|
|
|
|
|
|
|
|
 |
28.07.2007 - 11:20 Uhr |
|
|
|
|
|
|
 |
|
 |
28.07.2007 - 13:13 Uhr |
|
|
|
Hi,
habe mir jetzt die Version geholt die Du hier verwendest aber habe schon das erste Problem mit der Anpassung von der extoption.php und extoption.htm, finde die zu ersetzende Zeile nicht.
extoption.php
Hier klicken zum aufklappen<?php
$userinfo=$DB->fetch_array($DB->query("SELECT * FROM ".$db_tab['user']." WHERE user_name='".$USER['name']."' AND user_pw='".$USER['pass']."' AND user_id='".$USER['id']."' LIMIT 1"));
if ($userinfo['user_profillock']==1) {header ("location: include.php?event=40&PHPKITSID".session_id()); exit();}
elseif ($USER['id']!='' && $USER['id']!=0) {
if (isset($_POST['action'])) $ACTION=$_POST['action'];
else $ACTION='view';
if ($ACTION==$_POST['save']) {
if ($_POST['profil_delete']==1) {header ("location: include.php?path=login/extdelete.phpsession_id().""); exit();}
session_unregister("USER['sigoption']");
session_register ("USER['sigoption']");
$HTTP_SESSION_VARS['USER']['sigoption']=$_SESSION['USER']['sigoption']=$_POST['new_sigoption'];
session_unregister("USER['design']");
session_register ("USER['design']");
$HTTP_SESSION_VARS['USER']['design']=$_SESSION['USER']['design']=$_POST['user_design'];
session_unregister("USER['imoption']");
session_register ("USER['imoption']");
$HTTP_SESSION_VARS['USER']['imoption']=$_SESSION['USER']['imoption']=$_POST['new_imoption'];
$DB->query("UPDATE ".$db_tab['user']." SET user_design='".addslashes($_POST['user_design'])."', user_imoption='".addslashes($_POST['new_imoption'])."', user_imnotify='".addslashes($_POST['new_imnotify'])."', user_sigoption='".addslashes($_POST['new_sigoption'])."', user_nloption='".addslashes($_POST['new_nloption'])."', user_ghost='".addslashes($_POST['ghost_option'])."' WHERE user_id='".$USER['id']."'");
header ("location: include.php?path=login/extoption.phpsession_id().""); exit();
}
if (isset($_REQUEST['setavatar']) && $config['avatar_eod']!="0") {
if ($_REQUEST['unset']==1) {
if (strstr($_REQUEST['setavatar'],'avauser')) {
$name=$config['avatar_path']."/avauser_".$USER['id'].".";
@unlink($name.'gif');
@unlink($name.'jpg');
@unlink($name.'png');
}
unset($_REQUEST['setavatar']);
}
$DB->query("UPDATE ".$db_tab['user']." SET user_avatar='".addslashes($_REQUEST['setavatar'])."' WHERE user_id='".$USER['id']."'");
header ("location: include.php?path=login/extoption.phpsession_id().""); exit();
}
// Foto-Modifikation Start #1
if (isset($_REQUEST['setfoto']) && getrights($config['foto_eod']) && $config['foto_eod']!="0") {
if ($_REQUEST['unset']==1) {
if (strstr($_REQUEST['setfoto'],'fotouser')) {
$name=$config['avatar_path']."/fotouser_".$USER['id'].".";
@unlink($name.'gif');
@unlink($name.'jpg');
@unlink($name.'png');
}
unset($_REQUEST['setfoto']);
}
$DB->query("UPDATE ".$db_tab['user']." SET user_foto='".addslashes($_REQUEST['setfoto'])."' WHERE user_id='".$USER['id']."'");
header ("location: include.php?path=login/extoption.phpsession_id().""); exit();
}
// Foto-Modifikation Ende #1
if ($userinfo['user_imoption']==1) $im_option1=' checked';
else $im_option0=' checked';
if ($userinfo['user_imnotify']==1) $im_imnotify1=' checked';
else $im_imnotify0=' checked';
if ($userinfo['user_sigoption']==1) $im_sigoption1=' checked';
else $im_sigoption0='checked';
if ($userinfo['user_nloption']==1) $nl_option1=' checked';
else $nl_option0=' checked';
/// quickpost start \\
if($userinfo['user_quickpost']==0)
$quickpost0='selected';
elseif($userinfo['user_quickpost']==1)
$quickpost1='selected';
else
$quickpost2='selected';
/// quickpost ende \\
if ($config['user_ghost']==1) {
if ($userinfo['user_ghost']==1) $ghost_option1=' checked';
else $ghost_option0=' checked';
eval ("$ghost_eod= "".getTemplate("extoption_ghost")."";");
}
if ($config['user_design']==1) {
unset($style_option);
$getstyles=$DB->query("SELECT style_id, style_name FROM ".$db_tab['style']." WHERE style_user=1 OR style_id='".$config['site_style']."' ORDER by style_name ASC");
while($styleinfo=$DB->fetch_array($getstyles)) {
$style_option.='<option value="'.$styleinfo['style_id'].'"';
if ($userinfo['user_design']==$styleinfo['style_id']) $style_option.=' selected';
$style_option.='>'.$styleinfo['style_name'].'</option>';
}
if ($style_option) eval ("$style_option= "".getTemplate("extoption_style")."";");
}
if ($config['avatar_eod']==1 or $config['avatar_eod']==2) {
if ($userinfo['user_avatar']!='' && @filecheck($config['avatar_path']."/".$userinfo['user_avatar'])) {
$avatar_dimension=@getimagesize($config['avatar_path']."/".$userinfo['user_avatar']);
eval ("$avatar_show= "".getTemplate("user_avatar_show")."";");
eval ("$avatar_deselect= "".getTemplate("extoption_avatar_deselect")."";");
}
if ($config['avatar_eod']==2) {eval ("$avatar_upload= "".getTemplate("extoption_avatar_upload")."";");}
eval ("$avatar_eod= "".getTemplate("extoption_avatar")."";");
}
include ("login/inc.nav_user.php");
if ($config['user_delete']==1 or $config['user_delete']==2) {eval ("$extoption_delete= "".getTemplate("extoption_delete")."";");}
// Foto-Modifikation Start #2
if (getrights($config['foto_eod']) && $config['foto_eod']!="0" && $config['foto_eod']!="") {
if ($userinfo['user_foto']!='' && @filecheck($config['avatar_path']."/".$userinfo['user_foto']))
{
$foto_dimension=@getimagesize($config['avatar_path']."/".$userinfo['user_foto']);
eval ("$foto_show= "".getTemplate("user_foto_show")."";");
eval ("$foto_deselect= "".getTemplate("extoption_foto_deselect")."";");
}
eval ("$foto_upload= "".getTemplate("extoption_foto_upload")."";");
eval ("$foto_eod= "".getTemplate("extoption_foto")."";");
}
// Foto-Modifikation Ende #2
eval ("$site_body.= "".getTemplate("extoption")."";");
}
else {$event=1; include("admin/config/event.php");}
?>
finde ich nicht:
# login/extoption.php ####################
-----------------
suchen nach: (~Z.23)
-----------------
standart phpkit (unsicher!):
$DB->query("UPDATE ".$db_tab['user']." SET user_design='".$_POST['user_design']."', user_imoption='".$_POST['new_imoption']."', user_imnotify='".$_POST['new_imnotify']."', user_sigoption='".$_POST['new_sigoption']."', user_nloption='".$_POST['new_nloption']."', user_ghost='".$_POST['ghost_option']."' WHERE user_id='".$USER['id']."'");
gefixes phpkit (bei der deinstallation unbedingt diese Variante wiederherstellen, da es im standard phpkit eine Sicherheitslücke gibt!):
$DB->query("UPDATE ".$db_tab['user']." SET user_design='".intval($_POST['user_design'])."', user_imoption='".intval($_POST['new_imoption'])."', user_imnotify='".intval($_POST['new_imnotify'])."', user_sigoption='".intval($_POST['new_sigoption'])."', user_nloption='".intval($_POST['new_nloption'])."', user_ghost='".intval($_POST['ghost_option'])."' WHERE user_id='".$USER['id']."'");
-----------------
ersetzen durch:
-----------------
$DB->query("UPDATE ".$db_tab['user']." SET user_design='".intval($_POST['user_design'])."', user_imoption='".intval($_POST['new_imoption'])."', user_imnotify='".intval($_POST['new_imnotify'])."', user_sigoption='".intval($_POST['new_sigoption'])."', user_nloption='".intval($_POST['new_nloption'])."', user_ghost='".intval($_POST['ghost_option'])."', user_quickpost='".intval($_POST['quickpost'])."' WHERE user_id='".$USER['id']."'");
extoption.htm
Hier klicken zum aufklappen<table class="userbody" cellspacing="1" cellpadding="4" width="100%">
<tr>
<td class="heads" colspan="2">$user_navigation Erweiterte Einstellungen</td>
</tr>
<form method="post" action="include.php?path=login/extoption.php">
<input type="hidden" name="save" value="$lang[save]" />
$avatar_eod
$foto_eod
<tr>
<td class="left" width="50%">IM-Nutzung<br />
<font class="small">Wenn Sie keine Kurznachrichten wünschen, schalten Sie diese Option ab.</font></td>
<td class="right" width="50%">
<input class="radio" type="radio" name="new_imoption" value="1" $im_option1 /> <font class="small">angeschaltet</font>
<input class="radio" type="radio" name="new_imoption" value="0" $im_option0 /> <font class="small">abgeschaltet</font></td>
</tr>
<tr>
<td class="left">IM-Benachrichtigung<br />
<font class="small">E-Mailbenachrichtigung wenn eine neue Kurznachricht (IM) vorliegt.</font></td>
<td class="right">
<input class="radio" type="radio" name="new_imnotify" value="1" $im_imnotify1 /> <font class="small">angeschaltet</font>
<input class="radio" type="radio" name="new_imnotify" value="0" $im_imnotify0 /> <font class="small">abgeschaltet</font></td>
</tr>
<tr>
<td class="left">Mitgliederinformation<br />
<font class="small">Legt fest ob Mitgliederinformationen erwünscht sind.</font></td>
<td class="right">
<input class="radio" type="radio" name="new_nloption" value="1" $nl_option1 /> <font class="small">angeschaltet</font>
<input class="radio" type="radio" name="new_nloption" value="0" $nl_option0 /> <font class="small">abgeschaltet</font></td>
</tr>
<tr>
<td class="left">Signaturen<br />
<font class="small">Signaturen aller User anzeigen.</font></td>
<td class="right">
<input class="radio" type="radio" name="new_sigoption" value="1" $im_sigoption1> <font class="small">angeschaltet</font>
<input class="radio" type="radio" name="new_sigoption" value="0" $im_sigoption0> <font class="small">abgeschaltet</font></td>
</tr>
$ghost_eod
$style_option
$extoption_delete
<tr>
<td class="heads" colspan="2" align="center">
<input type="submit" name="action" value="$lang[save]" />
<input type="reset" value="$lang[reset]" /></td>
</tr>
</form>
</table>
finde ich nicht:
# templates/extoption.htm ################
-----------------
suchen nach:
-----------------
<tr>
<td class="left">Signaturen<br />
<font class="small">Signaturen aller User anzeigen.</font></td>
<td class="right">
<input class="radio" type="radio" name="new_sigoption" value="1" $im_sigoption1> <font class="small">angeschaltet</font>
<input class="radio" type="radio" name="new_sigoption" value="0" $im_sigoption0> <font class="small">abgeschaltet</font></td>
</tr>
-----------------
darunter einfügen:
-----------------
<tr>
<td class="left">Schnellantwort<br />
<font class="small">Schnellantwortfeld unten im Thema</font></td>
<td class="right">
<select name="quickpost" size="1" class="w90">
<option value="0" $quickpost0>nicht anzeigen</option>
<option value="1" $quickpost1>minimiert anzeigen</option>
<option value="2" $quickpost2>vollständig anzeigen</option>
</select>
</tr>
Gruß,
Olaf
|
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von [DJ] Grenzland - 28.07.2007 - 14:40 Uhr |
|
|
|
|
|
|
|
 |
WEBI Unberechenbares Urgestein |
 |
|
|
|
|
|
|
|
|
 |
28.07.2007 - 15:31 Uhr |
|
|
|
extoption.php:
extoption.htm:
mfG
|
|
|
|
|
|
|
 |
|
 |
28.07.2007 - 16:14 Uhr |
|
|
|
Ja Klasse,
dann Danke ich Dir erstmal hier für aber leider kann ich es nicht testen . Wenn ich das Forum aufrufen will dann kommt auch diese Meldung im content:
Warning: Cannot modify header information - headers already sent by (output started at /mnt/web4/52/04/51565604/htdocs/radio/admin/config/inc.dbtabs.php:123) in /mnt/web4/52/04/51565604/htdocs/radio/forum/index.php on line 2
Glaube das hängt mit dem anderen Problem zusammen,oder.
Isch krig Plack !!! 
|
|
|
|
|
|
|
 |
|
 |
26.09.2007 - 15:23 Uhr |
|
|
|
Hi Leute
ich habe mir den Hack ebenfalls runtergeladen und die Dateien ausgetauscht bzw. hochgeladen - wenn ich jetzt ins Forum gehe ist bei
mir die Schnellantwort nicht enthalten. PHPKIT 1.6.1
Hat jemand ne Idee?
MfG
chrisbert
|
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von chrisbert - 26.09.2007 - 15:24 Uhr |
|
|
|
|
|
|
|
 |
WEBI Unberechenbares Urgestein |
 |
|
|
|
|
|
|
|
|
 |
26.09.2007 - 15:30 Uhr |
|
|
|
Du musstest glaube ich die forum/showthread.php editieren, hast du dieses auch getan`?
Wenn irgendwo etwas nicht angezeigt werden sollte stets den Code nochmals durchgehen sowie auch die Anleitung.
mfG
|
|
|
|
|
|
|
 |
|
 |
26.09.2007 - 15:50 Uhr |
|
|
|
Hi Leute
vielen Dank für dein Feedback
nur welche Anleitung da steht nur folgendes dabei:
1. Lade alles hoch bei Beibehaltung der Ordnerstruktur.
2. Fertig
und was muss in der showthread.php editiert werden ?
MfG
chrisbert
-------------- edit -----------------
hat sich erledigt - habs hinbekommen - THX
|
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von chrisbert - 26.09.2007 - 16:12 Uhr |
|
|
|
|
|
|
|
 |
WEBI Unberechenbares Urgestein |
 |
|
|
|
|
|
|
|
|
 |
27.09.2007 - 20:48 Uhr |
|
|
|
|
|
|
 |
|
 |
Geschlossen |
|
|
|
 |
Ähnliche Themen |
|
|
|
|
|
|
|
|