Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

atomiku

Members
  • Joined

  • Last visited

  1. Alright. Thanks djitsz. Thread marked as solved. I'll query the tables separately and join the data I need with PHP to be displayed in one feed. I did a benchmark. I selected from the posts table with a size of 1.3M, with a WHERE clause with 1000 IDs in the list. Query took 0.0298 sec. This is good enough. Perhaps in the future I will need to look into sharding, but this will scale for the time being.
  2. Bump, cause I could really do with some advise on this. Cheers.
  3. Thanks for the feedback. I have updated the design to incorporate Flat UI colours/ideas. Let me know what you think!
  4. Hey - I updated the template + colors last night. @Flay: It is looking much better than the old design. Is there anything more I can do to this now? I plan to make some nice looking custom dropdowns for the Expiry/Privacy.
  5. Well I had a dark navy-ish blue background in mind, so we're on the same path! There isn't much UI on confessium for me to get inspired from, I'm not really a designer. Does anybody have a design to show me that I could use?
  6. Hi Web Designer Forum. One of my upcoming tasks is that I will need to create a page that contains a feed, which will be displaying posts from various MySQL tables, but with certain conditions based on the users friends/connections/preferences. Now originally I thought of using a query such as this: SELECT * FROM articles, groups, posts WHERE articles.category = <a category a user has subscribed to> OR groups.id = <a group the user has joined> OR groups.id = <another group the user has joined> OR posts.posted_by = <a person the user is following> AND posts.posted_by = <someone the user has blocked> That's horribly inefficient and the site will grind to a halt once more people start using it, so instead I'm thinking that each user's feed should be a MySQL table that the CMS would add a row to, as a new post or article is added, if the conditions are met. So instead we would just be doing: SELECT * FROM feed_<userID> ORDER BY added DESC I could delete rows from the feed older than two months to keep the table sizes down. Is this the most efficient way I can do this? Will this scale well with 1 million rows? Or is it 1000 rows for each user's own feed table? I can imagine facebook is doing something similar, I just don't know how exactly. Thanks in advance for any advice. atomiku
  7. Hi Web Designer Forum. One of my upcoming tasks is that I will need to create
  8. Well thank you very much for your feedback. The first bit of progress I intend to make would be to change the design around to make it look slicker. I might go for dark colours this time round. Forking is a good idea too. I'll add that to the todo list in my original post. I see that as a top priority now so I will complete the forking functionality as I redesign the site. Thanks!
  9. No worries, guys. What I'm trying to do is use CSS3's columns but then also have these columns to be responsive. It's just not going to work. I'll have to code a jQuery solution to do it manually. I'll post the code up here if I get around to coding it. Cheers.
  10. I don't mind using CSS columns. But how can it be split into 2 columns (divs) where each of the DIVs has its own class/id? Look at my original post, I'd like a .slot-0-1 and .slot-2-3 class.
  11. With due respect, I disagree. I have an idea how this would be done with jQuery. Cycle through all the elements that you want to split (images, paragraphs, etc), work out the heights of all these elements, and then calculate which elements to move over into its own column. I could do this myself but I am looking for a solution that's already out there. Mainly because an existing plugin would already have had a lot of time and effort put into it to ensure it works nicely without any bugs. The same bugs that I would most likely encounter while trying to do something like this myself. Basically, I'm not looking to reinvent the wheel here. If I do happen to find a good solution to this before anyone here does, I'll make sure to report back incase anyone finds this thread in the future. Regards ~atomiku
  12. Hey there, I'm using a CSS responsive grid system and I have something like below: <div class="grid"> <div class="slot-0-1"></div> <div class="slot-2-3"></div> <div class="slot-4-5" style="text-align:right;"> <img src="/includes/img/aboutinfo.png" alt"" /> </div> </div> I'd like to take some dynamic content (paragraphs of text) and split it equally into the two div columns: .slot-0-1 and .slot-2-3. I really can't think how I might do this, I'd like to use CSS3's column feature but I don't think it will work with the responsive grid system I am using. Are there any decent jQuery solutions out there I can use? Thanks! ~atomiku
  13. Thanks D4Y0. I will stick with your solution as I think it will work fine. If I encounter any problems implementing it into the design I'll have to code up a jQuery solution. FYI: The boxes may not be pre-defined widths, but regardless they will always be the same width as each other. Whether it may be 150 or 200.
  14. Almost! Now lets say I might not know the width of the inline-blocks, and I can't manually define a max-width media query, then what would I do? Your solution is almost working, but as the browser sizes down even more, I get this below: Really, it should be arranged into 3 rows of 2, so everything is even. I'm guessing that if I don't know the width of the divs, I'll probably need a jQuery solution.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.