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

Register | Forgot Password

Multiple Custom Suggest Link Pages?
Does this make sense?

Version: 3.3.7
printPrint


Multiple Custom Suggest Link Pages?
RedstoneMG
Member
Avatar

Usergroup: Customer
Joined: Jun 15, 2005
Location: Ontario, Canada
Total Topics: 8
Total Posts: 35
Posted 03/04/06 - 07:43 AM:
quote post
#1
Originally I planned to have multiple usergroups and each user group could suggest more features to their link according to their group level.

Level 1 -> Free Listing Member
Level 2 -> Linked Listing Member (Reciprical link back)
Level 3 -> Premium Listing Member (Paid with detail page)

For this I would just hide the fields not pertinent to this usergroup on the suggest link page...but then I would need to charge the client dependant on the usergroup level. While this could work - maybe the client would like one link premium and one link free...

Then I realized that usergroups weren't really that important after seeing the Link type options while working on my templates, it's the link type that is important. It's much easier allowing all registered members to suggest links and let them choose the type of link they'd like to submit.

I could put everything on one page and allow the user to select Link Type, but the basic listing really doesn't require all the information to be filled out that the Detailed member would need. So to make it less confusing for the reader I'll give them a choice to choose which type of link they prefer before getting to the custom suggest pages for the following Link types:

Free
Linked
Premium

Is there an easy code to add to suggest.php that I could let it know which template the suggestion is coming from? I can hide the Link Type field on each custom template <input name="type" type="hidden" value="free">...

I'm pretty sure I could duplicate the suggest.php to suggestfree.php, etc.. and then just change the template called in it to my custom names, but if there is a smarter way to accomplish this I'm hoping you let me know.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 03/04/06 - 11:57 PM:
quote post
#2
I'm not sure what the problem is. You pass the template name in the url like with any custom template. If you need it to reload properly on incomplete, I believe specifying the custom=yes and TID=whatever with hidden input fields does the job.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
RedstoneMG
Member
Avatar

Usergroup: Customer
Joined: Jun 15, 2005
Location: Ontario, Canada
Total Topics: 8
Total Posts: 35
Posted 03/05/06 - 07:07 AM:
quote post
#3
Ok - full steam ahead then. Hate to change halfway through again finding that it could be done a much simpler way. I'm not a programmer, but this script is pretty easy to work with.
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.