vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vb3 Postbit Style Option v1.0 (https://vborg.vbsupport.ru/showthread.php?t=61039)

g-force2k2 01-31-2004 10:00 PM

vb3 Postbit Style Option v1.0
 
What Does This Hack Do?
--
Allows for users to choose either the vb2 style postbit or the vb3 style postbit.
Note: Makes the vb3 setting 'legacypostbit' obsolete so that users can choose which postbit they prefer.

What To Do?
--
Queries To Run ( 1 )
File Modifications ( 9 )
includes/functions.php ( 2 )
profile.php ( 3 )
showpost.php ( 2 )
showthread.php ( 2 )
Template Modifications ( 1 )
modifyoptions template ( 1 )
Phrases To Add ( 4 )
postbit_style_title
postbit_style_desc
vb2_postbit
vb3_postbit

Note: Please respect my work, do not edit, modify, or redistribute in any form unless prior consent is given.
I would appreciate that if you installed this hack that you click install.

After viewing the discussion on vb.com though it can be done with no file modifications I choose this specific way because:

1. I don't like the postbit style option showing in with the profile fields it's better laid out in the user options under thread options.
2. I find it necessary to cache the posbit_legacy template. So if you want to get technical about file mods not needed, sure, but then you'll be running an extra query each time you load the showpost.php and showthread.php files if you use the vb2 postbit.


Screenshots and zip attached below. If you have any comments, suggestions, or concerns please share them here.

The postbit.gif screen shows the difference between vb2 style and vb3 style if you didn't know the difference.

Enjoy,
g-force2k2

gmarik 02-01-2004 03:38 PM

Nice. Could be the third (avatar on the right side) as well. :rolleyes:

g-force2k2 02-01-2004 03:41 PM

Quote:

Originally Posted by gmarik
Nice. Could be the third (avatar on the right side) as well. :rolleyes:

It's possible to add custom postbits as well.

Regards,
g-force2k2

Oblivion Knight 02-01-2004 04:41 PM

Awesome.. One of my users suggested this just today, you've saved me a job.!

Will install right away.. :)

zajako 02-01-2004 04:55 PM

umm... this has been done, and done in a much easier way. In fact, you did tons more work than you needed to.

Its posted at vbulletin.nl, in the members area, ill ask floris if he plans to make it a public hack

Floris 02-01-2004 04:58 PM

Quote:

Originally Posted by zajako
umm... this has been done, and done in a much easier way. In fact, you did tons more work than you needed to.

Its posted at vbulletin.nl, in the members area, ill ask floris if he plans to make it a public hack

Yes, this can be done with a template mod.
Freddie showed us how - see the discussion on vbulletin.com about this.
zajako, my tutorial on vbnl is for private members only :)

GoTTi 02-01-2004 05:00 PM

alot of modifying for this but its a good addon...some users liked the old version of the postbit...

vb should also add this option to thier vb3.

g-force2k2 02-01-2004 05:05 PM

Quote:

Originally Posted by zajako
umm... this has been done, and done in a much easier way. In fact, you did tons more work than you needed to.

Its posted at vbulletin.nl, in the members area, ill ask floris if he plans to make it a public hack

I did it my own way, don't like it then don't use it that simple. And if Floris did his with a template mod then its not a hack.

Quote:

Originally Posted by floris
Freddie showed us how - see the discussion on vbulletin.com about this.

If you could link me I would appreciate it.

Cheers,
g-force2k2

Giveit2u43 02-01-2004 05:12 PM

<a href="http://www.vbulletin.com/forum/showthread.php?t=88171" target="_blank">http://www.vbulletin.com/forum/showthread.php?t=88171</a>

Breaker 02-01-2004 06:42 PM

yeh, this can be done with 1 template edit and a few added fields :D


All times are GMT. The time now is 07:33 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.01001 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)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