The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Last post link problem
Hi, not sure if this the right place, but here it goes...
Im having some probs with the last post link in the forum home (when ppl click on the arrow in front of the last posts) It always get a "No Thread specified. If you followed a valid link, please notify the administrator" message when I click. I know that its a prob with my custom template because it works fine in the original theme. Any ideas guys? Thanks! |
#2
|
||||
|
||||
first this is the wrong section but i will tell you and i will report it:
go to this url: http://www.ursitename.com/admincp/misc.php? btw change the ursitename to your own site: and then rebuild every thing in that page and i think it will work because it happened with me when i have upgraded from vb3.5.4 to 3.6 rc2 |
#3
|
|||
|
|||
Can you post a copy of your forumhome_lastpostby template for that style please. Please ensure that you put [ code][/code] tags around it.
I've also moved this thread to the vBulletin discussions forum. |
#4
|
|||
|
|||
Im so sorry to have post it in the wrong section...
Here it is the code: Code:
<table cellpadding="0" cellspacing="0" border="0" width="200"><tr align="$stylevar[right]"> <td nowrap="nowrap"> <if condition="$show['lastpostinfo']"> <div class="smallfont" align="$stylevar[left]"> <div style="clear:both"> <if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if> <a href="showthread.php?$session[sessionurl]goto=newpost&t=$lastpostinfo[lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a> </div> <div<if condition="is_browser('ie', 6)"> style="float:$stylevar[left]"</if>> <phrase 1="member.php?$session[sessionurl]find=lastposter&f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase> </div> <div align="$stylevar[right]"> $lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if> <a href="showthread.php?$session[sessionurl]goto=lastpost&t=$lastpostinfo[lastthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a> </div> </div> <else /> <div class="smallfont" align="$stylevar[right]"> $lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if> <a href="showthread.php?$session[sessionurl]goto=lastpost&t=$lastpostinfo[lastthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a> </div> </if> </td> </tr></table> |
#5
|
|||
|
|||
there is nothing amiss in that code, do all your other links work ok?
|
#6
|
|||
|
|||
Yeah all of them... The last post is the only one :S
|
#7
|
|||
|
|||
ok, check your site URL and forums URL in vBOptions > Site Name / URL / Contact Details
It sounds like one or both of them are wrong. |
#8
|
|||
|
|||
I dont think thats the problem... it works in the default template, but not on the custom on I have so it must be a template issue I guess...
|
#9
|
|||
|
|||
If none of your links are working then you have an error in your settings.
Please check them, even if you think that there is no way that they could be wrong. Also, please provide a link to your site so that I can also see what is happening. |
#10
|
|||
|
|||
Thanks for the help and your time peterska2, I substituit my code for this one and it works great now!
Code:
<table cellpadding="0" cellspacing="0" border="0" width="200"><tr align="$stylevar[right]"> <td nowrap="nowrap"> <if condition="$show['lastpostinfo']"> <div class="smallfont" align="$stylevar[left]"> <div style="clear:both"> <if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if> <a href="showthread.php?$session[sessionurl]goto=newpost&t=$lastpostinfo[lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a> </div> <div<if condition="is_browser('ie', 6)"> style="float:$stylevar[left]"</if>> <phrase 1="member.php?$session[sessionurl]find=lastposter&f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase> </div> <div align="$stylevar[right]"> $lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if> <a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]#post$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a> </div> </div> <else /> <div class="smallfont" align="$stylevar[right]"> $lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if> <a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a> </div> </if> </td> </tr></table> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|