Search found 53 matches

by DionDesigns
Thu Jul 05, 2012 7:35 pm
Forum: [3.0/Olympus] Discussion
Topic: Fix Post textarea
Replies: 19
Views: 47145

Re: Fix Post textarea

Add this to your CSS, and problem solved:

Code: Select all

textarea {resize: none;}
Should it be the default in phpBB? Don't know, don't care. I always use the above rule to stop the user from manually resizing textarea elements.
by DionDesigns
Wed Jun 13, 2012 6:26 pm
Forum: [3.x] Discussion
Topic: Avatar serverside resize
Replies: 25
Views: 42654

Re: Avatar serverside resize

I probably should mention that image resizing requires a LOT of memory. While it's probably not an issue with avatars, it most likely will be with attached images. Adding the following line to the start of posting.php and ucp.php should eliminate most of those issues: ini_set('memory_limit','128M');...
by DionDesigns
Wed Jun 13, 2012 8:52 am
Forum: [3.x] Discussion
Topic: Avatar serverside resize
Replies: 25
Views: 42654

Re: Avatar serverside resize

Open /includes/functions_user.php and locate the following line (~ line 2078): $prefix = $config['avatar_salt'] . '_'; Insert BEFORE the above line: $file->resize($config['avatar_max_width'], $config['avatar_max_height']); Add this function to includes/functions_upload.php (I put it just before the ...
by DionDesigns
Tue May 01, 2012 6:50 am
Forum: [3.1/Ascraeus] Merged RFCs
Topic: [RFC|Merged] AJAX
Replies: 130
Views: 288195

Re: [RFC|Merged] AJAX

http://www.dion-designs.com/noscript.php - yeah. And then you have a js-animated something-or-other in the header. Nice. I could not find the registration link at all. Maybe it's hidden by my width adjustments? The appearing animation of topic list on the index page is a perfect example of throwing...
by DionDesigns
Sun Apr 29, 2012 11:27 pm
Forum: [3.1/Ascraeus] Merged RFCs
Topic: [RFC|Merged] AJAX
Replies: 130
Views: 288195

Re: [RFC|Merged] AJAX

I apologize if this has been mentioned before (I tried looking, but couldn't find it). Does this include "mark topics/forums read"? I ask because if I click that and then click the link to return to where I was, the topics get marked as read. However, if I let it sit there and let it go a...
by DionDesigns
Sun Apr 29, 2012 11:06 pm
Forum: [3.1/Ascraeus] Merged RFCs
Topic: [RFC|Merged] AJAX
Replies: 130
Views: 288195

Re: [RFC|Merged] AJAX

Here are replacement files/functions that "untangle" the "spaghetti code". Javascript functions: function set_ajaxbox() { var elem = document.getElementById('msg-ajax'); elem.style.backgroundImage='none'; center_box(elem); } $(function() { if (goodbrowser) { $('[data-ajax]').each...
by DionDesigns
Fri Apr 27, 2012 5:11 am
Forum: [3.1/Ascraeus] Merged RFCs
Topic: [RFC|Merged] AJAX
Replies: 130
Views: 288195

Re: [RFC|Merged] AJAX

Thank you for your input...that is all I asked. 1. By "core" I mean the .php files, and to a lesser extent the support javascript files. 2. I can see why you would call what I did "spaghetti code", though it's really no more than a difference in philosophy. I don't believe in clu...
by DionDesigns
Wed Apr 25, 2012 11:45 pm
Forum: [3.1/Ascraeus] Merged RFCs
Topic: [RFC|Merged] AJAX
Replies: 130
Views: 288195

Re: [RFC|Merged] AJAX

Yes, in a large-scale production environment, the code should be using data-* attributes. However, the attributes I'm using work just fine, and should continue to work fine into the forseeable future. Just because it works, doesn't mean its correct. Please do read spec: http://www.whatwg.org/specs/...
by DionDesigns
Tue Apr 24, 2012 11:34 pm
Forum: [3.1/Ascraeus] Merged RFCs
Topic: [RFC|Merged] AJAX
Replies: 130
Views: 288195

Re: [RFC|Merged] AJAX

Yes, in a large-scale production environment, the code should be using data-* attributes. However, the attributes I'm using work just fine, and should continue to work fine into the forseeable future. I suppose the big difference in my method is it adding "ajaxify" support to specific temp...
by DionDesigns
Mon Apr 23, 2012 4:03 am
Forum: [3.1/Ascraeus] Merged RFCs
Topic: [RFC|Merged] AJAX
Replies: 130
Views: 288195

AJAX Alternative (Part III)

In any template, if you want to have a tag "ajaxified", you must add a data-ajax attribute to the tag. For links, you would add data-ajax="" . For <input type="submit" tags, you would add the following: data-ajax="(formid)" data-action="(formaction)"...