Link to the mod (https://custom.simplemachines.org/index.php?mod=2698)
New Topic Button on Board Index v1.51
~{By PaulpBaker}~ (http://custom.simplemachines.org/mods/index.php?action=profile;u=259685)
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2698) | My Mods (http://custom.simplemachines.org/mods/index.php?action=profile;u=259685) | Support Topic (http://www.simplemachines.org/community/index.php?topic=404363.0)
CompatibilitySMF 2.0
DescriptionAdds a 'new topic' button on the boards index including boards with child boards so you can quickly and easily make new topics.
NotesChoice of two images (See screenshots) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg801.imageshack.us%2Fimg801%2F2990%2Fpost.gif&hash=4b506f68a16ccac98ad6fabb89518e11db47ce42) and (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg413.imageshack.us%2Fimg413%2F7286%2Fnewdqi.gif&hash=37d34ff3a8e7cec447f55d7d8ecb8e364eb250b5) (Selectable in the admin section)
This mod was made by 'Joker' so all credit goes to him as i only packaged it and tweaked it (SMF v1.x compatibility and admin settings)
InstallationAny previous versions of this mod MUST be uninstalled BEFORE installing this version.
Install the package on the SMF Default 'Curve' Theme ONLY. Other themes will need manual edits.
Useful LinksSMF Package Parser (http://sleepycode.com/PackageParser/)
Manual Installation Of Mods (http://docs.simplemachines.org/index.php?topic=402)
How Do I Modify Files? (http://www.simplemachines.org/community/index.php?topic=24110.0)
SupportPlease use the modification thread for support with this modification.
(Please don't ask me to do the edits for you)
Changelogv1.51 - 18th March 2011: Fixed a small bug that showed the 'new post' button for boards you can't post in (Thanks Kolya)
v1.5 - 30th October 2010: Added another placement option and dropped support for smf v1.1.x (use v1.3 of the mod for smf v1.1.x)
v1.3 - 20th August 2010: Made the admin options much more user friendly/sexy :)
v1.2 - 20th August 2010: Fixed language error and added support for admin setting on SMF v1.1.x
v1.1 - 8th August 2010: Added admin options to enable/disable (SMF 2.x only)
v1.0 - 27th July 2010: Initial Version
Oh wow, nice to see this for SMF finally. I had a similar mod on another forum system I used before and it was pretty nice.
The only downside though is for help-oriented sub-forums: people will not bother searching if their question was already answered before because they'll just be tempted to create a new topic from the front page first. If you did not add the following already, it may be nice to allow the admin to enable this button only for specific boards.
Quote from: DJ Omnimaga on October 11, 2010, 12:20:48 AM
Oh wow, nice to see this for SMF finally. I had a similar mod on another forum system I used before and it was pretty nice.
yeah i'm hoping to add a few more things to it yet like button placement etc
Quote from: DJ Omnimaga on October 11, 2010, 12:20:48 AM
The only downside though is for help-oriented sub-forums: people will not bother searching if their question was already answered before because they'll just be tempted to create a new topic from the front page first.
good point but i don't think it's that big of a problem as if a member thinks about searching first then they'll do so regardless of this button imo
Quote from: DJ Omnimaga on October 11, 2010, 12:20:48 AM
If you did not add the following already, it may be nice to allow the admin to enable this button only for specific boards.
wow amazing idea but i wouldn't have a clue how to implement that i'm afraid but i'd love to know how if anyone knows
thank you for the feedback :)
I would love to be able to have this possibly as or after the board description. The idea behind this is perfect, but I don't quite like the placement of it.
Quote from: trekkie2444 on October 28, 2010, 05:26:20 AM
I would love to be able to have this possibly as or after the board description. The idea behind this is perfect, but I don't quite like the placement of it.
more options of the button placement are going to be in v2.0 so if you can give me some kind of visual image of where you'd like it i'll add it for you ;)
Here's an example of what I would like (also added in my own button, let me know if you want to use it):
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg192.imageshack.us%2Fimg192%2F112%2F99497921.png&hash=c7f0050d1846041444117f13fc600f9c237635fe)
Quote from: trekkie2444 on October 29, 2010, 08:16:05 AM
Here's an example of what I would like (also added in my own button, let me know if you want to use it):
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg192.imageshack.us%2Fimg192%2F112%2F99497921.png&hash=c7f0050d1846041444117f13fc600f9c237635fe)
done v1.5 released ;)
Just saw the mod, nice work paul ;).
First, thanks PaulpBaker for your effort. These days, active SMF developers are rare indeed.
Anyway, i would like to suggest that you please add some screenshots to explain what this mod does exactly, as i had trouble understanding at first, until i saw the screenshots above. It is a new idea after all. :)
This mod merely seems to check if there are any boards the user is allowed to post in. If there are any it displays the new topic button for every board, regardless whether the user can post in that specific board.
Instead of checking for boardsAllowedTo('post_new') it should check:
in_array($board['id'], boardsAllowedTo('post_new'))
Quote from: Kolya on March 18, 2011, 08:53:56 AM
This mod merely seems to check if there are any boards the user is allowed to post in. If there are any it displays the new topic button for every board, regardless whether the user can post in that specific board.
Instead of checking for boardsAllowedTo('post_new') it should check:
in_array($board['id'], boardsAllowedTo('post_new'))
ouch will fix that asap thank you for the contribution!!!
edit: after making the changes you suggested the mod (the button that is..) simply isn't showing any more?
It works for your members. Not for admins. Of course you could do something like this:
if (in_array($board['id'], boardsAllowedTo('post_new')) || $context['user']['is_admin']) { do nice things}
You should also get rid of the $context['user']['is_logged'] check. Either the administrator allows guests to post in a forum, then you want them to see the button just like members. Or the admin does not allow it, then they won't see the button because they have no boardsAllowedTo('post_new').
mod updated for smf 2.0 final
I installed it with no problems and adjusted the settings and the buttons are not showing up
Are you using a custom theme?
nope :P
Quote from: Jessica. on June 19, 2011, 06:42:39 PM
nope :P
Just had a peep at your forum.
I would suggest the ads are removed from the current location otherwise nobody can see the menutabs.
I have adblock, so I don't see the ads. and I don't know how to remove them. I'll have to ask my host...
Who is your host?
I use a free host, freezoka.net. I originally thought there were no forced ads. that's what I read when registering...
Can you upload the 1.x version.
Hi, this mod looks amazing. Please let me know whether this mod could help me - On the main website I have recent topics from all categories. Is it possible to paste there button NEW TOPIC, and than choose a category and write a new topic?
Great mod... I changed it up a bit on my forum. Rather than using the button, I used text.
Can U say something about, how to enable this mod on others thames?
I use SilentWave, after install, I can see a inscription "New", but not a gif.
Grat mod btw. :)
I've installed without errors but I can't see the "new post" image. I'm using the default curve theme with spanish language.
Any new?
any updates on this? or can someone share a new version for this? this is really a must mod for every forum - i think :)
merry christmas everyone!
Somebody have this mod installed? I need to see this in action.
I installed it myself, but don't see anything from this mod.