We use the php wrapper function of Zend to regsiter S3. The following gets put into our index.php/admin.phpS3 how?
require_once 'Zend/Service/Amazon/S3.php';
$s3 = new Zend_Service_Amazon_S3('aws_key', 'aws_secret');
$s3->registerStreamWrapper("s3");
Nice idea. However, I would suggest you to consider using an add-on from us: [bd] Data Storage which does basically what you need + offer caching for remote file stats so your server won't have to make S3 call every time a file is checked etc. Regarding the rename method, it will be updated in future version. Please do a manual edit for now.We use the php wrapper function of Zend to regsiter S3. The following gets put into our index.php/admin.php
Code:require_once 'Zend/Service/Amazon/S3.php'; $s3 = new Zend_Service_Amazon_S3('aws_key', 'aws_secret'); $s3->registerStreamWrapper("s3");
And then we define relevant external data paths in config, so that Xenforo uses S3 for external data with no other modifications needed, hwoever "rename" desn't work across wrappers, hence why the use of 'rename' was replaced with "XenForo_Helper_File::safeRename" As an example, XF had 'rename' replaced with "XenForo_Helper_File::safeRename" in the upgrade from 1.2.x to 1.3.x in XenForo_Model_Avatar::_writeAvatar
Visit Style Properties.Is it possible to show a user's medal on sidebar right under where the avatar is?
In the addon options page you can order by date added, medal id, etc. Just select the one you want.@xfrocks users are able to arrange medals in the order they choose through their profile?
How do I prevent this? If not possible please add an option to prevent this and revert back to proper order.
I already have: http://i.imgur.com/T33v0QY.png However users are still able to alter their arrangement via profile page.In the addon options page you can order by date added, medal id, etc. Just select the one you want.
Looks like a bug. I will check and get back to you.Another update:
Adding another member to the same medal refreshed the awards list so all awardees are now shown. So, that's at least a workaround.
... but, when I went to remove (reverse?) an award by clicking the "x" to the right of the award, I got this error:
View attachment 75783
When I go into the "Controls" pulldown I get the option to reverse the award. Clicking on that I get the page that says "Confirm Reversal of Award"
When I do that, I get this error:
"Error
The requested user could not be found."
http://xenforo.com/community/threads/bd-medal.35270/page-21#post-775902Looks like a bug. I will check and get back to you.
Looks like a bug. I will check and get back to you.
I haven't been able to reproduce your issue but I can think of one issue with old files. Please try re-uploading the files (download the zip package again from xenforo.com) and do that again.Thank you @xfrocks ! Let me know if you need any other information or anything. It's really odd that I can't remove medals from any of the accounts no matter what I do (I'm still on xF 1.3.0 in case that's potentially an issue)
We use essential cookies to make this site work, and optional cookies to enhance your experience.