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 - live627
361
Archived fixes / Re: Moderation filters "function" param wroong
« on November 25th, 2012, 01:40 AM »
No. They are all inside a switch statement, all the built in rules are defined in cases, and none use that specific parameter.

The only occurrence of the param I'm seeing is in the default block.
362
Archived fixes / Moderation filters "function" param wroong
« on November 25th, 2012, 01:00 AM »
Index: I:/repos/arantor_wedge/trunk/Themes/default/ManageModeration.template.php
===================================================================
@@ -117,7 +117,7 @@
                   break;
                default:
                   if (!empty($rules['function']))
-                     $print_criteria[] = $rules['function']($criteria);
+                     $print_criteria[] = $criteria['function']($criteria);
                   else
                      $print_criteria[] = $txt['modfilter_cond_unknownrule'] . ' ' . $criteria['name'];
             }

Posted: November 25th, 2012, 12:58 AM

http://wedge.org/pub/plugins/7711/maximum-images-per-post/msg283603/#msg283603
363
Plugins / Re: Maximum Images Per Post
« on November 25th, 2012, 12:59 AM »
Quote from Arantor on November 24th, 2012, 03:52 PM
Also looks like you missed a language string...
See bug report
364
Plugins / Maximum Images Per Post
« on November 24th, 2012, 11:53 AM »
This is a very simple plugin that bakes cheesecake and apple pie. [1] Actually, it extends the new Moderation filters to be able to limit the number of images embedded within a post. This could be probably done with a complex regex and without the need of a plugin, but that requires more skill than I currently have. Plus it's more user friendly this way. Plus now we have a plugin made that expands this lonely area.. Plus it's after three. Plus I should be  in bed. Plus... hey, don't throw that plate at me!

I got this idea when I saw a support topic at SM asking about such, and was bewildered when the truth was revealed[2].

Implementing this was dead easy. Three lang strings, a template (yes, one sub-block), one hook. Took more time to research (!) this than  to actually write it up!
 1. Oh, I'm thinking about food  again, aren't I,,, hope everyone had a great Thanksgiving!
 2. No such facility exists!
365
Archived fixes / Re: Editor method add_button does not set button class
« on November 21st, 2012, 05:13 AM »
Yes, it should be optional.

Sucks about the fan. Especially if it's a CPU fan.
366
Archived fixes / Editor method add_button does not set button class
« on November 21st, 2012, 04:59 AM »
Title says it all I think.
367
Features / Re: Calendar
« on November 19th, 2012, 05:25 AM »
Quote
Never assume :P
Because when you assume, you're always wrong. :P

Oh, wait, that was pessimistic...
368
The Pub / Re: Practical plugins problem with WeCSS
« on November 16th, 2012, 08:28 AM »
WTF, one per member? LOL
369
Off-topic / Re: Facebook addict
« on November 16th, 2012, 01:19 AM »
Quote from Nathan Sparrow on November 15th, 2012, 04:15 PM
4%
How the hell did you get that??
370
Plugins / Re: Request for 'Media Album Custom Fields' plugin
« on November 16th, 2012, 01:17 AM »
There are no hooks for media
371
Archived fixes / Re: Moving text within a post
« on November 15th, 2012, 02:54 AM »
I think I've fixed it... please review this small patch https://github.com/live627/MultiAttach/commit/59bea5ff6ccc53836e922e92a318b887fae4f4cb
372
Off-topic / Facebook addict
« on November 14th, 2012, 10:54 PM »
http://theoatmeal.com/quiz/facebook_addict

I scored 16. What's yours?
373
The Pub / Re: Practical plugins problem with WeCSS
« on November 14th, 2012, 09:00 AM »
Quote
you don't want to potentially make exponential CSS files to cover for each combination of plugin where the files are loaded (three plugins will potentially generate 8 variations of everything)
Is that a problem? IIIRC, each variant is stored inside its own folder. Although, it'll mean many folders... what am I missing?
374
Bug reports / Re: MedIa thumbnail does not update
« on November 10th, 2012, 07:06 PM »
Tried on here just now. All it does is get resized.
375
Features / Re: New revs - Public comments
« on November 10th, 2012, 07:04 PM »
Quote
! Fixed line breaks being turned to HTML tags in album descriptions. Well, that was an unexpected bug... And the fix is even less expectable. Please test. (Aeva-Gallery.php)
Hells yeah it's been fixed!! :yahoo: