WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums


submit of forums
members link

Version: 2.0.10
printPrint


submit of forums
peumus
Forum Regular
Avatar

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 137
Total Posts: 356
Posted 03/18/07 - 08:58 AM:
quote post
#1
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
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5703
Posted 03/18/07 - 09:15 AM:
quote post
#2
I can't see any possible application. In theory suggest.php?action=addcat should do it.
peumus
Forum Regular
Avatar

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 137
Total Posts: 356
Posted 03/18/07 - 05:36 PM:
quote post
#3
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& #62;
<td class="optionscolumn"><select name="type">{FORUMTYPEOPTIONS}&# 60;/select></td>
</tr>
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5703
Posted 03/20/07 - 10:22 AM:
quote post
#4
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
Avatar

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 137
Total Posts: 356
Posted 03/21/07 - 03:43 AM:
quote post
#5
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
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5703
Posted 03/21/07 - 03:50 PM:
quote post
#6
I believe you should be able to pass &type=x, I know it works for links.
peumus
Forum Regular
Avatar

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 137
Total Posts: 356
Posted 03/22/07 - 04:37 AM:
quote post
#7
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
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5703
Posted 03/22/07 - 05:05 PM:
quote post
#8
You need a field in the form. <input type="hidden" name="type" value="{FORUMTYPE}">
peumus
Forum Regular
Avatar

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 137
Total Posts: 356
Posted 04/08/07 - 06:09 AM:
quote post
#9
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


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.