jetzt muss nur noch die msql angepasst werden hier mal meine user user_details.php
<?php
# Copyright by: Manuel
# Support: www.ilch.de
defined ('main') or die ( 'no direct access' );
$uid = $menu->get(2);
include('user_infos.php');
$ar = array (
'NAME' => $row['name'],
'JOINED' => date('d.m.Y',$row['regist']),
'LASTAK' => date('d.m.Y - H:i',$row['llogin']),
'POSTS' => $row['posts'],
'postpday' => $postpday,
'RANG' => rangbild ($rp),
'AVATA' => $avatar,
'SRANK' => spezrang ($row['id']),
'RPOINT' =>$rp,
'ONLINE' => $online,
'USERTITEL' => $usertitel,
'EMAIL' => $email,
'HOMEPAGE' => $homepage,
'GESCHLECHT' => $geschlecht,
'GEBDATUM' => $gebdatum,
'ALTER' => $alter,
'WOHNORT' => $wohnort,
'GAMES' => getteams($row['id']),
'FORUMTOPICS' => $row4['forumtopics'],
'FORUMPOSTS' => $row7['forumposts'],
'SIGNATUR' => $row['sig'],
'STAAT' => $staat,
'UID' => $uid,
'STERNZEICHEN' => $sternzeichen,
'GB_EINTRAEGE' => $gb_eintraege,
'GALLERIE_EINTRAEGE' => $gallery_eintraege,
'ICQ' => $icq,
'POINTS' =>$row['cpoints'],
'VERW' => verwarnstu($row['fwarn'],0),
'dze'=>getmedal(1,$row['regist']),
'fze'=>getmedal(2,$row['posts']),
'wze'=>getmedal(3,$row['cpoints']),
'cme' =>getmedal(4,$row['medal'])
);
$title = $allgAr['title'].' :: Users :: Details von '.$row['name'];
$hmenu = $extented_forum_menu.'<a class="smalfont" href="?user">Users</a><b> » </b> <a href=index.php?user-details-'.$uid.'>Details von '.$row['name']."</a>".$extented_forum_menu_sufix;
$design = new design ( $title , $hmenu, 1);
$design->header();
$tpl = new tpl ( 'user/userdetails' );
$l = profilefields_show ( $uid );
$ar['rowspan'] = 4 + substr_count($l, '<tr><td class="');
$ar['profilefields'] = $l;
$tpl->set_ar_out($ar,0);
$design->footer();
?>
so und hier die msql von dem ugb
CREATE TABLE `prefix_usergb` (
`id` INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`name` VARCHAR( 100 ) NOT NULL ,
`mail` VARCHAR( 100 ) NOT NULL ,
`page` VARCHAR( 100 ) NOT NULL ,
`uid` INT( 10 ) NOT NULL ,
`date` VARCHAR( 20 ) NOT NULL ,
`ip` VARCHAR( 40 ) NOT NULL ,
`txt` TEXT NOT NULL ,
`status` INT( 1 ) NOT NULL
);
INSERT INTO `prefix_config` (schl, typ, kat, frage, wert, pos) VALUES ('ugb_page', 'input', 'UserGB Optionen', 'Wie viele Einträge pro Seite?', '10', '1');
INSERT INTO `prefix_config` (schl, typ, kat, frage, wert, pos) VALUES ('ugb_zeitsperre', 'input', 'UserGB Optionen', 'Zeitsperre(in Sekunden)?', '300', '2');
INSERT INTO `prefix_config` (schl, typ, kat, frage, wert, pos) VALUES ('ugb_rechte', 'r2', 'UserGB Optionen', 'Dürfen Gäste das UserGB sehen?', '1', '3');
INSERT INTO `prefix_config` (schl, typ, kat, frage, wert, pos) VALUES ('ugb_settings', 'r2', 'UserGB Optionen', 'Sperren und Entsperren erlauben??', '1', '4');
wäre euch echt dankbar wenn mir jemand die msql anpassen würde
Zuletzt modifiziert von Nightrider am 20.05.2008 - 02:06:14