Thread Author: DjSusnhine
Thread ID: 1378
Thread Info
Es gibt 17 Beiträge zu diesem Thema, und es wurde 12564 mal angesehen.
Wer ist hier? 1 Gäste
 Thema drucken
User Info Panel
DjSusnhine
Hallo folgendes, habe hier ein User Info Panel wo im Avatar ein Rahem drum ist. Ich frage mich nur wie man denn Rahmen raus bekommt.
Habe alle datein mal geschaut doch finde so nix was auf einen Rahmen deutet.
 
SC-Ad-Bot
 
Datalus
Link zur Hp bitte auf der das ganze aktiv ist.

Ohne Input Kein Output.

LG Micha

Ein test account wäre nicht schlecht damit man auch einen avatar sehen kann.
Bearbeitet von Datalus am 23.07.2009 um 20:18
.: Computer sind die intelligentesten Idioten, die es gibt :.
 
DjSusnhine
http://cyber-sounds.de
 
ObiWan
Bei dem <table> Code in der user_info_panel.php einfach noch border="0" rein machen. Dann sollte es gehen.

Also so, jetzt mal als Beispiel: <table border="0">
PHP-Fusion World - Hier gibts massig Spiele und Stuff für deine Community
Bei WBB World: PHPFWBB 1.x.x Schnittstelle (eine Registrierung, problemloses einloggen auf beiden Systemen)
... und vieles mehr.
 
DjSusnhine
[geshi=php]echo THEME_BULLET." <center><img border='0' src='".($userdata['user_avatar'] != "" ? BASEDIR."images/avatars/".$userdata['user_avatar'] : BASEDIR."images/noimage.jpg")."'></center><hr>\n";[/geshi]

So also hier ist der Code wo ich denke es ist der wo es geht darum den Avatar anzuzeigen doch hier ist der Boarder auf 0 schon gestellt. Könnte auch mal denn gesamten code Posten.
 
emblinux
versuchs mal so:

Code 

echo THEME_BULLET." <center><img border='0' src='".($userdata['user_avatar'] != "" ? BASEDIR."images/avatars/".$userdata['user_avatar'] : BASEDIR."images/noimage.jpg")."' border='0'></center><hr>\n";



Sind Grundlagen HTML, die man als Webmaster einer Webseite schon beherrschen sollte.
Das Lernen ist wie ein Meer ohne Ufer. Konfuzius

Alles wird Gut!

KEIN Support per Mail, ICQ oder PN !
www.heiseclan.de/fusion/sig.gif

www.heiseclan.de/geosig.gif
 
DjSusnhine
img174.imageshack.us/img174/8537/unbenanntkzp.jpg

Tja leider ohne erfolg, wie man auf dem Bild sehen kann. Das Border auf 0 in diesem Fall sein müsste war mir auch klar, doch bringt nichts. Der rahmen bleibt. Von daher stell ich jetzt Euch mal denn ganzen Code rein. Vielleicht hab ich ja woanderst noch was Übersehn.

[geshi=php]if (!defined("IN_FUSION")) { die("Access Denied"); }

if (iMEMBER) {
openside($userdata['user_name']);
$msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo THEME_BULLET." <center><img border='0' src='".($userdata['user_avatar'] != "" ? BASEDIR."images/avatars/".$userdata['user_avatar'] : BASEDIR."images/noimage.jpg")."' border='0'></center><hr>\n";
echo THEME_BULLET." <a href='".BASEDIR."edit_profile.php' class='side'>".$locale['global_120']."</a><br />\n";
echo THEME_BULLET." <a href='".BASEDIR."messages.php' class='side'>".$locale['global_121']."</a><br />\n";
echo THEME_BULLET." <a href='".BASEDIR."members.php' class='side'>".$locale['global_122']."</a><br />\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo THEME_BULLET." <a href='".ADMIN."index.php".$aidlink."' class='side'>".$locale['global_123']."</a><br />\n";
}
echo THEME_BULLET." <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['global_124']."</a>\n";
if ($msg_count) { echo "<br /><br /><div style='text-align:center'><strong><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['global_125'], $msg_count).($msg_count == 1 ? $locale['global_126'] : $locale['global_127'])."</a></strong></div>\n"; }
} else {
openside($locale['global_100']);
echo "<div style='text-align:center'>\n";
echo "<form name='loginform' method='post' action='".FUSION_SELF."'>\n";
echo $locale['global_101']."<br />\n<input type='text' name='user_name' class='textbox' style='width:100px' /><br />\n";
echo $locale['global_102']."<br />\n<input type='password' name='user_pass' class='textbox' style='width:100px' /><br />\n";
echo "<input type='checkbox' name='remember_me' value='y' title='".$locale['global_103']."' style='vertical-align:middle;' />\n";
echo "<input type='submit' name='login' value='".$locale['global_104']."' class='button' /><br />\n";
echo "</form>\n<br />\n";
if ($settings['enable_registration']) {
echo "".$locale['global_105']."<br /><br />\n";
}
echo $locale['global_106']."\n</div>\n";
}
closeside();
?>[/geshi]
Bearbeitet von DjSusnhine am 24.07.2009 um 08:06
 
DjSusnhine
http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: user_info_panel.php
| Author: Nick Jones (Digitanium)

Habe die php-datei hier gefunden. Die Datei nennt sich User Info mit Avatar
Bearbeitet von DjSusnhine am 24.07.2009 um 08:16
 
DjSusnhine
[geshi=php]<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: user_info_panel.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

if (iMEMBER) {
openside($userdata['user_name']);
$msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo THEME_BULLET." <center><img border='0' src='".($userdata['user_avatar'] != "" ? BASEDIR."images/avatars/".$userdata['user_avatar'] : BASEDIR."images/noimage.jpg")."' border='0'></center><hr>\n";
echo THEME_BULLET." <a href='".BASEDIR."edit_profile.php' class='side'>".$locale['global_120']."</a><br />\n";
echo THEME_BULLET." <a href='".BASEDIR."messages.php' class='side'>".$locale['global_121']."</a><br />\n";
echo THEME_BULLET." <a href='".BASEDIR."members.php' class='side'>".$locale['global_122']."</a><br />\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo THEME_BULLET." <a href='".ADMIN."index.php".$aidlink."' class='side'>".$locale['global_123']."</a><br />\n";
}
echo THEME_BULLET." <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['global_124']."</a>\n";
if ($msg_count) { echo "<br /><br /><div style='text-align:center'><strong><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['global_125'], $msg_count).($msg_count == 1 ? $locale['global_126'] : $locale['global_127'])."</a></strong></div>\n"; }
} else {
openside($locale['global_100']);
echo "<div style='text-align:center'>\n";
echo "<form name='loginform' method='post' action='".FUSION_SELF."'>\n";
echo $locale['global_101']."<br />\n<input type='text' name='user_name' class='textbox' style='width:100px' /><br />\n";
echo $locale['global_102']."<br />\n<input type='password' name='user_pass' class='textbox' style='width:100px' /><br />\n";
echo "<input type='checkbox' name='remember_me' value='y' title='".$locale['global_103']."' style='vertical-align:middle;' />\n";
echo "<input type='submit' name='login' value='".$locale['global_104']."' class='button' /><br />\n";
echo "</form>\n<br />\n";
if ($settings['enable_registration']) {
echo "".$locale['global_105']."<br /><br />\n";
}
echo $locale['global_106']."\n</div>\n";
}
closeside();
?>[/geshi]

Das ist die ganze Datei wo ich als Panel austauschte mit der Orginalen User Info. Mehr kann ich leider nicht sagen. Habe nun als Pnael also diese Datei drin. Oder hängt da was zusammen mit der orginalen Infusion des User Infos? Was ich in der Orginalen Infusion habe ist auch die Uip_Settings.php
Bearbeitet von DjSusnhine am 24.07.2009 um 08:42
 
DjSusnhine
[geshi=php]<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: user_info_panel.php
| Author: Nick Jones (Digitanium)
| Modified by Sveinungs & MarcusG
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

include LOCALE.LOCALESET."admin/main.php";
include LOCALE.LOCALESET."search.php";

if (file_exists(INFUSIONS."user_info_panel/locale/".$settings['locale'].".php")) {
include INFUSIONS."user_info_panel/locale/".$settings['locale'].".php";
} else {
include INFUSIONS."user_info_panel/locale/English.php";
}

add_to_head("<style type='text/css'>.sub-notify{color: #0F67A1; font-size: 70%; font-weight:bold; background-color: #FFFF99; padding: 0 3px; border:0px solid #59728B; }</style>");

add_to_head("<script type='text/javascript'>\n
function FensterOeffnen (Adresse) {\n
MeinFenster = window.open(Adresse, 'Zweitfenster', 'width=800,height=450,left=100,top=100,scrollbars=no');\n
MeinFenster.focus();\n
}\n
</script>");

if (iMEMBER) {
openside($userdata['user_name']);
$msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
//So that we can calculate if inbox is full:
$msg_settings = dbarray(dbquery("SELECT * FROM ".DB_MESSAGES_OPTIONS." WHERE user_id='0'"));
$inbox_total = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_folder='0'");

//Avatar/No-avatar:
// echo "<p style='text-align:center; margin:5px;'>";
// echo ($userdata['user_avatar'] ? "<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'><img src='".IMAGES."avatars/".$userdata['user_avatar']."' border='0' alt='' title='".$locale['UIP001']."' /></a>" : "<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'><img src='".INFUSIONS."user_info_panel/img/no_avatar.png' border='0' alt='' title='".$locale['UIP001']."' /></a>");
// echo "</p>";
// Avatar in Frame

if($userdata['user_avatar']){
echo "<center><table style='text-align: center; height: 100px; width: 100px;' background='".INFUSIONS."user_info_panel/img/avatarbg.gif' border='0' cellpadding='0' cellspacing='0'>
<tbody><tr><td style='height: 100px; width: 100px;' align='center'>
<table style='margin: 4px auto auto; width: 84px; height: 84px; text-align: left;' border='0' cellpadding='0' cellspacing='0'><tbody><tr>
<td style='height: 84px; width: 84px;'><a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'><img style='width: 84px; height: 84px;' alt='' title='".$locale['UIP001']."' src='".BASEDIR."images/avatars/".$userdata['user_avatar']."'></a></td>
</tr></tbody></table></td></tr></tbody></table></center>\n";
}else{
echo "<center><a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'><img border='0' alt='' title='".$locale['UIP001']."' src='".INFUSIONS."user_info_panel/img/noav.gif'></a></center>\n";
}
echo "<hr class='side-hr' />\n";
//////////////////////////////////////////////////////////////////////////////////////////

// Experience /////////////////////////////////////////////////////////////////////////////
$showexp = f_showexp($userdata['user_id']);
switch ($showexp[9]){
case 1:$level=$locale['UIP_0231'];break;
case 2:$level=$locale['UIP_0232'];break;
case 3:$level=$locale['UIP_0233'];break;
case 4:$level=$locale['UIP_0234'];break;
case 5:$level=$locale['UIP_0235'];break;
case 6:$level=$locale['UIP_0236'];break;
case 7:$level=$locale['UIP_0237'];break;
case 8:$level=$locale['UIP_0238'];break;
case 9:$level=$locale['UIP_0239'];break;
case 10:$level=$locale['UIP_0240'];break;
case 11:$level=$locale['UIP_0241'];break;
default:$level=$locale['UIP_0241'];break;
}
echo "<a style='cursor:help;' href='".INFUSIONS."user_info_panel/user_info_help.php' onclick='FensterOeffnen(this.href); return false'>".$locale['UIP_0110']."</a>: ".$level."<br />";
echo $locale['UIP_0111'].": ".$showexp[7]."/".$showexp[8]." [".$showexp[10]."%]<br />";
echo "<table width='100%' border='1'><tr><td width='100%' class='line'>\n".
"<img src='".INFUSIONS."user_info_panel/img/line.gif' title='".$locale['UIP_0120']."' height='8' width='".$showexp[10]."' align='left' /></td></tr></table>";
echo $showexp[0]?$locale['UIP_0130'].": ".$showexp[0]."<br />":"";
echo $showexp[1]?$locale['UIP_0133'].": ".$showexp[1]."<br />":"";
echo $showexp[2]?$locale['UIP_0131'].": ".$showexp[2]."<br />":"";
echo $showexp[3]?$locale['UIP_0132'].": ".$showexp[3]."<br />":"";
echo $showexp[4]?$locale['UIP_0134'].": ".$showexp[4]."<br />":"";
echo $showexp[5]?$locale['UIP_0135'].": ".$showexp[5]."<br />":"";
echo $showexp[6]?$locale['UIP_0136'].": ".$showexp[6]."<br />":"";

echo "<hr class='side-hr' />\n";

//////////////////////////////////////////////////////////////////////////////////////////
echo "<div class='side-small' style='text-align:left;'>\n";
echo "<table class='tbl' width='100%' border='0' cellpadding='0' cellspacing='0'>\n
<tbody>";
/// Avatar-Studio ///////////////
if (file_exists(INFUSIONS."avatar_studio/avatar_studio.php")) {
echo "<tr><td class='tbl1' valign='middle' width='20' align='left'><img src='".INFUSIONS."user_info_panel/img/avatar.png' alt='Avatar Studio' title='Avatar Studio' width='20' border='0' /></td><td class='tbl1' valign='middle' width='100%' align='left'><a href='".INFUSIONS."avatar_studio/avatar_studio.php' class='side'><span class='small'><b>Avatar Studio</b></span></a></td></tr>\n";
}

/// User Foto Album ///////////////
if (file_exists(BASEDIR."edit_userprofilepics.php")) {
echo "<tr><td class='tbl1' valign='middle' width='20' align='left'><img src='".INFUSIONS."user_info_panel/img/images.png' alt='Mein Fotoalbum' title='Mein Fotoalbum' width='20' border='0' /></td><td class='tbl1' valign='middle' width='100%' align='left'><a href='".BASEDIR."edit_userprofilepics.php' class='side'><span class='small'>Mein Fotoalbum</span></a></td></tr>\n";
}

////////Score-System //////////////
if (defined("SCORESYSTEM")) {
if (iMEMBER) {
if (!score_ban($userdata['user_id'])) {
echo "<tr><td class='tbl1' valign='middle' width='20' align='left'><img src='".INFUSIONS."user_info_panel/img/coins.png' alt='".$locale['pfss_panel2']."' title='".$locale['pfss_panel2']."' width='20' border='0' /></td><td class='tbl1' valign='middle' width='100%' align='left'><a href='".SCORESYSTEM."scoresystem.php' target='_self' class='side'><span class='small'>".$locale['pfss_panel1'].score_account_stand()."</span></a></td></tr>\n";
} else {
echo "<tr><td class='tbl1' valign='middle' width='20' align='left'><img src='".INFUSIONS."user_info_panel/img/coins.png' alt='".$locale['pfss_panel2']."' title='".$locale['pfss_panel2']."' width='20' border='0' /></td><td class='tbl1' valign='middle' width='100%' align='left'><a href='".SCORESYSTEM."scoresystem.php' target='_self' class='side'><span class='small'>".$locale['pfss_scsy36']."</span></a></td></tr>\n";
}
}
}
////////Score-System //////////////

if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<tr><td class='tbl1' valign='middle' width='20' align='left'><img src='".INFUSIONS."user_info_panel/img/admin.png' alt='".$locale['global_123']."' title='".$locale['global_123']."' width='20' border='0' /></td><td class='tbl1' valign='middle' width='100%' align='left'><a href='".ADMIN."index.php".$aidlink."' class='side'><span class='small'>".$locale['global_123']."</span></a><br />\n";
}
echo "</tbody></table>";
echo " </div>\n";
// Tabelle mit Icons Start
echo "<hr class='side-hr' />\n<div class='side-small' style='text-align:center;'>\n";
echo "<table class='tbl-border' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tbody><tr>\n";
echo "<td class='tbl1' valign='bottom' width='33%' align='center'><a href='".BASEDIR."edit_profile.php' class='side'><img src='".INFUSIONS."user_info_panel/img/profil.png' alt='".$locale['global_120']."' title='".$locale['global_120']."' style='padding: 3px;' width='22' border='0' /></a><br /><span class='small'>".$locale['UIP001']."</span></td>\n";
echo "<td class='tbl1' valign='bottom' width='33%' align='center'><a href='".BASEDIR."members.php' class='side'><img src='".INFUSIONS."user_info_panel/img/users.png' alt='".$locale['global_122']."' title='".$locale['global_122']."' style='padding: 3px;' width='22' border='0' /></a><br /><span class='small'>".$locale['global_122']."</span></td>\n";
echo "<td class='tbl1' valign='bottom' width='33%' align='center'><a href='".BASEDIR."search.php' class='side'><img src='".INFUSIONS."user_info_panel/img/suche.png' alt='".$locale['402']."' title='".$locale['402']."' style='padding: 3px;' width='22' border='0' /></a><br /><span class='small'>".$locale['402']."</span></td>";
echo "</tr><tr>"; // Zeile 2
echo "<td class='tbl1' valign='bottom' width='33%' align='center'><a href='".BASEDIR."faq.php' class='side'><img src='".INFUSIONS."user_info_panel/img/help.png' alt='".$locale['210']."' title='".$locale['210']."' style='padding: 3px;' width='22' border='0' /></a><br /><span class='small'>".$locale['210']."</span></td>";
echo "<td class='tbl1' valign='bottom' width='33%' align='center'><a href='".BASEDIR."forum/index.php' class='side'><img src='".INFUSIONS."user_info_panel/img/forum.png' alt='".$locale['global_048']."' title='".$locale['global_048']."' style='padding: 3px;' width='22' border='0' /></a><br /><span class='small'>".$locale['global_048']."</span></td>";
echo "<td class='tbl1' valign='bottom' width='33%' align='center'><a href='".BASEDIR."setuser.php?logout=yes' class='side'><img src='".INFUSIONS."user_info_panel/img/logout.png' alt='".$locale['global_124']."' title='".$locale['global_124']."' style='padding: 3px;' width='22' border='0' /></a><br /><span class='small'>".$locale['global_124']."</span></td>\n";
echo "</tr>\n";
echo "</tbody></table>";
echo " </div>\n";
// Tabelle mit Icons Ende
echo "<hr class='side-hr' />\n<div class='side-small' style='text-align:center;'>\n";
echo "".$locale['global_121']."<br />\n";
if ($msg_count) echo " <a href='".BASEDIR."messages.php'><img src='".INFUSIONS."user_info_panel/img/new_pm.png' border='0' alt='' title='".sprintf($locale['global_125'], $msg_count).($msg_count == 1 ? $locale['global_126'] : $locale['global_127'])."' /></a>\n";
echo " <a href='".BASEDIR."messages.php'><img src='".INFUSIONS."user_info_panel/img/pm.png' border='0' alt='".$locale['global_121']."' title='".$locale['global_121']." [$inbox_total/".$msg_settings['pm_inbox']."]' /></a>";
echo " <a href='".BASEDIR."messages.php?msg_send=0'><img src='".INFUSIONS."user_info_panel/img/write_pm.png' border='0' alt='".$locale['msg_new']."' title='".$locale['msg_new']."' /></a>";
if ($msg_settings['pm_inbox'] <= $inbox_total) {
echo " <a href='".BASEDIR."messages.php'><img src='".INFUSIONS."user_info_panel/img/inbox_full.png' border='0' alt='!' title='".$locale['msg_full']." [$inbox_total/".$msg_settings['pm_inbox']."]' /></a>";
}
echo " </div>\n";
//echo "<hr class='side-hr' />\n";
} else {
openside($locale['global_100']);
echo "<div style='text-align:center'>\n";
$url_string = $_SERVER['PHP_SELF']."?".$_SERVER['QUERY_STRING'];
echo "<form name='loginform' method='post' action='$url_string'>\n";
echo $locale['global_101']."<br />\n<input type='text' name='user_name' class='textbox' style='width:100px' /><br />\n";
echo $locale['global_102']."<br />\n<input type='password' name='user_pass' class='textbox' style='width:100px' /><br />\n";
echo "<input type='checkbox' name='remember_me' value='y' title='".$locale['global_103']."' style='vertical-align:middle;' />\n";
echo "<input type='submit' name='login' value='".$locale['global_104']."' class='button' /><br />\n";
echo "</form>\n<br />\n";
if ($settings['enable_registration']) {
echo "".$locale['global_105']."<br /><br />\n";
}
echo $locale['global_106']."\n</div>\n";
}
closeside();
//Hides this bit if you are inside the admin panel:
if(!defined("ADMIN_PANEL") && iADMIN){
opensidex($locale['global_180'], "off");
echo "<div>\n";
echo "<div style='font-weight:bold;'>".$locale['ac01']."</div>";
if (checkrights("N")) { echo THEME_BULLET." <a href='".ADMIN."news.php".$aidlink."'>".$locale['wrt_news']."</a><br />";}
if (checkrights("A")) { echo THEME_BULLET." <a href='".ADMIN."articles.php".$aidlink."'>".$locale['wrt_article']."</a><br />";}
//Submissions:
if (iADMIN && checkrights("SU")) {
$sub_n = dbcount("(submit_id)", DB_SUBMISSIONS, "submit_type='n'"); $sub_a = dbcount("(submit_id)", DB_SUBMISSIONS, "submit_type='a'"); $sub_l = dbcount("(submit_id)", DB_SUBMISSIONS, "submit_type='l'"); $sub_p = dbcount("(submit_id)", DB_SUBMISSIONS, "submit_type='p'");
if ($sub_n !=0) { echo THEME_BULLET." <a href='".ADMIN."submissions.php".$aidlink."#news_submissions'>".$locale['254']."</a> <span class='sub-notify'>".$sub_n."</span><br />"; }
if ($sub_a !=0) { echo THEME_BULLET." <a href='".ADMIN."submissions.php".$aidlink."#article_submissions'>".$locale['255']."</a> <span class='sub-notify'>".$sub_a."</span><br />"; }
if ($sub_l !=0) { echo THEME_BULLET." <a href='".ADMIN."submissions.php".$aidlink."#link_submissions'>".$locale['256']."</a> <span class='sub-notify'>".$sub_l."</span><br />"; }
if ($sub_p !=0) { echo THEME_BULLET." <a href='".ADMIN."submissions.php".$aidlink."#photo_submissions'>".$locale['260']."</a> <span class='sub-notify'>".$sub_p."</span><br />"; }
echo "<hr class='side-hr' />\n";
}
//Latest 5 members + check for unactivated members + Admin Quick-navigation
if (iADMIN && checkrights("M")) {
echo "<div style='font-weight:bold;'>".$locale['members']."</div>";
$un_activated = dbcount("(user_id)", DB_USERS, "user_status='2'");
if ($settings['admin_activation'] == "1" && $un_activated !=0) {
echo THEME_BULLET." <a href='".ADMIN."members.php".$aidlink."&amp;sortby=all&amp;status=2'>".$locale['252']."</a> <span class='sub-notify'>".$un_activated."</span><br />";
echo "<hr class='side-hr' />\n";
}
$result=dbquery("SELECT user_id, user_name, user_status FROM ".DB_USERS." WHERE user_status='0' ORDER BY user_id DESC LIMIT 0,5");
while($data=dbarray($result)){
echo THEME_BULLET." <a href='".BASEDIR."profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a><br />";
}
echo "<hr class='side-hr' />\n";
}
for ($i=1; $i<5; $i++) {
$admin_nav_opts = "";
$result = dbquery("SELECT * FROM ".DB_ADMIN." WHERE admin_page = '".$i."' AND admin_link!='reserved' ORDER BY admin_title ASC");
$rows = dbrows($result);
if ($rows != 0) {
while ($data = dbarray($result)) {
if (checkrights($data['admin_rights'])) {
if ($i == 1) { $page1 = true; } elseif ($i == 2) { $page2 = true; }
elseif ($i == 3) { $page3 = true; } elseif ($i == 4) { $page4 = true; }
$admin_nav_opts .= "<option value='".ADMIN.$data['admin_link'].$aidlink."'>".str_replace("&","&amp;",$data['admin_title'])."</option>\n";
}
}
}
if ($admin_nav_opts != ""){
echo "<form action='".FUSION_SELF."'>\n";
echo "<select onchange='window.location.href=this.value' style='width:100%;' class='textbox'>\n";
echo "<option value='".FUSION_SELF."' style='font-style:italic;' selected='selected'>".$locale['ac0'.$i]."</option>\n";
echo $admin_nav_opts."</select>\n</form>\n";
}
}
echo "</div>\n";
closesidex();

}

function f_showexp($exp_user,$s1=true,$s2=true,$s3=true,$s4=true,$s5=true,$s6=true,$s7=true){
$result=dbquery("SELECT * FROM ".DB_USERS." WHERE user_id='$exp_user'");if(dbrows($result)){$data=dbarray($result);}
$posts=$s1?($data['user_posts']):0;
$comments=$s2?(dbcount("(comment_id)", DB_COMMENTS,"comment_name='$exp_user'")):0;
$shoutbox=$s3?(dbcount("(shout_id)", DB_SHOUTBOX,"shout_name='$exp_user'")):0;
$rating=$s4?(dbcount("(rating_id)", DB_RATINGS,"rating_user='$exp_user'")):0;
$news=$s5?(dbcount("(news_id)", DB_NEWS,"news_name='$exp_user'")):0;
$articles=$s6?(dbcount("(article_id)",DB_ARTICLES,"article_name='$exp_user'")):0;
$photos=$s7?(dbcount("(photo_id)",DB_PHOTOS,"photo_user='$exp_user'")):0;
$sum=($posts+$comments+$shoutbox+$rating+$news+$articles);
if($sum>="5000"){$rang="10000";$lvl=11;}
elseif($sum>="2500"){$rang="5000";$lvl=10;}
elseif($sum>="1000"){$rang="2500";$lvl=9;}
elseif($sum>="500"){$rang="1000";$lvl=8;}
elseif($sum>="250"){$rang="500";$lvl=7;}
elseif($sum>="100"){$rang="250";$lvl=6;}
elseif($sum>="50"){$rang="100";$lvl=5;}
elseif($sum>="25"){$rang="50";$lvl=4;}
elseif($sum>="5"){$rang="25";$lvl=3;}
elseif($sum>="1"){$rang="5";$lvl=2;}
elseif($sum<="1"){$rang="0";$lvl=1;}
else{return false;}
$opt_posts=($rang?number_format(100/$rang*$sum):0);
return array($posts,$comments,$shoutbox,$rating,$news,$articles,$photos,$sum,$rang,$lvl,$opt_posts);
}

?>[/geshi]

So denke mal das müsste es dann sein. Hier in der Infusion ist wie gesagt auch der angesprochene uip_settings.php
 
DjSusnhine
Steht beides //Avatar inside image frame.
$avatarframe = false;
// $avatarframe = false;
 
DjSusnhine
Ich habe da nichts verändert ich weiß nur das ich dein Code da so rein kopiert habe und jetzt gar kein Avatar mehr habe. Weiß nicht ob es Absicht war jetzt oder nicht. Doch wie mein Vater sagte immer Pfusch am Bau.
 
DjSusnhine
So das ist eine Unterstellung was du machst. Ich habe weder die Kenntnise in Html noch änder ich Datein wenn ich schon fragen muss wie ich ein Rahmen weg bekomme. Nur mal ebend zur Info. Wenn ich es nochmal lade sind dann alle Punkte weg denke ich mal. Zumal ich nicht mal mehr weiß woher ich das Teil bekomme.
 
DjSusnhine
Also wenn ich das So seh muss ich sagen omg. Ich mach mal nen Bild von deinem und meinen da möcht ich dein Ding echt nicht. Da sieht deins richtig Anfänger mässig aus.

img413.imageshack.us/img413/6259/megapanel.jpg

Das ist nen User Info da sagt WOW geile sache.

img413.imageshack.us/img413/7871/panelmarcusg.jpg

Tja das ist deins Shock
Bearbeitet von DjSusnhine am 24.07.2009 um 10:09
 
DjSusnhine
Wenn du meinst - Dann lade ich gern auch deine 1.3 mal hoch und schau was dann passiert.

[geshi=php]//Avatar/No-avatar:
// echo "<p style='text-align:center; margin:5px;'>";
// echo ($userdata['user_avatar'] ? "<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'><img src='".IMAGES."avatars/".$userdata['user_avatar']."' border='0' alt='' title='".$locale['UIP001']."' /></a>" : "<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'><img src='".INFUSIONS."user_info_panel/img/no_avatar.png' border='0' alt='' title='".$locale['UIP001']."' /></a>");
// echo "</p>";
// Avatar in Frame

if($userdata['user_avatar']){
echo "<center><table style='text-align: center; height: 100px; width: 100px;' background='".INFUSIONS."user_info_panel/img/avatarbg.gif' border='0' cellpadding='0' cellspacing='0'>
<tbody><tr><td style='height: 100px; width: 100px;' align='center'>
<table style='margin: 4px auto auto; width: 84px; height: 84px; text-align: left;' border='0' cellpadding='0' cellspacing='0'><tbody><tr>
<td style='height: 84px; width: 84px;'><a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'><img style='width: 84px; height: 84px;' alt='' title='".$locale['UIP001']."' src='".BASEDIR."images/avatars/".$userdata['user_avatar']."'></a></td>
</tr></tbody></table></td></tr></tbody></table></center>\n";
}else{
echo "<center><a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'><img border='0' alt='' title='".$locale['UIP001']."' src='".INFUSIONS."user_info_panel/img/noav.gif'></a></center>\n";
}
echo "<hr class='side-hr' />\n";
[/geshi]


So jetzt ist deine datei drin ^^
Bearbeitet von DjSusnhine am 24.07.2009 um 10:31
 
DjSusnhine
[geshi=php]//Avatar/No-avatar:
echo "<p style='text-align:center; margin:5px;'>";
echo ($userdata['user_avatar'] ? "<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'><img src='".IMAGES."avatars/".$userdata['user_avatar']."' border='0' alt='' title='".$locale['UIP001']."' /></a>" : "<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'><img src='".INFUSIONS."user_info_panel/img/no_avatar.png' border='0' alt='' title='".$locale['UIP001']."' /></a>");
echo "</p>";
// Avatar in Frame

if($userdata['user_avatar']){
echo "<center><table style='text-align: center; height: 100px; width: 100px;' background='".INFUSIONS."user_info_panel/img/avatarbg.gif' border='0' cellpadding='0' cellspacing='0'>
<tbody><tr><td style='height: 100px; width: 100px;' align='center'>
<table style='margin: 4px auto auto; width: 84px; height: 84px; text-align: left;' border='0' cellpadding='0' cellspacing='0'><tbody><tr>
<td style='height: 84px; width: 84px;'><a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'><img style='width: 84px; height: 84px;' alt='' title='".$locale['UIP001']."' src='".BASEDIR."images/avatars/".$userdata['user_avatar']."'></a></td>
</tr></tbody></table></td></tr></tbody></table></center>\n";
}else{
echo "<center><a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'><img border='0' alt='' title='".$locale['UIP001']."' src='".INFUSIONS."user_info_panel/img/noav.gif'></a></center>\n";
}
echo "<hr class='side-hr' />\n";
[/geshi]

Sieht jetzt so aus nur habe ich jetzt oben ein Avatar ohne Rahmen und unten drunter den selben mit rahmen.
 
DjSusnhine
Sorry doch steh heut nicht so ganz auf der Leitung. Habe ich erst nicht gecheckt. Doch ok wurde gemacht und da bleibt mir nur noch zu sagen. Ein großes Danke und Sorry das ich dich so anging.
 
Springe ins Forum:

 Ähnliche Themen 

TEST
Thema Forum Antworten Letzter Beitrag
Whats New Panel Infusionen 2 02.06.2019 um 00:50
PHP Fusion 7 User Photogallery Allgemeine Support Fragen 3 26.04.2019 um 08:50
Advanced Whats New Panel Allgemeine Diskussionen 3 23.10.2018 um 19:43
slideshow panel (mitte) Allgemeine Diskussionen 9 24.06.2018 um 17:08
warnuwetter panel Infusionen 5 16.01.2018 um 19:41
HarlekinPower