vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Truncate Thread Title in Last Post Box (https://vborg.vbsupport.ru/showthread.php?t=68888)

ironj221 08-29-2004 10:00 PM

Truncate Thread Title in Last Post Box
 
Purpose:
Will allow you to set the length of the thread title in the last post area.

Remember to click install!!

This mod should work in 3.0.0, 3.0.1, 3.0.3

Mod installation time is less than 1 minute. There is one small file edit.

Mod by Jason "ironj221" Stackman
With the help of: vBMechanic, http://www.vbmechanic.com

Polo 08-30-2004 08:29 PM

Thanks for sharing ;) will install in local machine for testing

Tigga 08-30-2004 09:45 PM

Maybe I'm missing something, but how is this different from the default vB option to trim the last post's title?

nexialys 08-30-2004 10:05 PM

hey hey... Tigga is right... there is no difference... actually it's doing the job for a second time.

ironj221 08-30-2004 10:12 PM

I had no idea there was a vb option for this... :(

I'll take a look at it.

ironj221 08-30-2004 10:30 PM

Yeah this mod is pointless now, I see the option.

Oh well, I tried :p

Polo 09-02-2004 07:40 PM

mm... getting to konw more about vbulletin each day :)

beano33 09-28-2004 09:32 PM

I could really use this if it can be made forum specific, i.e. only apply it to certain forum id's. I've been working on a design using Xenon's column hack and want to display thread titles, but the thread title length I want to display on standard forums is too long for my columnized forums. Anyone know how to apply this hack by forum ID number?

Would adding this conditional work?
Code:

<if condition="in_array($foruminfo['forumid'], array(X,Y))">

ironj221 10-27-2004 09:54 PM

Quote:

Originally Posted by beano33
I could really use this if it can be made forum specific, i.e. only apply it to certain forum id's. I've been working on a design using Xenon's column hack and want to display thread titles, but the thread title length I want to display on standard forums is too long for my columnized forums. Anyone know how to apply this hack by forum ID number?

Would adding this conditional work?
Code:

<if condition="in_array($foruminfo['forumid'], array(X,Y))">

I'm not sure how to do that, but that might be something I'll work on.


All times are GMT. The time now is 08:40 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.01163 seconds
  • Memory Usage 1,726KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete