 |
|
xman_79 |
03-04-2017 10:00 PM |
Threads horizontal and posts vertical
1 Attachment(s)
Description- This modification allows to have your threads in horizontal mode (postbit) and the posts in vertical mode (postbit_legacy).
- In French
Conception- Author : 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
https://vborg.vbsupport.ru/attachmen...1&d=1488713177
|
All times are GMT. The time now is 10:51 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.00893 seconds
- Memory Usage 1,718KB
- 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_php_printable
- (1)footer
- (1)gobutton
- (1)header
- (1)headinclude
- (6)option
- (1)post_thanks_navbar_search
- (1)printthread
- (1)printthreadbit
- (1)spacer_close
- (1)spacer_open
Phrase Groups Available:
|
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
|
|