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
Features / Re: New revs
« on August 30th, 2023, 05:42 PM »
Quote from Nao on March 23rd, 2021, 03:20 PM
So, apparently there were some changes internally at github and they deleted the webhook for Wedge. I reinstalled it, and it didn't work. I had to rewrite some parts of the code to allow it to go through. I don't know if anyone's interested in getting the updated code? If no one is, there isn't much of a reason for me to commit the changes (for some reason, my local plugin repo was deleted.)
perhaps you and I could compare code

https://gist.github.com/live627/68345dfb22756a9d16dc81aa800780a1
2
The Pub / Re: Wedge&PHP 7
« on August 29th, 2023, 04:41 PM »
Quote from Kian on July 27th, 2023, 09:54 AM
, I'm thinking about migrating to another forum solution but did not find any working export tool.
I think the only converter away is to Elkarte. I have absolutely no idea if it still works.
3
Bug reports / Re: Possible bug with custom fields
« on January 10th, 2020, 11:58 PM »
Eh, the code is what I did to keep the logs quiet.

And I did not send anything to the repo. This was on AeMe on SMF, so I have no idea if the code is even valid for Wedge.
4
Bug reports / Possible bug with custom fields
« on February 1st, 2019, 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);
  }
5
Plugin Support / Re: Github plugin problem
« on November 16th, 2014, 07:30 AM »
Moved to Plugin Support
6
Bug reports / Re: From Order... Chaos
« on July 29th, 2014, 07:29 AM »
MySQL and PHP version? Any board moderators?
7
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!
8
Archived fixes / Re: Post editor icons are gone
« on May 25th, 2014, 03:37 AM »
Then I'll move it out.
9
Archived fixes / Re: Post editor icons are gone
« on May 25th, 2014, 02:21 AM »
cleveer....
10
Plugins / Re: Calendar Plugin
« on May 25th, 2014, 02:19 AM »
No... see, the calendar button is misplaced now.
11
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
12
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
13
Archived fixes / Credits page
« on May 11th, 2014, 02:03 AM »
It has a serious drinking problem.

See attachment..
14
Archived fixes / Menu bug
« on May 11th, 2014, 01:58 AM »
I only see [Home] and [Profile] here on this site.
15
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