Hier eine Anleitung, um manuell das VIP System einzubinden. 

Vorwort: 
Die folgenen Schritte sollten nicht von Anfnger durchgefhrt werden. 
Webradio Help haftet fr keine schden an eurer Seite.
Ihr ntig einen PHP Editor sowie etwa 1 Stunde Zeitaufwand.
Die Codes wurden zu 90 % getestet. 
Wenn Fehler gefunden werden, teilt Sie uns bitte mit.


Schritt 1:

Stellt eure Seite in den Wartungsmodus. 
Macht ein Backup eurer Seite alle Dateien sowie der Datenbank.
Wenn ihr das Scoresystem und das Security Sytem nutzt, passt dieses in die mitgelieferte maincore.php an.

Schritt 2: 

Wir brauchen folgene Dateien:

[ulist=disc]/forum/viewthread.php 
/includes/commets_include.php 
/includes/theme_functions_include.php
/include/multisite_include.php
/infusions/shoutbox_panel/shoutbox_archive.php
/infusions/shoutbox_panel/shoutbox_panel.php
/infusions/user_info_panel/user_info_panel.php
/articles.php
/edit_profile.php
/members.php
/profile.php[/ulist]

Nun ladet alle anderen Dateien auf euern Server, die nicht bentigt werden.

Nun fangen wir an: 

??ffne die /forum/viewthread.php 

Suche in Zeile 277 nach:

echo "<tr>\n<td class='tbl2 forum_thread_user_name' style='width:140px'><!--forum_thread_user_name--><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a></td>\n";




und ersetze es mit:


//StartVIP
echo "<tr>\n<td class='tbl2 forum_thread_user_name' style='width:140px'><!--forum_thread_user_name--><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."'>".ColorName($data['user_id'])."&nbsp;".panacik($data['user_groups'])."</a></td>\n";
//EndeVIP




??ffne nun Includes/commets_include.php 

Direkt am Anfang fuge unter :

include LOCALE.LOCALESET."comments.php";




das ein:

require_once INCLUDES."vip_functions.php";




Suche in Zeile 76 nach: 


opentable($locale['c100']);
echo "<a id='comments' name='comments'></a>";
$c_rows = dbcount("(comment_id)", DB_COMMENTS, "comment_item_id='$cid' AND comment_type='$ctype'");
if (!isset($_GET['c_start']) || !isnum($_GET['c_start'])) { $_GET['c_start'] = 0; }
$result = dbquery(
"SELECT tcm.*,user_name FROM ".DB_COMMENTS." tcm
LEFT JOIN ".DB_USERS." tcu ON tcm.comment_name=tcu.user_id
WHERE comment_item_id='$cid' AND comment_type='$ctype'
ORDER BY comment_datestamp ASC LIMIT ".$_GET['c_start'].",10"
);
if (dbrows($result)) {
$i = $_GET['c_start']+1;
if ($c_rows > 10) {
echo "<div style='text-align:center;margin-bottom:5px;'>".makecommentnav($_GET['c_start'], 10, $c_rows, 3, $clink."&amp;")."</div>\n";
}
while ($data = dbarray($result)) {
echo "<div class='tbl2'>\n";
if ((iADMIN && checkrights("C")) || (iMEMBER && $data['comment_name'] == $userdata['user_id'] && isset($data['user_name']))) {
echo "<div style='float:right' class='comment_actions'><!--comment_actions-->\n<a href='".FUSION_REQUEST."&amp;c_action=edit&amp;comment_id=".$data['comment_id']."#edit_comment'>".$locale['c108']."</a> |\n";
echo "<a href='".FUSION_REQUEST."&amp;c_action=delete&amp;comment_id=".$data['comment_id']."'>".$locale['c109']."</a>\n</div>\n";
}
echo "<a href='".FUSION_REQUEST."#c".$data['comment_id']."' id='c".$data['comment_id']."' name='c".$data['comment_id']."'>#".$i."</a> | ";
if ($data['user_name']) {
echo "<span class='comment-name'><a href='".BASEDIR."profile.php?lookup=".$data['comment_name']."'>".$data['user_name']."</a></span>\n";
} else {
echo "<span class='comment-name'>".$data['comment_name']."</span>\n";
}
echo "<span class='small'>".$locale['global_071'].showdate("longdate", $data['comment_datestamp'])."</span>\n";
echo "</div>\n<div class='tbl1 comment_message'><!--comment_message-->".nl2br(parseubb(parsesmileys($data['comment_message'])))."</div>\n";
$i++;
}




und ersetze es mit:


//StartVIP
opentable($locale['c100']);
echo "<a id='comments' name='comments'></a>";
$c_rows = dbcount("(comment_id)", DB_COMMENTS, "comment_item_id='$cid' AND comment_type='$ctype'");
if (!isset($_GET['c_start']) || !isnum($_GET['c_start'])) { $_GET['c_start'] = 0; }
$result = dbquery(
"SELECT tcm.*,user_name,user_groups,user_groups,user_avatar,user_sig FROM ".DB_COMMENTS." tcm
LEFT JOIN ".DB_USERS." tcu ON tcm.comment_name=tcu.user_id
WHERE comment_item_id='$cid' AND comment_type='$ctype'
ORDER BY comment_datestamp ASC LIMIT ".$_GET['c_start'].",10"
);
if (dbrows($result)) {
$i = $_GET['c_start']+1;
if ($c_rows > 10) {
echo "<div style='text-align:center;margin-bottom:5px;'>".makecommentnav($_GET['c_start'], 10, $c_rows, 3, $clink."&amp;")."</div>\n";
}
while ($data = dbarray($result)) {
$vip = dbarray(dbquery("SELECT * FROM ".DB_VIP_SETTINGS));
if (strpos($data['user_groups'],$vip['vip_id']) === false) {
echo "<div class='tbl2'>\n";
}else{
echo "<div style='color: #555; background-image: url(".IMAGES."vip.jpg); padding: 4px;'>\n";
}
//EndeVIP




Suche jetzt nach :


if ((iADMIN && checkrights("C")) || (iMEMBER && $data['comment_name'] == $userdata['user_id'] && isset($data['user_name']))) {
echo "<div style='float:right' class='comment_actions'><!--comment_actions-->\n<a href='".FUSION_REQUEST."&amp;c_action=edit&amp;comment_id=".$data['comment_id']."#edit_comment'>".$locale['c108']."</a> |\n";
echo "<a href='".FUSION_REQUEST."&amp;c_action=delete&amp;comment_id=".$data['comment_id']."'>".$locale['c109']."</a>\n</div>\n";
}
echo "<a href='".FUSION_REQUEST."#c".$data['comment_id']."' id='c".$data['comment_id']."' name='c".$data['comment_id']."'>#".$i."</a> | ";
if ($data['user_name']) {
echo "<span class='comment-name'><a href='".BASEDIR."profile.php?lookup=".$data['comment_name']."'>".$data['user_name']."</a></span>\n";
} else {
echo "<span class='comment-name'>".$data['comment_name']."</span>\n";
}
echo "<span class='small'>".$locale['global_071'].showdate("longdate", $data['comment_datestamp'])."</span>\n";
echo "</div>\n<div class='tbl1 comment_message'><!--comment_message-->".nl2br(parseubb(parsesmileys($data['comment_message'])))."</div>\n";
$i++;
}




und ersetze es mit: 


//StartVIP
if ((iADMIN && checkrights("C")) || (iMEMBER && $data['comment_name'] == $userdata['user_id'] && isset($data['user_name']))) {
echo "<div style='float:right' class='comment_actions'><!--comment_actions-->\n<a href='".FUSION_REQUEST."&amp;c_action=edit&amp;comment_id=".$data['comment_id']."#edit_comment'>".$locale['c108']."</a> |\n";
echo "<a href='".FUSION_REQUEST."&amp;c_action=delete&amp;comment_id=".$data['comment_id']."'>".$locale['c109']."</a>\n</div>\n";
}
echo "<a href='".FUSION_REQUEST."#c".$data['comment_id']."' id='c".$data['comment_id']."' name='c".$data['comment_id']."'>#".$i."</a> | ";
if ($data['user_name']) {
echo "<span class='comment-name'><a href='".BASEDIR."profile.php?lookup=".$data['comment_name']."'>".$data['user_name']."</a> ".panacik($data['user_groups'])."</span>\n";
} else {
echo "<span class='comment-name'>".$data['comment_name']."</span>\n";
}
echo "<span class='small'>".$locale['global_071'].showdate("longdate", $data['comment_datestamp'])."</span></div>\n";
echo "<table border='0' class='tbl1 comment_message'>";
echo "<tr><td width='100px'>";
echo "<div align='center' valign='top' class='tbl1 comment_message'>";
if ($data['user_avatar'] != "") { 
echo "".Cavatar($data['comment_name'])."\n";  
} else {   
 echo "".Cnoavatar($data['comment_name'])."\n";  
}   
echo "</div>";
echo "</td><td width='100%' valign='top' align='left'>";
echo "<div align='left' valign='top' class='tbl1 comment_message'><!--comment_message-->".Zlate_pismo($data['comment_name'])."".nl2br(parseubb(parsesmileys($data['comment_message'])))."</font>\n";

if ($data['user_sig'] != "") {


echo "<hr class='side-hr'>".nl2br(parseubb(parsesmileys($data['user_sig']), "b|i|u||center|small|url|mail|img|color"));
      
} else {
      
echo "\n";
      
}

echo "</div></td></tr></table>\n";
$i++;
}
//EndeVIP




Jetzt ffne /includes/theme_functions_include.php 

Suche nach:


$res = THEME_BULLET." <a href='profile.php?lookup=".$info['user_id']."'".$link_class.">".$info['user_name']."</a> ";




ersetze es mit: 


//startVIP
$res = THEME_BULLET." <a href='profile.php?lookup=".$info['user_id']."'".$link_class."><a href='profile.php?lookup=".$info['user_id']."'".$link_class.">".ColorName($info['user_id'])."&nbsp; ".panacik($info['user_groups'])."</a> ";
//EndeVIP




Suche nun :


$res = THEME_BULLET." ".$locale['global_070']."<a href='profile.php?lookup=".$info['user_id']."'".$link_class.">".$info['user_name']."</a>\n";




ersetze es mit:


//StartVIP
$res = THEME_BULLET." ".$locale['global_070']."<a href='profile.php?lookup=".$info['user_id']."'".$link_class.">".ColorName($info['user_id'])."&nbsp; ".panacik($info['user_groups'])."</a> ";
//EndeVIP




Nun ffne /include/multisite_include.php

und baue folgenes nach : 


define("DB_RATINGS", DB_PREFIX."ratings");




ein :

define("DB_VIP_SETTINGS", DB_PREFIX."vip_settings");




Nun ffne infusions\shoutbox_panel\shoutbox_archive.php

Fge nach : 

echo $locale['global_152']."<br />\n";
}




das ein: 


//StartVIP
if ((iADMIN) || (checkgroup("".$vip['vip_id'].""))) {
echo "<div align='center'>Shoutbox Zeichen :<input type='text' name='commentlen' value='".$vip['vip_characters']."' maxlength='3' size='3' style='margin-top:5px; margin-bottom:2px; text-align:center;' class='textbox' readonly></div>\n";
echo "<textarea name='shout_message' onKeyDown=\"textCounter(this.form.shout_message, this.form.commentlen, ".$vip['vip_characters'].");\" onKeyUp=\"textCounter(this.form.shout_message, this.form.commentlen, ".$vip['vip_characters'].");\" onFocus=\"textCounter(this.form.shout_message, this.form.commentlen, ".$vip['vip_characters'].");\" rows='4' cols='50' class='textbox'>".$shout_message."</textarea><br />\n";
} else {
echo "<div align='center'>Shoutbox Zeichen :<input type='text' name='commentlen' value='".$vip['member_characters']."' maxlength='3' size='3' style='margin-top:5px; margin-bottom:2px; text-align:center;' class='textbox' readonly><br />(Vip:".$vip['vip_characters'].")</div>\n";
//EndeVIP




Suche nun nach: 


echo "<textarea name='archive_shout_message' rows='4' cols='50' class='textbox'>".$archive_shout_message."</textarea><br />\n";




ersetze es mit:


//StartVIP
echo "<textarea name='shout_message' onKeyDown=\"textCounter(this.form.shout_message, this.form.commentlen, ".$vip['member_characters'].");\" onKeyUp=\"textCounter(this.form.shout_message, this.form.commentlen, ".$vip['member_characters'].");\" onFocus=\"textCounter(this.form.shout_message, this.form.commentlen, ".$vip['member_characters'].");\" rows='4' cols='50' class='textbox'>".$shout_message."</textarea><br />\n";
}
//EndeVIP




Suche nun nach: 


if ($data['user_name']) {
echo "<span class='comment-name'><a href='".BASEDIR."profile.php?lookup=".$data['shout_name']."' class='slink'>".$data['user_name']."</a></span>\n";
} else {
echo "<span class='comment-name'>".$data['shout_name']."</span>\n";
}
echo "<span class='small'>".showdate("longdate", $data['shout_datestamp'])."</span>";
echo "</div>\n<div class='tbl1'>\n".sbawrap(parseubb(parsesmileys($data['shout_message']), "b|i|u|url|color"))."</div>\n";
}
} else {
echo "<div style='text-align:center'><br />\n".$locale['global_156']."<br /><br />\n</div>\n";
}




und ersetze es mit: 


//StartVip
if ($data['user_name']) {
      
$query = "SELECT * FROM ".DB_USERS."";
$lastseen = time() - $data['user_lastvisit'];
if ($lastseen < 60) {
$lastseen = "<img src='".BASEDIR."images/online.png' style='vertical-align: middle;'> ";
} else {
$lastseen = "<img src='".BASEDIR."images/offline.png' style='vertical-align: middle;'> ";
}
echo "".$lastseen."<span class='comment-name'><a href='".BASEDIR."profile.php?lookup=".$data['shout_name']."' class='side'>".ColorName($data['shout_name'])."&nbsp;".panacik($data['user_groups'])."</a></span>\n";
} else {
echo "<span class='comment-name'>".$data['shout_name']."</span>\n";
}
echo "<span class='small'>".showdate("longdate", $data['shout_datestamp'])."</span>";
echo "</div>\n<div class='tbl1'>\n".sbawrap(parseubb(parsesmileys($data['shout_message']), "b|i|u|url|color"))."</div>\n";
}
} else {
echo "<div style='text-align:center'><br />\n".$locale['global_156']."<br /><br />\n</div>\n";
}
//EndeVIP




Nun ffne infusions\shoutbox_panel\shoutbox_panel.php

Direkt nach : 


if (!defined("IN_FUSION")) { die("Access Denied"); }




das einfgen: 


if(file_exists(INFUSIONS."shoutbox_panel/locale/".$settings['locale'].".php"))
 {
  include INFUSIONS."shoutbox_panel/locale/".$settings['locale'].".php";
 }
else
 {
  include INFUSIONS."shoutbox_panel/locale/Czech.php";
 }
echo "<script type='text/javascript' src='".INFUSIONS."shoutbox_panel/inc/functions.js'></script>";




Fge vor:


openside($locale['global_150']);




Das ein:


$vip = dbarray(dbquery("SELECT * FROM ".DB_VIP_SETTINGS));




Fge nach : 


echo $locale['global_152']."<br />\n";
}




das ein: 


//Start VIP
if ((iADMIN) || (checkgroup("".$vip['vip_id'].""))) {
echo "<div align='center'>Shoutbox Zeichen:<input type='text' name='commentlen' value='".$vip['vip_characters']."' maxlength='3' size='3' style='margin-top:5px; margin-bottom:2px; text-align:center;' class='textbox' readonly></div>\n";
echo "<center><textarea id='shout_message' name='shout_message' onKeyDown=\"textCounter(this.form.shout_message, this.form.commentlen, ".$vip['vip_characters'].");\" onKeyUp=\"textCounter(this.form.shout_message, this.form.commentlen, ".$vip['vip_characters'].");\" onFocus=\"textCounter(this.form.shout_message, this.form.commentlen, ".$vip['vip_characters'].");\" rows='4' cols='20' style='width:140px;' class='textbox'>".$shout_message."</textarea><br />\n";

} else {
echo "<div align='center'>Shoutbox Zeichen :<input type='text' name='commentlen' value='".$vip['member_characters']."' maxlength='3' size='3' style='margin-top:5px; margin-bottom:2px; text-align:center;' class='textbox' readonly><br />(Vip:".$vip['vip_characters'].")</div>\n";
//EndeVIP




Suche nun nach : 


echo "<textarea name='shout_message' rows='4' cols='20' class='textbox' style='width:140px'>".$shout_message."</textarea><br />\n";




und ersetze es mit: 


//StartVIP
echo "<center><textarea id='shout_message' name='shout_message' onKeyDown=\"textCounter(this.form.shout_message, this.form.commentlen, ".$vip['member_characters'].");\" onKeyUp=\"textCounter(this.form.shout_message, this.form.commentlen, ".$vip['member_characters'].");\" onFocus=\"textCounter(this.form.shout_message, this.form.commentlen, ".$vip['member_characters'].");\" rows='4' cols='20' style='width:140px;' class='textbox'>".$shout_message."</textarea><br />\n";
}
//EndeVIP




Suche nach: 


WHERE ts.shout_id='".$_GET['shout_id']."'"
);




und genau dahinter: 


//startVIP
if (dbrows($esresult)) {
$esdata = dbarray($esresult);
if ((iADMIN && checkrights("S")) || (iMEMBER && $esdata['shout_name'] == $userdata['user_id'] && isset($esdata['user_name']))) {
if ((isset($_GET['s_action']) && $_GET['s_action'] == "edit") && (isset($_GET['shout_id']) && isnum($_GET['shout_id']))) {
$edit_url = $sep."s_action=edit&amp;shout_id=".$esdata['shout_id'];
//EndeVIP




Suche nun nach :


$result = dbquery(
   "SELECT ts.*, tu.user_id, tu.user_name FROM ".DB_SHOUTBOX." ts
   LEFT JOIN ".DB_USERS." tu ON ts.shout_name=tu.user_id
   ORDER BY ts.shout_datestamp DESC LIMIT 0,".$settings['numofshouts']
);




und direkt dahinter kommt das: 


//StartVIP
while ($data = dbarray($result)) {
echo "<div class='shoutboxname'>\n";
if ($data['user_name']) {
$query = "SELECT user_name,user_id,user_lastvisit FROM ".DB_USERS."";
$lastseen = time() - $data['user_lastvisit'];
if ($lastseen < 60) {
$lastseen = "<img src='".BASEDIR."images/online.png' style='vertical-align: middle;'><span style='color:#00FF00;font-weight:bold;'> Online</span>";
} else {
$lastseen = "<img src='".BASEDIR."images/offline.png' style='vertical-align: middle;'><span style='color:#ff0000;font-weight:bold;'> Offline</span>";
}
echo "<br /><a href='".BASEDIR."profile.php?lookup=".$data['shout_name']."' class='side'>".ColorName($data['shout_name'])."&nbsp;".panacik($data['user_groups'])."</a> \n";
echo '<a title="header=[
'.$locale['sbp_2'].ColorName($data["shout_name"]).'&nbsp;'.panacik($data["user_groups"]).'] 
body=[
<small>  
<br />hodnost:'.getuserlevel($data["user_level"]).'
<br />status:'.$lastseen.''."\n";
echo"<br />pohlavi:".($data['user_gender'] == 1 ? $locale['sbp_7']  : ($data['user_gender'] == 2 ? $locale['sbp_6'] : $locale['sbp_8']));
echo'<br /></small>'."\n";
echo'] delay=[0] fade=[on]" href=\'\' title=\'\' style=\'text-decoration:underline;\'><img border="0" src="'.INFUSIONS.'shoutbox_panel/images/profil.png" alt="" title=""></a><br />'."\n";
echo"</div></br>\n";
if (iMEMBER && $userdata['user_id'] != $data['user_id']) {
echo "<div style='text'>";
echo '[<font size="1" style="font-family: Arial"><a href="#" onclick=\'addText("shout_message", "'.$data["user_name"].'", "", "chatform"); return false;\'>'.$locale["sbp_9"].'</a></font>]</div>'."\n";       
}
} else {
echo "".$data['shout_name']."\n";
}
echo "</div>\n";
echo "<div class='shoutboxdate'>".showdate("shortdate", $data['shout_datestamp'])."</div>";
echo "<div class='shoutbox'>".sbwrap(parseubb(parsesmileys($data['shout_message']), "b|i|u|url|color"))."</div>\n";
if ((iADMIN && checkrights("S")) || (iMEMBER && $data['shout_name'] == $userdata['user_id'] && isset($data['user_name']))) {
echo "[<a href='".$link.$sep."s_action=edit&amp;shout_id=".$data['shout_id']."#edit_shout"."' class='side'>".$locale['global_076']."</a>]\n";
echo "[<a href='".$link.$sep."s_action=delete&amp;shout_id=".$data['shout_id']."' class='side'>".$locale['global_157']."</a>]<br />\n";
}
$i++;
if ($i != $numrows) { echo "<br />\n"; }
}
} else {
echo "<div>".$locale['global_156']."</div>\n";
}
echo "<br /><div style='text-align:center'>\n<a href='".INFUSIONS."shoutbox_panel/shoutbox_archive.php' class='side'>".$locale['global_155']."</a>\n</div>\n";
if ((iADMIN) || (checkgroup("".$vip['vip_id'].""))) {
echo "<div style='text-align:center'>\n<a href='".INFUSIONS."shoutbox_panel/vip_shout.php' class='side'>".$locale['sbp_10']."</a>\n</div>\n";
}
//EndeVIP




Nun lsche nur noch das: 


if (dbrows($result)) {
$i = 0;
while ($data = dbarray($result)) {
echo "<div class='shoutboxname'>";
if ($data['user_name']) {
echo "<a href='".BASEDIR."profile.php?lookup=".$data['shout_name']."' class='side'>".$data['user_name']."</a>\n";
} else {
echo $data['shout_name']."\n";
}
echo "</div>\n";
echo "<div class='shoutboxdate'>".showdate("shortdate", $data['shout_datestamp'])."</div>";
echo "<div class='shoutbox'>".sbwrap(parseubb(parsesmileys($data['shout_message']), "b|i|u|url|color"))."</div>\n";
if ((iADMIN && checkrights("S")) || (iMEMBER && $data['shout_name'] == $userdata['user_id'] && isset($data['user_name']))) {
echo "[<a href='".$link.$sep."s_action=edit&amp;shout_id=".$data['shout_id']."#edit_shout"."' class='side'>".$locale['global_076']."</a>]\n";
echo "[<a href='".$link.$sep."s_action=delete&amp;shout_id=".$data['shout_id']."' class='side'>".$locale['global_157']."</a>]<br />\n";
}
$i++;
if ($i != $numrows) { echo "<br />\n"; }
}
if ($numrows > $settings['numofshouts']) {
echo "<div style='text-align:center'>\n<a href='".INFUSIONS."shoutbox_panel/shoutbox_archive.php' class='side'>".$locale['global_155']."</a>\n</div>\n";
   }
} else {
echo "<div>".$locale['global_156']."</div>\n";
}





Nun ffne infusions\user_info_panel\user_info_panel.php

suche nach: 


openside($userdata['user_name']);




ersetze es mit:


$top = "".ColorName($userdata['user_id'])."&nbsp;".panacik($userdata['user_groups'])."";
openside($top);





??ffne nun die Articles.php

Suche nach: 


"user_name" => $data['user_name'],




und setze dadrunter: 


"user_groups" => $data['user_groups'],




Nun ffne edit_profile.php

suche nach: 

echo "<tr>\n<td class='tbl'>".$locale['u001'].":<span style='color:#ff0000'>*</span></td>\n";




und dadrunter baust du folgenes ein: 


if (checkgroup($vip['vip_jmeno'])) { 
echo "<td class='tbl'><input type='text' name='user_name' value='".$user_data['user_name']."' maxlength='30' class='textbox' style='width:200px;' /></td>\n";
} else {
echo "<td class='tbl'>".$userdata['user_name']." (Nur \n"; 
echo "".($vip['vip_jmeno'] == $vip['vip_id'] ? "VIP"  : ($vip['vip_jmeno'] == 102 ? "Administratori"  : ($vip['vip_jmeno'] == 103 ? "Hl. Administratori"  : "nevyplneno")));

 

echo "  Mitglieder k&ouml;nnen ihren Usernamen &auml;ndern!)<input type='hidden' name='user_name' value='".$user_data['user_name']."' maxlength='30' class='textbox' style='width:200px;' /></td>\n";
}





??ffne nun die members.php

suche nach: 


echo "<tr>\n<td class='$cell_color'>\n<a href='profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a></td>\n";




ersetze es mit: 


echo "<tr>\n<td class='$cell_color'>\n<a href='profile.php?lookup=".$data['user_id']."'>".ColorName($data['user_id'])."&nbsp;".panacik($data['user_groups'])."</a></td>\n";





Nun ffne die profile.php

suche nach: 


echo "<table cellpadding='0' cellspacing='1' width='400' class='tbl-border center'>\n<tr>\n";




dadrunter kommt:


//StartVIP
function Pavatar($user_id) {
$query = "SELECT user_avatar,user_id,user_name,user_groups FROM ".DB_USERS." WHERE user_id='".$user_id."' LIMIT 1";
$result = dbquery($query);
$num = dbrows($result);
if($num!='0')
{
$user = dbarray($result);
if($user['user_groups']!="")
{
$groups = explode(".",$user['user_groups']);
$group_count = count($groups)-1;
$group_id = $groups[$group_count];
$query = "SELECT avatar_bg_color FROM ".DB_USER_GROUPS." WHERE group_id='".$group_id."' LIMIT 1";
$result = dbquery($query);
$group = dbarray($result);
$return = "<td rowspan='5' width='1%' style='background-color: ".$group['avatar_bg_color'].";'><!--profile_user_avatar--><center><img src='".IMAGES."avatars/".$user['user_avatar']."' alt='' /><center></td>";
}
else
{
$return = "<td rowspan='5' width='1%' class='tbl profile_user_avatar'><!--profile_user_avatar--><center><img src='".IMAGES."avatars/".$user['user_avatar']."' alt='' /><center></td>";
}
}
else
{
$return = "";
} 
 return $return;
}
//EndeVIP





Suche in der profile.php

suche nun nach: 


echo "<td align='right' class='tbl1 profile_user_name'><!--profile_user_name-->".$user_data['user_name']."</td>\n";




ersetze es mit: 


echo "<td align='right' class='tbl1 profile_user_name'><!--profile_user_name-->".$user_data['user_name']."&nbsp;".panacik($user_data['user_groups'])."</td>\n";






Fertig 

Nun Installiert das VIP System wie hier beschireben.

Install:
Laden Sie den Inhalt aus dem Ordner files ins Hauptverzeichnis und berschreiben Sie ggf. die Orginal Dateien. Wichtig Backup vorher machen !

Gehen Sie nun in den Admin Bereich ihrer Seite > System Admin > Infusionen und Installieren Sie das VIP System. 
Nun gehn Sie in Infusionen > VIP Admin und fhren die Install.php aus.

Wenn alles geklappt hat, knnen Sie nun eine Gruppe auswhlen oder erstellen, wo die VIP User reinkommen.

Im VIP Admin knnen Sie auch einstellen, welche farbe VIP User bekommen oder ob nur VIP User eine Signatur haben sollen. 

Im Panel Admin knnen sie dann auch noch das VIP Panel einstellen. 
Dadrber knnen sich dann non VIP Member fr einen VIP Status bewerben.


VIP Code zum einbinden in andere Panels:


$vip = dbarray(dbquery("SELECT * FROM ".DB_VIP_SETTINGS));

if (checkgroup("".$vip['vip_id']."")) {
echo "   sichtbar fr VIP, durch folgend echo\n";
}




oder 


$vip = dbarray(dbquery("SELECT * FROM ".DB_VIP_SETTINGS));

if (checkgroup("".$vip['vip_id']."")) {
?>





In krze findet ihr auch einige erweiterungen fr das VIP System bei und im Downloadbereich.