Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 02-01-2008, 10:55 PM
Bilderback's Avatar
Bilderback Bilderback is offline
 
Join Date: Sep 2007
Location: Illinois
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Postbit Hack

I just thought of a really cool and useful postbit template hack but I dont have the time to complete it.
Its actually fairly simple-
All of you must have seen forums with huge amounts of information and images in the postbit
which tends to make the actual posts and replies look very small(alot of empty space).
If you were to add a post length requirement, lets say, 25 to 50 characters as a conditional to the full postbit, otherwise, it would only display the user name.
This would shorten the forum with the minimized postbit for those who have short replies
and also gives members an incentive on posting lengthy replies.
In summary:
Condition= If your post is too short, your full postbit will not display(ie, only your name and rank?).
If the length of your post meets the minimum requirement, your full postbit will then display.
If anyone would like to develop this idea into a hack, I would be very grateful.
Reply With Quote
  #2  
Old 02-02-2008, 08:57 AM
se_p800 se_p800 is offline
 
Join Date: Oct 2007
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow that is so great! On my forum the postbit couldn't get any longer without it looking really stupid, so I would definitly use use! All i can give you is my support im afraid! buut hopefuly a modder will see this!
Reply With Quote
  #3  
Old 02-02-2008, 02:26 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by se_p800 View Post
Wow that is so great! On my forum the postbit couldn't get any longer without it looking really stupid, so I would definitly use use! All i can give you is my support im afraid! buut hopefuly a modder will see this!
He wants to show the really long posts and not show the really short ones. It sounds like you want the opposite.
Reply With Quote
  #4  
Old 02-02-2008, 02:30 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
He wants to show the really long posts and not show the really short ones. It sounds like you want the opposite.
That would be incorrect, they are both asking for the same thing, if a post is only 25 to 50 chars, the conditional will only cause your user name to be displayed, if the post is over 50 chars, the full postbit is shown.

It would probably be best to have this moved to the requests forum anyways, its actually a good idea.
Reply With Quote
  #5  
Old 02-02-2008, 02:34 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
That would be incorrect, they are both asking for the same thing, if a post is only 25 to 50 chars, the conditional will only cause your user name to be displayed, if the post is over 50 chars, the full postbit is shown.

It would probably be best to have this moved to the requests forum anyways, its actually a good idea.
Interesting mod idea (I think I need some more coffee so I can read correctly though!). But yeah, the Requests forum would probably be best for this.
Reply With Quote
  #6  
Old 02-02-2008, 02:53 PM
Bilderback's Avatar
Bilderback Bilderback is offline
 
Join Date: Sep 2007
Location: Illinois
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, in my haste and excitement, I failed to see a requests section.
Reply With Quote
  #7  
Old 02-04-2008, 03:55 PM
Bilderback's Avatar
Bilderback Bilderback is offline
 
Join Date: Sep 2007
Location: Illinois
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, threads being buried.
I'll try to find some time to do this.
This would probably only be useful to those who use postbit_legacy
Does anyone happen to know the var for checking the post characters
within the postbit?
Reply With Quote
Reply

Thread Tools
Display Modes

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 11:07 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.07879 seconds
  • Memory Usage 2,214KB
  • Queries Executed 11 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete