vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How do I remove the Last Post column? (https://vborg.vbsupport.ru/showthread.php?t=97883)

I, Brian 10-08-2005 05:06 PM

How do I remove the Last Post column?
 
I'd really like to remove the "Last Post" table from the forum index, forumdisplay, and showthread pages.

Before I start, I'd really like some advice as to whether there are any special considerations I need to take on board first. Is the code modication really going to be that simple? I'm feeling a little hesitant to even begin this as it seems a pretty major act of editing.

ozmazdaclub 10-09-2005 12:56 AM

Simple fix. Copy the style so that you have a copy of your original style. Make the modifications and then test it if it works fine then no need to revert back to the saved style. That's my suggestion.

I, Brian 10-09-2005 09:25 AM

I'm afraid I don't know how to copy the style template, nor am I even sure how to remove the "Last Post" column safely from the various templates. Is there an existing guide on making this sort of modification?

I, Brian 10-11-2005 04:24 PM

Any suggestions most welcome. Or should I now repost this question on the new 3.5 Template modifications board?

ozmazdaclub 10-15-2005 11:05 PM

Go into the AdminCP > Styles & Templates > Style Manager > Add New Style > Fill it in an done!

I, Brian 10-16-2005 04:01 PM

Thanks for the reply, ozmazdaclub, but add new style simply creates a new copy of my template - I don't see any option to customise the table layout.

I've tried a couple of times to remove the "Last Post" column but no success so far. Any pointers by anybody would be much appreciated.

MrPHD 12-24-2006 12:29 AM

You need to edit he forumhome_lastpostby template and remove the following code:
PHP Code:

<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&amp;t=$lastpostinfo[lastthreadid]title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a>
 </
div



All times are GMT. The time now is 11:58 PM.

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.01118 seconds
  • Memory Usage 1,723KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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