vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Default or Retro (https://vborg.vbsupport.ru/showthread.php?t=88792)

Zachery 03-28-2004 10:00 PM

Default or Retro
 
This will super simple mod will allow your users to have either a new styled vB3 postbit or the old vB2 postbit with out using phpinclude_start OR hacking :)


Step 1
Add a new profile field that is a single selction menu
Title: Postbit Style
Description: How all postbits will appear to you.
Options:
Default
Legacy

OR

Legacy
Default

(depending on WHICH you want to be default)
Default: Yes but not blank.

Now, Im going to assume you have NOT modifed your postbit template much and give you 2 predone full template bits, ill also give you 2 non predone bits that you must fill in for your self.

You need to chage the top line of any of the text files to make sure you have the number of the profile field replaced for X.

:)

Bad Bunny 03-29-2004 12:37 PM

Yay! So simple, and so smart. Thanks!
I will surely encorporate this into my forums in some way.

Nhat_Long 03-30-2004 11:14 PM

please to post demo
thanks

alwafi 04-07-2004 11:49 PM

it's very nice

thanks

D7MeEe 04-09-2004 05:46 PM

Quote:

Originally Posted by alwafi
it's very nice

thanks

أحم أحم

Brad 04-13-2004 05:47 AM

This will also avoid that extra query kura's hack takes care of.

cavola 04-23-2004 06:37 PM

OK please tell me what exactly to do!? This isnt very helpful...

what exactly are the 3 attached files?!

Zachery 04-23-2004 06:59 PM

Basicly, there are 3 attached files,

The first is the regular vB3 new styled postbit as the default
The second is the Old vB2 styled postbit as the default
the thrid is if you have heavily modifed one or the other and just the conditions to use.

cavola 04-23-2004 07:39 PM

Ah ok, but where will the users be able to change this in their profile?

Zachery 04-23-2004 07:41 PM

Quote:

Step 1
Add a new profile field that is a single selction menu
Title: Postbit Style
Description: How all postbits will appear to you.
Options:
Default
Legacy

OR

Legacy
Default

(depending on WHICH you want to be default)
Default: Yes but not blank.
You read the instructions ;)


All times are GMT. The time now is 01:44 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.01112 seconds
  • Memory Usage 1,728KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete