I'm thinking on a Familiar Resticted Forum were any of their members can submit a Forum regarding their interests.
'suggest.php?action=addcat' is working fine, but I do not find the correct way to select the corresponding category or a category selector at the template as now we have:
Thanks, I had entered the category descriptions but no the category names so I was confused as {FORUMTYPEOPTIONS} was showing 'regular';'1';'2';.
Would it be possible to pass the type variable with the suggest forum link in order to have {FORUMTYPEOPTIONS} to show selected the corresponding type category in which we are clicking the suggest forum link ?
I have just inserted the "Suggest New Forum" Link at the end of all Categories. As a suggestion, for the default template, it could be advisable this link to appear for the usergroup allowed to submit forums.
Best Regards.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on submit of forums
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
Is it possible for a member to submit a forum ?
We have the permission selector at the admin section,
but I do not find a link for the member to submit it.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I can't see any possible application. In theory suggest.php?action=addcat should do it.
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
I'm thinking on a Familiar Resticted Forum were any of their members can submit a Forum regarding their interests.
'suggest.php?action=addcat' is working fine, but I do not find the correct way to select the corresponding category or a category selector at the template as now we have:
<tr>
<td class="labelscolumn"><span class="labels">Category:</span></td>
<td class="optionscolumn"><select name="type">{FORUMTYPEOPTIONS}</select></td>
</tr>
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You want to force it to be a subforum of a particular forum?
<tr>
<td class="labelscolumn"><span class="labels">Subforum of:</span></td>
<td class="optionscolumn"><select name="parent"><option value="1">forum 1</option></select></td>
</tr>
You can also hardcode the category as a hidden input if you want, along with the parent forum.
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
Thanks,
I had entered the category descriptions but no the category names so I was confused as {FORUMTYPEOPTIONS} was showing 'regular';'1';'2';.
Would it be possible to pass the type variable with the suggest forum link in order to have {FORUMTYPEOPTIONS} to show selected the corresponding type category in which we are clicking the suggest forum link ?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I believe you should be able to pass &type=x, I know it works for links.
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
At main.tpl I have
<a href="suggest.php?action=addcat&type=2">Include New Forum</a>
Unfortunatelly It's not passing the type variable.
At suggestcat.tpl I have the following to catch the forum type without detection:
<TR>
<TD>FORUMTYPE:</TD>
<TD>{FORUMTYPE}</TD>
</TR>
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You need a field in the form. <input type="hidden" name="type" value="{FORUMTYPE}">
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
I have just inserted the "Suggest New Forum" Link at the end of all Categories. As a suggestion, for the default template, it could be advisable this link to appear for the usergroup allowed to submit forums.
Best Regards.