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

Register | Forgot Password

Recip Links for Public, but Admin not
Force public submissions to have recip but not adm

Version: 3.3.19
printPrint


Recip Links for Public, but Admin not
scanreg
Member

Usergroup: Customer
Joined: May 23, 2006
Total Topics: 15
Total Posts: 49
Posted 06/06/06 - 05:56 AM:
quote post
#1
Hi

Is there a way to force all public link submissions to have a reciprocal in place BUT still allow admin to add links that do not have recips in place?

The idea is that any public submission would need our recip in place but that if admin wanted to add some cool sites like NASA or something, that he/she still could knowing that those sites would never offer a recip. The reason is that admin might still want to add interesting content to the directory even without the benefit of a recip link.

Many thanks smiling face
scanreg
Member

Usergroup: Customer
Joined: May 23, 2006
Total Topics: 15
Total Posts: 49
Posted 06/06/06 - 01:55 PM:
quote post
#2
Duh, like a dummy, I forgot I had already asked this question. Here's your reply, Paul:

You can set the options to appear only for the administrators
usergroup by conditionalizing it in the template:
<IF {THISMEMBERISADMIN}>
<tr>
<td class="labelscolumn"><span class="labels">Type of Link:</span></td>
<td class="optionscolumn"><select name="type">{TYPEOPTIONS}</select></td>
</tr>
<OTHERWISE>
<input type="hidden" name="type" value="recip">
</IF>
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.