Recent content by latimer

  1. latimer

    Fixed User Group Promotion Log Query Forgotten After First Page

    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.
  2. latimer

    Custom BB Code Manager

    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?
  3. latimer

    [XFR] User Albums

    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.
  4. latimer

    [XFR] User Albums

    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.
  5. latimer

    Browser issue Member Card Style Issue

    I tested on a fresh install with no ads/add-ons or anything and still had the issue.
  6. latimer

    Browser issue Member Card Style Issue

    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...
  7. latimer

    Fixed Staff Ignored Before Promotion

    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...
  8. latimer

    Custom BB Code Manager

    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...
  9. latimer

    XF 1.1 The Happy Place v3 - Smilies not showing up

    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...
  10. latimer

    Duplicate Viewing full-size images with transparent background in posts

    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...
  11. latimer

    Fixed Usergroup Promotion Cron Running Out of Memory

    That works great Jake, thanks! I'm not yet having any problems with my trophy cron, but here's the modified file with Jake's fix if anyone needs it.
  12. latimer

    Fixed Usergroup Promotion Cron Running Out of Memory

    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...
  13. latimer

    Fixed Usergroup Promotion Cron Running Out of Memory

    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...
  14. latimer

    [XFR] User Albums

    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...
  15. latimer

    [XFR] User Albums

    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...
Top Bottom