![]() |
PM System
I've finally finished my updates to the PM System. Unfortunately, these were massively deep edits, so I cannot possibly remember all my little tweaks to assist people in overhauling their own.
Finished: PM System
You'll notice I did away with drafts as a feature, because, well... Why do we really need that? And I was SUPER tired of CKEditor, so I decided to switch over to WYSIHTML5 for Bootstrap 3. I can give you a hint for that change over, at least: In view/messagesview.php, in the newpm() function, find: PHP Code:
PHP Code:
I've thoroughly checked it for security holes like script injection and it seems just as secure! *thumbs up* There was only one issue I had, where whitespace was being deleted around formatted areas. I fixed the problem inside classes/class_privatemessage.php, by modifying the format() function: PHP Code:
※ The Reply button, as it exists by default, lacks some functionality. If you want your Reply page to not only remember the user's name but the topic and message, check out this thread because I managed to get some help achieving that. |
Novul seems to be coming along beautifully! Looks like you were very successful in the PM system overhaul!
|
I concur with Abronsyth, looking very nice Kyttias!
|
Well it does look very nice, I see you were using JQuery-AJAX. Congratulations. ^^
|
No Ajax for that, actually. I just popped in an instant header change on the server side where the confirmation page would have been. The page reloads so fast you can't tell it happened.
|
So... I uploaded my site to a live server and everything's carried over just fine after a few tweaks... except... the GD image manipulation I'm using to merge pet image layers is SUPER SLOW. Like, I'm going to need to find an alternative way of generating pet images, that's how SLOW it is. D;
I think I'll be looking into HTML5 Canvas next... |
I'm glad the transfer went well! I wonder why the image manipulation is going so slowly? I wish you good luck figuring it out, regardless!
|
I've decided that I'll just save images for each individual pet once they've been generated at creation. Most saved pet images are weighing between 40kb~120kb. If each user has ~50 pets, I'm looking at 5 to 8 GB of diskspace needed once I reach 2000 users. This is not ideal, but I really don't have any other viable options at the moment.
However, during the beta period, I plan on having a hard cap of 200 users, which will at least bide me time to find a place to host my site. Once I hit a certain level of popularity, though, I'm going to be screwed unless I find some place with a hefty diskspace allowance and unlimited inodes. In other news, I've got an artist I trust to help me out. For now, it's just with item art. In the future she'll also be helping with pet decorations, designer skins, and patterns. http://orig14.deviantart.net/5e23/f/...as-d9loyk8.png We'll launch with 18 colors, plus three more hidden alterations - albinism, melanism, and a mottled monochrome that will happen extremely rarely if genetics line up just right and the Novu gets both albinism and melanism. I'm definitely on schedule to invite some of you to help test starting in the spring~! :usedusedused: |
Oooh those bottles are so shiny and nice! Lovely artwork, glad you found someone to help out!
|
I really am excited for Novul!
|
All times are GMT -5. The time now is 04:59 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.