PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : AddOn - Neue Profilansicht


Gandalf2003
21.05.2004, 20:26
Mal schauen, wie es hier ankommt!:)

AddOn / Neue Profilansicht
Autor & Copyright: TheRock (www.nefix.de) & CharlieBrown
Version: 1.0
Getestet: vB 3.0.1
Demo: http://forum.gamerscommunity.info/member.php?u=1


Distanzierung:
Wir, TheRock & CharlieBrown, übernehmen keine Haftung für eventuelle Schäden, Fehler oä., die mit der Benutzung dieses
AddOns entstehen könnten. Wir weisen ausdrücklich daraufhin, daß der Einbau auf eigene Gefahr geschieht.

Deshalb gilt: BackUp der Datenbank und der Dateien machen!!!!!
Es gibt keinen Anspruch auf Support, Gewährleistung und Ersatz.


<<<<<<< Beschreibung: >>>>>>>

Mit diesen AddOn wird eine neue Profilansicht möglich.


Änderungen an vB 3 Dateien: 1
Neue Templates: 0
Neue Dateien: 0
Aus zu führende SQL Befehle: 0
Neue Grafiken: 0
Neue Phrasen: 1
Einbauzeit: ca. 5

Und nun viel Spaß beim Einbau!:D

Nachtrag:

Wer Spaß daran hat, kann auch noch verschiedene Grafiken einfügen. s. Demo:)

nobody
21.05.2004, 21:14
klingt gut aber wo wäre das profilbild zu sehen?

TheRock
21.05.2004, 21:16
klingt gut aber wo wäre das profilbild zu sehen?




das kommt wenn mann eines hochgeladen hat

Gandalf2003
21.05.2004, 21:18
und so etwas brauchte ich nicht:D

Gandalf2003
21.05.2004, 21:29
Neues File bitte saugen!

Danke

Das alte hatte ne kleine Macke:D

Metro Man
21.05.2004, 22:03
würde noch dazu sagen das man den images pfad selber anpassen muss, habe ich zumindestens machen müssen

TheRock
21.05.2004, 22:07
würde noch dazu sagen das man den images pfad selber anpassen muss, habe ich zumindestens machen müssen




jo muß mann aber das sollte ja nicht das problem sein

Metro Man
21.05.2004, 22:09
Ja ist kein Problem könnte man nur in der anleitung erwähnen für diejenigen die es nicht wissen

grungelegende
22.05.2004, 13:25
Ganz nett soweit. Allerdings wird bei der User ID immer 1 angezeigt. Wäre es vielleicht auch noch möglich, dass die anzahl der Karmapunkt im Profil angezeigt wird ?

TheRock
22.05.2004, 13:51
Ganz nett soweit. Allerdings wird bei der User ID immer 1 angezeigt. Wäre es vielleicht auch noch möglich, dass die anzahl der Karmapunkt im Profil angezeigt wird ?




mit der userid werde ich gucken und fixen.Karmapunkt was ist das?

Metro Man
22.05.2004, 13:54
das hier

<td style="width:30%" class="alt1" align="left"><span class="smallfont">User id:</span></td>
<td style="width:70%" class="alt1" align="left"><span class="smallfont">bb$userinfo[userid]</span></td>


durch das austauschen

<td style="width:30%" class="alt1" align="left"><span class="smallfont">User id:</span></td>
<td style="width:70%" class="alt1" align="left"><span class="smallfont">$userinfo[userid]</span></td>

dann gehts also zumindestens bei mir

Metro Man
22.05.2004, 13:55
Karmapunkte sind die dinger wo man den user bzw seine Beiträge bewerten kann

TheRock
22.05.2004, 13:59
Hier der Fix für die User id


suche in Template memberinfo

bb$userinfo[userid]

ersetzem mit:

$userinfo[userid]


edit:Metro Man war schneller :( :D

grungelegende
22.05.2004, 14:14
Danke funktioniert. Der Text "Gamerscommunity" ist auch noch fest eingebaut und kein .... äääh... wie heißt noch gleich.... eh Phrase.

TheRock
22.05.2004, 14:25
suche Gamerscommunity und ersetze mit $vboptions[bbtitle]

grungelegende
22.05.2004, 14:41
Ich habs schon selber hinbekommen... wollte es nur gesagt haben :)

grungelegende
24.05.2004, 12:33
Da gibt es noch ein Problem... die zustätzlich erstellten Profilfelder werden nicht angezeigt.

TheRock
24.05.2004, 16:46
werden angezeigt.


siehe hier (http://forum.gamerscommunity.info/member.php?u=1)

grungelegende
24.05.2004, 17:39
Welches von den Feldern ist bei ein zusätzlich erstelltes ? Die sind doch alle Standard. Also bei mir werden die zumindest nicht angezeigt.

TheRock
24.05.2004, 18:13
dann guck dir den style newfuture an.

grungelegende
24.05.2004, 18:57
´Joa, tu ich... da gibts bei mir aber trotzdem keine selbsterstellten Felder.

TheRock
24.05.2004, 23:14
du meinst doch Geburtstag , Biografie etz oder?

grungelegende
25.05.2004, 16:13
du meinst doch Geburtstag , Biografie etz oder?
Nein, wie oben schon gesagt selbst im AdminCP erstellte Profilfelder.

TheRock
27.05.2004, 12:50
also habe das mal geteset.Habe es so gelöst du erstellst einfach ein profilfield

dann suchst du

<if condition="$userinfo['field4']">
<tr>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">Beruf:</span></td>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">$post[field4]</span></td>
</tr></if>

und dadrunter kopierst du

<if condition="$userinfo['field5']">
<tr>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">vBulletin-Version:</span></td>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">$post[field5]</span></td>
</tr></if>




das kannst du aber nur immer für ein field machen.Also mußt du wenn du mehrere profilfielder hast $post[field5],$post[field6],$post[field7] etz machen

ps:Für vBulletin-Version: bitte dein Text eingeben

h75
27.07.2004, 05:32
und auch nicht Kontrollzentrum sondern Profil !!! :)

Gandalf2003
27.07.2004, 10:48
und auch nicht Kontrollzentrum sondern Profil !!! :)
sowohl als auch:) kontrollzentrum für zum profil!:D

h75
20.06.2005, 19:25
überarbeitete Templates, da in der hier veröffentlichen Version Fehler vorhanden waren..

Template: memberinfo $stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
$headinclude
</head>
<body>
$header
$navbar

<!-- Profil Layout START -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">
<!-- Title -->
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr>
<td align="left"><span class="smallfont">
<strong>
<a href="./?$session[sessionurl]">$vboptions[bbtitle]</a> &raquo; $userinfo[username]</strong></span></td>
<td align="right"><span class="smallfont"><strong>&raquo; $vbphrase[userid]: $userinfo[userid]</strong></span> </td>
</tr>
</table>
<!-- / Title -->
</td>
</tr>
</table>

<!-- Right - Activity -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="55%" align="right">
<tr>
<td valign="top" colspan="2" class="alt2">
<table cellpadding="0" cellspacing="0" border="0" style="width:51%">
<tr class="alt2">
<td align="left"><span class="smallfont">
<strong>Foren-Aktivit&auml;ten</strong>
</span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="width:30%" class="alt1" align="left"><span class="smallfont">Registriert
am:</span></td>
<td style="width:70%" class="alt1" align="left"><span class="smallfont">$userinfo[datejoined]</span></td>
</tr>
<if condition="$userinfo['usertitle']">
<tr>
<td style="width:30%" class="alt1" align="left"><span class="smallfont">$vbphrase[title]:</span></td>
<td style="width:70%" class="alt1" align="left"><span class="smallfont">$userinfo[usertitle]</span></td>
</tr>
</if>
<tr>
<td style="width:30%" class="alt1" align="left"><span class="smallfont">$vbphrase[username]:</span></td>
<td style="width:70%" class="alt1" align="left"><span class="smallfont">$userinfo[username] (ID $userinfo[userid])</span></td>
</tr>


<tr>
<td style="width:30%" class="alt1" align="left"><span class="smallfont">$vbphrase[posts]:</span></td>
<td style="width:70%" class="alt1" align="left"><span class="smallfont">$userinfo[posts]
(
<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>
)</span></td>
</tr>


<if condition="$show['currentlocation']"><tr>
<td style="width:30%" class="alt1" align="left"><span class="smallfont">$vbphrase[last_activity]:</span></td>
<td style="width:70%" class="alt1" align="left"><span class="smallfont">$userinfo[lastactivitydate] <br />

<if condition="$userinfo['action']">$userinfo[action] $userinfo[where]<if condition="$show['detailedtime']"> - <else /> @ </if> $userinfo[time]<else />$vbphrase[offline]</if> &nbsp;</span></td>
</tr></if>

<if condition="$show['avatar']">
<tr>
<td style="width:30%" class="alt1" align="left"><span class="smallfont">$vbphrase[avatar]:</span></td>
<td style="width:70%" class="alt1" align="left"><span class="smallfont">
<img src="$userinfo[avatarurl]" alt="<phrase 1="$userinfo[username]">
$vbphrase[xs_avatar]</phrase>" border="0" style="border:0px solid
$stylevar[tborder_bgcolor]; border-top:none" /></span></td>
</tr>
</if>
<if condition="$show['profilepic']">
<tr>
<td style="width:30%" class="alt1" align="left"><span class="smallfont">$vbphrase[profile_picture]:</span></td>
<td style="width:70%" class="alt1" align="left"><span class="smallfont">
<img src="image.php?u=$userinfo[userid]&amp;type=profile&amp;dateline=$userinfo[profilepicdateline]" alt="<phrase 1="$userinfo[username]">$vbphrase[xs_picture]</phrase>" border="0" style="border:0px solid $stylevar[tborder_bgcolor]" /></span></td>
</tr>
</if>
<tr>
<td style="width:30%" class="alt1" align="left"><span class="smallfont">$vbphrase[usergroups]:</span></td>
<td style="width:70%" class="alt1" align="left"><span class="smallfont">
<phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase>
</span></td>
</tr>

<if condition="$show['usernotes']">
<tr><td style="width:50%" class="alt1" align="left"><span class="smallfont">$vbphrase[user_notes]:</span></td><td style="width:50%" class="alt1" align="left"><span class="smallfont"> <if condition="$show['usernotes']">$vbphrase[user_notes]: <strong>$usernote[total]</strong> [<a href="./usernote.php?$session[sessionurl]u=$userinfo[userid]">$vbphrase[view]</a>] <if condition="$show['usernotetotal']"><br /> ($vbphrase[last]: $usernote[lastpostdate] <span class="time">$usernote[lastposttime]</span>)</if></if></span></td></tr>
</if>

</table>
<!-- / Right - Activity -->

<!-- Left - Contact -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="42%">
<tr>
<td colspan="2" class="alt2"><table cellpadding="0" cellspacing="0" border="0" style="width:51%">
<tr class="alt2">
<td align="left"><span class="smallfont">
<strong>Kontakt-M&ouml;glichkeiten</strong>
</span></td>
</tr>
</table>
</td>
</tr>
<if condition="$userinfo['showicq']">
<tr>
<td style="width:50%" class="alt1" align="left"> <span class="smallfont">$vbphrase[icq_number]: $userinfo[icqicon]</span> </td>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">
<a href="#" onclick="return imwindow('icq', '$userinfo[userid]', 500, 450)">$userinfo[icq]</a>
-
<a href="http://web.icq.com/whitepages/add_me?uin=$userinfo[icq]&amp;action=add">Add
me!</a>
</span></td>
</tr>
</if>
<if condition="$userinfo['showaim']">
<tr>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">$vbphrase[aim_screen_name]: $userinfo[aimicon]</span></td>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">
<a href="#" onclick="return imwindow('aim', '$userinfo[userid]', 400, 200)">$userinfo[aim]</a>
</span></td>
</tr>
</if>
<if condition="$userinfo['showyahoo']">
<tr>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">$vbphrase[yahoo_messenger_handle]: $userinfo[yahooicon]</span></td>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">
<a href="#" onclick="return imwindow('yahoo', '$userinfo[userid]', 400, 200)">$userinfo[yahoo]</a>
</span></td>
</tr>
</if>
<if condition="$post[field11]">
<tr>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">Skype-Name:
<a href="CALLTO://$post[field11]">
<img src="$stylevar[imgdir_misc]/im_skype.gif" border="0" alt="skype me" title="skype me" />
</a>
</span></td>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">
<a href="callto://$post[field11]">$post[field11]</a>
</span></td>
</tr>
</if>
<if condition="$userinfo['showmsn']">
<tr>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">$vbphrase[msn_messenger_handle]: $userinfo[msnicon]</span></td>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">
<a href="#" onclick="return imwindow('msn', '$userinfo[userid]', 400, 200)">$userinfo[msn]</a>
</span></td>
</tr>
</if>
<tr>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">$vbphrase[email]:</span></td>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">
<a href="./sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$userinfo[userid]">
<phrase 1="$userinfo[username]"> <img src="$stylevar[imgdir_misc]/email.gif" border="0" alt="$vbphrase[email]" title="$vbphrase[email]" />
</phrase>
</a>
</span></td>
</tr>
<tr>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">$vbphrase[private_message]:</span></td>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">
<if condition="$userinfo['pm']">
<a href="./private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]">
<phrase 1="$userinfo[username]">
<img src="$stylevar[imgdir_misc]/sendpm.gif" border="0" alt="$vbphrase[send_private_message_to_x]" title="$vbphrase[send_private_message_to_x]" /></phrase>
</a>
<else />
M&ouml;chte keine PNs empfangen</if>
</span></td>
</tr>
<if condition="$show['homepage']">
<tr>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">$vbphrase[home_page_url]:</span></td>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">
<a href="$userinfo[homepage]" target="_blank">
<img src="$stylevar[imgdir_misc]/home.gif" border="0" alt="$userinfo[homepage]" title="$userinfo[homepage]" />
</a>
</span></td>
</tr>
</if>
</table>
<!-- / Left - Contact -->

<br />

<!-- Left - Private -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="42%">
<tr>
<td valign="top" colspan="2" class="alt2"><table cellpadding="0" cellspacing="0" border="0" style="width:51%">
<tr class="alt2">
<td align="left"><span class="smallfont">
<strong>Private-Angaben</strong>
</span></td>
</tr>
</table>
</td>
</tr>
<if condition="$bbuserinfo['userid']">
<if condition="$show['extrainfo']">
<tr>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">$vbphrase[birthday]:</span></td>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">$userinfo[birthday]
</span></td>
</tr>
</if>
</if>
$customfields

</table>
<!-- / Left - Private -->

<br />

<!-- Left - Miscellaneous -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="42%">
<tr>
<td colspan="2" class="alt2"><table cellpadding="0" cellspacing="0" border="0" style="width:51%">
<tr class="alt2">
<td align="left"><span class="smallfont">
<strong>Sonstiges</strong>
</span></td>
</tr>
</table></td>
</tr>
<tr>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">$vbphrase[find_posts_by_user]:</span></td>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">
<a href="./search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]">
<phrase 1="$userinfo[username]">
<img src="$stylevar[imgdir_misc]/searchposts.gif" border="0" alt="$vbphrase[find_all_posts_by_x]" title="$vbphrase[find_all_posts_by_x]" />
</phrase>
</a>
<a href="./search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;searchuser=$userinfo[urlusername]">
<phrase 1="$userinfo[username]">
<img src="$stylevar[imgdir_misc]/searchthreads.gif" border="0" alt="$vbphrase[find_all_threads_started_by_x]" title="$vbphrase[find_all_threads_started_by_x]" />
</phrase>
</a>
</span></td>
</tr>
</tr>

<if condition="$bbuserinfo['userid']">
<tr>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">$vbphrase[buddy_list]:</span></td>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">
<if condition="$show['addbuddylist']">
<a href="./profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$userinfo[userid]">
<phrase 1="$userinfo[username]">
<img src="$stylevar[imgdir_misc]/buddy.gif" border="0" alt="$vbphrase[add_x_to_buddy_list]" title="$vbphrase[add_x_to_buddy_list]" />
</phrase>
</a>
<else />
<a href="./profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$userinfo[userid]">
<phrase 1="$userinfo[username]">
<img src="$stylevar[imgdir_misc]/buddydelete.gif" border="0" alt="$vbphrase[remove_x_from_your_buddylist]" title="$vbphrase[remove_x_from_your_buddylist]" />
</phrase>
</a>
</if>
</span></td>
</tr>
<if condition="$show['addignorelist']">
<!-- IGNORE LIST -->
<tr>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">$vbphrase[ignore_list]:</span></td>
<td style="width:50%" class="alt1" align="left"><span class="smallfont">
<if condition="$show['addignorelist']">
<a href="./profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$userinfo[userid]">
<phrase 1="$userinfo[username]">$vbphrase[add_x_to_ignore_list]</phrase>
</a>
<else />
<a href="./profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$userinfo[userid]">
<phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_ignorelist]</phrase>
</a>
</if>
</span></td>
</tr>
</if>
</if>
</table>
<!-- / Left - Miscellaneous -->

<br />



<if condition="$show['signature']">
<!-- Ssignature -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td valign="top" class="alt2"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr class="alt2">
<td align="left"><span class="smallfont">
<strong>$vbphrase[signature]</strong>
</span></td>
</tr>
</table></td>
</tr>
<tr>
<td style="width:100%" class="alt1"><span class="smallfont">$userinfo[signature]</span></td>
</tr>
</table>
<!-- / Signature -->
</if>

<!-- / PROFIL LAYOUT START -->

<table style="height: 10px"><tr><td></td></tr></table>

$footer

</body>
</html> Template: memberinfo_customfields <if condition="$profilefield['value'] != '' ">
<tr>
<td style="width:50%" class="alt1" align="left">
<span class="smallfont">$profilefield[title]:</span>
</td>
<td style="width:50%" class="alt1" align="left"> <span class="smallfont">
$profilefield[value]</span>
</td>
</tr>
</if>

Sportyhaj
20.06.2005, 20:12
danke, ist aber leider auf der rechten seite - bei mir in der profilansicht - einiges verschoben, und X stehen auf der linken seite, sollen wohl bilder rein ??

h75
20.06.2005, 20:23
Ja das sind die Buttons. Email, PN, usw.. Die gibts im images Ordner. /images/buttons/.
hast du ein Profilbild drin? dann kann sein, das die rechte seite länger wird, wie die linke,.... keine ahnung wie man das fixen kann. Das Prob besteht seit anfang an.. :confused: Die rechte seite geht dann weiter runter in den Footer und verdeckt einiges bzw. verschwindet teilweise ...