View Full Version : New Posting Features - New Thread Button Anywhere
MarkFL
04-22-2016, 09:00 PM
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.
https://vborg.vbsupport.ru/attachment.php?attachmentid=154750&stc=1&d=1461434407
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 (https://vborg.vbsupport.ru/showthread.php?t=320912)
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:
Download and extract the attached .zip file.
Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
Click "Import."
You MUST enable the product in the settings before it will function.
Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.
https://vborg.vbsupport.ru/attachment.php?attachmentid=155097&stc=1&d=1465009738
Support for this product can be found here:
MHB - New Thread Button Anywhere (http://mathhelpboards.com/vbulletin-products-61/new-thread-button-anywhere-21804.html)
TAZ - New Thread Button Anywhere (https://theadminzone.com/threads/new-thread-button-anywhere.145079/)
Alan_SP
04-23-2016, 05:30 PM
This last option, maximum posts, should that be minimum posts user have? It seems more logical to me this way.
MarkFL
04-23-2016, 05:52 PM
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).
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. :)
thenicehorizon
04-23-2016, 06:37 PM
amazing Mr MarkFL
Stratis
04-23-2016, 07:04 PM
Nice work and good idea, thank you very much. Tested in v4.2.0.
How about an option to position button Left or Right :p
154753
Manoel J?nior
04-23-2016, 10:36 PM
Please, add group permissions
MarkFL
04-24-2016, 12:58 AM
Nice work and good idea, thank you very much. Tested in v4.2.0.
How about an option to position button Left or Right :p
I could see that making sense if you are using a language which reads from right to left. :)
Please, add group permissions
I thought about that, but it just didn't seem worth the added complexity. ;)
Stratis
04-24-2016, 06:17 AM
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 :D
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 ? :)
Morrus
04-24-2016, 09:05 PM
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.
MarkFL
04-25-2016, 01:07 PM
Update - Version 1.1:
Added support for Restrict Posting By Forum (https://vborg.vbsupport.ru/showthread.php?t=320912)
Added setting to allow for excluding forums from drop-down menu.
Added setting to allow for left/right orientation of product element.
Stratis
04-25-2016, 01:33 PM
Excellent 154781
Thank you very much 154780
MarkFL
04-25-2016, 01:36 PM
Excellent 154781
Thank you very much 154780
Thank you for the good suggestions, especially for reminding me I needed to support the restrict posting by forums product...no need to show a user a forum if they will only get the no permission page. :up:
Stratis
04-25-2016, 01:52 PM
I am fun of your modifications, and a MarkFL mod tester. :p
Some times situations is how we see it that moment.
Any way, your mods helps very much my community.
:)
Morrus
04-25-2016, 01:53 PM
Installed, but I get an error:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /var/www/virtual/enworld/forum/includes/class_core.php(4715) : eval()'d code on line 231
MarkFL
04-25-2016, 01:54 PM
I am fun of your modifications, and a MarkFL mod tester. :p
Some times situations is how we see it that moment.
Any way, your mods helps very much my community.
:)
I am very happy to hear that my mods are useful for you and your users. :cool:
vze2yqtm
04-25-2016, 05:24 PM
After enabling it never shows - great plugin by the way, this will be a great improvement to the sidebar type that I tried before :)
MarkFL
04-25-2016, 06:45 PM
Those of you seeking support should mark the product as installed. ;)
Installed, but I get an error:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /var/www/virtual/enworld/forum/includes/class_core.php(4715) : eval()'d code on line 231
What version of vB/PHP are you using?
After enabling it never shows - great plugin by the way, this will be a great improvement to the sidebar type that I tried before :)
Please see the post below this. :)
MarkFL
04-25-2016, 09:31 PM
Version 1.1.5:
Improved method for adding hook to "navbar" template to be more general.
Morrus
04-25-2016, 09:40 PM
What version of vB/PHP are you using?
4.2.2 and 5.3.21, respectively. :)
MarkFL
04-25-2016, 09:51 PM
4.2.2 and 5.3.21, respectively. :)
Okay, those aren't the issue, because I have it running without any issues on sites with vB/PHP versions both earlier and later than what you state.
First, try updating to version 1.1.5 of this product and see if the issue was with the custom template hook. If not, we'll go from there. :)
vze2yqtm
04-26-2016, 06:53 AM
It still isn't showing :(
Stratis
04-26-2016, 07:20 AM
It still isn't showing :(
Some times we forget,
If you put in "Maximum Posts" field less than you have (posts), you will not see it.
To try put "0" and than put depending
And if not...
In the "Active Scripts" option take off the "index" leave it blank, to see if it shows it to other places than forum index.
Morrus
04-26-2016, 09:12 AM
Okay, those aren't the issue, because I have it running without any issues on sites with vB/PHP versions both earlier and later than what you state.
First, try updating to version 1.1.5 of this product and see if the issue was with the custom template hook. If not, we'll go from there. :)
We appear to have lift-off! All working so far, as best I can tell! :)
Morrus
04-26-2016, 09:56 AM
Ah, the forum exclusion feature isn't working.
(Hard to test because not takes me about 20 minutes each time to individually click all but a half dozen forums to exclude out of a few hundred - any chance of the reverse method, and just selecting which forums to include?)
[Edit - on further study, I seem to have got it to remember them; there may be some conditions in which it forgets the selected excluded forums, but I'm not 100% sure. I'll keep an eye on it and let you know if it happens again!)
MarkFL
04-26-2016, 10:49 AM
It still isn't showing :(
At this point, all I can figure is that another mod must be interfering (given that your settings aren't configured in such a way as to prevent you from seeing it).
If you want, set up a temporary admin account for me, and PM the login credentials to me, and I can come to your site to troubleshoot. :)
MarkFL
04-26-2016, 11:42 AM
Update - Version 1.2:
Forum exclusion now includes child forums.
Morrus
04-26-2016, 12:32 PM
Not a major issue, but the layout messes up a little on smaller screens (such as a tablet). Screenshot attached. I'm not overly worried, but thought you might find the info helpful.
MarkFL
04-26-2016, 12:49 PM
Not a major issue, but the layout messes up a little on smaller screens (such as a tablet). Screenshot attached. I'm not overly worried, but thought you might find the info helpful.
Thanks for the heads up! :up:
Update - Version 1.2.1:
Added support for smaller screens.
Morrus
04-26-2016, 01:14 PM
I've identified the forum exclusion forgetting: it happens every time the product is updated.
Morrus
04-26-2016, 01:17 PM
Actually, I'm not sure what's going on. In the attached screenshots you can see that I have a whole load of forums excluded, but some left included. But on the other screenshot, no forums are appearing in the dropdown menu - just "None Selected".
MarkFL
04-26-2016, 02:48 PM
I've identified the forum exclusion forgetting: it happens every time the product is updated.
Are you actually updating, or uninstalling the old, then installing the new?
Actually, I'm not sure what's going on. In the attached screenshots you can see that I have a whole load of forums excluded, but some left included. But on the other screenshot, no forums are appearing in the dropdown menu - just "None Selected".
Child forums are included, so if you are selecting all of your categories, then no forums will show up.
Morrus
04-26-2016, 02:56 PM
Are you actually updating, or uninstalling the old, then installing the new?
Updating with overwrite.
Child forums are included, so if you are selecting all of your categories, then no forums will show up.
Sorry; in that case I'm not clear on what I need to be doing to use this correctly.
So I need to individually select all the individual forums I want excluded, but be careful not to select any of the categories?
(Oh, please, please make it work the opposite way around! Select forums to be included. :) )
MarkFL
04-26-2016, 03:03 PM
Updating with overwrite.
Your settings shouldn't change then...they don't change for me if I do an upgrade.
Sorry; in that case I'm not clear on what I need to be doing to use this correctly.
So I need to individually select all the individual forums I want excluded, but be careful not to select any of the categories?
(Oh, please, please make it work the opposite way around! Select forums to be included. :) )
If you want to exclude an entire category, just select the category. If you only want to exclude certain forums, then select then individually.
I would think most people who wish to exclude forums will only exclude a few...I have to think of the majority here.
Morrus
04-26-2016, 03:13 PM
Your settings shouldn't change then...they don't change for me if I do an upgrade.
I don't know what to tell you. :)
If you want to exclude an entire category, just select the category. If you only want to exclude certain forums, then select then individually.
I would think most people who wish to exclude forums will only exclude a few...I have to think of the majority here.
Fair enough. I'll check back in a week or two and see where things are at; I can't go through that process with every incremental update. :)
Stratis
04-26-2016, 03:21 PM
I don't know what to tell you. :)
Fair enough. I'll check back in a week or two and see where things are at; I can't go through that process with every incremental update. :)
When I make an update, all previous selected forums don't change.
You don't need to set them again.
* You can you use Shift to check all forums and Control to deselect :)
MarkFL
04-26-2016, 03:24 PM
I don't know what to tell you. :)
Fair enough. I'll check back in a week or two and see where things are at; I can't go through that process with every incremental update. :)
That has to be some issue on your end...no one else has reported this with any of the 60+ products I have uploaded here so far. :)
Morrus
04-26-2016, 03:54 PM
That has to be some issue on your end...no one else has reported this with any of the 60+ products I have uploaded here so far. :)
Like I said, I don't know what to tell you. It doesn't change any of the other settings, just the excluded forums.
MarkFL
04-26-2016, 09:54 PM
Update - Version 1.3:
Added settings to allow for custom linear gradient on button.
vze2yqtm
04-27-2016, 06:12 AM
It still won't show :(
MarkFL
04-27-2016, 10:42 AM
It still won't show :(
Well, as I stated a few posts back, I would have to come to your site with admin access to try to figure out what specific issue there is preventing it from being displayed. :)
MarkFL
04-27-2016, 11:46 AM
Update - Version 1.4:
Changed custom color selection to HTML color pickers.
Added "StyleVars" option to button color to allow for customization per style.
vze2yqtm
04-28-2016, 06:47 AM
Well, as I stated a few posts back, I would have to come to your site with admin access to try to figure out what specific issue there is preventing it from being displayed. :)
Very sorry I missed your reply, I'll pm you :)
MarkFL
04-28-2016, 02:22 PM
Very sorry I missed your reply, I'll pm you :)
Okay...I've got it rendering below your "Featured Threads" list and above the shoutboxes. If you would like it in another location, please let me know. :)
MarkFL
04-28-2016, 03:47 PM
Version 1.5:
Added support for when DBTech has replaced your "navbar" template.
Combine plugins for adding custom hook and rending output.
It still won't show :(
I have already installed version 1.5 on your site. Now the element shows up below all of DBTech's elements. You see, DBTech has replaced your "navbar" template with their own, and my product adds the new thread button to the bottom of the "navbar" template being used. Recall, we went though this same issue with the "Featured Threads" product.
I didn't want you to have a hacked version of this product on your site, which would prevent you from any further updates. When I update the "Featured Threads" product, I will include support for DBTech's template replacement as well for it.
vze2yqtm
04-29-2016, 09:08 AM
Thanks so much :) !!! You are awesome!
MarkFL
05-01-2016, 04:37 PM
Update - 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.
maupassant
05-16-2016, 06:07 PM
Great mod !
keyla31
06-03-2016, 04:51 PM
I love it
f3_dl
06-04-2016, 12:06 AM
Hey i realy like your mod - but i would like to place the button by myself on my website.
I have a high modified vBulletin and theme so i need an option to place the template where it is needed without screwing the theme up.
I would need something like "{vb:raw markfl_newthreadbutton}" so i can inject the markfl_newthreadbutton template for example in the navbar template.
Copy and pasting does not work and unfortunately i don't know how i get the var i need for this registred.
Thanks for your help
MarkFL
06-04-2016, 01:10 AM
Update - Version 1.7:
Added support for manually placing the new thread button element within your "navbar" template using "{vb:raw markfl_newthreadbutton}".
f3_dl
06-04-2016, 01:22 PM
And thats how very good support works :D
Thanks for that realy fast answer - works perfectly and exactly as intended! :)
MediaSVI
06-12-2016, 05:11 PM
I installed your plugin, thanks it a good one.
I am having an issue though as your plugin is making a bunch of forums (category) when they are forums and because of this users can not select them to post into.
The same thing happens in the Org Theme when I tray it. Please see picture.
Is there some way to fix this? Thank you for your time.
https://vborg.vbsupport.ru/external/2016/06/6.png
MarkFL
06-12-2016, 05:45 PM
I installed your plugin, thanks it a good one.
I am having an issue though as your plugin is making a bunch of forums (category) when they are forums and because of this users can not select them to post into.
The same thing happens in the Org Theme when I tray it. Please see picture.
Is there some way to fix this? Thank you for your time.
https://vborg.vbsupport.ru/external/2016/06/6.png
Thank you for calling this to my attention...I have changed the way my code checks to see if a forum allows posting or not and so you should find it works correctly now. :)
Version 1.8:
Fixed bug where forums with no parent and posting allowed were treated as categories.
MediaSVI
06-12-2016, 05:56 PM
Thank you for calling this to my attention...I have changed the way my code checks to see if a forum allows posting or not and so you should find it works correctly now. :)
Version 1.8:
Fixed bug where forums with no parent and posting allowed were treated as categories.
That did it thank you so much!
scottkoz20
07-02-2016, 02:42 PM
hey Mark - another odd ask, is this something that can be adapted to allow for posting in multiple sub-forums in a queue (I have a 30 sec delay) or simultaneously?
MarkFL
07-02-2016, 03:05 PM
hey Mark - another odd ask, is this something that can be adapted to allow for posting in multiple sub-forums in a queue (I have a 30 sec delay) or simultaneously?
No, this simply gives users another pathway to the new thread form. :)
scottkoz20
07-02-2016, 03:47 PM
No, this simply gives users another pathway to the new thread form. :)
Like I said, odd ask :p
Stratis
08-15-2016, 02:03 PM
Today I realized that unregister can see the button, they don't have the option to post a thread because select option for forum categories are empty. Do I miss some thing here?
Is there a way to hide all this from unregister users (waiting email confirmation)?
Thanks
MarkFL
08-15-2016, 03:09 PM
Today I realized that unregister can see the button, they don't have the option to post a thread because select option for forum categories are empty. Do I miss some thing here?
Is there a way to hide all this from unregister users (waiting email confirmation)?
Thanks
When I log out from the 3 sites I have personally installed this product, it doesn't appear. I didn't test users awaiting email confirmation...users should typically only be in that state for a minute or two...:)
Stratis
08-15-2016, 06:17 PM
I didn't test users awaiting email confirmation...users should typically only be in that state for a minute or two...:)
For the history, I have deleted 834 user until now (with out confirmation), 10 minutes ago I delete 3 users that have been register without confirm from January.
I have 19 more, actually I wait about 6+ months and than delete them.
Any way :) thanks.
MarkFL
08-15-2016, 06:33 PM
I'll add a setting with the next update to exclude selected usergroups...:)
tagline
11-01-2016, 12:37 PM
This mod is awsome! I like it very much.
Some suggestion in order to translate in drop down menu the phrase "none selected" ? Thx!
MarkFL
11-01-2016, 04:33 PM
Update - Version 1.9:
Adding setting to exclude usergroups from button access.
Phrased "None Selected" drop-down menu selection.
seb5594
04-30-2017, 09:22 PM
Nice Plugin, but you should phrase "Category" in line 266. Use the default vbulletin phrase instead of hardcoding it
MarkFL
04-30-2017, 09:49 PM
Nice Plugin, but you should phrase "Category" in line 266. Use the default vbulletin phrase instead of hardcoding it
Update - Version 1.9.1:
Phrased word "Category" in drop-down menu.
seb5594
04-30-2017, 10:06 PM
Update - Version 1.9.1:
Phrased word "Category" in drop-down menu.
https://vborg.vbsupport.ru/external/2017/04/1.png
Hmm no text in the brackets :erm:
MarkFL
04-30-2017, 11:26 PM
Okay...try it again.
magmf
05-03-2017, 11:15 AM
Man this is almost perfect if we had a responsive design on it would be even better :)
MarkFL
05-05-2017, 02:43 AM
Man this is almost perfect if we had a responsive design on it would be even better :)
It's pretty responsive already...I mean how small do you need this thing to shrink?
magmf
05-12-2017, 06:17 PM
Well I put it on my mobile and the design got really ugly :(, I do use a full responsive design vbmobile.com for mobile devices.
MarkFL
05-14-2017, 03:56 AM
Well I put it on my mobile and the design got really ugly :(, I do use a full responsive design vbmobile.com for mobile devices.
Can you post a screen shot? It would seem to me that only the lowest resolution screens would have an issue with this product.
This is what I see on a fluid vB 4.2.x style:
https://vborg.vbsupport.ru/attachment.php?attachmentid=156384&stc=1&d=1494741200
It seems to me a style would have to be extremely narrow to have any issues with this product, and this is more an issue with the device than the product. I feel no need to redesign this product to work with devices that have such an extremely narrow display. Surely that is the rare exception.
hdrcgb
05-24-2020, 10:37 AM
Hi
I have installed the mod on my forum and it works great. we have many categories so it really helps with a quick new thread. I'd like to change the size of the button though. I can alter lines in an 'Inspect' of the cached page on my desktop and change details there but I can't find where in the script the lines are to change. Can you please tell me where in the files the lines are that I can change.
Thanks.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.