Jump to content

Anders Moen

Members
  • Posts

    866
  • Joined

  • Last visited

Everything posted by Anders Moen

  1. The best is to use a server-side language, like PHP with MySQL database. I'm just saying this because I can't get .htaccess on my site to work right. (yes, my host do provide .htaccess)But if you need a login script with PHP and MySQL you can just search for "login script php". You get lots of good scripts then
  2. That site you are on, that's only a testsite. I have the "real" script in another folder, with a login script and more...
  3. Oh my god...they're not in the same folder. The login script and stuff is in another folder
  4. Just that it doesn't work in all browsers...
  5. Yeah...maybe I should put on "by person"But the login system...don't you think I've made one? Lol...I'm not dumb just because I'm dumb
  6. I have an admin page where I already can edit posts and stuff.
  7. Yeah, sure. To make a simple site like...this: | TOP HERE || LEFT MENU | CONTENT | RIGHT MENU | You simply use this:XHTML <div id="top">TOP HERE</div><div id="main"> <!-- I'm gonna put in several div's inside this, thanks to float: left; --><div id="left">LEFT MENU</div><div id="content">CONTENT</div><div id="right">RIGHT MENU</div></div> CSS body {text-align: center;}#top {width: 600px;margin: 0 auto;text-align: center;}#main {width: 600px;margin: 0 auto;text-align: left;}#left {width: 100px;float: left;}#content {width: 400px;float: left;}#right {width: 100px;float: left;} float: left;is to make it float to left. If you try to take that away, you'll see what happens
  8. No problem :)But I would recommend not using tables because tables are to tabular data (td), like when you take something out of the database.Try to use div's instead, they give you much more freedom
  9. Anders Moen

    BBCodes

    Hey!I went to BBCode.org, and there I found these BBCodes, and they work fine.I just add them in a file called bbcode.php (just example), and then on the site I need them<?phpinclude('bbcode.php');while{echo bbcode($row['name']);}?>And this works just fine :)You can try it here
  10. That's simple XHTML:<div id="name">A lot of content will go here :)</div>CSS:body {text-align:center;}#name {width: 400px;margin: 0 auto;text-align: left;}
  11. Anders Moen

    link

    It worked with me too, when I used the slash (/), but I was just wondering...how did you make the search engine?
  12. I'm using a free copy of phpBB2 and that works fine for me. Right now I'm translating and designing the whole thing so it's more like mine...heheMine is starting to become Norwegian now, but if you want to see (lol), here it isEdit: you need to be able to have PHP and database on your server. If you have something without, like Freewebs, you can use Awardspace where you have PHP and MySQL database.I'm also changing the stretched phpBB picture, hehe. Just been busy with my CMS system so.
  13. Hehe, it is for other people...if someone hire me to make a brand new website, they probably want some kinda CMS system and if they're happy with mine, I could get lots of money only for that ^^ Money :)I've worked on the system in about 2 months to make it work properly. I just need to fill in one code in view_topic.php so you don't get an MySQL error message if you don't have ?id=number.
  14. Oh yeah! I know...I wrote that in the code so I could get the date too, but then I lost my network and it wouldn't come back :S, so I never got the chance to go to phpMyAdmin to make the field date. I'll do it now! Try again
  15. Thanks!Yeah, I know...it's a really simple one. But I started with it when I started to learn PHP and MySQL like 2 months ago.
  16. Hey!What you think of my new CMS system? How does it work? I will put on so you can add comments soon, don't worry.Here's the linkHope you like it!I will just say at once: do not think about how it looks! That was just something I put together in 1,2,3 hehe-
  17. Nice tutorials :)But how do you make the background like this? I just don't get it....
  18. YAY!I GOT IT!THANK YOU GUYS! :)Lol, sorry for big letters ^^Just really, really happy because I've tried to make my CMS system done since Christmas, and now it's done
  19. Yes, but I don't understand how my codes are gonna look and stuff.......
  20. I made it!But today when I read a topic about making a simple forum (which worked ), he linked like <a href="view_topic.php?id=$rows[id]">text</a>, and if I i.e clicked the 4th topic, I came to view_topic.php?id=4 but on my server, 4.php wasn't there...it's like an invisble page. How did he do that? I just couldn't understand it :S
  21. Anybody got a code that allow me to log on my FTP account and edit my files online, instead of using an FTP program, like SmartFTP?
  22. I found one that works great!I just tested it on my site, and it works excellent! Here's the link
  23. Hehe!Just post a new one if you find another one (not the one at php.about.com, because I think it's for PHP 4 too)But I'm gonna do a little search at Google now, and then I'll post some links if I find anything.
×
×
  • Create New...