Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 07 Aug 2008, 23:28
Bellardia Bellardia is offline
 
Join Date: Jul 2007
$thread[preview]

$thread[preview] brings up a short amount of a post when you mouseover on thread links.

Is there any settings that can be modified to change these settings, or does anyone know if you could supply it with a different argument, to get the starting text of the post?

It's not valuable enough to me to grant php file uploads, but if there's a way to hack it or supply different conditions let me know!

I don't need you to explain to me how to do it, just tell me where I could find it
Reply With Quote
  #2  
Old 08 Aug 2008, 00:19
Opserty Opserty is offline
 
Join Date: Apr 2007
PHP files most likely... start with forumdisplay.php and use the "find" feature. (You will need to search for $thread['preview'] most likely).
Reply With Quote
  #3  
Old 08 Aug 2008, 00:48
Bellardia Bellardia is offline
 
Join Date: Jul 2007
Thanks for the advice as alwasy Opserty

I searched through the templates, and the length of the preview is stored in a variable named '$vbulletin->options['threadpreview']'. Its default length is 150.

You can change this option for several specific pages actually.
One of them is 'vBulletin Options -> Forum Display Options (Forum Display)' and it's default is in fact 150.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forum Display Enhancements Thread Preview only on Thread Title Hover Kirk Y vBulletin 3.6 Template Modifications 11 08 Jul 2013 19:57



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 16:10.

Layout Options | Width: Wide Color: