Page 3 of 4 FirstFirst 1234 LastLast
Results 33 to 48 of 52

Thread: My own CMS

  1. #33
    bored out of my tiny mind malfunction's Avatar
    Join Date
    Jul 2003
    Location
    Lurking
    Posts
    3,923
    Thanks
    191
    Thanked
    187 times in 163 posts
    • malfunction's system
      • Motherboard:
      • Gigabyte G1.Sniper (with daft heatsinks and annoying Killer NIC)
      • CPU:
      • Xeon X5670 (6 core LGA 1366) @ 4.4GHz
      • Memory:
      • 48GB DDR3 1600 (6 * 8GB)
      • Storage:
      • 1TB 840 Evo + 1TB 850 Evo
      • Graphics card(s):
      • 290X
      • PSU:
      • Antec True Power New 750W
      • Case:
      • Cooltek W2
      • Operating System:
      • Windows 10
      • Monitor(s):
      • Dell U2715H
    Quote Originally Posted by yamangman
    How are you going to handle the log-in then? Username/password? Wouldn't you want a password field? Unless you hard code it in PHP, as you said it's just for you.
    Heh heh heh..... (@ myself)

    I hadn't even noticed that. Yes... Password usually required!

  2. #34
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    Haha, ok, so password field needed. What field options will i need for that?

  3. #35
    Large Member
    Join Date
    Apr 2004
    Posts
    3,720
    Thanks
    47
    Thanked
    99 times in 64 posts
    Furthermore, if you intend on using session variables, I suggest another field such as user_type, which would contain various user levels. You could then set access rights on each page of your site for each user type.
    To err is human. To really foul things up ... you need a computer.

  4. #36
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    lol, this is going to get slightly more advanced than i thought

  5. #37
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    doh, i've just remembered, i'm putting a photoblog in there as well lol. I want to be able to browse all the photos in the different categories that they're in. What would I need to do that (database wise)

  6. #38
    HEXUS.net Webmaster
    Join Date
    Jul 2003
    Location
    UK
    Posts
    3,108
    Thanks
    1
    Thanked
    0 times in 0 posts
    You're designing without a stable set of requirements. You need to go back a level and define your requirements first before you start coming up with an E-R diagram.

  7. #39
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    Quote Originally Posted by Az
    You're designing without a stable set of requirements. You need to go back a level and define your requirements first before you start coming up with an E-R diagram.
    That was the only one i forgot, everything else is to specification.

  8. #40
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    *bump* any ideas anyone?

  9. #41
    HEXUS.net Webmaster
    Join Date
    Jul 2003
    Location
    UK
    Posts
    3,108
    Thanks
    1
    Thanked
    0 times in 0 posts
    You'll learn more if you try yourself and we'll point out any errors or improvements. I'm sure you can at least make an initial stab at it, after all as you've said you already have a stable sepcification so it should be a simple matter to work out what fields will be required. If you can't then your spec needs to be improved.

    Also, there's no need to bump a post if only 6 hours has passed by, most people will be working and may not have access to the forums, at least give them 24 hours to respond

  10. #42
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    roger that boss, i'll get to work on the SQL code

  11. #43
    bored out of my tiny mind malfunction's Avatar
    Join Date
    Jul 2003
    Location
    Lurking
    Posts
    3,923
    Thanks
    191
    Thanked
    187 times in 163 posts
    • malfunction's system
      • Motherboard:
      • Gigabyte G1.Sniper (with daft heatsinks and annoying Killer NIC)
      • CPU:
      • Xeon X5670 (6 core LGA 1366) @ 4.4GHz
      • Memory:
      • 48GB DDR3 1600 (6 * 8GB)
      • Storage:
      • 1TB 840 Evo + 1TB 850 Evo
      • Graphics card(s):
      • 290X
      • PSU:
      • Antec True Power New 750W
      • Case:
      • Cooltek W2
      • Operating System:
      • Windows 10
      • Monitor(s):
      • Dell U2715H
    Well grouping photos is not really any different to your existing item / item_type arrangement... Though it would be better with groups as well (i.e. an item_type of photo and then a group of photos under the heading "Photos from holiday, August '04"... As for actually storing the photos you COULD do it in the database via a blob but I wouldn't recommend it. Instead you should store the file name / path and that will be included in the final output (i.e. the HTML). You could do the same thing for your other entries though there's no need to... I think keeping the data in the database is better for your non photo items. If you were going to do it that way (all external files) then SSIs (Server Side Includes) would be a better way of doing it for the blogs / articles.

  12. #44
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    Quote Originally Posted by malfunction
    Well grouping photos is not really any different to your existing item / item_type arrangement... Though it would be better with groups as well (i.e. an item_type of photo and then a group of photos under the heading "Photos from holiday, August '04"... As for actually storing the photos you COULD do it in the database via a blob but I wouldn't recommend it. Instead you should store the file name / path and that will be included in the final output (i.e. the HTML). You could do the same thing for your other entries though there's no need to... I think keeping the data in the database is better for your non photo items. If you were going to do it that way (all external files) then SSIs (Server Side Includes) would be a better way of doing it for the blogs / articles.
    Yup, i had this approach for downloadable files once. I was thinking of doing it another way. Use the PHP to check the folders (each folder would be a different category of photo) and then display all the folders, click on the links which would take you into the folder and preview each photo one at a time. That way it would require no database work, just PHP work and all i'd have to do is upload the photos into the necessary folders. How about that for an idea?

  13. #45
    bored out of my tiny mind malfunction's Avatar
    Join Date
    Jul 2003
    Location
    Lurking
    Posts
    3,923
    Thanks
    191
    Thanked
    187 times in 163 posts
    • malfunction's system
      • Motherboard:
      • Gigabyte G1.Sniper (with daft heatsinks and annoying Killer NIC)
      • CPU:
      • Xeon X5670 (6 core LGA 1366) @ 4.4GHz
      • Memory:
      • 48GB DDR3 1600 (6 * 8GB)
      • Storage:
      • 1TB 840 Evo + 1TB 850 Evo
      • Graphics card(s):
      • 290X
      • PSU:
      • Antec True Power New 750W
      • Case:
      • Cooltek W2
      • Operating System:
      • Windows 10
      • Monitor(s):
      • Dell U2715H
    Depends on if you want to be able to 'auto publish' any file in the directory as soon as you upload it

  14. #46
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    Yup, i would publish any photo in that directory, well that's ok then i can just lob that particular code in the database under the content category instead of including it in the switch, would be easier that way.

  15. #47
    bored out of my tiny mind malfunction's Avatar
    Join Date
    Jul 2003
    Location
    Lurking
    Posts
    3,923
    Thanks
    191
    Thanked
    187 times in 163 posts
    • malfunction's system
      • Motherboard:
      • Gigabyte G1.Sniper (with daft heatsinks and annoying Killer NIC)
      • CPU:
      • Xeon X5670 (6 core LGA 1366) @ 4.4GHz
      • Memory:
      • 48GB DDR3 1600 (6 * 8GB)
      • Storage:
      • 1TB 840 Evo + 1TB 850 Evo
      • Graphics card(s):
      • 290X
      • PSU:
      • Antec True Power New 750W
      • Case:
      • Cooltek W2
      • Operating System:
      • Windows 10
      • Monitor(s):
      • Dell U2715H
    You will need to check that the file has been completely uploaded in the PHP then - so you dont give red Xs to anyone viewing

  16. #48
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    I'll do that when i get on to writing the script. Now i need to concentrate on the database code to create the tables. Only problem is, i don't know how to do joins in SQL lol. Right, time to get on it! I'll paste code here when there's progress

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need a decent CMS...
    By Kezzer in forum Software
    Replies: 14
    Last Post: 03-06-2007, 10:56 PM
  2. Are There Any Decent Free CMS Systems?
    By Jonny M in forum Software
    Replies: 3
    Last Post: 13-09-2003, 10:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •