Webmastersite.net
Register Log In

submit of forums
members link

Comments on submit of forums

peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted Mar 18, 2007 - 10:58 AM:

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.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 18, 2007 - 11:15 AM:

I can't see any possible application. In theory suggest.php?action=addcat should do it.
peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted Mar 18, 2007 - 7:36 PM:

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>
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 20, 2007 - 12:22 PM:

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.
peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted Mar 21, 2007 - 5:43 AM:

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 ?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 21, 2007 - 5:50 PM:

I believe you should be able to pass &type=x, I know it works for links.
peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted Mar 22, 2007 - 6:37 AM:

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>
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 22, 2007 - 7:05 PM:

You need a field in the form. <input type="hidden" name="type" value="{FORUMTYPE}">
peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted Apr 08, 2007 - 8:09 AM:

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.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.