Display Similar / Related Items

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
xmariaxcx
Forum Newbie
Posts: 4
Joined: Thu Oct 27, 2011 1:10 pm

Display Similar / Related Items

Post by xmariaxcx »

Hi...

I'm totally new to the forum (and somewhat new to php... so please bear with me)

I'm wondering if it is possible to use php to display similar items to what the user views.... (kind of like amazon and ebay do but MUCH SIMPLER and on a smaller scale) :)

My main idea is to have a forum with several pre defined categories... and if the user leaves a post under "CARS", he'll get a list of other "car" related posts.

Is this possible? I'm looking into the simplest method of implementing something of the sort... any suggestions?

Thanks!

- M
User avatar
manohoo
Forum Contributor
Posts: 201
Joined: Wed Dec 23, 2009 12:28 pm

Re: Display Similar / Related Items

Post by manohoo »

Is this possible?
Yes, it is possible, but that's quite a challenge for a newbie. I recommend that you install an already available application, there are plenty of forum applications out there. You may find some of them in sourceforge.net
xmariaxcx
Forum Newbie
Posts: 4
Joined: Thu Oct 27, 2011 1:10 pm

Re: Display Similar / Related Items

Post by xmariaxcx »

mmmm thanks! :) well i'm not a complete newbie, just not an advanced php guru :P I can go about the simple things like member logins, sessions, and reading from a mysql database (the simple stuff!)

I'm working on a thesis project so I need this to be something i can implement / code myself... any idea where i can start? or what i can use? maybe cookies or that's totally unrelated? (thanks again! :)
User avatar
manohoo
Forum Contributor
Posts: 201
Joined: Wed Dec 23, 2009 12:28 pm

Re: Display Similar / Related Items

Post by manohoo »

Gotcha! Given your needs I would keep things simple.
1. When the user requests to post a new entry then offer the categories as choices (links or checklist could do)
2. After the user makes a choice then display 2 sections: one section to capture the users new entry, and another one to display existing posts under the selected category.
Makes sense?
xmariaxcx
Forum Newbie
Posts: 4
Joined: Thu Oct 27, 2011 1:10 pm

Re: Display Similar / Related Items

Post by xmariaxcx »

yes that's exactly what i'm thinking of...i'm still in the early stages of my project so i won't be touching this for now. maybe in a few weeks time. thanks for the help. I'll be sure to be back with more questions once i get my hands dirty ;)
xmariaxcx
Forum Newbie
Posts: 4
Joined: Thu Oct 27, 2011 1:10 pm

Re: Display Similar / Related Items

Post by xmariaxcx »

meanwhile, if anyone has any related articles / tutorials on the matter to get me started ... that would be greatly appreciated :)
Post Reply