• [Mod] Avatar v2.01 5 0 5 1
Currently:  

Author Topic: [Mod] Avatar v2.01  (Read 537997 times)

0 Members and 3 Guests are viewing this topic.

Offline crcbad

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #195 on: January 30, 2006, 01:07:23 AM »
Doesn't work still, and now with some errors, in order to see the progress, i give you the URL:

http://www.eruben.biz/Galeria/showthread.php?bid=6&threadid=4

In this URL the first person doesn't have avatar, the next user ( ME :p ) yes, and the next, the topic-starte not.

The code that now have is:

Code: [Select]
$posts = "

SELECT ".get_user_table_field(",", "user_id"). get_user_table_field(",", "user_name"). get_user_table_field(",", "user_level")." user_posts, user_joindate, user_signature, user_avatar
FROM ".USERS_TABLE."  
WHERE ".get_user_table_field("", "user_id")." = ".$thrstarter_id;

$result = $site_db->query($posts);

while ($user = $site_db->fetch_array($result)) {

$post_count = $user['user_posts'];
$user_id = $user['user_id'];
$user_rank = $user['user_level'];
$date_registered = (isset($user['user_joindate'])) ? format_date($boardconfig['date_format'], $user['user_joindate']) : REPLACE_EMPTY;
$signature = format_boardtext ($user['user_signature'],$boardconfig['html_board'], $boardconfig['wordwrap_board'], $boardconfig['bb_board'], $boardconfig['bb_image_board'], 1);
$user_avatar = $user['user_avatar'];
$user_avatar_current = ($config['avatar_use'] && @file_exists(TEMPLATE_PATH."/avatars/".$user_avatar)) ? "<img src=\"".TEMPLATE_PATH."/avatars/".$user_avatar."\">" : get_gallery_image("blank.gif");

}

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #196 on: January 30, 2006, 01:09:05 AM »
My mistake. I have just corrected a slight mistake above.  :oops:

Offline crcbad

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #197 on: January 30, 2006, 01:12:15 AM »
Ok, no errors now, but the problem persist.

The image, what is broken now, it shows in the topic starter, but the avatar must show with my user.  :oops:

Sorry for asking and asking and asking ;)

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #198 on: January 30, 2006, 01:25:35 AM »
Another user already reported this error from the dreamboard MOD topic. As I stated, I'm currently trying to find out a solution to fix this. If no one else posts this before I do, I will gladly post the corrections as soon as I find something. ;)

In the mean time, you might want to make the corrections from the quote you posted after mine (right above) to avoid further confusion. ;)

Offline crcbad

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #199 on: January 30, 2006, 01:27:40 AM »
Ok then TheOracle... Thank you for the time trying to help me ;)

I'll look tomorrow in the other thread in order to see if you can make the fix :)

On more thanks.

Offline Fragezeichen

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #200 on: January 31, 2006, 12:58:56 PM »
Many thanks,it realy works great!
You are my hero of the day


Offline insane

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Gallery
Re: [Mod] Avatar v2.01
« Reply #201 on: February 02, 2006, 03:34:52 PM »

The avatar is at the wrong place, isn't it?


The { } should not be visible, are they?

How can i fix these things?

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #202 on: February 02, 2006, 10:05:12 PM »
@insane:

I wish I could see what you're trying to show but your 4.adbrite.com site kinds of restricting me to see the rest of your site. Perhaps you'd like to remove this link from your header so that I could check these screenshots ?

Another solution would be to attach your image within your next message in this topic so that I could click on the attachment. ;)

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] Avatar v2.01
« Reply #203 on: February 03, 2006, 02:30:50 AM »
insane, so many times you've asked questions that are already answered in the faq or were fixed in our "bug fixes" forum, so how about do it the proper way: you go and apply EVERY SINGLE FIX that you can find in Bug fixes forum for you 4images version.
Then, if something else come up, you ask. I think its not such a bad idea ;)


P.S. about first screenshot - design is your task, obviously you made a misstake in the template.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline insane

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Gallery
Re: [Mod] Avatar v2.01
« Reply #204 on: February 03, 2006, 07:14:48 AM »
i'm scared of destroying my mods which are already installed by putting this fixes up :(
http://img442.imageshack.us/img442/9977/unbenannt12oy.jpg
http://img523.imageshack.us/img523/1328/unbenannt6pu.jpg

Offline getmore

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #205 on: February 03, 2006, 01:18:01 PM »
Hello V@ano,

first of all: Thanks for your many nice Mods.  :)

*edit* problem solved.

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #206 on: February 03, 2006, 02:16:34 PM »
@ insane
... prinzipiell solltest du die Installationsanweisungen genau befolgen und dann auch im Thema lesen ...  :!:
... denn es wurde bereits alles was du fragst beantwortet ...

zum Bild 1 :
... http://www.4homepages.de/forum/index.php?topic=3978.msg59010#msg59010
... http://www.4homepages.de/forum/index.php?topic=6806.msg29767#msg29767

zum Bild 2 :
... du solltest {user_avatar_current} in die comment_bit.html einfügen, am besten unter {comment_user_level} ...
... und so wie es aussieht steht dieser Tag in der details.html ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] Avatar v2.01
« Reply #207 on: February 03, 2006, 02:37:07 PM »
i'm scared of destroying my mods which are already installed by putting this fixes up :(
That's why people invented backups :P
If you are not going to fix your 4images, then you really cant expect much help...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline insane

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Gallery
Re: [Mod] Avatar v2.01
« Reply #208 on: February 03, 2006, 02:46:09 PM »
pic 1 funktioniert nun.
{user_avatar_current} hab ich nicht in der details.html und {comment_user_level} kann ich nicht finden in der comment_bit.html:

Code: [Select]
<tr>
  <td class="commentrow{row_bg_number}" valign="top" nowrap="nowrap">
    <b>{comment_user_name}</b><br />
{comment_user_info}
{if comment_user_ip}<br /><br /><b>IP:</b> {comment_user_ip}{endif comment_user_ip}
  </td>
  <td width="100%" class="commentrow{row_bg_number}" valign="top">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td valign="top"><b>{comment_headline}</b></td>
        <td valign="top" align="right">{if admin_links}{admin_links}{endif admin_links}</td>
      </tr>
    </table>
    <hr size="1" />
    {comment_text}

  </td>
</tr>
<tr>
  <td class="commentrow{row_bg_number}" nowrap="nowrap">
    <span class="smalltext">{comment_date}{if user_avatar_current}
{user_avatar_current}
{endif user_avatar_current}</span>
  </td>
  <td class="commentrow{row_bg_number}">
    {comment_user_status_img}
    {comment_user_profile_button}
    {comment_user_email_button}
    {comment_user_homepage_button}
    {comment_user_icq_button}

  </td>
</tr>
<tr>
  <td colspan="2" class="commentspacerrow"><img src="{template_url}/images/spacer.gif" width="1" height="1" alt="" /></td>
</tr>

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #209 on: February 03, 2006, 03:23:41 PM »
@ insane
... dann nehme in deinem Fall ... {comment_user_info} ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...