May 16, 2008

Help Creating A Profile Website - how do i make a profile website

Free Web Hosting, No Ads > CONTRIBUTE > The Internet > Web Design
Pages: 1, 2

free web hosting

Help Creating A Profile Website - how do i make a profile website

sinisteredd
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.





Reply

shadowx
Well making the basic framework for the Profile section is easy enough, give each user a row in a table with fields like Nickname, Headline, Basic info (contains ag2, sex, location) Interests, Fav Anime etc....... That will then give you the data to load into their profile. As for customizing it with HTML be very careful here, along with HTML they could use JS, AJAX, maybe even PHP and CSS to hack the site. My suggestion would be instead of using HTML make your own markup language like BBCODE eg <p> becomes [p] and only do this for certain tags in HTML like colour, size, and style tags. Filter their input with strip_tags() and enter the allowed tags, then have another line with a str_replace to re-write all tags.

Or an easier way is simply to use strip_tags to remove anything that isnt a colour, paragraph, U, I, B, H1...etc..... so you would remove any JS, AJAX, PHP or links (as many spam bots love to post links)

If you were thinking instead of having like a WYSIWYG editor it would be more complicated but still possible. The problems are going to be with security though, anything that allows users to input data is dodgy but anything that allows users to enter any amount of HTML or other code is like suicide unless you're really careful. As always be sure to strip out all quotes, slashes, and semi-colons to prevent the PHP from bugging and exposing code to the user.

 

 

 


Reply

sinisteredd
Thank you for that fast reply ^^.

And you gave me just the right info to start with.
And yeah i realise the risk of letting users use html, and i am considering to let users
shoose a layout which i created (this is the safest whay) instead of letting them use theire own html.

Thx again, now i am able to work further on my page, which you will see when my hosting request gets aproved.


Greets,

Edd

Reply

menotti
I recommend you to use a free cms like joomla.org or a blogger like wordpress.org so you can focus on the content and not on the desing

regards

Reply

shadowx
Using Joomla or similar CMS is a good idea but it offers less customization over the backend of things. Its a brilliant idea for non PHP/ASP'ers but as i think sinisteredd knows PHP i would say its better to write from scratch, it isnt too much work to do and it will offer better control over the backend framework and he will know the system inside-out making troublshooting and improvements easier

Reply

sinisteredd
Hmm the sugestion from menotti gives me another idea I could use some of the scripts from joombla or any other content management system
as a reference.

And yea, I' don't want to use a content management system because it has so many features i wont use, and i love to have full controll about the code/design
etc.

Also I like to start from scratch because in the end it gives me the satisfaction that i've made the whole website to my likings and it would be easier
to customise my own code (like shadowx says).
And because the site is 50% ready I dont want to stop working on it and use a template or any other thing. I've put alot of work in it, so to move to another
"content system" is no option ^^.

If you have more sugestions/tips etc please post them, maybe it helps other people to who want to do something like I am.

Thx for your help you 2. biggrin.gif



Reply

shadowx
QUOTE
If you have more sugestions/tips etc please post them, maybe it helps other people to who want to do something like I am.


Well for any website that lets a user register themselves a PHP CAPTCHA is always a good idea, or even just email verification. Email verification is a doddle, when the user first registers have an "active" field in the DB and set it to NO, send out the link to them to confirm with and that link takes them to a page with a unique ID that then updates the DB and sets their active status to YES. and when they login check the username, password, and the active field. If you're interested in a CAPTCHA there is a tutorial on T17: http://www.trap17.com/forums/simple-php-ca...ion-t45058.html

CAPTCHAS are something im lucking atm so ill have a look at that too tongue.gif

Let us know when the website is finished, i was thinking of making a profile site too, similar to most social networking sites like myspace etc... but with a big twist, but its just an idea at the moment (and no i wont tell what my secret ingredient is tongue.gif)

Reply

sinisteredd
Hey thx for that tutorial, i prefer email valdiation & captcha because automated scripts getting,
smarter and smarter every day. I once had a webpage (i wasn't that familier with php),
and after a week there where 50 or more regsitered users, but they where al made by an automated script.

So this time I'm gonna do it the right way biggrin.gif .
But i have a some more to learn about good protection.

Haha yeah never reveal your secret ingredient.
I'm also on a "secret project", and I think it's very orriginal because i never seen this consept on the web. wink.gif


Reply

shadowx
QUOTE
I'm also on a "secret project", and I think it's very orriginal because i never seen this consept on the web
Will it be on your profile website?

Ive seen my feature once on a website but im developing it further than they have tongue.gif

Reply

sinisteredd
haha nope, it has nothing to do with my current website.
hmm here's a smalllll hint: rigor mortis .... ph34r.gifbiggrin.gif .

And no it's not a suicide site ...... blehhh.

ahh nice ... so you are gonna pwn them xd.gifsmile.gif .
whats the theme of youre project?

I have found some good snippets for my profile website. *whohoo*
Altough it may take some time because i have a busy 10 weeks on work .....

Reply

Latest Entries

shadowx
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!

Reply

sinisteredd
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.


Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2
Similar Topics

Keywords : creating, profile, website, make, profile, website

  1. Php Auto Website Title
    (1)
  2. How To Build A Good Website
    (2)
    First, have a good color is important. You don't want people say "Ow!!! My
    eyes!!! where's the X button????" So try not to use colors like light green, yellow.
    Second, have some content. Will you like a site just with a title? Updated it AT LEAST once a
    month. Third, try not to put "too much" image on the homepage. Otherwise, if they come from a
    search engion, they will probley want to find something that they want. If that takes too long,
    they'll leave. Fourth, having a portal is good if you have a forum. If you are using something....
  3. How To Make A Website
    (If you're trying to drive people away from your site) (16)
    Alright so there are many topics out there of how to make a website that everyone will love and want
    to go to, but I can't seem to find any about how to make a website that people will hate and try
    to run away from, so here are some pointers for those who are trying to make the worst website:
    Step one: COLORS Be sure to use a vivid and bright background color, and a non-noticeable text
    color. Nothing wakes people wake up more than a florescent yellow background with white text. Make
    people work to try to read your website. After all, you have some great content....
  4. Webdesign Frequently Askd Questions
    is it posible to design a sercheingin in your website. (4)
    what i wanna no is is it posible to incorporate a custom search engin into your own website. for a
    while now i have bin wondering is it posible to do this as i would like to try something like this
    out. but i have heard of there being a way to do this in pearl but i no nothing of pearl does
    annyone have anny tips or info on this? (i use frontpage and dreamweaver)....
  5. Please Rate My Website
    out of a possible 10 (19)
    I have built a newly designed website here with Trap17 - http://www.zofanatic.com . Can you please
    rate it or give me some suggestions on the design and layout (including the forum, which runs on
    SMF). Thanks....
  6. My Website Design , Any Suggestions?
    this is something i designed with the help from user sonesay , what do (13)
    Hey guys I designed and almost finish my site, www.keegonguyen.com .. so what do you guys think?
    Have any good suggestions? or anything that i should take out? anything good or bad about it?
    anything at all that would help me out would be nice /tongue.gif" style="vertical-align:middle"
    emoid=":P" border="0" alt="tongue.gif" /> Is it too plain? any beneficial criticism will be fine
    /rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />
    let me know thanks /smile.gif" style="vertical-align:middle" emoid=":)" border="0" ....
  7. Is There An Xbox Live Gamertag Code To Shw The Gamercard On A Website?
    The title says all! (1)
    Hi everyone, im looking for a code that will display a users xbox live gamercard. Ive seen one
    little widget but that was for the igoogle page ao its not suitable for what i want. Ideally I want
    one thats written with HTML or something like that so its easy for me to modify and such. What i
    want it to do is t have a URL in the code which the user can then insert their gamertag ID into and
    have the widget display their gamercard for all to see. if i ever use this code it will be on a
    money making site, hopefully, so something thats free to use even for commercial things ....
  8. Xml For Dynamic Website Content
    (3)
    Anyone got a site where they're using XML to generate dynamic content? I'm thinking of
    using XML for several elements of the website for my workplace, partially because I can easily
    generate XML through a simple VBA interface far easier than XHTML (since I'm only considering
    the content), so that I can set up easy ways of changing that content for the completely computer
    illiterate people I work with. Also, I'm doing an XML course later, so I want ot get some
    practice in /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif....
  9. Need Environmental Website Ideas!
    Needing Environmental website ideas for design! (0)
    Hi everyone, I am new to trap17.com. In fact this is my first message. So... Yeah! for me. I
    hope this will website will live up to all of the hype that I have been hearing from all of my
    friends. Ok well getting on to the subject. I am creating an environmental website for a
    competition. The topic is the environment. I can do absolutely anything about the environment. My
    idea is to create a website that will show all of the facts about both the good and bad of the
    environment and all that we can do to help/ save the environment. I am looking for some amaz....
  10. Help! Php Or Just Html?
    i want to start buliding my website. which is better, php or basic htm (6)
    i try to start this topic in webhost category but it seems like i cant. i dont have the permission
    so i just post my topic here. im sorry mod.. i want to build a website which contains: - Links to
    videos - Informations - photos - flash i don't know if i should use php or just HTML. guys,
    what are your opinions..??....
  11. Php Scripts And Website Templates
    php scripts and website templates (1)
    I need some help. I´m trying to start my own website but I´m out of ideas about the design... The
    site should look something like this (click to view) Like I said I´m out of ideas so if any of you
    knows of a good and free web template that looks like my site please post the link to it. I´m also
    looking for some free php scripts (classified ads, fotolog, youtube, banner exchange, link exchange,
    adbux) so if you know where I can find any of those scripts please let me know. Thanks in advance.
    "I Need Some Help" isn't a good topic title. Changed to a more descript....
  12. How To Beat Ironport(best Website Blocker?)
    proxy browsing (0)
    I am asking this question to all experts And answer is not that simple. Problem is that all the
    proxy sites are also banned by IRONPORT. So u cannot beat it that easily. The only solution i know
    is to find out a newest proxy site before it is banned? Is there any better way? All TECH-GODS....
  13. Image Not Taking The Right Size In Web Page
    An image is correct when designed, but not when put in a website (1)
    When trying to make a web page with a GIF image on it which runs a coloured bar along the top and a
    coloured curve along the side, I come across the weird thing that, when I put the image on a web
    site, it does not take in the whole top and does not run from top to bottom completely. The image is
    made in Adobe Photoshop at a resolution of 1024X768 pixela and looks correct , ie. the horizontal
    bit runs completely from left to righ and the vertical bit completely from topright to bottom right,
    yet when put in to the web page, it shows with big margins left and right and to....
  14. Need A Logo For Website Can't Get Into Ideas
    (10)
    Hi friends i'm running site on computinghost server called http://onecore.net i think again i
    need some help,for good touch to the site so pleasse help me can you think of any good logo idea,i
    want simple,creative,techno-anime style yet smoot for eyes. can you think of any good idea,mymind
    is just wandering here and there /unsure.gif" style="vertical-align:middle" emoid=":unsure:"
    border="0" alt="unsure.gif" /> hope u understand that .... Please send in any dieas for logo almost
    anything.....
  15. How Do I Put A Flash Image In My Website
    (10)
    oke i got flash now and i made this button http://www.crazydesign.trap17.com/coolflashthingy.swf
    this button i wanne use for my website now my question is, what do i need to put it online do i need
    a special code or something,i'm not experienced with this,i heard something about a special code
    u need for it,but i dunno wichi'm just used to using tis QUOTE ....
  16. Creating A Site For Web Design/development.
    (4)
    Hey I've been thinking about starting my own website for website design/development. I can think
    of many different ways I could do this but I'm looking for the fastest, most simple, and most
    effective way of programing it. So let me explain what I want to do with this site. First off I
    will be selling websites, both custom and template. I need to know the best way for people to pay
    for them. I don't know if I should use pay pal or what. I don't have any expirience in that
    area. I also want to try to buy a server and host websites myself. Now I know how ....
  17. How Successful Are Part-time Website Designers/developers?
    (10)
    I have been createing websites for a while now. I use HTML, Javascript, just added PHP, and starting
    MySQL. I'm thinking about trying to start createing website partime. Any of you guys ever tryed
    it? If so how well did it go and how should I start?....
  18. New Horse Website
    (1)
    So I designed this horse website for my parents and was wondering if there was anything else I can
    do to make it better (besides adding more pictures: most of the pics are fillers at this point).
    Let me know if you have any suggestions!!! Oh and here is the site link below:
    http://web.mac.com/alpinemisthorsefarm Thanks for the help!....
  19. How To Create Smallest Website
    (17)
    I wonder if any one create smallest website on earth? any webmaster can share this things .. .if
    they can make how could it be? /wink.gif" style="vertical-align:middle" emoid=";)" border="0"
    alt="wink.gif" />....
  20. What Are The Steps To Making A Website?
    (10)
    what are some steps to making a website? im doing a project and i need like 5-7, but id ont know
    waht to put. ....
  21. Xboxmodz
    My New Website (1)
    I have made this new website for modding purposes. I have an ok home page with forums so far. Right
    now i am working on another home page. This will be uploaded as soon as i am done. So give me some
    feedback on both the site and the forums. When being a guest you can only see a few select forums
    like the Site Announcements, XboxModz Staff, Site Feedback etc. Basically whatever is in the
    Category XboxModz Main. EDIT: Ya, sorry. Having one of those days i guess. lol. Here you go.
    www.xboxmodz.trap17.com....
  22. Preview Your Website In Ie From Non-windows Os
    (9)
    If you are using a non-windows based OS probably Linux or Mac OS may be even Solaris or OS/2, you
    can preview how you website or new site design looks in Internet Explorer. A site by Daniel Vine
    provides you this facility for free, Just head over to http://www.danvine.com/iecapture/ and
    enter your sites URL to preview. This site will automatically create a screen shot of your site how
    it appears in IE. Usually it will take longer to get a screenshot because always there will be
    thousands of such sites queued to be previewed. Post your comments and experiences.....
  23. General Categories On Nice Website - Contribute
    I'm trying to figure out general categories for personal website (0)
    Hello to all surfers.. Surfing a lot? Tired of messed up links, with strange names and organization.
    You think you could categorize internet in few simple categories made for you by you, which others
    might find attractive?! Well help, and contribute. Maybe if we post how would we like our
    categories to look like going to "BASIS" programmers might follow and we could surf even more
    easier. Post your opinions and ideas. From my side of view, and by the content i look most of the
    time, i would categorize nice site in this categories: QUOTE(My MAIN Categories selectio....
  24. Help Needed For Alumni Website.
    (6)
    I'm planning to start an Alumni website for my college mates, I searched for any Alumni CMS but
    couldn't find one. So If anyone of you know any Alumni or Community CMS, please share it with
    me. I need a community CMS where each member Can have his own page, and somewhat related to orkut.
    If there is any add-on MODs for Joomla or Mambo please do share them too.....
  25. Website Template!
    I need a website template! (8)
    Ok here's the thing i'm new to making a website like this and i need a website template that
    is html! If anyone finds some please tell me thanks! /biggrin.gif"
    style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />....
  26. Free Phpnuke Themes
    Cool-looking themes for your website (3)
    Hi, i'm new and I would like to start to post in these forums by sharing you all a link to a
    website that contains FREE PHP-Nuke PRO themes. Many of those templates include its own V2 ShoutBox,
    a Flash Navigation Bar, Flash Headers, Forums matching skin and many other cool features. You can
    even play your music in your website with some of them!! Check them out! them are
    perfect for host a gaming website or personal homepages http://phpthemes.net/ ....
  27. Excellent Free Website Templates
    (15)
    Site also includes 60 free logo templates, 63 free banner templates, 84 free newsletter templates,
    website arrows, abstract images, and much more. Fantastic resource...
    http://www.templatesbox.com/templates.htm ....
  28. Man Why Is Everything Hard To Get A Website Design
    man webdesigning is hard (32)
    okay ppl why is that they give u front pagew that u make a webdisgn adnthe u have to bye better
    stuff just to get it right plz tell me why....
  29. Which Is The Best Premade Website?
    mambo or phpnuke (7)
    Hi, I am looking for a ready made site like mambo or phpuke, anyone know anyhting faster and lighter
    to use. Moving from What Is...? to Webdesigning Tools and Software Discussion . Topic title AND
    its description are very important when posting a new topic. Entered description. ....
  30. Website Creation Suggestions
    (12)
    I'm currently trying to create a website for myself.. But I don't know what to add to the
    site.. I need suggestions from people who have created their sites.. I've added a tag board by
    the way.. What else can I add... ?....

    1. Looking for creating, profile, website, make, profile, website

Searching Video's for creating, profile, website, make, profile, website
Similar
Php Auto
Website
Title
How To Build
A Good
Website
How To Make
A Website -
(If
you're
trying to
drive people
away from
your site)
Webdesign
Frequently
Askd
Questions -
is it
posible to
design a
sercheingin
in your
website.
Please Rate
My Website -
out of a
possible 10
My Website
Design , Any
Suggestions?
- this is
something i
designed
with the
help from
user sonesay
, what do
Is There An
Xbox Live
Gamertag
Code To Shw
The
Gamercard On
A Website? -
The title
says
all!
Xml For
Dynamic
Website
Content
Need
Environmenta
l Website
Ideas! -
Needing
Environmenta
l website
ideas for
design!
Help!
Php Or Just
Html? - i
want to
start
buliding my
website.
which is
better, php
or basic htm
Php Scripts
And Website
Templates -
php scripts
and website
templates
How To Beat
Ironport(bes
t Website
Blocker?) -
proxy
browsing
Image Not
Taking The
Right Size
In Web Page
- An image
is correct
when
designed,
but not when
put in a
website
Need A Logo
For Website
Can't
Get Into
Ideas
How Do I Put
A Flash
Image In My
Website
Creating A
Site For Web
Design/devel
opment.
How
Successful
Are
Part-time
Website
Designers/de
velopers?
New Horse
Website
How To
Create
Smallest
Website
What Are The
Steps To
Making A
Website?
Xboxmodz -
My New
Website
Preview Your
Website In
Ie From
Non-windows
Os
General
Categories
On Nice
Website -
Contribute -
I'm
trying to
figure out
general
categories
for personal
website
Help Needed
For Alumni
Website.
Website
Template!
; - I need a
website
template!
;
Free Phpnuke
Themes -
Cool-looking
themes for
your website
Excellent
Free Website
Templates
Man Why Is
Everything
Hard To Get
A Website
Design - man
webdesigning
is hard
Which Is The
Best Premade
Website? -
mambo or
phpnuke
Website
Creation
Suggestions
advertisement



Help Creating A Profile Website - how do i make a profile website



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE