Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
New Thread Button Anywhere Details »»
New Thread Button Anywhere
Version: 1.9.1, by MarkFL MarkFL is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.2.x Rating:
Released: 04-22-2016 Last Update: 04-30-2017 Installs: 39
Uses Plugins Auto-Templates
Translations  
No support by the author.

Overview:

With mobile devices becoming more and more prevalent, the average IQ of people finding your site is declining...at a shocking pace. There was a time, not too long ago, before the pestilence of mobile devices and social media, that internet users were tech savvy people using desktop computers and forming complete sentences. Those were good times.

Increasingly, this new generation of internet users lacks the brain power to successfully navigate vBulletin's insuperable labyrinth consisting of "choose forum -> click forum -> click post new thread." To be honest, I don't particularly value such users or want them polluting the site with their pinhead musings, but hey, we've got to remain competitive and this requires dumbing things down a bit for the facebook junkies and iPhone users.

This product allows you do display a large, nearly impossible to miss button, directly below the breadcrumbs (on selected pages) that will make it easier for your users to post new threads. The added element consists of three parts: a message to the user welcoming them and instructing them on how to use the element to start a new thread, a dropdown menu from which they can choose a forum in which they have permission to post new threads (with forum categories in bold red and non-selectable), and a large button they can click once they have selected a forum which loads the newthread form to post a new thread in the forum they selected. You have 8 pre-defined linear gradient schemes (cross-browser compatible) from which to choose for the background color of the button, or you can use your own, with a choice to define separate schemes for each style using your StyleVars.



If a user has not selected a forum, then the tooltip for the button tells them they must choose a forum first. If they click the button anyway, then a popup alert repeats the fact that a forum must be chosen first. Once they select a forum, the tooltip for the button changes to tell them they may click the button to post a new thread in the selected form, and the name and description of the forum they selected is shown to help make certain they have made the correct choice.

They are essentially doing the same thing as if they had gone to a forum and clicked "+ Post New Thread," but now the button isn't carefully hidden behind the curtain of the link to the forum they want.

Everything is fully phrased and stylevars are used wherever applicable.

Updates:

Version 1.01:
  • Added custom hook location to "navbar" template in case ads are turned off (previously used a global ad location as a template hook).

Version 1.1:
  • Added support for Restrict Posting By Forum
  • Added setting to allow for excluding forums from drop-down menu.
  • Added setting to allow for left/right orientation of product element.

Version 1.1.5:
  • Improved method for adding hook to "navbar" template to be more general.

Version 1.2:
  • Forum exclusion now includes child forums.

Version 1.2.1:
  • Added support for smaller screens.

Version 1.3:
  • Added settings to allow for custom linear gradient on button.

Version 1.4:
  • Changed custom color selection to HTML color pickers.
  • Added "StyleVars" option to button color to allow for customization per style.

Version 1.5:
  • Added support for when DBTech has replaced your "navbar" template.
  • Combine plugins for adding custom hook and rending output.

Version 1.6:
  • Added 5 more default button color gradients from which to choose.
  • Removed need for explicit CSS for default button colors, greatly reducing the size of the template.

Version 1.7:
  • Added support for manually placing the new thread button element within your "navbar" template using "{vb:raw markfl_newthreadbutton}".

Version 1.8:
  • Fixed bug where forums with no parent and posting allowed were treated as categories.

Version 1.9:
  • Adding setting to exclude usergroups from button access.
  • Phrased "None Selected" drop-down menu selection.

Version 1.9.1:
  • Phrased word "Category" in drop-down menu.

Compatibility:

Tested and working on VB 4.2.x and may work on all 4.x versions of vBulletin.

Backup/Warning:

This product does not alter your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.

To Install:
  1. Download and extract the attached .zip file.
  2. Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
  3. Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
  4. Click "Import."
  5. You MUST enable the product in the settings before it will function.
  6. Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.



Support for this product can be found here:

Download Now

File Type: zip MarkFL - New Thread Button v1.9.1.zip (9.2 KB, 60 views)

Screenshots

File Type: png markfl_newthreadbutton.png (37.6 KB, 0 views)
File Type: jpg markfl_newthreadbutton_acp.jpg (62.2 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 04-23-2016, 05:30 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This last option, maximum posts, should that be minimum posts user have? It seems more logical to me this way.
Reply With Quote
  #3  
Old 04-23-2016, 05:52 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update - Version 1.01:
  • Added custom hook location to "navbar" template in case ads are turned off (previously used a global ad location as a template hook).

Quote:
Originally Posted by Alan_SP View Post
This last option, maximum posts, should that be minimum posts user have? It seems more logical to me this way.
Something like this would be more useful to new users than to more experienced users...and so that's why I gave an option to stop displaying it to users once they reach a certain number of posts.
Reply With Quote
  #4  
Old 04-23-2016, 06:37 PM
thenicehorizon thenicehorizon is offline
 
Join Date: Dec 2012
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

amazing Mr MarkFL
Reply With Quote
Благодарность от:
MarkFL
  #5  
Old 04-23-2016, 07:04 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work and good idea, thank you very much. Tested in v4.2.0.

How about an option to position button Left or Right

Attachment 154753
Reply With Quote
  #6  
Old 04-23-2016, 10:36 PM
Manoel J?nior Manoel J?nior is offline
 
Join Date: Feb 2009
Location: SP / Brasil
Posts: 778
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please, add group permissions
Reply With Quote
Благодарность от:
MarkFL
  #7  
Old 04-24-2016, 12:58 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stratis View Post
Nice work and good idea, thank you very much. Tested in v4.2.0.

How about an option to position button Left or Right
I could see that making sense if you are using a language which reads from right to left.

Quote:
Originally Posted by Manoel J?nior View Post
Please, add group permissions
I thought about that, but it just didn't seem worth the added complexity.
Reply With Quote
  #8  
Old 04-24-2016, 06:17 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
I could see that making sense if you are using a language which reads from right to left.
No I don't use language right to left, its psycho

Default buttons to make a new thread are in left position, so when big button stops to show up to new members, it will continue with the small default in the same place. it depends where we have big button to show up in the first place.

And something else, in "Choose A Subforum First" if there is an option to which forums we want, because when we have some forums restricted for members with less say than 5 post its better not show those forums.
What you say about it ?
Reply With Quote
Благодарность от:
MarkFL
  #9  
Old 04-24-2016, 09:05 PM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stratis View Post

And something else, in "Choose A Subforum First" if there is an option to which forums we want, because when we have some forums restricted for members with less say than 5 post its better not show those forums.
What you say about it ?
I agree that would be great. I have hundreds of older subforums, but I'd only want a list of a half dozen or so for a new user to choose from.
Reply With Quote
Благодарность от:
MarkFL
  #10  
Old 04-25-2016, 01:07 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update - Version 1.1:
  • Added support for Restrict Posting By Forum
  • Added setting to allow for excluding forums from drop-down menu.
  • Added setting to allow for left/right orientation of product element.
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 08:51 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.04863 seconds
  • Memory Usage 2,353KB
  • Queries Executed 26 (?)
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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (4)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (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_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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete