|
|
|
|
![]() ![]() |
Apr 10 2008, 05:35 PM
Post
#11
|
|
|
Newbie [Level 2] ![]() ![]() Group: Members Posts: 39 Joined: 10-April 08 Member No.: 60,626 |
Ok this is my idea: I am making a website about anime. Its function is add anime, review anime, search anime, anime information. Users can make a profile. People can make a profile which they can edit to theire likes with html to give it a fancy look.(this is what my problem is about) What i would like to know is how can i accomplish this. I already have the database for the anime titles etc ready, the only thing that needs to be done is the profile section. If you have any tutorial, tip or guide i would really really appriciate it. Thx in advance. Use PHP-fusion it's a very good and easy way to make a "profile" site. You can see my site: www.bestsite.dk it's from PHP-fusion. |
|
|
|
Apr 12 2008, 10:09 AM
Post
#12
|
|
|
Newbie [Level 1] ![]() Group: [HOSTED] Posts: 14 Joined: 3-April 08 From: Netherlands Member No.: 60,293 |
I'd rather don't want to use any content management system because I wan't to control the backend.
also i have 80% done so if I stop now it would be a wast of time ... And if I use a content management system I cant fully control my site our strouble shoot. My only problem right now is how can I list my users from mysql in a link like: - pipo - bob - jan etc. etc. so when i click on them i go to theire profile page. |
|
|
|
Apr 12 2008, 10:50 AM
Post
#13
|
|
|
A clever man learns from his own mistakes, a WISE man learns from those of OTHERS ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 1,028 Joined: 12-April 06 From: Essex, UK Member No.: 21,719 |
Ive solved a problem like the above before, where i had to turn a list of items from a DB into a list of links that go to a certain page. The way i done it was to make a loop to retrieve the data into a variable then just echo that in the format:
CODE echo "<a href=profile.php?name=$USERNAME>$Username's Profile</a> <BR> Repeat the loop with the NEXT statement and presto! |
|
|
|
Aug 20 2008, 04:19 PM
Post
#14
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 224 Joined: 19-June 08 From: United Kingdom - Cornwall!!!!! Member No.: 63,876 |
Really the best way is probably to use PHP and mySQL, each user has a html document, which is edited by a form, and processed by a PHP page, which saves to their own HTML document.
The mySQL database would contain all of the users usernames, and passwords, contacts ect. Also, you would need to use some form of PHP or control to prevent users from using javascript, iframes ect, as this could be harmful to you site, and could allow easy access to hidden files, and could ed up with people displaying bad content. |
|
|
|
Sep 16 2008, 07:36 AM
Post
#15
|
|
|
Newbie [Level 2] ![]() ![]() Group: [HOSTED] Posts: 30 Joined: 16-September 08 From: Netherlands Member No.: 67,929 |
For the listing of users you could use master-detail paging.
This means you have page wich displays all the usernames ( this is the master page), when you klick on theire name you go tho theire profile ( this is the detail page). This is really easy done in dreamweaver klick here for a tutorial. And some tips: It may be easy that when a user registers, a script makes a new folder with the username wich containes: gallery (folder), style(folder wich containes css) and an index file. Also it may be wise to let your users only use css and html. Good luck |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 13th October 2008 - 11:12 PM |