In the Promotion History Log in Admin, if you try to search for a certain type of promotion then navigate to the second page in the search, your query is lost and you're now viewing all user group promotions.
I just upgraded to 1.3 and it seems that clicking show on a spoiler opens all of its children. Can we have it reverted to the old behavior where it only opens the one you click on?
Yeah it does seem like a bug. If you want to change that behavior you can modify all instances of WHERE `album`.album_type = "public" in XfRu_UserAlbums_Model_Images to WHERE `album`.album_type != "private" The specific line you'd be interested in is 217, which deals with the random images.
Albums that aren't public or are awaiting moderation aren't shown in the random images block. Check that those albums don't fall into one of those categories.
I have OS X Lion, Windows 7 and Ubuntu 12.04 and OS X is the only one I see the issue in sometimes in Chrome 21. It only happens on the first page load and subsequent loads are usually working fine. I can reproduce it more reliably by clearing the browser cache then loading the page, but even...
If a user has ignored someone who is later promoted to a staff position, the ignore will still be in effect. It seems like ignore settings should not take effect on staff members at all since users aren't supposed to be able to ignore staff. Also by keeping the actual setting itself intact...
There is a small bug in the user tag code. It appears that XF's bbcode parser passes $tag['children'][0] as array if it finds mismatched tags. This causes getUserIdFromUser() and getUserByName() to throw exceptions, however XenForo_BbCode_TextWrapper::__toString() can't throw exceptions so the...
Not exactly the most graceful fix, but this should allow you to use both individual images and sprites with the add-on.
In the "happy_place" template find:
var smilieFile = DOM.encode(smilie[1]),
smilieTitle = DOM.encode(smilie[0]),
smilieCode = DOM.encode(smilieName),
smilieLink = '<img...
If you post an image that has a transparent background and click to enlarge it, the smaller version is still visible beneath the full-size image. This can have some strange effects if the image is only slightly larger than the width of the post.
Resized version in post
Result when you click...
Sorry, I was referring to the rebuild caches page:
I know those are two ways to fix it, but those are just temporary and I'd have to keep changing those values as my board grows. There are boards that are much larger than mine, such as IGN's forum, and in those cases the usergroup promotion...
Recently I noticed that my automatic usergroup promotions stopped working for no apparent reason. I checked the error logs and the script is running out of memory when it is executed. I have roughly 100K registered accounts, of which about 20K are active within the last 3 days and therefore are...
This is my modified function from XfRu_UserAlbums_Model_Images
public function getRandomImages()
{
$max_id = $this->_getDb()->fetchOne('SELECT MAX(image_id) FROM xfr_useralbum_image');
$limit = XenForo_Application::get('options')->XfRu_UA_displayImages;
$rand_count = $limit * 3...
The RAND() query actually started caused the loading time on my index page to slow way down as more images were added. One way you can mitigate the performance issue is explained in this blog post.
This still didn't reduce the loading time enough in my case though. The way I did it is a bit of...