Thread: Forum Home Enhancements - Latest Posts
View Single Post
  #65  
Old 01-24-2009, 05:20 PM
Taragon's Avatar
Taragon Taragon is offline
 
Join Date: Sep 2007
Location: The Netherlands
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After making some template modifications I seem to be having some custom rewrite difficulties for [minicode]$ppostid[/minicode] (go to last post).

Code:
http://die16-clan.com/forum/showthread.php?p=85186
http://die16-clan.com/forum/entertainment/4712-what-last-movie-you-saw-15.html#post85186
Code:
http://die16-clan.com/forum/showthread.php?p=85212
http://die16-clan.com/forum/entertainment/3433-what-you-listening-right-now-post85212.html
Can you perhaps tell if I might be overlooking something?
[s]Could it be because of the [minicode]?[/minicode] character at the end of "What are you listening to right now?" perhaps? (Other special characters does seem to get stripped)[/s]

forumhome_latest
HTML Code:
<div class="cat-top_lft1"></div><div class="cat-top_rht1"></div><div class="cat-top_x1">
	<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_latest')"><img id="collapseimg_forumhome_latest" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_latest].gif" alt="" border="0" /></a>
	$vboptions[latest_title_name]
</div>
<div id="collapseobj_forumhome_latest" style="$vbcollapse[collapseobj_forumhome_latest]">
	$latest_post_bits
</div>
<div class="cat-btm_x"><div class="cat-btm_lft"></div><div class="cat-btm_rht"></div></div>
forumhome_latest_bit
HTML Code:
<div class="tborder" style="padding:0px 1px 1px 1px">
	<div class="alt2 smallfont" style="padding:5px">
		<h3><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$pthreadid" class="smallfont">$pthreadtitle</a></h3>
		<if condition="$vboptions['latest_cut'] != '0'"><p>$ppagetext</p></if>
		<div align="right">Posted by <a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$puserid">$pusername</a>,</div>
		<div align="right"><if condition="$vboptions['latest_date']">$pdate $ptime</if> in <a href="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]f=$pforumid">$pforumtitle</a> <a href="$vboptions[bburl]/showthread.php?$session[sessionurl]p=$ppostid"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a></div>
	</div>
</div>

Edit:

Strange, it only seems to happen when hovering a thread. After submitting the link it automatically gets rewritten to #post85186

Could this still cause duplicate content you think?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01348 seconds
  • Memory Usage 1,782KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (2)bbcode_html
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete