Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 2 Months, 4 Weeks ago [How To?] Would anyone know how to fix link in last post
#1
Solved: 2 Months, 4 Weeks ago
HI i seem to have a small problem, i can't seem to click on the last post link.  Can someone here provide me in detail where to go and what to do to fix this small problem. Much appreciated.

   
Reply
#2
Solved: 2 Months, 4 Weeks ago
Hi,

if I click in the "Last Post:" text  it works as intended, so maybe it's a cache thing or similar.

Try to refresh your browser with Ctrl + F5
I don't answer questions about localhost forums or forums without URL, I'm not a seer.  Cool
Reply
#3
Solved: 2 Months, 4 Weeks ago
(06-18-2019, 04:31 PM)NoRules Wrote: Hi,

if I click in the "Last Post:" text  it works as intended, so maybe it's a cache thing or similar.

Try to refresh your browser with Ctrl + F5

Ok thank you it actually was the browser but its partially working

i would still like the name to be beside the last post link just like in the below picture


   
Reply
#4
Solved: 2 Months, 4 Weeks ago
Anyone out there?
Reply
#5
Solved: 2 Months, 4 Weeks ago
(06-20-2019, 03:12 AM)canadacommunity Wrote: Anyone out there?

This is a section from your view source:

<td class="trow2 forumdisplay_regular" style="white-space: nowrap; text-align: right;">
<span class="lastpost smalltext"><div class="avatarep_fd"><a href="javascript:void(0)" title="Desmond's Avatar" onclick="if (!window.__cfRLUnblockHandlers) return false; MyBB.popupWindow('User-Desmond?action=avatarep_popup', null, true); return false;" data-cf-modified-71120e28cf123d536b7d8d67-=""><script src="https://ajax.cloudflare.com/cdn-cgi/scripts/a2bd7673/cloudflare-static/rocket-loader.min.js" data-cf-settings="71120e28cf123d536b7d8d67-|49"></script><img src="https://canadacommunity.org/uploads/avatars/avatar_10.jpg?dateline=1529813967" class="avatarep_img" alt="Desmond" onerror="this.src=\'images/default_avatar.png\'" /></a></div>03-28-2019, 01:53 AM<br />
<a href="Thread-Geoengineering-Watch-Global-Alert-News-December-30-2017-125-Dane-Wigington--28037?action=lastpost">Last Post</a>: <br /><a href="https://canadacommunity.org/User-Desmond"><span style="background: url(images/sparks.gif); color: #0000FF; text-shadow: 0 0 9px #0000FF;"><strong><em>Desmond</em></strong></span></a></span>
</td>
</tr>

Notice the <br /> after last post. Needs to be removed. Last Poster Avatar does not do that as far as i am aware, so must be something else. Check your forumdisplay_thread template.
What goes around comes around
Reply
#6
Solved: 2 Months, 4 Weeks ago
(06-20-2019, 03:40 AM)Ashley1 Wrote:
(06-20-2019, 03:12 AM)canadacommunity Wrote: Anyone out there?

This is a section from your view source:

<td class="trow2 forumdisplay_regular" style="white-space: nowrap; text-align: right;">
<span class="lastpost smalltext"><div class="avatarep_fd"><a href="javascript:void(0)" title="Desmond's Avatar" onclick="if (!window.__cfRLUnblockHandlers) return false; MyBB.popupWindow('User-Desmond?action=avatarep_popup', null, true); return false;" data-cf-modified-71120e28cf123d536b7d8d67-=""><script src="https://ajax.cloudflare.com/cdn-cgi/scripts/a2bd7673/cloudflare-static/rocket-loader.min.js" data-cf-settings="71120e28cf123d536b7d8d67-|49"></script><img src="https://canadacommunity.org/uploads/avatars/avatar_10.jpg?dateline=1529813967" class="avatarep_img" alt="Desmond" onerror="this.src=\'images/default_avatar.png\'" /></a></div>03-28-2019, 01:53 AM<br />
<a href="Thread-Geoengineering-Watch-Global-Alert-News-December-30-2017-125-Dane-Wigington--28037?action=lastpost">Last Post</a>: <br /><a href="https://canadacommunity.org/User-Desmond"><span style="background: url(images/sparks.gif); color: #0000FF; text-shadow: 0 0 9px #0000FF;"><strong><em>Desmond</em></strong></span></a></span>
</td>
</tr>

Notice the <br /> after last post. Needs to be removed. Last Poster Avatar does not do that as far as i am aware, so must be something else. Check your forumdisplay_thread template.

@Ashley1

Thank you so much for your reply, here is the code in forumdisplay_thread   anything that i must do here

<tr class="inline_row">
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></td>
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>
	<td class="{$bgcolor}{$thread_type_class}">
		<avatarep_uid_[{$thread['uid']}]>{$thread['avatarep']}{$attachment_count}
		<div>
          <span>{$prefix} {$gotounread}{$thread['threadprefix']}<span class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}"><a href="{$thread['threadlink']}">{$thread['subject']}</a></span>{$thread['multipage']}</span>
			<div class="author smalltext">{$thread['description']}{$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: right;">
		<span class="lastpost smalltext"><avatarep_uid_[{$thread['lastposteruid']}]>{$lastpostdate}<br />
		<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$avbr}{$lastposterlink}</span>
	</td>
{$modbit}
</tr>
Reply
#7
Solved: 2 Months, 4 Weeks ago
Try:

<tr class="inline_row">
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></td>
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>
	<td class="{$bgcolor}{$thread_type_class}">
		<avatarep_uid_[{$thread['uid']}]>{$thread['avatarep']}{$attachment_count}
		<div>
          <span>{$prefix} {$gotounread}{$thread['threadprefix']}<span class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}"><a href="{$thread['threadlink']}">{$thread['subject']}</a></span>{$thread['multipage']}</span>
			<div class="author smalltext">{$thread['description']}{$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: right;">
		<span class="lastpost smalltext"><avatarep_uid_[{$thread['lastposteruid']}]>{$lastpostdate}<br />
		<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
	</td>
{$modbit}
</tr>
What goes around comes around
Reply
#8
Solved: 2 Months, 4 Weeks ago
(06-20-2019, 09:23 AM)Ashley1 Wrote: Try:

<tr class="inline_row">
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></td>
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>
	<td class="{$bgcolor}{$thread_type_class}">
		<avatarep_uid_[{$thread['uid']}]>{$thread['avatarep']}{$attachment_count}
		<div>
          <span>{$prefix} {$gotounread}{$thread['threadprefix']}<span class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}"><a href="{$thread['threadlink']}">{$thread['subject']}</a></span>{$thread['multipage']}</span>
			<div class="author smalltext">{$thread['description']}{$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: right;">
		<span class="lastpost smalltext"><avatarep_uid_[{$thread['lastposteruid']}]>{$lastpostdate}<br />
		<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
	</td>
{$modbit}
</tr>

@Ashley1

Nope I tried it and still no change would there be anything else you would 
recommend? By the way Thank You so much for trying to help me out! I really appreciate it.
Reply
#9
Solved: 2 Months, 4 Weeks ago
The <br /> is clear in you view source. That's what causing it. And it must be something you added.

What variable is this {$avbr} ?
What goes around comes around
Reply
#10
Solved: 2 Months, 4 Weeks ago
(06-20-2019, 02:44 PM)Ashley1 Wrote: The <br /> is clear in you view source. That's what causing it. And it must be something you added.

What variable is this {$avbr} ?

@Ashley1
I believe {$avbr} is related to the plugin "Last poster avatar"  Huh
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)