MyBB Community Forums
Last Seen Online Postbits - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Support (https://community.mybb.com/forum-72.html)
+---- Thread: Last Seen Online Postbits (/thread-8167.html)



Last Seen Online Postbits - Dr Small - 2006-04-11

My Last Seen Online Postbits for my forum, are messed up, somehow.
I noticed that it wasn't showing up on the posts, so I thought I would deactive it, and then reactive it.

Here's the Error I get.
Quote:MyBB Message
Couldn't find value in templates
Manual instructions:
1. Browse to Templates >> Modify / Delete >> Default templates >> Post Bit Templates >> postbit
2. Find $post[lsop] and remove it.
3. Save the template.

The problem is, I followed the instructions, and what I was supposed to find, wasn't there.

Here's what is in that file:
<tr>
<td class="$altbg" width="155" valign="top" nowrap="nowrap" align="center"><a name="pid$post[pid]"></a>
<strong><span class="largetext">$post[profilelink]</span></strong><br />
<span class="smalltext">
$post[userstars]
$post[useravatar]<br />
$post[groupimage]<br />
$lang->postbit_posts $post[postnum]<br />
$lang->postbit_group $usergroup[title]<br />
$lang->postbit_joined $post[userregdate]<br />
$lang->postbit_status $post[onlinestatus]$post[nars_replink]<br />
</span>
</td>
<td class="$altbg" width="100%" valign="top">
<table width="100%">
<tr><td class="trow">$post[posturl]$post[icon]<span class="smalltext"><strong> $post[subject]</strong></span>
<p>
$post[message]</div>
</p>
$post[attachments]
$post[signature]
<div style="text-align: right; vertical-align: bottom;">
$post[editedmsg]
$post[iplogged]
</div>
</td></tr>
</table>
</td>
</tr>
<tr>
<td class="$altbg" height="18" nowrap="nowrap" align="center"><span class="smalltext">$post[postdate] $post[posttime]</span></td>
<td class="$altbg" width="100%" valign="middle" height="18">
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr valign="bottom">
		<td align="left" ><span class="smalltext">$post[button_email]$post[button_pm]$post[button_www]$post[button_find]</span></td>
		<td align="right" nowrap="nowrap"><span class="smalltext">$post[button_edit]$post[button_quickdelete]$post[button_quote]$post[button_report]</span></td>
	</tr>
	</table>
</td>
</tr>
$seperator

What do I do?


_ISR_m3rc_


RE: Last Seen Online Postbits - zaher1988 - 2006-04-11

add that $post[lsop] after $post[onlinestatus] then try to deactivate it

regards



RE: Last Seen Online Postbits - Smethead - 2006-04-11

Read this post and the following 5 posts:
http://community.mybboard.net/showthread.php?tid=2432&pid=44044#pid44044

You can also redownload the files as they were updated a long time ago.


RE: Last Seen Online Postbits - Dr Small - 2006-04-11

Ah, Boy.
I read that other thread, downloaded the new zip. Followed the instructions, completed changing files, and the "Last Seen Online" is on ME and no one else.

I tried deactivating it again, and I got the same error message.

_ISR_m3rc_


RE: Last Seen Online Postbits - Dr Small - 2006-04-11

Ok. I worked out the bugs.
I have no idea what messed up with it, but I tested it on MyBB Default,
and it worked perfectly. So I just copied that script outta there and put it in my Blueism Theme, and it works.

Thanks guys!

_ISR_m3rc_