Quick New Topic Button

Started by Sesquipedalian, April 10, 2019, 08:42:25 AM

Previous topic - Next topic

Sesquipedalian

#20
Quote from: Diego Andrés on February 10, 2022, 12:16:29 PMIt does work, it's just what arantor says, mod works per board prefix
The SMF Post Prefix mod needs some logic to handle the case where $board is empty. A simple way to do that would be to simply test that it isn't empty before proceeding; this would result in the prefix logic not operating when a post is created from the boardless posting page. A more thorough way to handle the situation might involve using JavaScript and AJAX calls to dynamically change the list of available prefixes based on which board the user selects in the "Post in" select menu.

... But none of this is relevant to the Quick New Topic mod.
I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

Diego Andrés

Quote from: Sesquipedalian on February 10, 2022, 12:29:31 PMusing JavaScript and AJAX calls to dynamically change the list of available prefixes based on which board the user selects

That's the plan, and then do the checking when saving.
Will not check this soon though, it's not really a feature for either mod

SMF Tricks - Free & Premium Responsive Themes for SMF.

Sesquipedalian

Well, you might want to do it sooner rather than later. Your mod's issue is with SMF 2.1 itself. You'll see the same issue crop up simply by going to ?action=post (as opposed to ?action=post;board=1) on any SMF 2.1 forum that has SMF Post Prefix installed, regardless whether Quick New Topic Button is installed. I'd recommend putting out a quick update now that just checks that $board isn't empty, and then later putting out another update with the more thorough fix.
I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

Seyit replikacep.com

fashion, can you add the language Turkish
I added it as a plugin.You cannot view this attachment.

Sesquipedalian

Thank you for this, Replikacep. 

I noticed two mistakes in your translation file:

  • There is a comment in the file that explains who created the Spanish translation. If you want to replace that with a comment about who created the Turkish translation, please feel free to do so. Otherwise, I will just remove the comment, since it doesn't apply to this file.
  • You forgot to translate part of the $helptxt string. Specifically, the phrase "(e.g. banned members)" is still in English.
I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

Seyit replikacep.com

I've completed the deficiencies.

You cannot view this attachment.

Sesquipedalian

Lovely. Thank you. I will add this to the next version.
I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

Wellwisher

Nice mod. funnily enough, I will be commissioning a similar work for my custom 2.1 theme. Convenience & speed are important tools for growing a community. If something isn't easy to use, members will drop like flies. My idea is to have a post box on the index page. User choses the boards to post in and bam! Post is published. I got the idea from reddit (see attached).

serdo

Is the plugin working?
I downloaded it but it doesn't show on the forum

Steve

It works fine. Did you select the membergroups that would be able to see it (including Administrator)?

Admin -> Configuration -> Features and Options -> Layout Tab
DO NOT pm me for support!

serdo


serdo


Steve

DO NOT pm me for support!

Advertisement: