patrickluursema Posted May 25, 2004 Posted May 25, 2004 Hi everyone, I just love Osc and I am almost ready with my shop. My question is about another website I want to begin and I hope someone can help me with this. Because I can't find anything else on the web about my needs I post it here and maybe I get lucky. I want to begin a shopportal website; this is a site where all kinds of online shops are mentioned with there url. If they want they can place banners on the site (payment). Does anyone know how to build this, my programming in .PHP is not good enough for this. Ofcourse I'm willing to pay for this. I have an example website, I want exactly the same things that are possible on this website. http://www.shopwereld.nl Look forward to your replies! :lol: Kind regards, Patrick
gazzzzzza Posted May 25, 2004 Posted May 25, 2004 Hi This seems fairly simple to me. I shall try to explain it as you should be able to build it yourself (including only basic functionality). *You build your site layout. (HTML) *Decide where you want the information/images to go. (centered probably in a centre table cell?) *Then you decide what info you want off each shop. Eg Name Description URL Image (if they have paid) You create a table in your database (mysql) This should have fields matching your info (above) and should also have an id field eg id - int - unsigned not null auto_increment primary key name - varchar(50) not null description - (depending on how long you want it) maybe varchar(100) or maybe: text (any size) url - varchar(70) not null image - varchar(50) thats it now you have a place to store the info next you will need a place to add the data from (an admin area for you) this should include functionality to allow you to add, edit, and remove shops from your site. in this admin area, (you should protect it either using htaccess or using a password system but this is a side issure for now.) the add functionality will include a form which when submitted, adds the information to the database - adds the shop. You can upload an image if they have paid or you can choose not to upload an image. uploading the image requires a folder on your website that holds all of the images. this folder should have suitable permissions set so that php can write to it. once a shop is added, then the front end of the site will display the information. you need to add code to the page(s) which says select info from the database and display it here, for each shop it finds in the database it will show it on the page, (will show the info you tell it to) if the image for that shop does not exist then it will leave it blank or you can choose for it to display something else. That is it basically from what I can see. In your admin area you will also need an edit shops function where you can change any details if needs be and upload images to shops that decide to pay. You will also want a removal tool I would imagine for if a shop closes or you need to remove them for any reason. Again - this is very simple. All of the code required to create this functionality is freely available so i would not advise you to pay someone to do this for you unless you do not have time to do it yourself, in which case I would be interested in doing this for you. if you wish to contact me regarding this then please private message me here and i will give you my email address for further correspondance. if you wish to have a go at creating this yourself, then i will be happy to help with any probs you have :D just post here and ill keep an eye on it. always here to offer some useless advice....
Recommended Posts
Archived
This topic is now archived and is closed to further replies.