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
1
Bug reports / Possible bug with custom fields
« on February 1st, 12:54 AM »
  • Create a custom field in the gallery
  • Make it a checklist
  • Make it required
  • Make it searchable
  • Edit an item, don't fill that field
  • Observe errors when saving
Code: [Select]
// Add them to the form
  foreach ($fields as $field)
  {
- if ($field['type'] == 'checkbox')
+ if ($field['type'] == 'checkbox' && empty($field['searchable']))
  $field['value'] = explode(', ', $field['value']);
 
  // Options...
  $value = isset($_POST['custom_field'][$field['id']]) && (is_array($_POST['custom_field'][$field['id']]) || trim($_POST['custom_field'][$field['id']]) != '') ? $_POST['custom_field'][$field['id']] : '';
 
+ // JTR: preparsecode() corrupts the array by converting it to a string.
+ if (isset($_POST['custom_field'][$field['id']]) && !is_array($_POST['custom_field'][$field['id']]))
- preparsecode($value);
+ preparsecode($value);
 
  // Do the value checks
  if ($field['type'] == 'checkbox')
  {
- foreach ($value as $val)
- if (!in_array($val, $field['options']))
- fatal_error(sprintf($txt['aeva_cf_invalid'], $field['name']));
-
  // Nothing set?
  if (empty($value) && $field['required'])
  fatal_error(sprintf($txt['aeva_cf_empty'], $field['name']));
  elseif (empty($value))
  continue;
 
+ foreach ($value as $val)
+ if (!in_array($val, $field['options']))
+ fatal_error(sprintf($txt['aeva_cf_invalid'], $field['name']));
+
  // Set the proper value
  $value = implode(', ', $value);
  }
2
Plugin Support / Re: Github plugin problem
« on November 16th, 2014, 07:30 AM »
Moved to Plugin Support
3
Bug reports / Re: From Order... Chaos
« on July 29th, 2014, 07:29 AM »
MySQL and PHP version? Any board moderators?
4
Development blog / Re: Alphababy!
« on July 15th, 2014, 06:03 AM »
You must be proud and very happy of your little bundle of joy! Take care!
5
Archived fixes / Re: Post editor icons are gone
« on May 25th, 2014, 03:37 AM »
Then I'll move it out.
6
Archived fixes / Re: Post editor icons are gone
« on May 25th, 2014, 02:21 AM »
cleveer....
7
Plugins / Re: Calendar Plugin
« on May 25th, 2014, 02:19 AM »
No... see, the calendar button is misplaced now.
8
Plugins / PM Auto Respond
« on May 14th, 2014, 09:34 PM »
This plugin functions similar to a vacation responder in that it sends a PM to a user who sent a PM. The message and subject are customisable, so the auto PM can be totally unique.

Depending on certain criteria found in the incoming message, you can create different variations for auto response. This feature is very similar in nature to the PM Rules in SMF 2.

More info + purchase: http://wedge.livemods.net/index.php?action=media;sa=item;in=34
9
The Pub / Re: Hosting
« on May 12th, 2014, 03:12 AM »
http://www.geekstorage.com/web-hosting/comparison.html -- I have the Pro package. I think the server's in Chicago, Illinois. Hosts http://livemods.net/index.php
10
Archived fixes / Credits page
« on May 11th, 2014, 02:03 AM »
It has a serious drinking problem.

See attachment..
11
Archived fixes / Menu bug
« on May 11th, 2014, 01:58 AM »
I only see [Home] and [Profile] here on this site.
12
Ref: http://dev.simplemachines.org/mantis/view.php?id=4940

How to reproduce;
1) Change your display name to user0 "first" blablabla
2a) Try to send pm to user0 "first" blablabla
2b) Do not use the auto suggest
3) Click send
13
Plugin Support / Re: add_js + </ul>
« on April 29th, 2014, 07:27 AM »
Working here as is with nothing in firebug .
14
Features / Re: New revs - Public comments
« on April 5th, 2014, 04:14 AM »
Quote
Removing the 'Posterity' link on your thoughts if they're not public.
Am I the only one who used that on a "self" thought?
15
Off-topic / Re: Post count fever
« on March 31st, 2014, 07:46 AM »
31415926 :P