Name:		Schnell Antwort Hack 1.3 Final
Datum:		20-06-2008
Author: 	Crack
Homepage:	www.kit-coding.de
Email: 		Info@kit-coding.de

---------------------------------------------------------------------------------------------------
INSTAL HowTo 
---------------------------------------------------------------------------------------------------

In diesem Download ist eine Datei, die "format_text_AW.htm" heit. Dort sind momentan nur die 
standard BBcodes enthalten. Mchten Sie mehr hinzufgen, so passen Sie diese nach dem bestehenden Muster an ;)

1. Lade alle ordner unter beibehaltung der Ordnerstruktur hoch. ( Es werden keine Dateien berschrieben!)
2. Rufen Sie die Install.php auf ber: http://www.deinedomain.de/include.php?path=install
3. ndere nun folgende Dateien

pkinc/public/forumsthread.php
pkinc/publictpl/forum/showthread.htm
pkinc/admin/config.php
pkinc/admintpl/config_forum.htm


=======================================================================
pkinc/public/forumsthread.php

suche:

eval("\$showthread_quickmod=\"".pkTpl("forum/showthread_quickmod")."\";");

		eval("\$thread_moderate=\"".pkTpl("forum/showthread_moderate")."\";");
		}
	}

Fge darunter ein:

##################Schnell Antwort Hack 1.3 by Crack##################			
$active=$SQL->fetch_array($SQL->query("SELECT `quickaw_active`, `quickaw_activeguest`, `quickaw_showsmilies` FROM `".pkSQLTAB_CONFIG."`"));

if($active['quickaw_active'] == "1")
{
	eval("\$sign_format= \"".pkTpl("format_text_AW")."\";");
	
	if($active['quickaw_showsmilies'] == "1")
	{
		$smilies=new smilies();
		$sign_format.=$smilies->getSmilies("1");
	}

	if($sign_format!="")
		eval("\$sign_format=\"".pkTpl("format_table_AW")."\";"); 
		
  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'))
			{
			$usernick=pkGetUservalueF('nick');
			eval("\$user_info= \"".pkTpl("forum/fastpost_newpost_user")."\";");
			eval ("\$fastpost= \"".pkTpl("forum/fastpost")."\";");
			}
		else
			{
			if ($active['quickaw_activeguest'] == "1")
			{
			$post_autor='Gast';
			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 ($active['quickaw_activeguest'] == "0")
			eval("\$fastpost = \"".pkTpl("forum/fastpost_no_guest")."\";");
			}
  }
}
elseif ($active['quickaw_active'] == "0")
	eval ("\$fastpost= \"".pkTpl("forum/fastpost_Deaktiviert")."\";");
elseif ($active['quickaw_active'] == "")
	eval ("\$fastpost= \"".pkTpl("forum/fastpost_setup")."\";");
##################Schnell Antwort Hack 1.3 by Crack##################


=======================================================================

pkinc/publictpl/forum/showthread.htm

Suche:

 </tr>
	$showthread_row
</table>

Fge darunter ein:

$fastpost

=======================================================================

pkinc/admin/config.php

Suche:

if($do=="forum" or $do=="all")
	{
	if($ACTION==$_POST['save'])
		{
		$SQL->query("UPDATE ".pkSQLTAB_CONFIG." SET
			forum_eod='".$SQL->f($_POST['forum_eod'])."',
			forum_standalone='".$SQL->f($_POST['forum_standalone'])."',			
			forum_ubb='".$SQL->f($_POST['forum_ubb'])."',
			forum_smilies='".$SQL->f($_POST['forum_smilies'])."',
			forum_start='".$SQL->f($_POST['forum_start'])."',
			forum_button='".$SQL->f($_POST['forum_button'])."',
			forum_searcheod='".$SQL->f($_POST['forum_searcheod'])."',
			forum_showmod='".$SQL->f($_POST['forum_showmod'])."',
			forum_maxfav='".$SQL->f($_POST['forum_maxfav'])."',
			forum_viewreply='".$SQL->f($_POST['forum_viewreply'])."',
			forum_showrank='".$SQL->f($_POST['forum_showrank'])."',
			forum_postorder='".$SQL->f($_POST['forum_postorder'])."',
			forum_structur='".$SQL->f($_POST['forum_structur'])."',
			forum_doublepost='".$SQL->f($_POST['forum_doublepost'])."',
			forum_showbd='".$SQL->f($_POST['forum_showbd'])."',			
			forum_images='".$SQL->f($_POST['forum_images'])."'");

Ersetze mit:

if($do=="forum" or $do=="all")
	{
	if($ACTION==$_POST['save'])
		{
		$SQL->query("UPDATE ".pkSQLTAB_CONFIG." SET
			forum_eod='".$SQL->f($_POST['forum_eod'])."',
			forum_standalone='".$SQL->f($_POST['forum_standalone'])."',			
			forum_ubb='".$SQL->f($_POST['forum_ubb'])."',
			forum_smilies='".$SQL->f($_POST['forum_smilies'])."',
			forum_start='".$SQL->f($_POST['forum_start'])."',
			forum_button='".$SQL->f($_POST['forum_button'])."',
			forum_searcheod='".$SQL->f($_POST['forum_searcheod'])."',
			forum_showmod='".$SQL->f($_POST['forum_showmod'])."',
			forum_maxfav='".$SQL->f($_POST['forum_maxfav'])."',
			forum_viewreply='".$SQL->f($_POST['forum_viewreply'])."',
			forum_showrank='".$SQL->f($_POST['forum_showrank'])."',
			forum_postorder='".$SQL->f($_POST['forum_postorder'])."',
			forum_structur='".$SQL->f($_POST['forum_structur'])."',
			forum_doublepost='".$SQL->f($_POST['forum_doublepost'])."',
			forum_showbd='".$SQL->f($_POST['forum_showbd'])."',			
			forum_images='".$SQL->f($_POST['forum_images'])."',
			quickaw_active='".$SQL->f($_POST['quickaw_active'])."',
			quickaw_showsmilies='".$SQL->f($_POST['quickaw_showsmilies'])."',
			quickaw_activeguest='".$SQL->f($_POST['quickaw_activeguest'])."'");

Suche weiter:

if($config['forum_showbd']==1)
			$forum_showbd1='checked';
		else
			$forum_showbd0='checked';

Fge darunter an:

##################Schnell Antwort Hack 1.3 by Crack##################
		if($config['quickaw_active']==1)
			$quickaw_active1='checked';
		else
			$quickaw_active0='checked';
			
		if($config['quickaw_showsmilies']==1)
			$quickaw_showsmilies1='checked';
		else
			$quickaw_showsmilies0='checked';
			
		if($config['quickaw_activeguest']==1)
			$quickaw_activeguest1='selected';
		else
			$quickaw_activeguest0='selected';
##################Schnell Antwort Hack 1.3 by Crack##################

=======================================================================

pkinc/admintpl/config_forum.htm

Suche:

<tr>
  <td class="left">Geburtstage anzeigen</td>
  <td class="right">
  	<table border="0" cellspacing="0" cellpadding="0">
	 <tr>
	  <td><input class="radio" type="radio" name="forum_showbd" value="1" $forum_showbd1/></td>
	  <td>&nbsp;</td>
      <td><font class="small">Ja</font></td>
	  <td>&nbsp;&nbsp;</td>
	  <td><input class="radio" type="radio" name="forum_showbd" value="0" $forum_showbd0/></td>
	  <td>&nbsp;</td>
	  <td><font class="small">Nein</font></td>
	 </tr>
	</table>
  </td>
 </tr>

Fge darunter an:

<!-- Schnell Anwort -->
 <tr>
  <td class="highlight" colspan="2">Schnellantwort-Hack-Optionen</td>
 </tr>
 <tr>
  <td class="left">Aktiviert?</td>
  <td class="right">
  	<table border="0" cellspacing="0" cellpadding="0">
	 <tr>
	  <td><input class="radio" type="radio" name="quickaw_active" value="1" $quickaw_active1/></td>
	  <td>&nbsp;</td>
      <td><font class="small">Ja</font></td>
	  <td>&nbsp;&nbsp;</td>
	  <td><input class="radio" type="radio" name="quickaw_active" value="0" $quickaw_active0/></td>
	  <td>&nbsp;</td>
	  <td><font class="small">Nein</font></td>
	 </tr>
	</table>
  </td>
 </tr>
  <tr>
  <td class="left">Smilies anzeigen?</td>
  <td class="right">
  	<table border="0" cellspacing="0" cellpadding="0">
	 <tr>
	  <td><input class="radio" type="radio" name="quickaw_showsmilies" value="1" $quickaw_showsmilies1/></td>
	  <td>&nbsp;</td>
      <td><font class="small">Ja</font></td>
	  <td>&nbsp;&nbsp;</td>
	  <td><input class="radio" type="radio" name="quickaw_showsmilies" value="0" $quickaw_showsmilies0/></td>
	  <td>&nbsp;</td>
	  <td><font class="small">Nein</font></td>
	 </tr>
	</table>
  </td>
 </tr>
<tr>
  <td class=left>Anzeigen fr Gste ?
	<br><font class=small>Sie knnen den Hack verstecken fr Gste, auch wenn diese Schreibrechte besitzen.</font></td>
  <td class=right>
	<select name="quickaw_activeguest" size="2" class=w90>
	<option value="0" $quickaw_activeguest0>deaktiviert</option>
	<option value="1" $quickaw_activeguest1>aktiviert</option>	
	</select></td>
 </tr>


=======================================================================

Support:
============================

Support & Fragen: 

Support gebe ich gerne unter www.fighting-rebels.de


