vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=139)
-   -   [Tweak] Direct Links To Posts Within A Thread (https://vborg.vbsupport.ru/showthread.php?t=83879)

Still Waters 12-19-2002 02:55 AM

Larry, I was hoping for numbered posts, as well. However, the mod instructions state, "This is based on bira's Post Counter & Direct Link (https://vborg.vbsupport.ru/showthrea...threadid=22083). This mod does not include the post counter. The only way to add that feature is to install the hack."

So, we're out of luck. But, I think the ease and simplicity of a template mod more than make up for loss of the numbers. :)

Still Waters 12-19-2002 03:45 AM

I just installed the mod, and I have a small spacing problem. In the attached image, button #1 is not aligned at the top of the post. Note there is a post subject. On the other hand, button #2 is aligned at the top, as there is no post subject.

How can I correct this inconsistency?
Thanks in advance. :)

Tony G 12-19-2002 03:52 AM

That is why, the post subject uses a different table so the link icon cannot align itself in any other tables expect which one it has been placed in.

Still Waters 12-19-2002 04:44 AM

Thanks, Tony. Do you think it's possible to put both objects inside the same table and solve this problem, without creating additional spacing problems? I'll jump into the html if you think it can be done. :)

Tony G 12-19-2002 05:05 AM

I'm not sure, you can try putting the variable (Or whatever code is put into the postbit) into the table where the topic is. Then see if it works with no topic displayed in the posts.

Still Waters 12-19-2002 06:20 PM

I think I did it. :) Here is another way of implementing this postbit tweak,
which keeps the link aligned in the top-right corner, regardless of whether there's
a post subject. I'm attaching an image that shows the alignment.

Look for this in the postbit template.
<smallfont>$post[icon] <b>$post[title]</b></smallfont>

And replace it with this.
<!-- ==================================== -->
<!-- START - Direct Links To Posts Within A Thread --- http://www.vbulletintemplates.com/mo...=&threadid=384 -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top"><smallfont>$post[icon]<b>$post[title]</b></smallfont>
</td>
<td align="right" valign="top"><smallfont><a href="showthread.php?s=&threadid=$post[threadid]#post$post[postid]"><img src="images/path/to/button_link.gif" border="0" alt="Link to Post"></a></smallfont>
</td>
</tr>
</table>
<!-- STOP - Direct Links To Posts Within A Thread
<!-- ==================================== -->

Brad 12-19-2002 06:27 PM

Still waters: We try to not use code tags here due to the table breaks. Ive edited them out of your post.

Still Waters 12-19-2002 09:03 PM

Whooops. Thanks, Anime-loo. :)

Orfejs 01-30-2003 03:06 PM

Is it really helpfull?


All times are GMT. The time now is 01:46 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00941 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete