Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Norv on May 13, 2008, 11:21:56 PM

Title: Post Board Select
Post by: Norv on May 13, 2008, 11:21:56 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1189)

Post Board Select

This modification adds a select box to the post form in which you can select the board that you want to post. It gives ability to the user for posting to a board that they are not already in. Of course it check the needed permissions and after the post is made it redirects back to the board in which the post was made. It just appears while posting a new topic.

Version 1.2
o Updated to SMF 2.0 RC2.

Version 1.1
o Mod take over by Norv.
o Rewrite for compatibility with SMF 2.0 RC 1-1.

Version 1.0
o First Release by [SiNaN]




Legend:

! bug fix
+ added feature
* changed
- Info only
Title: Re: Post Board Select
Post by: Minare on May 14, 2008, 03:09:41 AM
Thank u bro, nice mod
Title: Re: Post Board Select
Post by: rumfa on May 14, 2008, 03:15:06 AM
Good idea
Title: Re: Post Board Select
Post by: jossanaijr on May 14, 2008, 07:30:29 AM
Thanks.
Is the board from where you are posting the default?  I mean if you are in a board called "General", will be "General" the default or it is necessary to choose any time from which board do you want to post?
Title: Re: Post Board Select
Post by: [SiNaN] on May 14, 2008, 09:04:17 AM
Quote from: jossanaijr on May 14, 2008, 07:30:29 AM
Thanks.
Is the board from where you are posting the default?  I mean if you are in a board called "General", will be "General" the default or it is necessary to choose any time from which board do you want to post?

It selects the board that user is in as default. If user wants to change it, selects a different board.
Title: Re: Post Board Select
Post by: jossanaijr on May 14, 2008, 09:23:34 AM
Quote from: [SiNaN] on May 14, 2008, 09:04:17 AM
Quote from: jossanaijr on May 14, 2008, 07:30:29 AM
Thanks.
Is the board from where you are posting the default?  I mean if you are in a board called "General", will be "General" the default or it is necessary to choose any time from which board do you want to post?

It selects the board that user is in as default. If user wants to change it, selects a different board.
Thank you.  Installed and working fine.
Title: Re: Post Board Select
Post by: [SiNaN] on May 14, 2008, 09:31:28 AM
Not at all. Glad to see somebody liked it.
Title: Re: Post Board Select
Post by: jossanaijr on May 14, 2008, 10:10:10 AM
In fact I had already asked for a MOD like that sometime ago...
http://www.simplemachines.org/community/index.php?topic=226620.msg1454176#msg1454176
Title: Re: Post Board Select
Post by: [SiNaN] on May 14, 2008, 10:23:29 AM
I see. Unfortunately I do not read the topics in that forum. Nearly all my mod ideas came up from the Turkish Language Support forum. They want so much features. :D
Title: Re: Post Board Select
Post by: aldo on May 14, 2008, 07:18:25 PM
Nice idea, Always good just incase someone starts to write a topic and then their like, oh! wrong board (even though you could copy and paste) but still :D
Title: Re: Post Board Select
Post by: mersindost on May 19, 2008, 05:13:30 AM
Number One  :-* Good Job  ;)
Title: Re: Post Board Select
Post by: Apllicmz on May 26, 2008, 02:39:22 PM
Nice Mod
Good Work
Title: Re: Post Board Select
Post by: Sakae on May 26, 2008, 06:07:15 PM
One of the best and simplest mod I ever use. And recommend, I really think SMF 2.0 should bring this included!
Title: Re: Post Board Select
Post by: kriskd on August 09, 2008, 09:18:56 AM
Thanks for this mod!

Possible bug.  I have a default board setup to post in for Calendar events.  When I go to the calendar and click Post Event, Post In (from Calendar) shows the right board, but this mod provides its expected drop down with the first board on the board index in the default position.  I created a post and it over rode the default board I set up in Calendar.

This is nothing major or urgent as I don't imagine people will be posting events from the calendar.  Most will go to the board and link to the calendar after the post.  Just wanted to let you know.  :)
Title: Re: Post Board Select
Post by: [SiNaN] on August 09, 2008, 10:49:30 AM
Confirmed bug. I will fix it with an update. ;)
Title: Re: Post Board Select
Post by: squad on August 26, 2008, 07:33:11 AM

I love this mod, my only drawback I have with my members is they don't like have the two drop down menus :)

Post In: 

Then

Board name:

All my boards have different other boards attached.

Is there a way, in extremely simple terms, to only have the 'Category' only show in the top /Post In part and all the Boards attached to that Category show only in the Board Name. It seems my members are a little slow on the uptake at times.

Most of my members post directly from the Calendar, as I have not as yet found a Modification that will give me a 'Post Event' in each section that immediately links directly to the Calendar. I don't need that type of 'Post Event' button in use in all of my boards but most of them.

Besides at the moment, and probably for a long time yet, cannot get my head around the Manual Installation of the Modifications, so only have been using Modifications that appear in the Package Manager via the Browse Packages. I am so scared of crashing my forum  ::)

Title: Re: Post Board Select
Post by: [SiNaN] on August 26, 2008, 07:41:24 AM
Ummm, sorry but I need that more simple. Maybe some screen shots too.
Title: Re: Post Board Select
Post by: squad on August 26, 2008, 07:56:58 AM
Oh dear I'm sorry [SiNaN] firstly I forgot to say I am using SMF 1.1.5 Babylon Theme

Screenshots  :-[ have no idea how  :'(

Maybe I will try a walk through;

Clicking on the selected date from the Calendar, brings up the Post Event Window.

Then we have:

Event Title
Date (etc)
Post In: Here it lists all of my boards, where I would like to have only the names of each Category in this part
Board name: Here it lists all of my boards which is what I don't want or would not like to touch

Then it just follows as per normal;
Subject:
Message icon:
etc

I would like to only have the Categories in the 'Post in' drop down menu.

It appears to have confused my members having what they feel is double selections to pick from :)

My board is also only very new and have only a handful of members at the moment, but am looking at making the forum easy for them to work with, not forgetting me also wanting it to be easy to work with. Mind you the SMF is the best forum I have ever used as a member, and this is my very first attempt at running a forum. :)
Title: Re: Post Board Select
Post by: [SiNaN] on August 26, 2008, 08:14:37 AM
So you need a modification just for Calendar event posting, right?

Post In: Here it lists all of my boards, where I would like to have only the names of each Category in this part

Okay, just category names here. But for what? What are you going to do with the category name?

Board name: Here it lists all of my boards which is what I don't want or would not like to touch

Here should we list all the boards, or just the ones in the selected category above?
Title: Re: Post Board Select
Post by: squad on August 26, 2008, 08:24:08 AM
Oh I would loveee a mod for the post event directly linking to the calendar, but that is probably not feasible.

With this I would like & love to remove all the boards from the Post In: and just have Categories, like Internet Competitions



Here is a list of one of my boards:

Category:

Internet Competitions 

Followed by what I guess you could call them sub-categories:

Online Competitions **Easy to Enter**
Online Competitions **Easy Enter**

Online Competitions **Words or Less**
Online Competitions requiring a words or less answer

Online **No set Closing Date Competitions**
Online competitions without closing dates

Online Competitions **Enter Daily**
Competitions you can enter daily

Online Competitions **Enter Weekly**
Online competitions enter weekly

Online Competitions **Enter Monthly**
Competitions, ongoing monthly, or enter monthly




 


Title: Re: Post Board Select
Post by: [SiNaN] on August 26, 2008, 09:49:45 AM
My question was, why do you need a category select box?
Title: Re: Post Board Select
Post by: squad on August 26, 2008, 10:06:10 AM
Yes sorry, just a category select box, to replace the Post In: one, so only the categories show. I am not very good at all of this and taking things slowlt. I am sure if I mentioned this, but I am not confident enough to do a manual instal unless it is a step by stpe, I am a bit of a dummy with computers  :'( but am trying to learn  :o
Title: Re: Post Board Select
Post by: [SiNaN] on August 26, 2008, 10:07:44 AM
Okay, but we need a reason for that. :) I mean, what will happen if I select category "A"? And what will happen if select category "B"?
Title: Re: Post Board Select
Post by: squad on August 26, 2008, 10:14:01 AM
[SiNaN], I think this is what you mean.

When selection the Category eg Internet Competitions from the category select box/Post in

the members then would select what subcategory they want the comeptition to go into ie;

Online Competitions **Easy to Enter**

OR

Online Competitions **Words or Less**

From the second Drop down Menu, so when they have finished posting the competition they post of the said competition is in the correct place not in the default section, meaning the post has to be moved.

I am sorry if I am not making myself very clear, but I am trying :)
Title: Re: Post Board Select
Post by: [SiNaN] on August 26, 2008, 10:34:00 AM
Okay let me explain what I understand:

My forum has 2 categories and 4 boards:

- Category Number 1
-- Forum Number 1 For 1
-- Forum Number 2 For 1

- Category Number 2
-- Forum Number 1 For 2
-- Forum Number 2 For 2

While I'm posting an event:

Category:
- Category Number 1
- Category Number 2

Sub-Category (or what you call it):
   if [Category Number 1] is selected in category:
-- Forum Number 1 For 1
-- Forum Number 2 For 1
   if [Category Number 2] is selected in category:
-- Forum Number 1 For 2
-- Forum Number 2 For 2

Is this what you want?
Title: Re: Post Board Select
Post by: squad on August 26, 2008, 11:08:49 AM
I just tried to learn how to do a screen shot, and failed it appeared huge, and I couldn't work out how to get it from my computer to here  :-[

No my forum has something like 17 Categories and over 48 what I would call sub-boards, ie breaking down the competitions posted on my forum in diferent ways of entering.

I would just like the Post in: drop down menu to only include the main categories of the forum itself.

I will stop annoying you, unless I can get my hubby to help me do a screenshot tomorrow night. Sorry to have wasted your time, and thank you for trying to help me :)
Title: Re: Post Board Select
Post by: [SiNaN] on August 26, 2008, 11:24:09 AM
But the problem is, you cannot post in categories. You can just post in forums.

No, I'm not annoyed; just trying to understand but I can't. I hope somebody else will understand and explain me in a different way or you can get me a screen shot. :)
Title: Re: Post Board Select
Post by: squad on August 26, 2008, 11:45:49 AM
Oh gosh I just lost everything I wrote  :'(

I'm sorry [SiNaN], I should have made it clearer I am very new to this side of forums.

I maybe should have explained. I used the words categories since to make a board/forums to 'create a category' therefore my category is my board/forum, and from there I add boards attached to them.

There are several of these boards/forums that then have even more sub-boards/forums.

I realise I wasn't an annoyance to you and I really appreciate you attempting to help this useess person on the other side of the computer screen  :)
Title: Re: Post Board Select
Post by: [SiNaN] on August 26, 2008, 11:54:31 AM
No worries, we never think like that. Cause most of us didn't know much at the start. I remember just 3 years ago, I was bumping one of my friends on msn to install my first PHP-Nuke site.

Anyway, if we come to your question; you just want to show "forums" but not "sub-forums" or "child-boards", right?
Title: Re: Post Board Select
Post by: madman71 on October 29, 2008, 05:25:07 PM
Another fine Mod by SiNaN

thanks for this brilliant mod :)
Title: Re: Post Board Select
Post by: willerby on June 07, 2009, 05:07:35 PM
Hi SiNaN,

I'd like to use this mod but running SMF2RC1.1 and having tried it anyway on my test forum (clean install) I get:

Fatal error: Call to undefined function db_query() in /home2/lrsoccom/public_html/test/Sources/Post.php on line 404

Is this a simple mod (for you) to upgrade for SMF2?

Thanks

W
Title: Re: Post Board Select
Post by: [SiNaN] on June 08, 2009, 08:50:17 AM
This is a very simple one, one of my first mods. However, I don't have any time to update it. Feel free to try updating yourself. This (http://www.simplemachines.org/community/index.php?topic=224166.0;topicseen) topic would help you.
Title: Re: Post Board Select
Post by: willerby on June 08, 2009, 03:31:09 PM
Sorry SiNaN. I've spent over an hour on this but my trial an error approach to php syntax is not working !!!

I've read the post and understand what needed changing but somethings wrong with the speech marks or apostrophes somewhere as I just get errors. It's going to have to wait for someone else to upgrade. I'm, sadly, not up to the job...

W
Title: Re: Post Board Select
Post by: harisx on June 22, 2009, 12:29:27 PM
i need this mod, i use SMF 2.0 RC1-1,  i tried to parse the mod manually...but it always error in query @ source/post.php. tried to find the problem, buat i think i could not fix the error.

enyone can help?
Title: Re: Post Board Select
Post by: [SiNaN] on June 22, 2009, 12:33:42 PM
Mod is not SMF 2.0 versions compatible and I don't have time to update it.
Title: Re: Post Board Select
Post by: harisx on June 22, 2009, 08:49:52 PM
Quote from: harisx on June 22, 2009, 12:29:27 PM
i need this mod, i use SMF 2.0 RC1-1,  i tried to parse the mod manually...but it always error in query @ source/post.php. tried to find the problem, buat i think i can't fix the error.

enyone can help?
Title: Re: Post Board Select
Post by: Norv on July 09, 2009, 01:17:15 PM
Please find the mod (http://custom.simplemachines.org/mods/index.php?mod=1189) updated for SMF2.0 RC1-1 on the mod site.
Title: Re: Post Board Select
Post by: akbora on July 09, 2009, 01:27:52 PM
This is very very good mod and perfectly running. I ask  that you can put a button on main page called open new topic? This model with this mod will be very very brilliant...

So, we can open new topic no entering any board inside
Title: Re: Post Board Select
Post by: Norv on July 09, 2009, 01:36:35 PM
I will think about that, sure. It sounds interesting to me, I would appreciate if anyone else can tell whether they find it a useful feature too, or not.
Title: Re: Post Board Select
Post by: Blinker on July 09, 2009, 08:20:01 PM
Actually, the more I think about it, the better that sounds. Great idea akbora.

Also, thanks Norv for a great mod, my members love it.
Title: Re: Post Board Select
Post by: Norv on July 10, 2009, 12:14:53 AM
Okay, will keep it in mind for the very next release.

It was [SiNaN]'s mod actually, I just took it over. :)
Title: Re: Post Board Select
Post by: iosys on September 04, 2009, 10:38:27 PM
Quote from: akbora on July 09, 2009, 01:27:52 PM
This is very very good mod and perfectly running. I ask  that you can put a button on main page called open new topic? This model with this mod will be very very brilliant...

So, we can open new topic no entering any board inside

Im running simpleportal with my forum integrated.  I made a new simpleportalblock that has a simple HTML link to http://www.myforum.com/introduce-yourself/?action=post .  This works brilliantly since its displayed on the main screen and the user clicks there straight away.  Only problem is that some users dont realise they have to change the dropdown for the board so I get a lot of incorrect posts into the Intro Board.

If/when you do make a frontscreen link update please include something that forces the user to select what board they wany.  Either that or a warning message or something.

Thanks for the great mod too!


EDIT:

Found where it is in SMF2.  Its in Sources/Subs.php.  Find the function just after this line:

//All the buttons we can possible want and then some, try pulling the final list of buttons from cache first.

Find:
'help' => array(
'title' => $txt['help'],
'href' => $scripturl . '?action=help',
'show' => true,
'sub_buttons' => array(
),
),


Add After:
'NewPost' => array(
'title' => 'New Post',
'href' => 'http://www.myforum.com/introduce-yourself/?action=post',
'show' => true,
'sub_buttons' => array(
),
),




Title: Re: Post Board Select
Post by: iosys on September 04, 2009, 11:10:31 PM
To place a warning message above the board select:

In Themes/default/Post.template.php

Find:
//If we have the board list, let them choose.
if(!empty($context['post_boards'])) {
echo ' <tr>


Add After:
<td colspan="2"><center><h3><b><font color=red>
<br/><br/>
WARNING! Make sure you select the correct board for your post from the dropdown menu below
<br/><br/><br/>
</font></b></h3></center></td></tr><tr>
Title: Re: Post Board Select
Post by: Norv on September 05, 2009, 10:42:57 AM
Thank you for sharing your ideas! It is very appreciated. :)

A few notes about the code however:
Inserting a menu item for 'New post'

         'newpost' => array(
            'title' => $txt['newpost'],
            'href' => $boardurl . '/introduce-yourself/?action=post',
            'show' => true,
            'sub_buttons' => array(
            ),
         ),

Please note the use of $txt['newpost'], that is, a variable to hold the contents of the text you wish to appear on the new button. This variable should be defined in a language file, like index.english.php:
Code (find) Select

?>

Code (add before) Select

$txt['newpost'] = 'New Post';

This way, the solution can be ported to multiple languages with no problem, simply by adding a corresponding line in index.{language}.php.
Note also the use of the $boardurl variable, instead of direct URL ($boardurl is the forum URL). I'd recommend the use of a variable: if you change the board URL in the future, like moving the forum to another folder or change domains, using $boardurl instead of hardcoding will ensure that the new URL will be automatically used by the button, thus making your transition smooth.
Please eventually check out for the full hands-on guide to adding tabs in SMF 2.0:
Adding tabs to SMF 2.0 (http://www.simplemachines.org/community/index.php?topic=261880.0)

About placing a warning, please note a similar thing: using clear text is not portable, will not work for other languages. It may be better to also add a little variable in Modifications.english.php:
Code (find) Select

?>


Code (add before) Select

$txt['select_board_warning'] = 'WARNING! Make sure you select the correct board for your post from the dropdown menu below.';

then use $txt['select_board_warning'] in Post.template.php.

Thank you again, and I think the next version will include at least the option to insert a reminder (as option in admin panel), it may be useful for others as well.
Title: Re: Post Board Select
Post by: sattninja on December 19, 2009, 03:39:58 PM
hi i am running RC2 annd the theme sharp curve can xomeone tell me where to put the sode to make the drop down box apprear in the correct area i installed it and did manual edit using the parser and it puts it in the same spot way at the bottom heres a screen shot

(http://img96.imageshack.us/img96/221/capturen.jpg)

i have also attached my templates that the parser instructed to edit man it is working but it is in the wrong place and i cant figure out where to move the code to make it appear where it is supposed to
Title: Re: Post Board Select
Post by: Norv on December 21, 2009, 12:08:31 PM
I'm sorry, I don't really have time to try making edits for custom themes.
Does that happen on the default theme as well?
Title: Re: Post Board Select
Post by: akbora on December 28, 2009, 03:30:41 PM
This mod is good but with trouble, as sattninja say
Title: Re: Post Board Select
Post by: Norv on December 28, 2009, 03:32:41 PM
Can you please tell, what kind of trouble are you having?
Title: Re: Post Board Select
Post by: akbora on December 28, 2009, 03:34:47 PM
Let me one minute (not like Turkish Prime Minister :)

SS is coming
Title: Re: Post Board Select
Post by: akbora on December 28, 2009, 03:43:23 PM
(http://i46.tinypic.com/2lcuqef.jpg)

(http://i50.tinypic.com/2hzlkde.jpg)


1st picture without PBS
2nd picture with PBS
Title: Re: Post Board Select
Post by: Norv on December 28, 2009, 04:01:58 PM
I am unable to replicate that, using non-modded installation, with default settings, UTF-8 forum and database, and Turkish-utf8 language pack.

What other mods do you have installed?
Can you please post your Post.template.php here?
Title: Re: Post Board Select
Post by: sattninja on December 28, 2009, 04:10:32 PM
Quote from: Norv on December 21, 2009, 12:08:31 PM
I'm sorry, I don't really have time to try making edits for custom themes.
Does that happen on the default theme as well?

i have the exact same problem in the default theme

(http://img264.imageshack.us/img264/6674/captureyk.jpg)

its like the code is being put in the wrong place or something in the post template
Title: Re: Post Board Select
Post by: sattninja on December 28, 2009, 04:35:16 PM
i just added all the code manualy and still the same thing puts it all the way down at the bottom
Title: Re: Post Board Select
Post by: Norv on December 28, 2009, 05:04:08 PM
sattninja: Can you please try using the attached file, instead of the one you posted? Note that only PBS seems installed on it. (if you installed other mods meanwhile, please don't use it).
Title: Re: Post Board Select
Post by: sattninja on December 28, 2009, 05:07:15 PM
darn it i knew i should have attached a updated one sorry here is the current one i am using if its not to much trouble
Title: Re: Post Board Select
Post by: Norv on December 28, 2009, 05:18:01 PM
No worries, I'll take a look. Eventually, please note that I've updated the package on mod site, too. Please consider uninstalling this version, and installing the last version, 1.2. It will be easier later when you may need to update it again or uninstall it.
Title: Re: Post Board Select
Post by: Norv on December 28, 2009, 05:23:14 PM
Attached your file, too.

However, I strongly recommend uninstalling and installing normally, instead of using this file, as I said above.
Then, please tell how it goes.
Title: Re: Post Board Select
Post by: sattninja on December 28, 2009, 05:45:51 PM
i downloaded the new mod and installed and it worked great however i still had the other box down at the bottom probably left over from the last version so i manually deleted it and everything in working great

thanks so much ;D ;D ;D ;D
Title: Re: Post Board Select
Post by: Norv on December 28, 2009, 05:47:32 PM
Cheers, good to hear it works then!
Title: Re: Post Board Select
Post by: sattninja on December 28, 2009, 05:50:49 PM
you r as they say

DA MAN!!!!!!
Title: Re: Post Board Select
Post by: sattninja on December 28, 2009, 06:02:11 PM
is there anyway you can tell me what you  did cause i am having the exact same problem with this other mod

SMF Topic Prefix Mod
i have attached the mod

when i install it it puts everything down at the bottom even your mod gets moved to the bottom if i uninstall it it goes back to the post board select working fine as soon ads i install it it puts both at the bottom


(http://img39.imageshack.us/img39/4226/capturedx.jpg)
Title: Re: Post Board Select
Post by: Norv on December 28, 2009, 06:17:34 PM
Well, please note that I didn't manage to reproduce the screenshots you showed me, with something at the bottom. The apparent coincidence might be just a coincidence, but if it's the same thing, then it concerns writing the layout of the page in RC2 style, with <dt></dt> and <dd></dd> instead of tables.
It seems the author has actually updated the mod perhaps, since you posted here v1.2a.zip and on the mod site I see v1.2.zip. It might be worth verifying.
Title: Re: Post Board Select
Post by: sattninja on December 28, 2009, 06:24:31 PM
1.2 does not work at all on RC2 it doesnt show in the post another member modified the package to work on RC@ and it does work well at least it is showing now when you make a post but like i said it is doing the exact same thing that this mod was doing before you fixxed it so it's gotta be the same fix like i said the 1.2 after you install it you cannot see any thing related to the mod when making a post after ijnstalling 1.2a it is there in the post but it knocks everything to the bottom of the post just like this one was doing

as a matter of fact the posted 1.2 will not even install on RC2
Title: Re: Post Board Select
Post by: Norv on December 28, 2009, 06:40:08 PM
You're most probably right: 1.2a, which you attached, is not fully compatible with RC2, as I said: it writes the layout on page using tables.
It needs to be updated to RC2 properly.

I'm really sorry, but I don't think I can do that (I'm not sure I have the right, even), however, if you want to try tweaking it a little, the idea is this: the code of the mod, in Post.template.php, still uses, wrongfully, tables to display whatever it displays (sorry, I don't even know the mod), that is, it uses:
<tr>, </tr>, <td>, </td>
instead of creating the layout with:
<dd>, </dd>, <dt>, </dt>

The last bits are compatible with RC2, because the entire page in RC2 is done using those divisions, unlike before.
Title: Re: Post Board Select
Post by: sattninja on December 28, 2009, 06:44:59 PM
so if i understand you correctly i would need to install it and go to my post template and change those values
Title: Re: Post Board Select
Post by: Norv on December 28, 2009, 06:58:12 PM
The best way is to tell the problem to the author and ask him to see if that is the case, and to update it properly, instead of hacking it, honestly.
Title: Re: Post Board Select
Post by: sattninja on December 28, 2009, 07:30:19 PM
i am not gonna mess with it i would probably do more damage than good but i can't really see how it is hacking when the mod states that it works but it doesnt and there are numerous posts and no reply from the author oh well i guess we wait

thanks for the help

this author has two mods that state they work on RC2 and they dont and he has answered posts asking for help with no help at all i really dont understand either say you are gonna fix it or say your not and remove the mod wouldn't that make more sense
Title: Re: Post Board Select
Post by: akbora on December 28, 2009, 08:57:38 PM
Ooooo wouwww Your'e wonderfull it is good now...

Tanks you and us...
Title: Re: Post Board Select
Post by: josegs94 on March 09, 2010, 03:48:31 PM
buenas, estoy tratando de lograr que al crear un post sea necesario elegir una categoría para postear osea un foro en el cual estara el topic.. como ya sabran, el mod post board select te permite elegir la categoría para postear, pero no es necesario elegir la categoria.. osea si ingresas a /?action=post;board=5, te posteara en el foro 5 si no elegis la categoria al postear, otro ej si se ingresa asi /?action=post;board=7, te postea en el foro 7 llamese amigos o prefabricados, pero si ingresas /?action=post;board=8 y elegis una categoria para postear, no te postea en el foro 8 sino en el que elegiste para postear.. y yo lo que quiero lograr es que si o si te exija elegir una categoria para postear, osea que si no elegis la categoria te salte algo que diga, debes elegir una categoria, o algo asi.. espero que entiendan!

el mod post board select: http://custom.simplemachines.org/mods/index.php?mod=1189

aca un topic relacionado, pero la diferencia es que quiere hacer lo mismo pero con otro mod, el Post Prefix

el topic relacionado: http://www.simplemachines.org/community/index.php?topic=369168.0


muchas gracias desde ya
Title: Re: Post Board Select
Post by: Norv on March 11, 2010, 06:54:36 AM
Please note that this board is in English, we don't speak Spanish so it's difficult or impossible for us to understand you...

Still, perhaps you would like people to be forced to choose a board? Instead of choosing by default the board they happen to be when they pressed "New Topic", they could be forced to choose something themselves from the drop-down menu?
Title: Re: Post Board Select
Post by: agent47 on October 08, 2010, 06:19:36 AM
This guy is a frikkin' genius! Hats off to you pal! Great MOD!
Title: Re: Post Board Select
Post by: TheListener on December 28, 2010, 06:05:55 PM
Norv

I managed to successfully install the mod yet nothing shows.

This is a handy useful tool to have on the forum.

By the way I'm using RC4.
Title: Re: Post Board Select
Post by: Biology Forums on May 31, 2011, 11:47:03 PM
Is there a way of excluding certain boards?
Title: Re: Post Board Select
Post by: agent47 on June 06, 2011, 05:05:10 PM
Can I get this to work on RC5 ?
Title: Re: Post Board Select
Post by: TheListener on December 06, 2011, 06:53:07 PM
Fabtastic mod working on 2.0.1
Title: Re: Post Board Select
Post by: bestfriendavinash on April 15, 2012, 02:09:08 AM
Please update for SMF 2.0.2

I havenot tried to install this on my SMF 2.0.2 so far
Title: Re: Post Board Select
Post by: Jessica. on April 15, 2012, 10:44:25 AM
it installed fine on my 2.0.2 forum
Title: Re: Post Board Select
Post by: kak2z on August 10, 2014, 03:11:51 AM
In this modification, there is a problem with the pre-moderation topics.. (error: Sorry, you cannot post new topics in this board.)
The problem here is http://www.simplemachines.org/community/index.php?topic=440722.0
The solution:
file post.php
find
$boards = boardsAllowedTo('post_new');
replace
$boards=array_unique(array_merge(boardsAllowedTo('post_new'),boardsAllowedTo('post_unapproved_topics'))); //var2