vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Help meh, see if you recognize the problem please... (https://vborg.vbsupport.ru/showthread.php?t=89334)

Ian Winters 06-14-2004 05:12 AM

Help meh, see if you recognize the problem please...
 
1 Attachment(s)
Alright, so I searched for a hack to make the thread display look like it does on IPB. I found it. I followed the steps (on two separate occasions, mind you) and both times I've reached the same result, as you see in the attached image. Any idea where I went wrong? Did -I- even go wrong? Mind you I'm using 3.0.1, is it compatible with the code I used? Is there a variable that needs to be changed? If you need my code, I can attach it. Thanks for your help in advance.

Tony G 06-14-2004 11:40 AM

This step:

Code:


Find:

</tr>

below (under), add:

        <td class="alt2" title="<phrase 1="$thread[replycount]" 2="$thread[views]">$vbphrase[replies_x_views_y]</phrase>">
                <div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
                        $thread[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$thread[lastposttime]</span></if><br />
                        </div>
                        <div class="smallfont" style="text-align:$stylevar[right]; white-space:nowrap"> <phrase 1="member.php?find=lastposter&amp;t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase>  <a href="showthread.php?$session[sessionurl]goto=lastpost&amp;t=$thread[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
                </div>
        </td>

From what I see, that whole reply info box goes onto a new line because of a </tr> Try adding the code here BEFORE the </tr> to keep it on the same line as the rest of the stuff there.

Ian Winters 06-21-2004 08:01 AM

Very nice, thank you, that fixed that problem. Now there's yet another, and I noticed it before, but I had hoped it would be fixed after fixed aforementioned problem: The "Last Post" shows the views and the "Views" shows last posted by. I'll try to fix this myself, but incase I am unable, help again? Thanks.

Well, I edited the Forumdisplay, and fixed it. Basically I swapped the code where it creates the Views column and the Last Post column (swapped the lastpost and view terms, that's all) and that took care of it ^_^ Thanks again.

Tony G 06-21-2004 09:41 AM

Yep, that's all you had to do to fix that. And you're welcome. :)


All times are GMT. The time now is 08:55 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.00896 seconds
  • Memory Usage 1,716KB
  • 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)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete