PDA

View Full Version : "About Author" module??


cmiller1014
10-12-2005, 09:02 PM
I think I asked this before but cant find it. How hard would it be to put an "Author Information
box on the right of every article in the same way as the ratings and such? I need a module there that shows the user who wrote it, their username, real name (custom field I have in VB), and their profile picture (not avatar). Would also be neat to have a thing like VB's postbit where the user can easily get to the authors profile page, PM, etc.

If not included, has anyone made anything like this?

The Geek
10-12-2005, 09:24 PM
There is one included... THink its called user profile module. If I also remember right, the template for it was missing. check into it and if so, give me a shout and ill post it.

apn3a
10-14-2005, 08:24 AM
Yes there is the module but not the template. Please geek post it.
And i have another question. What about is someone use another language (like me) and wants to translate some phrases? I cant find them inn admin cp Languages & Phrases section.

Thanks

The Geek
10-14-2005, 09:43 AM
Create a template called GARS_userinfo and put this in as the template HTML:

<if condition="$module_position == 6 || $module_position == 1 || $mosule_position == 3"><tr>
<td class="alt1" align="center" colspan="2"></if>
<if condition="$show['avatar']"><div align="center"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></div></if>
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
<div class="smallfont">
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
</div>
<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower] </if><div>$post[reputationdisplay]</div></if>
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
</div>
<if condition="$module_position == 6 || $module_position == 1 || $mosule_position == 3"></td>
</tr></if>


Most phrases are not yet done. I wont really get started on phrasing until RC.

HTH's

apn3a
10-14-2005, 10:26 AM
Thanks for the quick reply. Very professional support :)

ihatetyping
10-14-2005, 07:36 PM
Thanks for posting the GARS_userinfo template "Geek".87

The Geek
10-15-2005, 08:28 AM
Thanks for the kiss! I think im going to have to nab that :)