Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-02-2007, 05:30 AM
spaceman33 spaceman33 is offline
 
Join Date: Apr 2007
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 05-02-2007, 06:31 AM
sonichero sonichero is offline
 
Join Date: Jan 2007
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

see if you can find it that way...
Reply With Quote
  #3  
Old 05-02-2007, 07:11 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As said, $vbphrase[posts]: $post[posts] will be in postbit_legacy. I've checked it myself.
Reply With Quote
  #4  
Old 05-02-2007, 11:39 AM
spaceman33 spaceman33 is offline
 
Join Date: Apr 2007
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sonichero View Post
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 View Post
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.
Reply With Quote
  #5  
Old 05-02-2007, 11:46 AM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

are you using the normal vb style?
Reply With Quote
  #6  
Old 05-02-2007, 11:50 AM
spaceman33 spaceman33 is offline
 
Join Date: Apr 2007
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jaycob View Post
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.
Reply With Quote
  #7  
Old 05-02-2007, 11:53 AM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 05-02-2007, 02:51 PM
spaceman33 spaceman33 is offline
 
Join Date: Apr 2007
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 05-02-2007, 08:06 PM
Lucky Seven Lucky Seven is offline
 
Join Date: Feb 2007
Location: England
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:53 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04367 seconds
  • Memory Usage 2,243KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete