Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Dragooon
526
Plugins / Re: Settings page integration
« on March 20th, 2012, 03:01 PM »
You know.....I didn't expect this to be implemented, let alone working just fine...I just realised that you actually went ahead with it and dropped the admin area hooks :P
527
Plugins / Re: Settings page integration
« on March 20th, 2012, 02:38 PM »
Hey, this actually works! :D. Great!
528
Plugins / [Plugin] Improved attachments upload
« on March 20th, 2012, 11:10 AM »
A quick little plugin, this takes advantage of modern browser's ability to upload via XHR(AJAX). Features :

- Supports multiple selection, drag and drop into attachments area
- Shows progress of the current upload
- Supports client side validation of attachments including file size

Note that these features will only work on modern browsers with support of XHR upload, for older browsers it will resort back to default behavior.

Thanks :)
529
Plugins / Re: Yet another: PM flash
« on March 20th, 2012, 08:30 AM »
Nice! Can you make it jump in 3D?
530
Archived fixes / [Bug] Re: Select menu is slightly broken on touch screens
« on March 19th, 2012, 03:47 PM »
This isn't exactly ideal, and it will lag a lot on touch devices. But it scrolls

Code: (At the end of ScrollBar function in sbox.js) [Select]
$dd[0].addEventListener('touchmove', function (e)
{
scrollTo(startPos - e.touches[0].pageY + iTouch);
e.preventDefault();
});
$dd[0].addEventListener('touchstart', function (e)
{
iTouch = e.touches[0].pageY;
startPos = parseInt($thumb.css('top') || 0);
});
531
Features / Re: Number of posts per page
« on March 19th, 2012, 03:10 PM »
I did not realize that such a feature existed, interesting. I do not care for this, and hence, shall be burnt to oblivion.
532
Quote from Pandos on March 19th, 2012, 10:39 AM
Perhaps we need to reimplement the "report to moderator " button or something else to get rid of spammers...
It's there under "More" on the top buttons.
533
Archived fixes / [Bug] Re: Select menu is slightly broken on touch screens
« on March 19th, 2012, 07:41 AM »
Quote from Nao on March 18th, 2012, 10:41 PM
I don't think it's possible toake it scroll. We mentioned that elsewhere today iirc. The solution is to avoid restraining height but I haven't got time to work on the select box right now.
As for tripping up you mean having it cut off on the right yeah? It's also another thing I always forget to fix. It's easy enough, I just need to reduce the left margin by the same amount of pixels.
It'll require some tricky scrolling code to make it scrolling, can't you drop the HTML from options when using the native select?
534
Archived fixes / [Bug] Re: Select menu is slightly broken on touch screens
« on March 17th, 2012, 09:28 PM »
Wouldn't a safer bet be to let native select menus be used on touch devices? Just test for
Code: [Select]
var isTouch = 'ontouchstart' in document.documentElement;
535
Archived fixes / [Bug] Select menu is slightly broken on touch screens
« on March 17th, 2012, 09:12 PM »
The select menu doesn't respond to scrolling on touch screen devices
536
Off-topic / Re: OMG! How can I download this!!!!!!!!
« on March 17th, 2012, 08:59 PM »
Quote from die2mrw007 on March 17th, 2012, 08:43 PM
Its leaked here Download :D
This post is fail.
537
Features / Re: Brave new world
« on March 16th, 2012, 07:42 AM »
I've been constantly refreshing to see this site running Wedge.
538
* Dragooon loves Jackie Chan comedy-actions
539
Features / Re: Multiple default skins?
« on March 15th, 2012, 09:10 AM »
That level of checking can be best done via CSS media queries. I treat Note as a mobile device and let my theme handle the splitview or single view dilemma, since at the end of the day it's a touch device. Here's the code that I use

Code: [Select]
$user_agents = array(
array('iPhone', 'iphone'),
array('iPod', 'ipod'),
array('iPad', 'ipad'),
array('PocketIE', 'iemobile'),
array('Opera Mini', isset($_SERVER['HTTP_X_OPERAMINI_PHONE_UA'])),
array('Opera Mobile', 'Opera Mobi'),
array('Android', 'android'),
array('Symbian', 'symbian'),
array('BlackBerry', 'blackberry'),
array('BlackBerry Storm', 'blackberry05'),
array('Palm', 'palm'),
array('Web OS', 'webos'),
);

foreach ($user_agents as $ua)
{
$string = $ua[1];
if ((is_bool($string) && $string == true) || (strpos(strtolower($_SERVER['HTTP_USER_AGENT']), $string)))
/** Do mobile theme stuff **/
}
540
Features / Re: Multiple default skins?
« on March 15th, 2012, 08:58 AM »
I have a fairly simple mobile detection code that doesn't take more than 30 lines. Not really extensive but works fairly well.