sinisteredd
Apr 3 2008, 04:02 PM
| | 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
Apr 3 2008, 04:57 PM
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
Apr 3 2008, 05:07 PM
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
Apr 3 2008, 07:15 PM
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
Apr 3 2008, 08:28 PM
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
Apr 4 2008, 08:48 AM
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.
Reply
shadowx
Apr 4 2008, 12:57 PM
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.htmlCAPTCHAS are something im lucking atm so ill have a look at that too  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  )
Reply
sinisteredd
Apr 5 2008, 10:01 AM
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  . 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.
Reply
shadowx
Apr 5 2008, 12:18 PM
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
Reply
sinisteredd
Apr 6 2008, 09:41 AM
haha nope, it has nothing to do with my current website. hmm here's a smalllll hint: rigor mortis ....   . And no it's not a suicide site ...... blehhh. ahh nice ... so you are gonna pwn them   . 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
Apr 12 2008, 10:50 AM
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
Apr 12 2008, 10:09 AM
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
Recent Queries:--
creating a social networking site from scratch through php - 19.97 hr back. (1)
-
make a website with a profile - 43.29 hr back. (1)
-
how to make a profile on a website - 44.02 hr back. (1)
-
make a free profile/website - 51.29 hr back. (1)
-
how to make profiles on my website - 56.50 hr back. (1)
-
a website where you can make a profile. - 65.24 hr back. (1)
-
how to make a profile website - 67.55 hr back. (1)
-
creating a profile system - 67.87 hr back. (1)
-
how to make a profile site - 68.05 hr back. (1)
-
how to make profile websites - 84.46 hr back. (1)
-
make a profile website - 87.16 hr back. (1)
-
make profiles in my website - 87.78 hr back. (2)
-
web templates create profile people - 98.22 hr back. (1)
-
how to make a website with profiles - 119.10 hr back. (1)
Similar Topics
Keywords : creating, profile, website, make, profile, website
- Creating A Fully Featured Cms
I am in the process of creating a fully featured CMS and need help (0)
Has Anyone Designed A Website For A Wow Guild?
(0) I belong to a WOW guild and we're considering a website for our members. Has anyone any
experience designing and running such a site? For a start, we're only interested in a basic
website for our members so we can show member character stats, announce raids and have a forum so we
can all leave messages for each other and discuss strategy and levelling tips. I know there are
templates available and I'm wondering if it would be just as easy to use one of the premade
templates rather than create a site from scratch. Any comments would be greatly appreciated ....
Basic Of Website Creation
Get basic knowledge on website creation here (6) By basic, i mean reaaaal "BASIC". I know that its probably redundant info for so many of us, but I
still would like you to add your bit into this post , so that newbies benefit from it.....
Website Layout?
Help me please (3) Im sorta really new to html and php, and i want to make or edit a layout for my website that i might
get from this forum thing, and i need sombody to point me to some tutorials or make me a layout.
also if you want to you can make me a myspace one too xD. Please and thanks.....
Creating A Good Website, How?!
(18) Creating a good website, How?! I looked at many forums, searching on now to create a good
website, by good I meant good website interface. For example, Trap17 have this amazing flash header,
and nice design… I searched and searched, I found that many people started with a photoshop
picture, then they make it come true by requesting a website coder (A.K.A. Programmer) to code the
whole website for it. If, I said if, I were good a art, I can design a good nice picture off
photoshop, and I know how to code, does that means I can make a good website? Please post any ....
Flash Media Into Html/css Website
does anyone know how to import a flash into a webpage with transparenc (1) Hi I need some help , Im designing this website for school studies However, I made a flash drop down
menu, works perfectly, but you know how flash has a background when you export it in to a SWF file?
For example my flash is width= 800, and height = 200 but my div box on my html page for my
navigation is only 50 px my buttons is width of 50px and the rest of the content is the drop down
animations i want to insert it into my navigation div box but i want to set the flash background to
transparent so that when the drop down menu comes down it overlaps the text or whateva....
Php Auto Website Title
(8) This simple PHP function is pretty handy if you want your websites pages in the title without having
to name individual ones. It will look like: QUOTE MyWebsite | Index QUOTE Quote:
MyWebsite | Gallery QUOTE Quote: MyWebsite | Forums etc.. paste the code into your
"functions" file, or any webpage which is included in every page you have (Reminder: To include a
webpage, use 'include("webpage.php");') You can of course put the function in each page, but
that's just annoying .. /tongue.gif" style="vertical-align:middle" emoid=":P" borde....
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....
How To Make A Website
(If you're trying to drive people away from your site) (18) 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....
Webdesign Frequently Askd Questions
is it posible to design a sercheingin in your website. (11) 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)....
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....
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" ....
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 ....
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....
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....
Help! Php Or Just Html?
i want to start buliding my website. which is better, php or basic htm (13) 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..??....
Php Scripts And Website Templates
php scripts and website templates (6) 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....
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....
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....
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.....
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 ....
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 ....
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?....
How To Create Smallest Website
(21) 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" />....
What Are The Steps To Making A Website?
(15) 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. ....
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.....
Excellent Free Website Templates
(16) 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 ....
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....
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. ....
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... ?....
Looking for creating, profile, website, make, profile, website
|
|
Searching Video's for creating, profile, website, make, profile, website
|
advertisement
|
|