MyBB Community Forums

Full Version: Plug in last post show avatar on forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
it's work googd .but why my avatar appear to big... .???? please help!!!!

link web http://baonailonline.com/bantest18/index.php
Add to global.css:
.avatarep_img{
	margin-top: -26px;
	margin-left: 10px;
    float: left; 
	padding: 2px;
	border: 1px solid #005ea7;
	width: 30px;
	height: 30px;
	border-radius: 3px;
	opacity: 2;
}
(2014-09-21, 08:55 PM)Snake_ Wrote: [ -> ]Add to global.css:


.avatarep_img{
	margin-top: -26px;
	margin-left: 10px;
    float: left; 
	padding: 2px;
	border: 1px solid #005ea7;
	width: 30px;
	height: 30px;
	border-radius: 3px;
	opacity: 2;
}
avater error, check pics please 
home page
[Image: 906our.jpg]

inside
[Image: 358uhie.jpg]
i am testing 2.8.1 version to release it, you have to wait it's on tests on my forum rigt now, any issue i can do a review, in this version you do not have to change anything, plugin do his job by itself.
I have installed this plugin (2.8.1), later I have disabled plugin, but now when I want to activate this plugin there is an error:

[Image: last.jpg]

What have to do?
You have some errors on your server side because some options was not deleted and others won't can be created, like settings and stylesheets for plugins, you have errors with many plugins due of this.

Anyway download latest github repo is the latest version stable and working, in that place you can leave issues or any to make a finall version and release it here with all workin fine.

See yah.

https://github.com/WhiteNeo/lastposter-a...18x-series

this version delete all image and scripts loaded and use the modal boxes to make it works makin more light and working version for MyBB 1.8.x series i have it on my site, and all goes fine. the only mistake is on stylesheet but i am working on it due an @Eldenroot reports and i am reviewing this.
Hello,

I am using this plugin and everything works finde. But one problem is that the avatars don't appear in Sub-Forums. My templates look like this:

 forumbit_depth2_forum_lastpost...

<table border="0">

  <tr>

    <td width="2%">{$forum['avatarep_lastpost']['avatarep']}</td>

    <td>

<span class="smalltext" style="text-align:left;">

<a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>

<br />{$lastpost_date} {$lastpost_time}<br />{$lang->by} {$lastpost_profilelink}</span>

   </td>

  </tr>

</table>

forumdisplay_thread


<tr>

    <td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>

    <td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$avatarep_avatar['avatarep']}</td>

    <td class="{$bgcolor}{$thread_type_class}">

        {$attachment_count}

        <div>

            <span>{$icon} {$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>

            <div class="author smalltext">{$thread['profilelink']}</div>

        </div>

    </td>

    <td align="center" class="{$bgcolor}{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>

    <td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['views']}</td>

    {$rating}

    <td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: left;">

        <table border="0">

         <tr>

         <td>{$avatarep_lastpost['avatarep']}</td>

         <td>

        <span class="lastpost smalltext">{$lastpostdate} {$lastposttime}<br />

        <a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>

        </td>

        </tr>

        </table>

    </td>

{$modbit}

</tr>

forumdisplay_announcements_announcement


<tr>

<td align="center" class="{$bgcolor}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt=""/></td>

<td align="center" class="{$bgcolor}" width="2%">{$anno_avatar['avatarep']}</td>

<td class="{$bgcolor}">

    <a href="{$announcement['announcementlink']}"{$new_class}>{$announcement['subject']}</a>

    <div class="author smalltext">{$announcement['profilelink']}</div>

</td>

<td align="center" class="{$bgcolor}">-</td>

<td align="center" class="{$bgcolor}">-</td>

{$rating}

<td class="{$bgcolor}" style="white-space: nowrap; text-align: right"><span class="smalltext">{$postdate} {$posttime}</span></td>

{$modann}

</tr>


This is how it looks on the Main Page (correct):

[Image: unbenanntwqaw2.png]

This is a Sub-Forum (incorrect):

[Image: unbenannt23oaxq.png]

This is the link to my board: ewbattleground.de

Thank you! Smile
I´ve seen and all appears to go fine on your board, anyway you have a lesser revision and have to use last revision, deactivate all previous versions, then download latest release and activate again, that's all. I have on many boards installed and see on other ones, so i am sure it's working on, but all style and more have benn change since latest release, see yah !
@Dark Neo - I had same issue with your plugin on my board... I never manage how to fix that, maybe plugin or template conflict... anyway excellent plugin
Yes that was due to lesser version of plugin and some changes on MyBB core, so the only way i can mke it works was adding on the same var of the username on forums the value and stylished by css, otherwise i try to make it works but i´ve add many new functions and more code, so i decide to let it like someother sites where the plugin is working on and no problems detected, another way is to add some code inside functions_forumist.php directly but when you upgrade then you haave to do again all changes or this values don't be reflected.

And i have to add many code on other sites where the mod is working thanks to many code changes and entire customization, but finally i decide to not working any more on this due to MyBB 2.0 have this by default and at the latest released version works but not at all, so i have to take some time to review all entire code and change it to new code and make it works fine, but maybe is a waste of time or i dunno i prefer to work on other plugins right now, but when i have some free time i work on new version.

And i know is a template and old values who take old value of avatar and this was changed since 2.8.1, now on 2.8.2 version all code was changed and have to use a clean install of plugin, and make changes manually on some parts.

You can see here working fine and i dunno what are you talking about really. becauase that problema i din not see before on none forum of friend who use this plugin.

http://lightcalamar.com/

Here the user tell me about the same problem but when i review and finish to work with her forum, all goes fine.

http://thegame-zone.com/index.php

right now there a hidden contents and some have changed but works

And like that sites there are a lot of them and i don't remember but works and use subforums and more and all goes fine, so i reaally don't know why because for my and others on our forums aall goes fine Big Grin

And finally if someone have to see on my forum, there are working on.

http://soportemybb.es
Pages: 1 2