Back to vBulletin 4.x Add-ons

Threads horizontal and posts vertical
Mod Version: 1.00, by xman_79

vB Version: 4.x.x Rating: (0 vote - 0 average) Installs: 7
Released: 05 Mar 2017 Last Update: Never Downloads: 0
Not Supported Uses Plugins Re-usable Code Translations  

Description
  • This modification allows to have your threads in horizontal mode (postbit) and the posts in vertical mode (postbit_legacy).
  • http://www.vbulletin-ressources.com/forum/threads/17715-Sujet-en-horizontal-et-messages-en-vertical

Conception
  • Author : http://www.vbulletin-ressources.com/forum/members/1639-suleiman
  • Compatibility : 4.x.x
  • Tested : 4.0. ---> 4.2.2

First step
  • Follow AdminCP -> Settings -> options -> Style & Language Settings -> Use Legacy (Vertical) Postbit Template : NO

Plugin 1
  • Follow AdminCp -> Plugins & Products -> Add New Plugin
  • Product : Vbulletin
  • Hook Location : postbit_display_complete
  • Title : postbit & postbit_legacy
  • Plugin PHP Code
    PHP Code:

    $this
    ->templatename = ($post['postcount'] == '1') ? 'postbit' 'postbit_legacy'
  • Plugin is Active : Yes


Plugin 2
  • Follow AdminCp -> Plugins & Products -> Add New Plugin
  • Product : Vbulletin
  • Hook Location : cache_templates
  • Title : Cache Template: postbit_legacy
  • Plugin PHP Code
    PHP Code:

    if($vbulletin->options['legacypostbit'] == '0' AND THIS_SCRIPT == 'showthread')
    {
        
    $cache[] = 'postbit_legacy';

  • Plugin is Active : Yes

Download

No files for download.

Screenshots

Click image for larger version
Name:	postbit.jpg
Views:	229
Size:	49.4 KB
ID:	155937  


vblts.ru supports vBulletin®, 2022-2024