vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Which file postbit_legacy in? (https://vborg.vbsupport.ru/showthread.php?t=146269)

spaceman33 05-02-2007 05:30 AM

Which file postbit_legacy in?
 
I have been installing some mods lately and some of them don't work as expected.

For example, in https://vborg.vbsupport.ru/showthrea...spent+on+board it states in the instructions:

Quote:

Search in postbit_legacy for:
--------------------------------------------------------------------------------
<div>
$vbphrase[posts]: $post[posts]
</div>
I don't have this in postbit_legacy, only in postbit.

is it possible to find out where this is installed in a file so that I can compare it with what it should have been originally, or is it possible to view the template original version somewhere so that I can go through it step by step?

Or if someone wants to send it to me if it's more convenient - ie, go into your templates and send me the contents of postbit_legacy so that I can see where the above is, and if I'm missing anything else.

Thanks for any assistance.

sonichero 05-02-2007 06:31 AM

just try searching for $vbphrase[posts]: $post[posts]

see if you can find it that way...

Dismounted 05-02-2007 07:11 AM

As said, $vbphrase[posts]: $post[posts] will be in postbit_legacy. I've checked it myself.

spaceman33 05-02-2007 11:39 AM

Quote:

Originally Posted by sonichero (Post 1239509)
just try searching for $vbphrase[posts]: $post[posts]

see if you can find it that way...

I have done, that's how I knew it wasn't in there!

Quote:

Originally Posted by Dismounted (Post 1239531)
As said, $vbphrase[posts]: $post[posts] will be in postbit_legacy. I've checked it myself.

Exactly! That's the reason for this post. It isn't in mine so want to find out where it should go and what else may be missing.

ShawneyJ 05-02-2007 11:46 AM

are you using the normal vb style?

spaceman33 05-02-2007 11:50 AM

Quote:

Originally Posted by jaycob (Post 1239656)
are you using the normal vb style?

Yes.

Only thing I've done is add mods, which may have got rid of what I am looking for, so I now want to put it back in.

ShawneyJ 05-02-2007 11:53 AM

try searching for this:
Code:

<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
and just add your code under it if

This is not there

Code:

<div>
$vbphrase[posts]: $post[posts]
</div>

see how you go.

spaceman33 05-02-2007 02:51 PM

Ok, done that, thanks.

Still no joy! Doing my head in :) I have added that code below the age part, and nada.

I just installed another mod that had to amend the postbit_legacy file, and the mod didn't show!

I decided to do the same amendments to postbit, and guess what, it worked?! It seems for me if I install a mod that needs postbit_legacy amending, I have to make the same amendments to postbit to get this to work?!

I presume this isn't the norm.

Lucky Seven 05-02-2007 08:06 PM

In the "vBulletin Options" >> "Style & Language Settings" >> "Use Legacy (Vertical) Postbit Template" >> Is this set to yes or no? Try changing it to the other option and see if that helps.

You only need to edit one of the two templates, and that option controls whether you use postbit or postbit_legacy.


All times are GMT. The time now is 02:57 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.00988 seconds
  • Memory Usage 1,731KB
  • 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_code_printable
  • (4)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