MyBB Community Forums

Full Version: [plugin support] Last poster avatar on forum index and owner's post on thread list...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7
Go to search templates and on posts and thrrads edit as you wish only delete avatar of lastposter and have to work.
Hi Neo, Thanks for being so awesome,

I have one question, on the popup when you click the avatar,
next to the online status, there is this: ( @ )

the question, how can I remove ( @ ) from the popup.

See image:[Image: REMOVE.png]

 Any further help would be very much appreciated !

p.s. I've already removed it from member_profile_online template
but it is still showing in the plugin.
Have to work have you refreshed ??

member_profile_online
and
member_profile_offline

are templates from this value was taken, make sure you have done on temqates and $online_status var on member.php have taken right values, because i only add this from profile, don´t add or delete anything but maybe you can use substr to mae it works as you need on the var at the end of plugin, if i got time i review it, thanks for your comments.

I see another thread with this info and i try to response, but please don't duplicate info.
Looks like XenForo! Very good.
(2014-10-21, 07:19 PM)Dark Neo Wrote: [ -> ]Have to work have you refreshed ??

member_profile_online
and
member_profile_offline

are templates from this value was taken, make sure you have done on temqates and $online_status var on member.php have taken right values, because i only add this from profile, don´t add or delete anything but maybe you can use substr to mae it works as you need on the var at the end of plugin, if i got time i review it, thanks for your comments.

I see another thread with this info and i try to response, but please don't duplicate info.

Hi Neo, my sincere apologies for the duplicate thread, I took the action of removing the thread from the other source and reposted it here, as to not duplicate it anymore, and thank you for the expertise responses, your valuable input is priceless!
Please keep up the awesome work!

(2014-10-21, 07:19 PM)Dark Neo Wrote: [ -> ]Have to work have you refreshed ??

member_profile_online
and
member_profile_offline

are templates from this value was taken, make sure you have done on temqates and $online_status var on member.php have taken right values, because i only add this from profile, don´t add or delete anything but maybe you can use substr to mae it works as you need on the var at the end of plugin, if i got time i review it, thanks for your comments.

Hi neo, I tried everything, from 3 different browsers and even a cellphone,

I edited member_profile_online, no change,

here is how my plugin looks now:
<span id="trow_status">
                  <strong>{$lang->postbit_status}</strong> {$online_status}<br />

and here is how online member_profile_online now:
<a href="online.php"><span class="online" style="font-weight: bold;">{$lang->postbit_status_online}</span></a>

I removed ( @ ) because it is written right inside the template and not attached to a var:
like so:

but yet from three different browsers, it keeps showing up in the pop up
on three different browsers.
cleared cache and cookies, still it keeps showing ( @ )

if you do come up with a solution, I will love to know it, thanks bud.
Go to avatarep.php plugin file and searchSadnear line 1116)

eval("\$online_status = \"".$templates->get("member_profile_online")."\";");

replace to:

$online_status = '<a href="online.php"><span class="online" style="font-weight: bold;">'.$lang->postbit_status_online.'</span></a>';

Save file and try again, you can add location and location_time vars if ou wish.


That's all.
(2014-10-23, 12:19 AM)Dark Neo Wrote: [ -> ]Go to avatarep.php plugin file and searchSadnear line 1116)


eval("\$online_status = \"".$templates->get("member_profile_online")."\";");

replace to:


$online_status = '<a href="online.php"><span class="online" style="font-weight: bold;">'.$lang->postbit_status_online.'</span></a>';

Save file and try again, you can add location and location_time vars if ou wish.


That's all.

I'm eternally grateful for all the help! Thank you for clarifying, and for the brilliant plugins!

Here is a modification to make the popup avatar clickable:

open the template though the admin panel

look for
<span><img src="{$memprofile['avatar']}" alt="" /></span>

and replace with
<span><a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$uid}"><img src="{$memprofile['avatar']}" alt="" /></span>

have fun!
Hopefully i´m at the right thread Smile
I got myBB 1.6 with OUGC Show Avatar plugin and it worked like a charm, also i get it working at portal_latestthreads_thread.

With myBB 1.8 i tried your plugin and it works also like a charm, but i didn´t get it working at portal_latestthreads_thread (added {$forum['avatarep_lastpost']['avatarep']} ...).
What modifications need it to get support at the portal too ?
hi! please, how can i change the avatar size?
Avatar size is a css customised var. Go to templates and styles select yours and in styles look for avatarep.css open on advanced mode and find avatarep_img and there change it i set by default 30px but you can use your entire style.

(2014-11-25, 09:09 PM)Namerp Wrote: [ -> ]Hopefully i´m at the right thread Smile
I gotB 1.6 with OUGC Show Avatar plugin and it worked like a charm, also i get it working at  portal_latestthreads_thread.

With myBB 1.8 i tried your plugin and it works also like a charm, but i didn´t get it working at  portal_latestthreads_thread (added {$forum['avatarep_lastpost']['avatarep']} ...).
What modifications need it to get support at the portal too ?

I did not hook on portal but maybe i can work on it till on next release.
Pages: 1 2 3 4 5 6 7