vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   switching between postbits (https://vborg.vbsupport.ru/showthread.php?t=193866)

Mazinger 10-17-2008 04:08 PM

switching between postbits
 
Is there anyway to use $postbit when viewing a PM while $postbit_legacy while viewing a thread?

Dismounted 10-18-2008 09:36 AM

Yes - when you have a look at when the template is fetched, you'll see a variable for changing that template :).

Mazinger 10-18-2008 07:38 PM

it's $postbit in pm_showpm template. changing this to $postbit_legacy is not working.

Dismounted 10-19-2008 02:05 AM

No, it is not. That is merely the variable that stores the parsed postbit. Have a look near the hook postbit_display_complete.

Lynk Former 10-25-2008 10:31 PM

I'm sorry, the instructions on how to deal with this issue in this thread wasn't quite clear enough for me.

What exactly are we meant to edit to have different postbit types appear for the PM and threads?

Dismounted 10-27-2008 05:50 AM

To do this, you will require knowledge of PHP - what I am dong is guiding people - you will learn and that is better than simply handing everything on a silver platter.


All times are GMT. The time now is 05:16 AM.

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