|
 |
|
 |
 |
RE: Thread Aktiv User Bug?
Du Peter machen wirs ganz einfach. Wer nicht mal in der Lage ist seine URL anzugeben bekommt keinen Support mehr. Mich nervt das auch langsam hier jedesmal nachzufragen wegen ner URL.
Ja es ist geschafft bin seit 02.07.10 stolzer PAPA eines Mädchen => Eingeschränkter Support meinerseits !!!
Die Betreiber und die Moderatoren dieser Community distanzieren sich hiermit ausdrücklich von dem oben genannten Autor am 19.01.2010 - 19:56 Uhr verfassten Beitrag. Sollte dieser Beitrag Ihre Rechte verletzen bitten wir um Benachrichtigung.
RE: Thread Aktiv User Bug?
Sehr gut könnten ggf wie bei Leiche ein PopUP auf gehen lassen mit hinweis wenn einer das support forum betritt 
Das verlinkte Bild http://www.pimpyourkit.de/images/banner/siguser_1.gif existiert nicht mehr bzw. wurde falsch verlinkt!
Die Betreiber und die Moderatoren dieser Community distanzieren sich hiermit ausdrücklich von dem oben genannten Autor am 19.01.2010 - 21:06 Uhr verfassten Beitrag. Sollte dieser Beitrag Ihre Rechte verletzen bitten wir um Benachrichtigung.

RE: Thread Aktiv User Bug?
so jungs jetzt hab ich für euch auch meine URL eingetragen
Hier die Datei:
Klapptext Inhalt anzeigen
<?php
# PHPKIT WCMS | Web Content Management System
#
#
# YOU ARE NOT AUTHORISED TO CREATE ILLEGAL COPIES OF THIS
# FILE AND/OR TO REMOVE THIS INFORMATION
#
# SIE SIND NICHT BERECHTIGT, UNRECHTMÄSSIGE KOPIEN DIESER
# DATEI ZU ERSTELLEN UND/ODER DIESE INFORMATIONEN ZU ENTFERNEN
#
# This file / the PHPKIT software is no freeware! For further
# information please visit our website or contact us via email:
#
# Diese Datei / die PHPKIT Software ist keine Freeware! Für weitere
# Informationen besuchen Sie bitte unsere Website oder kontaktieren uns per E-Mail:
#
# email : info@phpkit.com
# website : Web Server's Default Page
# licence : http://www.phpkit.com/licence
# copyright : Copyright (c) 2002-2009 mxbyte gbr | Web Server's Default Page
if(!defined('pkFRONTEND') || pkFRONTEND!='public')
die('Direct access to this location is not permitted.');
include(pkDIRPUBLICINC.'forumsheader'.pkEXT);
/**************************************** FORUM Anhang Anfang ****************************************/
$array_pic=array('ace' => 'ace.gif','bmp' => 'bmp.gif','doc' => 'doc.gif','dot' => 'doc.gif','pot' => 'doc.gif','exe' => 'exe.gif','gif' => 'gif.gif','htm' => 'htm.gif','html' => 'html.gif','jpeg' => 'jpeg.gif','jpg' => 'jpg.gif','js' => 'js.gif','mdb' => 'mdb.gif','mp3' => 'mp3.gif','pdf' => 'pdf.gif','php' => 'php.gif','pps' => 'pps.gif','psd' => 'psd.gif','rar' => 'rar.gif','swf' => 'swf.gif','swt' => 'swt.gif','ttf' => 'ttf.gif','txt' => 'txt.gif','wav' => 'wav.gif','xls' => 'xls.gif','zip' => 'zip.gif','avi' => 'avi.gif','cs' => 'cs.gif','dll' => 'dll.gif','fla' => 'fla.gif','ppt' => 'ppt.gif','vsd' => 'vsd.gif','xml' => 'xml.gif','gz' => 'gz.gif','cgi' => 'cgi.gif','css' => 'css.gif','ico' => 'ico.gif','pl' => 'pl.gif','wmv' => 'wmv.gif');
$id_thread=$SQL->fetch_array($SQL->query("SELECT `forumthread_catid` FROM `".pkSQLTAB_FORUM_THREAD."` WHERE `forumthread_id`='".intval($threadid)."' LIMIT 1"));
$id_cat=$SQL->fetch_array($SQL->query("SELECT * FROM `".pkSQLTAB_FORUM_CATEGORY."` WHERE `forumcat_id`='".intval($id_thread['forumthread_catid'])."' LIMIT 1"));
/**************************************** FORUM Anhang Ende ****************************************/
if(!$threadid>0 || ($threadid && !$forumthread['forumthread_id']))
{
pkEvent('thread_does_not_exists');
include(pkDIRPUBLICINC.'forumsfooter'.pkEXT);
return;
}
if(!$FORUM->getCategoryRrights($catid))
{
pkEvent('access_refused');
include(pkDIRPUBLICINC.'forumsfooter'.pkEXT);
return;
}
# if(!empty($forumthread['forumthread_title']))
# $config['site_title'].=' ('.pkGetLang('forumsthread').$forumthread['forumthread_title'].')';
if(userrights($forumcat['forumcat_mods'])=="true" && $_POST['actionmod']==pkGetLang('go') && isset($_POST['quick_mod']) && $_POST['quick_mod']!="-1")
{
$quick_mod=$_POST['quick_mod'];
if($quick_mod=='cs0' || $quick_mod=='cs1' || $quick_mod=='cs2' || $quick_mod=='cs3')
{
if($quick_mod=='cs0')
$cs=0;
elseif($quick_mod=='cs1')
$cs=1;
elseif($quick_mod=='cs2')
$cs=2;
elseif($quick_mod=='cs3')
$cs=3;
$SQL->query("UPDATE ".pkSQLTAB_FORUM_THREAD." SET forumthread_status='".$cs."' WHERE forumthread_id='".$threadid."'");
}
elseif(intval($quick_mod)>0)
$SQL->query("UPDATE ".pkSQLTAB_FORUM_THREAD." SET forumthread_catid='".intval($quick_mod)."' WHERE forumthread_id='".$threadid."'");
elseif($quick_mod=="del")
pkHeaderLocation('forumsmoderate','','threadid='.$threadid.'&alter_delete=1');
pkHeaderLocation('forumsthread','','threadid='.$threadid);
}
$entries=(isset($_REQUEST['entries']) && intval($_REQUEST['entries'])>0) ? intval($_REQUEST['entries']) : 0;
##### Thread Finish by burnerfm.de & pimpyourkit.de #####
if($forumthread['forumthread_status']!=0 && (getrights('mod') || $forumthread['forumthread_autorid'] == pkGetUservalue('id')))
{
$cut = 25; // Ab wann der Forumstitel gekürzt werden soll (Standard: 25)
$ACTION=(isset($_POST['action'])) ? $_POST['action'] : 'view';
$mehr = $cut <= strlen($forumthread['forumthread_title']) ? '...' : NULL;
$thread_finish1 = $forumthread['forumthread_finish'] == 1 ? 'checked="checked"' : '';
$thread_finish2 = $forumthread['forumthread_finish'] == 2 ? 'checked="checked"' : '';
$thread_finish0 = $thread_finish1 || $thread_finish2 ? '' : 'checked="checked"';
$thread_finish_info = substr($forumthread['forumthread_title'],0,$cut).$mehr;
eval("\$thread_finish= \"".pkTpl("forum/showthread_finish")."\";");
if(isset($_POST['thread_finish']) && intval($_POST['thread_finish'] == 1))
{
$SQL->query("UPDATE ".pkSQLTAB_FORUM_THREAD." SET forumthread_finish='1' WHERE forumthread_id='".$threadid."'");
pkHeaderLocation('forumscategory','','catid='.$catid);
}
if(isset($_POST['thread_finish']) && intval($_POST['thread_finish'] == 0))
{
$SQL->query("UPDATE ".pkSQLTAB_FORUM_THREAD." SET forumthread_finish='0' WHERE forumthread_id='".$threadid."'");
pkHeaderLocation('forumsthread','','threadid='.$threadid);
}
if(isset($_POST['thread_finish']) && intval($_POST['thread_finish'] == 2))
{
$SQL->query("UPDATE ".pkSQLTAB_FORUM_THREAD." SET forumthread_finish='2' WHERE forumthread_id='".$threadid."'");
pkHeaderLocation('forumsthread','','threadid='.$threadid);
}
}
##### Thread Finish by burnerfm.de & pimpyourkit.de #####
if(isset($_REQUEST['postid']))
{
$postid=($_REQUEST['postid']=='new' || $_REQUEST['postid']=='last') ? $_REQUEST['postid'] : (intval($_REQUEST['postid'])>0 ? intval($_REQUEST['postid']) : 0);
if($postid=='new')
$sqlcommand="AND forumpost_time>='".$FORUM->getUnreadedThreadtime($catid,$threadid)."' ORDER BY forumpost_time ".pkGetConfig('forum_postorder');
elseif($postid=='last')
$sqlcommand="ORDER BY forumpost_time DESC";
else
$sqlcommand=" AND forumpost_id='".$postid."'";
$info=$SQL->fetch_assoc($SQL->query("SELECT
forumpost_time,
forumpost_id FROM ".pkSQLTAB_FORUM_POST."
WHERE forumpost_threadid='".$threadid."' ".
$sqlcommand."
LIMIT 1"));
if($info['forumpost_id']>0)
{
list($counter)=$SQL->fetch_row($SQL->query("SELECT
COUNT(*)
FROM ".pkSQLTAB_FORUM_POST."
WHERE forumpost_time".(pkGetConfig('forum_postorder')=='ASC' ? '<': '>')."='".$info['forumpost_time']."' AND
forumpost_threadid='".$threadid."'"));
$epp=($forumcat['forumcat_posts']<=0) ? 15 : $forumcat['forumcat_posts'];
$entries=floor(($counter-1)/$epp)*$epp;
if($FORUM->getLayout()!=1)
{
pkHeaderLocation('forumsthread','','threadid='.$threadid.'&entries='.$entries,'post'.$info['forumpost_id']);
}
}
else
unset($postid);
}
$postcount=$SQL->fetch_array($SQL->query("SELECT COUNT(*) FROM ".pkSQLTAB_FORUM_POST." WHERE forumpost_threadid='".$threadid."'"));
$replycount=$postcount[0]-1;
if(!$postcount[0]>0 && !$catid)
pkHeaderLocation('forumsdisplay');
if(!$postcount[0]>0 && $catid)
pkHeaderLocation('forumscategory','','catid='.$catid);
pkLoadClass($BBCODE,'bbcode');
pkLoadFunc('user');
if(!eregi('showthread',$record_referer) && !eregi('threadid='.$threadid,$record_referer))
{
$lastpost=$SQL->fetch_array($SQL->query("SELECT forumpost_autor, forumpost_autorid, forumpost_time FROM ".pkSQLTAB_FORUM_POST." WHERE forumpost_threadid='".$threadid."' ORDER by forumpost_time DESC LIMIT 1"));
$SQL->query("UPDATE ".pkSQLTAB_FORUM_THREAD."
SET forumthread_viewcount=forumthread_viewcount+1,
forumthread_replycount='".$replycount."',
forumthread_lastreply_autor='".$SQL->f($lastpost['forumpost_autor'])."',
forumthread_lastreply_autorid='".intval($lastpost['forumpost_autorid'])."',
forumthread_lastreply_time='".intval($lastpost['forumpost_time'])."'
WHERE forumthread_id='".$threadid."'");
}
##### User Thread Aktiv burnerfm.de | pimpyourkit.de #####
$gastcount = 0;
$gast = 'Gäste';
$session_url = addslashes($_SERVER['REQUEST_URI']);
if(eregi('include.php',$session_url))
{
$session_update = str_replace('include.php','',$session_url);
$SQL->query("UPDATE ".pkSQLTAB_SESSION."
SET
session_url='".$session_update."'
WHERE session_url='".$session_url."'");
$session_url = $session_update;
}
else
$session_url = $session_url;
$getthreaduser = $SQL->query("SELECT session_userid FROM ".pkSQLTAB_SESSION." WHERE session_url = '".$session_url."'");
while($threaduser=$SQL->fetch_array($getthreaduser))
{
$session_id = intval($threaduser['session_userid']);
$useraktiv = $SQL->fetch_assoc($SQL->query("SELECT user_id, user_nick FROM ".pkSQLTAB_USER." WHERE user_id='".intval($threaduser['session_userid'])."' AND user_activate ORDER BY user_nick ASC LIMIT 1"));
if($threaduser['session_userid'] > 0)
{
$useraktiv_id = intval($useraktiv['user_id']);
$useraktiv_nick .= (empty($useraktiv_nick) ? '' : ', ').'<a href="?path=userinfo&id='.$useraktiv_id.'">'.pkEntities($useraktiv['user_nick']).'</a> ';
}
if(!empty($useraktiv_nick))
$useraktiv_and = pkGetLang('and');
$useraktiv_gast = $SQL->fetch_array($SQL->query("SELECT COUNT(*) FROM ".pkSQLTAB_SESSION." WHERE session_url = '".$session_url."' AND session_userid = 0"));
if($useraktiv_gast[0] == 1)
{
$gast = 'Gast';
$gastcount = $useraktiv_gast[0];
}
elseif($useraktiv_gast[0] > 1)
$gastcount = $useraktiv_gast[0];
}
$userthread_aktiv = '<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumbody">
<tr>
<td class="headline" colspan="2">Online Status im Thread "'.$forumthread['forumthread_title'].'"</td>
</tr>
<tr>
<td class="left" width="30%"><font class="small"><b>Momentan befinden sich in diesem Thread:<b></font></td>
<td class="left" width="70%">'.$useraktiv_nick.$useraktiv_and.' '.$gastcount.' '.$gast.'</td>
</tr>
</table><br />';
##### User Thread Aktiv burnerfm.de | pimpyourkit.de #####
$sqlcommand=($FORUM->getLayout()!=1) ? " LIMIT ".$entries.", ".$forumcat['forumcat_posts'] : '';
$getforumpost=$SQL->query("SELECT * FROM ".pkSQLTAB_FORUM_POST." WHERE forumpost_threadid='".$forumthread['forumthread_id']."' ORDER by forumpost_time ".$config['forum_postorder'].$sqlcommand);
unset($firstpost);
unset($sqlcommand);
while($forumpost=$SQL->fetch_array($getforumpost))
{
$post_cache[$forumpost['forumpost_id']]=$forumpost;
if(!$firstpost)
$firstpost=$forumpost;
if($forumpost['forumpost_autorid']>0)
{
if($sqlcommand)
$sqlcommand.=" OR user_id='".$forumpost['forumpost_autorid']."'";
else
$sqlcommand="SELECT * FROM ".pkSQLTAB_USER." WHERE user_id='".$forumpost['forumpost_autorid']."'";
}
}
if($sqlcommand)
{
$getuserinfo=$SQL->query($sqlcommand);
while($userinfo=$SQL->fetch_array($getuserinfo))
{
$user_cache[$userinfo['user_id']]=$userinfo;
}
}
foreach($post_cache as $forumpost)
{
if($FORUM->getLayout()==0 || ($FORUM->getLayout()==1 && ($postid==$forumpost['forumpost_id'] || $postid=="")))
{
$row=rowcolor($row);
if($forumpost['forumpost_autorid']>0)
$userinfo=$user_cache[$forumpost['forumpost_autorid']];
if($userinfo['user_id']>0)
{
$userinfo['user_nick']=pkEntities($userinfo['user_nick']);
if(isonline($userinfo['user_id']))
eval("\$info_os= \"".pkTpl("member_os_online")."\";");
else
eval("\$info_os= \"".pkTpl("member_os_offline")."\";");
if($userinfo['user_status']=='admin' && $userinfo['user_sex']=='w')
eval("\$post_autor_status= \"".pkTpl("forum/showthread_userstatus_admin_w")."\";");
elseif($userinfo['user_status']=='admin')
eval("\$post_autor_status= \"".pkTpl("forum/showthread_userstatus_admin")."\";");
elseif($userinfo['user_status']=="mod" && $userinfo['user_sex']=='w')
eval("\$post_autor_status= \"".pkTpl("forum/showthread_userstatus_mod_w")."\";");
elseif($userinfo['user_status']=="mod")
eval("\$post_autor_status= \"".pkTpl("forum/showthread_userstatus_mod")."\";");
if($userinfo['user_posts']==0)
{
$postings=$SQL->fetch_array($SQL->query("SELECT COUNT(*) FROM ".pkSQLTAB_FORUM_POST." WHERE forumpost_autorid='".$userinfo['user_id']."'"));
$SQL->query("UPDATE ".pkSQLTAB_USER." SET user_posts='".$postings[0]."' WHERE user_id='".$userinfo['user_id']."' LIMIT 1");
$userinfo['user_posts']=$postings[0];
}
$post_count=postcount($userinfo['user_posts'],$userinfo['user_postdelay'],0);
if(trim($userinfo['user_hpage'])!='')
{
if(ereg("http://",$userinfo['user_hpage']))
$info_link=pkEntities($userinfo['user_hpage']);
else
$info_link='http://'.pkEntities($userinfo['user_hpage']);
eval("\$info_hpage= \"".pkTpl("forum/member_hpage_iconlink")."\";");
}
if($userinfo['user_emailshow']==1)
{
if($config['member_mailer']==1)
eval("\$info_email= \"".pkTpl("forum/member_email_iconlink2")."\";");
else
eval("\$info_email= \"".pkTpl("forum/member_email_iconlink")."\";");
}
if($userinfo['user_icqid']>0)
eval("\$info_icq= \"".pkTpl("forum/member_icq_iconlink")."\";");
/******************************** Pflichtfeld Anfang ********************************/
$userfields=$SQL->fetch_array($SQL->query("SELECT * FROM `".pkSQLTAB_USER_FIELDS."` WHERE `userid`='".intval($userinfo['user_id'])."' LIMIT 1"));
$getprofilefields=$SQL->query("SELECT * FROM `".pkSQLTAB_USER_PROFILEFIELDS."` WHERE `profilefields_forum`='1' ORDER by `profilefields_sorts` ASC, `profilefields_order` ASC");
while ($profilefields=$SQL->fetch_array($getprofilefields)) {
$f="field_".$profilefields['profilefields_id'];
if (($fieldcontent=htmlentities($userfields[$f]))=='') $fieldcontent=$lang['not_specified'];
if($profilefields['profilefields_bbcode']=='1') {
$fieldcontent=pkStringCut($userfields[$f],$profilefields['profilefields_cut']);
$fieldcontent=$BBCODE->parse($fieldcontent,0,$forumpost['forumpost_bbcode'],$forumpost['forumpost_smilies'],pkGetConfig('forum_images'),1,pkGetConfig('forum_imageresize'),pkGetConfig('forum_textwrap'));
} else {
$fieldcontent=pkStringCut($userfields[$f],$profilefields['profilefields_cut']);
$fieldcontent=pkEntities($fieldcontent);
}
$fieldforum=$BBCODE->parse($profilefields['profilefields_forum_description'],1,$forumpost['forumpost_bbcode'],$forumpost['forumpost_smilies'],pkGetConfig('forum_images'),1,pkGetConfig('forum_imageresize'),pkGetConfig('forum_textwrap'));
if (getrights(pkGetConfig('member_infoshow'))=="true" AND getrights($profilefields['profilefields_status'])=="true") {
eval ("\$pflicht_forum.= \"".pkTpl("forum/info_pflichtforum")."\";");}
}
/******************************** Pflichtfeld Ende ********************************/
if($userinfo['user_imoption']==1)
eval("\$info_im= \"".pkTpl("forum/member_sendim_iconlink")."\";");
if($config['avatar_eod']!=0 && $userinfo['user_avatar']!="" && filecheck($config['avatar_path'].'/'.$userinfo['user_avatar']))
{
$avatar_dimension=@getimagesize($config['avatar_path']."/".$userinfo['user_avatar']);
eval("\$avatar_show=\"".pkTpl("user_avatar_show")."\";");
}
else
{
$avatar_show='<img src="'.$config['avatar_path'].'/no_avatar.gif" />';
}
##### Report Post burnerfm.de & pimpyourkit.de ######
if($forumpost['forumpost_report'] == 1)
{
$report_time = formattime($forumpost['forumpost_report_time']);
eval("\$report=\"".pkTpl("forum/forumpost_report")."\";");
}
##### Report Post burnerfm.de & pimpyourkit.de ######
$info_sig=pkUserSignature($userinfo['user_sig']);
eval("\$info_user=\"".pkTpl("forum/member_userinfo_iconlink")."\";");
eval("\$post_autor=\"".pkTpl("forum/member_showprofil_textlink")."\";");
eval("\$info_buddie=\"".pkTpl("forum/member_buddie_iconlink")."\";");
}
if(($forumthread['forumthread_status']==1 || $forumthread['forumthread_status']==2) && (getrights($forumcat['forumcat_wrights'])=="true" || userrights($forumcat['forumcat_mods'],$forumcat['forumcat_rrights'])=="true" || userrights($forumcat['forumcat_user'],$forumcat['forumcat_rrights'])=="true"))
eval("\$quote_answer=\"".pkTpl("forum/showthread_quote")."\";");
if((pkGetUservalue('id') && $forumpost['forumpost_autorid']==pkGetUservalue('id') && ($forumthread['forumthread_status']==1 || $forumthread['forumthread_status']==2)) || userrights($forumcat['forumcat_mods'])=="true")
##### Multi Del Thread by burnerfm.de | pimpyourkit.de #####
$del_status = 2; //--> ( 0 = aus, 1 = einfach, 2 = Multi )
if($del_status == 0)
$post_del = '';
elseif($del_status == 1)
$post_del = '<a href="?path=forumseditpost&postid='.$forumpost['forumpost_id'].'&delete_post=1">
<img src="images/delete.gif" border="0" alt="Beitrag löschen" title="Beitrag löschen" /></a>';
else
{
$post_del ='<input type="checkbox" name="dpID[]" value="'.$forumpost['forumpost_id'].'" />Post markieren';
$dP_button ="<input type=\"submit\" name=\"dpButton\" value=\"Posts löschen\" />
<input onclick=\"check_all('dpID[]', this)\" type=\"checkbox\" />Alle Posts markieren";
if (is_array($_POST['dpID']))
{
foreach ($_POST['dpID'] as $dpID)
{
if ($dpRow)
$dpRow.=' OR ';
$dpRow.="forumpost_id='".$dpID."'";
}
if (isset($_POST['dpButton']) && isset($dpRow))
{
$cPost=$SQL->fetch_array($SQL->query("SELECT COUNT(*) FROM ".pkSQLTAB_FORUM_POST." WHERE forumpost_threadid='".$threadid."'"));
$checkIT=FALSE;
if ($cPost[0]==count($_POST['dpID']))
{
$SQL->query("DELETE FROM ".pkSQLTAB_FORUM_THREAD." WHERE forumthread_id='".$threadid."'");
$checkIT=TRUE;
}
$SQL->query("DELETE FROM ".pkSQLTAB_FORUM_POST." WHERE ".$dpRow);
$entrieSide=isset($_GET['entries']) ? '&entries='.intval($_GET['entries']) : '';
if ($checkIT==TRUE)
pkHeaderLocation('forumscategory','','catid='.$forumthread['forumthread_catid']);
else
pkHeaderLocation('forumsthread','','threadid='.$threadid.$entrieSide);
}
}
}
##### Multi Del Thread by burnerfm.de | pimpyourkit.de #####
eval("\$post_edit= \"".pkTpl("forum/showthread_edit")."\";");
if($forumpost['forumpost_icon']!='')
{
$post_icon="icons/".$forumpost['forumpost_icon'];
eval("\$post_icon= \"".pkTpl("forum/showthread_row_posticon")."\";");
}
if($post_autor=='')
{
eval("\$info_os= \"".pkTpl("guest_os_icon")."\";");
$post_autor=pkEntities($forumpost['forumpost_autor']);
$post_count=$lang['guest'];
}
if($forumpost['forumpost_editcount']>0)
{
$edit_time=formattime($forumpost['forumpost_edittime']);
$forumpost['forumpost_editautor']=pkEntities($forumpost['forumpost_editautor']);
eval("\$edit_message= \"".pkTpl("forum/showthread_row_editmessage")."\";");
}
if(userrights($forumcat['forumcat_mods'])=="true")
eval("\$post_ip= \"".pkTpl("forum/showthread_ip")."\";");
else
eval("\$post_ip= \"".pkTpl("forum/showthread_report")."\";");
$post_time=formattime($forumpost['forumpost_time']);
$post_title=pkEntities($forumpost['forumpost_title']);
$post_text=$BBCODE->parse($forumpost['forumpost_text'],0,$forumpost['forumpost_bbcode'],$forumpost['forumpost_smilies'],$config['forum_images'],1,pkGetConfig('forum_imageresize'),pkGetConfig('forum_textwrap'));
/**************************************** FORUM Anhang Anfang ****************************************/
$forumatt_info=$SQL->fetch_array($SQL->query("SELECT * FROM `".pkSQLPREFIX."_forumatt` WHERE `forumatt_id`='1' LIMIT 1"));
$endung_att = pathinfo($forumpost['forumpost_forumatt_file_org']);
$forum_endung = $array_pic[$endung_att['extension']];
if($forum_endung!='') $datei_typen_forum=$forum_endung;
else $datei_typen_forum='unknown.gif';
$ausgabe_att_id =trim($forumpost['forumpost_id']);
$ausgabe_att_file =htmlentities(html_entity_decode(trim($forumpost['forumpost_forumatt_file'])));
$ausgabe_att_org =htmlentities(html_entity_decode(trim($forumpost['forumpost_forumatt_file_org'])));
$ausgabe_att_size =htmlentities(html_entity_decode(trim($forumpost['forumpost_forumatt_size'])));
$ausgabe_att_count=htmlentities(html_entity_decode(trim($forumpost['forumpost_forumatt_count'])));
if($forumpost['forumpost_forumatt_look']=='guest') $status_att="Gäste";
elseif($forumpost['forumpost_forumatt_look']=='user') $status_att="User";
elseif($forumpost['forumpost_forumatt_look']=='member') $status_att="Member";
elseif($forumpost['forumpost_forumatt_look']=='vip') $status_att="VIP";
elseif($forumpost['forumpost_forumatt_look']=='mod') $status_att="Moderator";
elseif($forumpost['forumpost_forumatt_look']=='admin') $status_att="Administrator";
if($forumatt_info['forumatt_delete']==1 AND $forumpost['forumpost_forumatt_auto']==0) {
$tage_att=date("d", (time()-$forumpost['forumpost_forumatt_time']));
$tagen_delete_att=$forumatt_info['forumatt_delete_time']-$tage_att;
if($forumatt_info['forumatt_delete_time']>=$tage_att) {
eval ("\$attachment_delete= \"".pkTpl("forum/showthread_attachment_delete")."\";");
} else {
eval ("\$attachment_delete= \"".pkTpl("forum/showthread_attachment_delete_go")."\";");
}
} else unset($attachment_delete);
if($forumatt_info['forumatt_off']==1 AND $id_cat['forumcat_forumatt_off']==1) {
if($forumpost['forumpost_forumatt_file']!='' AND $forumpost['forumpost_forumatt_file_org']!='') {
if(getrights($forumpost['forumpost_forumatt_look']))
eval ("\$attachment_forum= \"".pkTpl("forum/showthread_attachment")."\";");
else eval ("\$attachment_forum= \"".pkTpl("forum/showthread_attachment_no")."\";");}
}
/**************************************** FORUM Anhang Ende ****************************************/
eval("\$showthread_row.= \"".pkTpl("forum/showthread_row")."\";");
$lastreadedposting=$forumpost['forumpost_time'];
unset($avatar_show);
##### Report Post burnerfm.de & pimpyourkit.de ######
unset($report);
##### Report Post burnerfm.de & pimpyourkit.de ######
unset($post_icon);
unset($info_sig);
unset($post_autor_status);
unset($edit_time);
unset($post_count);
unset($post_autor);
unset($info_os);
unset($userinfo);
unset($post_edit);
/**************************************** FORUM Anhang Anfang ****************************************/
unset($attachment_forum);
/**************************************** FORUM Anhang Ende ****************************************/
unset($info_user);
unset($info_email);
unset($info_im);
unset($info_hpage);
unset($info_icq);
/******************************** Pflichtfeld Anfang ********************************/
unset($pflicht_forum);
/******************************** Pflichtfeld Ende ********************************/
unset($info_buddie);
unset($edit_message);
unset($post_ip);
if($FORUM->getLayout()==1)
break;
}
}
$FORUM->setReaded($catid,$threadid,$lastreadedposting);
if($FORUM->getLayout()==1)
{
foreach($post_cache as $forumpost)
{
if(!$postid>0)
$postid=$firstpost['forumpost_id'];
if($forumpost['forumpost_autorid']>0)
$userinfo=$user_cache[$forumpost['forumpost_autorid']];
if($userinfo['user_id']>0)
{
$userinfo['user_nick']=pkEntities($userinfo['user_nick']);
eval("\$post_autor= \"".pkTpl("forum/member_showprofil_textlink")."\";");
}
if($post_autor=='')
{
$post_autor=pkEntities($forumpost['forumpost_autor']);
$post_count=$lang['guest'];
}
if(empty($forumpost['forumpost_title']))
$forumpost['forumpost_title']=pkEntities($firstpost['forumpost_title']);
else
$forumpost['forumpost_title']=pkEntities($forumpost['forumpost_title']);
if($forumpost['forumpost_id']!=$firstpost['forumpost_id'])
{
eval("\$tree_spacer= \"".pkTpl("forum/showthread_tree_row_spacer")."\";");
if($forumpost['forumpost_reply']>0)
{
$replyto=$forumpost['forumpost_reply'];
while($replyto>0)
{
eval("\$tree_spacer.= \"".pkTpl("forum/showthread_tree_row_iconline")."\";");
$id=$post_cache[$replyto];
$replyto=$id['forumpost_reply'];
}
}
}
if($forumpost['forumpost_icon']!='')
{
$post_icon='icons/'.$forumpost['forumpost_icon'];
eval("\$post_icon= \"".pkTpl("forum/showthread_tree_row_posticon")."\";");
}
else
eval("\$post_icon= \"".pkTpl("forum/showthread_tree_row_icondir")."\";");
$post_time=formattime($forumpost['forumpost_time']);
$link=pkLink('forumsthread','','threadid='.$threadid.'&postid='.$forumpost['forumpost_id'],'post'.$forumpost['forumpost_id']);
if($postid==$forumpost['forumpost_id'])
eval("\$showthread_tree_row.= \"".pkTpl("forum/showthread_tree_row_highlight")."\";");
else
eval("\$showthread_tree_row.= \"".pkTpl("forum/showthread_tree_row")."\";");
unset($post_time);
unset($post_autor);
unset($tree_spacer);
unset($id);
}
eval("\$showthread_tree= \"".pkTpl("forum/showthread_tree")."\";");
}
else
$sidelink=sidelinkfull($postcount[0],$forumcat['forumcat_posts'],$entries,'include.php?path=forumsthread&threadid='.$forumthread['forumthread_id'],'sitebodysmall');
if(pkGetUservalue('sigoption'))
{
$setsig=0;
$sigoption=$lang['hide'];
}
else
{
$setsig=1;
$sigoption=$lang['show'];
}
$threadinformation=pkGetSpecialLang('threadinformation',$postcount[0],$forumthread['forumthread_status']);
$current_path=pkEntities($ENV->getvar('QUERY_STRING'));
if($FORUM->getLayout()==1)
eval("\$board_style=\"".pkTpl("forum/showthread_boardstyle_board")."\";");
else
eval("\$board_style=\"".pkTpl("forum/showthread_boardstyle_tree")."\";");
$forumthread['forumthread_title']=pkEntities($forumthread['forumthread_title']);
if(pkGetUservalue('id'))
{
eval("\$add_favorit=\"".pkTpl("forum/showthread_addfavorit")."\";");
if(userrights($forumcat['forumcat_mods']))
{
if(is_array($forumcat_cache_byname))
{
foreach($forumcat_cache_byname as $catinfo)
{
if((getrights($catinfo['forumcat_rrights'])=="true" || userrights($catinfo['forumcat_mods'],$catinfo['forumcat_rrights'])=="true" || userrights($catinfo['forumcat_user'],$catinfo['forumcat_rrights'])=="true") && $catinfo['forumcat_id']!=$catid)
{
$catinfo['forumcat_name']=str_repeat('-',$catinfo['level']).' '.pkEntities($catinfo['forumcat_name']);
eval("\$quickmod_catlist.= \"".pkTpl("forum/showthread_quickmod_option")."\";");
}
}
}
$lang_go=pkGetLang('go');
eval("\$showthread_quickmod=\"".pkTpl("forum/showthread_quickmod")."\";");
eval("\$thread_moderate=\"".pkTpl("forum/showthread_moderate")."\";");
}
}
##################Schnell Antwort Hack by Crack##################
if(pkgetconfig('forum_awactive')==1){
if(pkgetconfig('forum_ubb')==1){
eval("\$sign_format= \"".pkTpl("format_text")."\";");
eval("\$option_bbcode= \"".pkTpl("forum/newpost_option_bbcode")."\";");
}
if(pkgetconfig('forum_smilies')==1 && pkgetconfig('forum_awsmilies')==1){
$smilies=new smilies();
$sign_format.=$smilies->getSmilies(1);
}
if($sign_format){
eval("\$sign_format= \"".pkTpl("format_table")."\";");
}
if(($forumthread['forumthread_status']==1 || $forumthread['forumthread_status']==2) && (getrights($forumcat['forumcat_wrights'])=="true" || userrights($forumcat['forumcat_mods'],$forumcat['forumcat_rrights'])=="true" || userrights($forumcat['forumcat_user'],$forumcat['forumcat_rrights'])=="true")){
srand((double) microtime()*1000000);
$post_uid=md5(uniqid(rand()));
if(pkGetUservalue('id')>0){
$usernick=pkGetUservalueF('nick');
eval("\$user_info= \"".pkTpl("forum/fastpost_newpost_user")."\";");
eval("\$fastpost_notify= \"".pkTpl("forum/fastpost_notify")."\";");
eval("\$fastpost_notify2= \"".pkTpl("forum/fastpost_notify2")."\";");
eval ("\$fastpost= \"".pkTpl("forum/fastpost")."\";");
}else{
if (pkgetconfig('forum_awactiveguest')==1){
$usernick='Gast';
if($_POST['post_autor']){
$usernick=$_POST['post_autor'];
}
eval("\$user_info= \"".pkTpl("forum/fastpost_newpost_guest")."\";");
eval("\$fastpost_notify= \"".pkTpl("forum/fastpost_notify")."\";");
eval("\$fastpost_notify2= \"".pkTpl("forum/fastpost_notify2")."\";");
eval ("\$fastpost= \"".pkTpl("forum/fastpost")."\";");
}
if (pkgetconfig('forum_awactiveguest')==0)
eval("\$fastpost= \"".pkTpl("forum/fastpost_no_guest")."\";");
}
}
}elseif (pkgetconfig('forum_awactive')==0)
eval ("\$fastpost= \"".pkTpl("forum/fastpost_Deaktiviert")."\";");
elseif (pkgetconfig('forum_awactive')=="")
eval ("\$fastpost= \"".pkTpl("forum/fastpost_setup")."\";");
##################Schnell Antwort Hack by Crack##################
$removeto=pkEntities(urlencode($ENV->getvar('QUERY_STRING')));
//======Statusbalken Abfrage======
$readstatus =$SQL->fetch_array($SQL->query("SELECT * FROM `".pkSQLPREFIX."_status_balken` "));
if ($forumthread['forumthread_id']==$readstatus['linkthread']) include ("statusbalken.php");
//====== www.lcl-online.de ======
eval("\$site_body.= \"".pkTpl("forum/showthread")."\";");
include(pkDIRPUBLICINC.'forumsfooter'.pkEXT);
?>
Das verlinkte Bild http://www.support-space.de/upload_files/banner_gross.png existiert nicht mehr bzw. wurde falsch verlinkt!
Die Betreiber und die Moderatoren dieser Community distanzieren sich hiermit ausdrücklich von dem oben genannten Autor am 19.01.2010 - 21:09 Uhr verfassten Beitrag. Sollte dieser Beitrag Ihre Rechte verletzen bitten wir um Benachrichtigung.
RE: Thread Aktiv User Bug?
Hi
wenn du noch keine Themen in deinem Forum hast kann auch noch nix angezeigt werden. LöL
Die Betreiber und die Moderatoren dieser Community distanzieren sich hiermit ausdrücklich von dem oben genannten Autor am 20.01.2010 - 07:05 Uhr verfassten Beitrag. Sollte dieser Beitrag Ihre Rechte verletzen bitten wir um Benachrichtigung.
RE: Thread Aktiv User Bug?
Hallo
habe es getestet werde als gast direkt angezeigt.
Die Betreiber und die Moderatoren dieser Community distanzieren sich hiermit ausdrücklich von dem oben genannten Autor am 20.01.2010 - 09:22 Uhr verfassten Beitrag. Sollte dieser Beitrag Ihre Rechte verletzen bitten wir um Benachrichtigung.
RE: Thread Aktiv User Bug?
ich och
Das verlinkte Bild http://www.pimpyourkit.de/images/banner/siguser_1.gif existiert nicht mehr bzw. wurde falsch verlinkt!
Die Betreiber und die Moderatoren dieser Community distanzieren sich hiermit ausdrücklich von dem oben genannten Autor am 20.01.2010 - 12:34 Uhr verfassten Beitrag. Sollte dieser Beitrag Ihre Rechte verletzen bitten wir um Benachrichtigung.
RE: Thread Aktiv User Bug?
Wird doch angezeigt.
Siehe Screen:
Das verlinkte Bild http://www4.pic-upload.de/20.01.10/b4m19gv1kbfs.jpg existiert nicht mehr bzw. wurde falsch verlinkt!
Ja es ist geschafft bin seit 02.07.10 stolzer PAPA eines Mädchen => Eingeschränkter Support meinerseits !!!
Die Betreiber und die Moderatoren dieser Community distanzieren sich hiermit ausdrücklich von dem oben genannten Autor am 20.01.2010 - 16:53 Uhr verfassten Beitrag. Sollte dieser Beitrag Ihre Rechte verletzen bitten wir um Benachrichtigung.

RE: Thread Aktiv User Bug?
Ja das liegt aber daran das das ganze aus der Session Tabelle ausgelesen wird und dann Anhand der IP überprüft wird. Sollten also 2 mal die gleiche IP in der Session Tabelle ausgewählt sein wird auch nur einer angezeigt.
Man könnte das zwar jetzt auch über USERID auslesen lassen wäre aber Schwachsinn da jeder Gast immer die ID 0 hat und es somit nicht stimmen würde und es könnten 100 Gäste im Thread sein aber nur einer angezeigt.
Nächste Möglichkeit wäre noch über Cookies oder Session ID´s aber das wäre der Aufwand ehrlich gesagt nicht wert.
Ja es ist geschafft bin seit 02.07.10 stolzer PAPA eines Mädchen => Eingeschränkter Support meinerseits !!!
Die Betreiber und die Moderatoren dieser Community distanzieren sich hiermit ausdrücklich von dem oben genannten Autor am 20.01.2010 - 17:03 Uhr verfassten Beitrag. Sollte dieser Beitrag Ihre Rechte verletzen bitten wir um Benachrichtigung.
Das verlinkte Bild images/forumstatus/moved.png existiert nicht mehr bzw. wurde falsch verlinkt!  Zitat Beitrag wurde von Andre am 15.04.2010 - 23:24 von # 2.2 ~ 11 - [Sonstige AddOns] nach # 2.2 ~ 02 - [Foren AddOns] verschoben.
Ja es ist geschafft bin seit 02.07.10 stolzer PAPA eines Mädchen => Eingeschränkter Support meinerseits !!!
Die Betreiber und die Moderatoren dieser Community distanzieren sich hiermit ausdrücklich von dem oben genannten Autor am 15.04.2010 - 23:24 Uhr verfassten Beitrag. Sollte dieser Beitrag Ihre Rechte verletzen bitten wir um Benachrichtigung.
|
 |
 |
|
 |
|
|