miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Official Addons and Solutions miniBB Support Forums / Official Addons and Solutions /   

New Configurable Topic Form

Author Team
8-)
#1 | Posted: 6 Oct 2006 04:30 | Edited by: Team 
This thread is related to "Separate New Topic Form" add-on, which allows to set up "new topic" link separated on a different page, also as to display new topic form on the first forums page. This is an official plugin issued by miniBB team (Sergei Larionov), you can download/install it for free from our Downloads page.

Author Team
8-)
#2 | Posted: 29 Nov 2006 00:15 | Edited by: Team 
The addon has been updated today. Latest release fixes some "tabindex" fixes for the latest miniBB version.

Author Anonymous
Guest
#3 | Posted: 19 Apr 2007 21:01 
Is there a way to have the New Topci form not display a category, but instead have the user select? Problem now is it defaults to the first one, and everyone posts without selecting the correct category. This causes me a lot of time in having to move the messages after they have been posted.

Author Paul
Lead Developer
#4 | Posted: 20 Apr 2007 02:35 
not display a category, but instead have the user select

- sorry, what do you mean by "user select"?

This causes me a lot of time in having to move the messages after they have been posted

- just skip the form then and use miniBB defaults... I am sure you will have more chances then to save your time ;-)

Author lime
Registered
#5 | Posted: 7 Jul 2007 16:14 | Edited by: lime 
When you're using the new topic form on the first page and you have a post only forum, it still shows in the option box. Is there a way to check for post only forums and remove it? I couldn't quite figure it out.

Author Sergei
Team member
#6 | Posted: 10 Jul 2007 00:27 
hello.. change the following line:

$listForums2=(isset($forumEx) && $forumEx!='')?preg_replace('#<option([ ]+)selected="selected"([ ]+)value="('.$forumEx.')">(.*?)</option>#is','',$listForums):$listForums;

to:

$listForums2=(isset($forumEx) && $forumEx!='')?preg_replace('#<option(([ ]+)selected="selected")?([ ]+)value="('.$forumEx.')">(.*?)</option>#is','',$listForums):$listForums;

(the difference is in this part of the code: (([ ]+)selected="selected")? (notice additional brackets and a question mark after the last bracket)

Let us know how it works.

Author lime
Registered
#7 | Posted: 10 Jul 2007 10:40 
It' perfect Sergei, thanks =)

Author caca
Guest
#8 | Posted: 14 Jul 2007 12:38 
how to replace the text "new topic" for image bottum ?

Author Sergei
Team member
#9 | Posted: 17 Jul 2007 16:38 
hello. i see you've asked about other button replacements in another topic too :) The simplest way is to go to the lang/eng.php (or whatever your language pack name is) and replace words there like "New Topic" with your image HTML code like <img src...>

Author Sergei
Team member
#10 | Posted: 20 Jul 2007 18:05 
The addon has been updated today. The issue described by lime is fixed now in the official release.

Author Steve Shaw
Registered
#11 | Posted: 2 Mar 2014 15:54 
Having used the compiler to set everything up I now realise I would like to remove the 'Start New Topic' option from the first page - but I can't work out how to do that...

Any pointers appreciated!

Steve

Author Paul
Lead Developer
#12 | Posted: 3 Mar 2014 15:44 
If you are about the "Configurable topic form" add-on, in bb_plugins.php its code has the following:

$firstPage=1; // 1 - to enable 1st page topic form, 0 - to disable

so you probably have to set it to 0.

Author Steve Shaw
Registered
#13 | Posted: 3 Mar 2014 15:55 
Perfect - thanks!

Official Addons and Solutions miniBB Support Forums / Official Addons and Solutions / New Configurable Topic Form Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB