Name:		Schnell Antwort Hack 1.4 Final
Datum:		31-07-2009
Author: 	Crack
Homepage:	www.kit-coding.de
Email: 		webadmin@kit-coding.de

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

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 5 Dateien

Adminbereich -> Konfiguration -> Meta-Angaben -> Eigene Headerangaben
pkinc/public/forumsthread.php
pkinc/publictpl/forum/showthread.htm
pkinc/admin/config.php
pkinc/admintpl/config_forum.htm

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

Adminbereich -> Konfiguration -> Meta-Angaben -> Eigene Headerangaben

Fge in das Feld folgendes ein und klicken Sie auf speichern:
Dieser Text darf nur 1 mal in dem ganzen Feld stehen! Mehrere Addons nutzen diese Funktion ;)

<script type="text/javascript"> 
 function oeffne(welches) { 
   if(document.getElementById(welches).style.display == 'none') { 
     document.getElementById(welches).style.display = ''; 
     document.getElementById('img'+welches).src = 'images/minus.gif'; 
   }else{ 
     document.getElementById(welches).style.display = 'none'; 
     document.getElementById('img'+welches).src = 'images/plus.gif'; 
   } 
 } 
 </script>

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


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 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##################


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

pkinc/publictpl/forum/showthread.htm

Suche:

 </tr>
	$showthread_row
</table>

Fge darunter ein:

$fastpost

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

pkinc/admin/config/forum.php

Suche:

$save_values['forum_doublepost']	= $ENV->_post_ibool('forum_doublepost');

Fge darunter ein:

##################Schnell Antwort Hack by Crack##################
	$save_values['forum_awactive']		= $ENV->_post_ibool('forum_awactive');
	$save_values['forum_awactiveguest']	= $ENV->_post_ibool('forum_awactiveguest');
	$save_values['forum_awsmilies']		= $ENV->_post_ibool('forum_awsmilies');
	##################Schnell Antwort Hack by Crack##################

Suche weiter:

$option_doublepost1 = pkGetConfig('forum_doublepost')==1 ? $_selected : '';
$option_doublepost0 = $option_doublepost1 ? '' : $_selected;

Fge darunter an:

##################Schnell Antwort Hack by Crack##################
$forum_awactive1 = pkGetConfig('forum_awactive')==1 ? $_checked : '';
$forum_awactive0 = $forum_awactive1 ? '' : $_checked;

$forum_awsmilies1 = pkGetConfig('forum_awsmilies')==1 ? $_checked : '';
$forum_awsmilies0 = $forum_awsmilies1 ? '' : $_checked;

$forum_awactiveguest1 = pkGetConfig('forum_awactiveguest')==1 ? $_selected : '';
$forum_awactiveguest0 = $forum_awactiveguest1 ? '' : $_selected;
##################Schnell Antwort Hack 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 Hack -->
 <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="forum_awactive" value="1" $forum_awactive1 /></td>
	  <td>&nbsp;</td>
      <td><font class="small">Ja</font></td>
	  <td>&nbsp;&nbsp;</td>
	  <td><input class="radio" type="radio" name="forum_awactive" value="0" $forum_awactive0 /></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="forum_awsmilies" value="1" $forum_awsmilies1 /></td>
	  <td>&nbsp;</td>
      <td><font class="small">Ja</font></td>
	  <td>&nbsp;&nbsp;</td>
	  <td><input class="radio" type="radio" name="forum_awsmilies" value="0" $forum_awsmilies0/></td>
	  <td>&nbsp;</td>
	  <td><font class="small">Nein</font></td>
	 </tr>
	</table>
  </td>
 </tr>
  <tr>
  <td class="left">Anzeigen f&uuml;r G&auml;ste ?<br />
  	<font class="small">Sie k&ouml;nnen den Hack verstecken f&uuml;r G&auml;ste, auch wenn diese Schreibrechte besitzen.</font></td>
  <td class="right">
	<select name="forum_awactiveguest" size="2" class="w90">
	<option value="0" $forum_awactiveguest0>deaktiviert</option>
	<option value="1" $forum_awactiveguest1>aktiviert</option>	
	</select></td>
 </tr>
 <!-- Schnell Anwort Hack -->

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

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

Support & Fragen: 

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


