Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Thread as postbit and Reply as postbit_legacy Details »»
Thread as postbit and Reply as postbit_legacy
Version: 1.00, by Sulaiti Sulaiti is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.8 Rating:
Released: 09-22-2007 Last Update: Never Installs: 19
Template Edits
 
No support by the author.

This little modification will show the thread as postbit and reply as postbit_legacy.

Install:

First step:

Admin CP ? vBulletin Options ? Style & Language Settings ? Use Legacy (Vertical) Postbit Template ? (NO)

Second step:

Replace the postbit template with the following:

PHP Code:

<if condition="$post['postcount'] == 1">
 
(
postbit template)
 
<else />
 
(
postbit_legacy template)
 
</if> 

Done!

Please make sure you click INSTALL if you like it.

Attached contain the full modification needed.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 09-23-2007, 07:25 PM
Aeolian Aeolian is offline
 
Join Date: Apr 2004
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome!!
can i make this only for a specific forum?

thanks~
Reply With Quote
  #3  
Old 09-23-2007, 07:43 PM
Sulaiti Sulaiti is offline
 
Join Date: Mar 2002
Location: Qatar
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It’s a template modification will affect all the threads.

You can view this product it will help.

https://vborg.vbsupport.ru/showthread.php?t=156141

Regards,
Reply With Quote
  #4  
Old 09-23-2007, 08:22 PM
Gray Matter Gray Matter is offline
 
Join Date: May 2005
Posts: 260
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aeolian View Post
awesome!!
can i make this only for a specific forum?

thanks~
You can easily achieve this with a template conditional.

Code:
<if condition="$thread['forumid'] == X">
Where X will be the forum's ID.
Reply With Quote
  #5  
Old 09-24-2007, 02:53 PM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i would like this for one forum only if posible
Reply With Quote
  #6  
Old 09-24-2007, 09:31 PM
Gray Matter Gray Matter is offline
 
Join Date: May 2005
Posts: 260
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lasto View Post
i would like this for one forum only if posible
Did you read my last post?
Reply With Quote
  #7  
Old 09-25-2007, 08:50 AM
Cybertims Cybertims is offline
 
Join Date: Nov 2005
Location: Bedfordshire
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So you replace the entire postbit template with the code above??

Doesn't sound right......
Reply With Quote
  #8  
Old 09-25-2007, 05:02 PM
Sulaiti Sulaiti is offline
 
Join Date: Mar 2002
Location: Qatar
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gray Matter View Post
You can easily achieve this with a template conditional.

Code:
<if condition="$thread['forumid'] == X">
Where X will be the forum's ID.
Agreed with appreciated you're add.

Regards,
Reply With Quote
  #9  
Old 10-05-2007, 08:59 AM
petacat petacat is offline
 
Join Date: Sep 2007
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works nicely for me.

I can see a fully featured mod in this that installs and has ACP settings to say which forums to include and not to :P

It might even mean having another template or something (I lack experience with the product :P) that controls this conditional and avoids duplicating the whole code for postbit_legacy and complicating any mods to legacy in the future....
Reply With Quote
  #10  
Old 10-11-2007, 05:22 AM
jasculs jasculs is offline
 
Join Date: Jun 2007
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I do it in reverse order...I would like the first post to be postbit legacy and the reply posts to be postbit.
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 04:04 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.04702 seconds
  • Memory Usage 2,307KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_code
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete