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
511
Plugins / [Plugin] Re: Facebook for Wedge
« on March 23rd, 2012, 02:04 PM »
Quote from Arantor on March 23rd, 2012, 02:02 PM
Like/unlike has a hook... :whistle:
That's for external likes(Which I know nothing about). There's no hook when a message gets liked.
512
Plugins / [Plugin] Re: Facebook for Wedge
« on March 23rd, 2012, 01:40 PM »
I need a hook for that :P
513
Plugins / [Plugin] Re: Facebook for Wedge
« on March 23rd, 2012, 09:05 AM »
Quote from Arantor on March 23rd, 2012, 08:48 AM
Wow, simply wow.
Thanks :D
514
Plugins / [Plugin] Facebook for Wedge
« on March 23rd, 2012, 08:22 AM »
Because there had to be one, fairly basic plugin for Wedge. Aims at providing simple integration with Facebook.

Current features:
- Facebook logging in and quick registering
- Real time callback updates of name and birthdate
- Publishing new topics to wall
- Publishing new thoughts to wall
- Posting new status updates as thoughts

Requires a simplistic setup which will not take more than 5 minutes, instructions will be posted once it's released.

Screenshots attached.
515
Plugins / Re: Hooks for thoughts
« on March 21st, 2012, 10:10 PM »
Quote from Arantor on March 21st, 2012, 10:04 PM
So, before/after posting, before/after editing, deleting, anything else?
I doubt we got anything else left for thoughts.
516
Plugins / Re: Hooks for thoughts
« on March 21st, 2012, 10:02 PM »
Quote from Arantor on March 21st, 2012, 10:02 PM
The before hook would mostly be for altering content before saving it for some reason...
I thought about that, can be useful I guess.
517
Plugins / Re: Hooks for thoughts
« on March 21st, 2012, 09:59 PM »
Added, edited, deleted would be nice. After mostly, can't see much use for a before hook.
518
Plugins / Hooks for thoughts
« on March 21st, 2012, 09:39 PM »
Would it be possible to have hooks when thoughts are published?
519
Plugins / Re: Improved attachments upload
« on March 21st, 2012, 02:21 PM »
Quote from Arantor on March 21st, 2012, 10:47 AM
As I understand it, it would need to be rewritten again to work with the attachment uploader currently in Wedge (which, you'll notice, is not the same one SMF has)
The uploaders are fairly similar(This one is mostly based on the current one in Wedge) but I had to overwrite the current JS events to better fit the bill. But yeah, it will require some working to make use of the current Wedge functions. I find it better as a plugin anyway. Not everything should be in core by default :P
Posted: March 21st, 2012, 02:20 PM
Quote from Antes on March 21st, 2012, 09:42 AM
Agree. It could be good if it in core with (Not working? Try simple uploader) -mode-
In all honesty, "Not working? Try..." type things are the worst. It should not be left for the user to decide what to do. Why tease them with a feature which will not work. eh?
520
Archived fixes / Re: It's all gone horribly French!
« on March 20th, 2012, 09:03 PM »
Blame Nao :P
521
Features / Re: Duplicate post detection?
« on March 20th, 2012, 05:56 PM »
Quote from Arantor on March 20th, 2012, 05:53 PM
Would it be worth making as a plugin first to see how well received it is?
Yes...MOAR PLUGINS!
522
Quote from Arantor on March 20th, 2012, 03:35 PM
Not really, no. It's trying to pull from cache, and if the cache is empty (wherein it expressly returns null) or if the cache TTL has expired, it re-gathers everything, otherwise it loads from cache.

Not sure why it's throwing an error for you though, that's a bit weird.
It's returning false for an odd reason.
523
Oh, this was on my localhost not here.
524
Archived fixes / Fatal error: Unsupported operand types in Load.php
« on March 20th, 2012, 03:32 PM »
Not sure what to make of this but suddenly I got this error after logging out after enabling a plugin :
Fatal error: Unsupported operand types in /usr/local/zend/apache2/htdocs/wedge/trunk/Sources/Load.php on line 474

Investigating further the line is
Code: [Select]
$user_info += $temp
Whereas $temp is false. In the above "if" the comparison is being made as
Code: [Select]
if ($temp === null...
which seems to be wrong
525
Plugins / Re: Settings page integration
« on March 20th, 2012, 03:12 PM »
I don't happen to be a good reader :P. I bumped into this while trying to figure out where to add the settings. Regardless, it's a pretty handy feature for quickly adding in a neat settings page. Thanks :).