Webmastersite.net
Register Log In

Multiple Custom Suggest Link Pages?
Does this make sense?

Comments on Multiple Custom Suggest Link Pages?

RedstoneMG
Member

Usergroup: Customer
Joined: Jun 15, 2005
Location: Ontario, Canada

Total Topics: 7
Total Comments: 33
Posted Mar 04, 2006 - 9:43 AM:

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
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 05, 2006 - 1:57 AM:

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.
RedstoneMG
Member

Usergroup: Customer
Joined: Jun 15, 2005
Location: Ontario, Canada

Total Topics: 7
Total Comments: 33
Posted Mar 05, 2006 - 9:07 AM:

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
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



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