vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   (Vertical) Postbit Template (https://vborg.vbsupport.ru/showthread.php?t=66012)

q8manar 06-09-2004 09:37 PM

(Vertical) Postbit Template
 
Hi

I have vb 3.0.1

I Enable "Use Legacy (Vertical) Postbit Template" ---> Yes

But I want only show privete msg as the new style as two horizental column

How Do I do this

?

vb999 06-09-2004 10:41 PM

Hello Q8 manar how r u?

i think you cannot do that ..when u enable the legacy Mode it ll be for all the furom things..Private +postbit+showtheard>>...

as long as the coders try 2 do somthing for it ... we hope...

regrads ... Khaled

eoc_Jason 06-10-2004 03:12 AM

You can have them display different styles, they use the same template, but there is a variable which tells vB if it is a private message or a post. You just have to find that variable and then base your layout decision on it.

q8manar 06-10-2004 08:19 PM

Quote:

Originally Posted by eoc_Jason
You can have them display different styles, they use the same template, but there is a variable which tells vB if it is a private message or a post. You just have to find that variable and then base your layout decision on it.


I couldn't find that variable

Is there any body can tell us what i should to do

q8manar 06-18-2004 06:33 PM

up up up

Zachery 06-18-2004 09:48 PM

<if condition="THIS_SCRIPT == private">postbit_legacy template goes here <else /> postbit template goes here </if>

That goes in the postbit or postbit legacy template

q8manar 06-20-2004 04:00 AM

Thanks zachery

Please could you explain more
or put the if statment fully if I'm Using postbit_legacy now .

What I have to put in THIS_SCRIPT .
Regards

Zachery 06-20-2004 03:41 PM

You only change what looks like this

<if condition="THIS_SCRIPT == private">postbit_legacy template goes here <else /> postbit template goes here </if>

q8manar 06-22-2004 10:45 AM

it doesn't work

I put this code :
Code:

<if condition="THIS_SCRIPT == private">
$postbit <else />
$postbit_legacy </if>

in the first of postbit_legacy template


All times are GMT. The time now is 08:40 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.01169 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
  • (1)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