Jump to content

Bluto

Members
  • Posts

    1,194
  • Joined

  • Last visited

  • Days Won

    4

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Bluto

  1. Gallery pop-up selection box.  Box that pops-up when you want to add an image.

    /* Gallery Popup Selection Box */
    .cGalleryChooseAlbum_listItem {
    	background: #191b21;
    	border: 1px solid #0e0f12;
    }
    .cGalleryChooseAlbum_listItem:not([data-disabled]):hover {
    	border-color: (add you own color here this is the border when you hover a selection);
    }

     

  2. Is it possible to remove the blocks which are being used on the LD app main page so they don't show up in the Clubs?  All the other apps / features I'm using in the club (forum, videobox, gallery, blog) don't have the blocks I use in the respected apps.  LD is the only one which has all the blocks from main LD app page.  If I remove any of the blocks from the LD clubs page, it removes them from the main LD page.

    Is there a setting or template I could modify so that the blocks from the main LD page won't show up in clubs?

    Thanks!

  3. @MIXOH There was an issue with this plugin when I tried to react to one of @onlyME VideoBox app videos.  It would give an error.

    @onlyME found the issue and gave me the fix below.

    Quote

     

    It makes reactions from 3rd-party apps not work with the error message:

    This reaction is not available for publication of this member

    Error code: PLUGIN - (MIX) ADVANCED REACTION SETTINGS/9

     

    I just checked the code, they use $author = $item->member_id;  to get the member id, but there are some apps that don't use the column 'member_id' so the plugin makes the confliction. In this case, you can open the xml file and find

    
    $author = $item->member_id;

    Replace by

    
    $author = $class::$databaseColumnMap['author'];

    Save and import it again to fix the problem.

     

    Big thanks to @onlyME for finding it and providing a fix.  💪

  4. Reddit embeds looked horrible (nasty white border and heading text was black).

    The CSS for the embed isn't available, so the only thing I could do was make the iframe background white.  Once I did that it looked normal.

    /* Embed Reddit Specific */
    iframe[data-embedid] { background-color: #fcfcfc !important;}

    EDIT

    PLEASE NOTE:  This didn't really work too well.  You might want to play around with this before production use.

  5. No the record wasn't added.  The user contact me saying he got an error.

    I haven't noticed this error before, though I have seen a few CURL errors, but since I didn't get a report I didn't investigate it further.

    I just notice that 2 minutes before the error I posted above, the user got the error below, not sure if it's related.

    Error: Call to a member function contents() on null (0)
    #0 /home/nginx/domains/xxx.com/public/system/Helpers/Form/FormAbstract.php(377): IPS\links\Screenshot\Api\_Upload->IPS\links\Screenshot\Api\{closure}(NULL)
    #1 /home/nginx/domains/xxx.com/public/system/Helpers/Form/Upload.php(739): IPS\Helpers\Form\_FormAbstract->validate()
    #2 /home/nginx/domains/xxx.com/public/system/Helpers/Form/FormAbstract.php(165): IPS\Helpers\Form\_Upload->validate()
    #3 /home/nginx/domains/xxx.com/public/system/Helpers/Form/FormAbstract.php(142): IPS\Helpers\Form\_FormAbstract->setValue(true)
    #4 /home/nginx/domains/xxx.com/public/system/Helpers/Form/Upload.php(151): IPS\Helpers\Form\_FormAbstract->__construct('link_image', NULL, '1', Array, Object(Closure), NULL, NULL, 'link_image')
    #5 /home/nginx/domains/xxx.com/public/applications/links/sources/Screenshot/Api/Upload.php(47): IPS\Helpers\Form\_Upload->__construct('link_image', NULL, '1', Array, Object(Closure), NULL, NULL, 'link_image')
    #6 /home/nginx/domains/xxx.com/public/applications/links/sources/Link/Link.php(713): IPS\links\Screenshot\Api\_Upload->form()
    #7 /home/nginx/domains/xxx.com/public/system/Content/Item.php(152): IPS\links\_Link::formElements(NULL, Object(IPS\links\Category))
    #8 /home/nginx/domains/xxx.com/public/system/Content/Item.php(102): IPS\Content\_Item::buildCreateForm(Object(IPS\links\Category))
    #9 /home/nginx/domains/xxx.com/public/applications/links/modules/front/links/submit.php(83): IPS\Content\_Item::create(Object(IPS\links\Category))
    #10 /home/nginx/domains/xxx.com/public/system/Dispatcher/Controller.php(85): IPS\links\modules\front\links\_submit->submit()
    #11 /home/nginx/domains/xxx.com/public/applications/links/modules/front/links/submit.php(28): IPS\Dispatcher\_Controller->execute()
    #12 /home/nginx/domains/xxx.com/public/system/Dispatcher/Dispatcher.php(152): IPS\links\modules\front\links\_submit->execute()
    #13 /home/nginx/domains/xxx.com/public/index.php(13): IPS\_Dispatcher->run()
    #14 {main}
    #0 /home/nginx/domains/xxx.com/public/init.php(894): IPS\_Log::log('Error: Call to ...', 'uncaught_except...')
    #1 [internal function]: IPS\IPS::exceptionHandler(Object(Error))
    #2 {main}

    Just check to make sure I hadn't modified any templates, they are all stock.

  6. One of my users had an issue adding a link to the links directory.  I logged in as the user and added the link without an issue.  Below is the error he got.  Not sure what happened, but I wanted to let you know just in-case it was an issue.

    I have my links directory image settings Thumbnails API to only allow Upload.

    IPS\Http\Request\CurlException: Resolving timed out after 10000 milliseconds (28)
    #0 /home/nginx/domains/xxx.com/public/system/Http/Request/Curl.php(415): IPS\Http\Request\_Curl->_execute()
    #1 /home/nginx/domains/xxx.com/public/system/Http/Request/Curl.php(291): IPS\Http\Request\_Curl->_executeAndFollowRedirects('GET', NULL)
    #2 /home/nginx/domains/xxx.com/public/applications/links/sources/Link/Link.php(668): IPS\Http\Request\_Curl->get()
    #3 /home/nginx/domains/xxx.com/public/system/Helpers/Form/Url.php(207): IPS\links\_Link::IPS\links\{closure}(Object(IPS\Http\Url), NULL)
    #4 /home/nginx/domains/xxx.com/public/system/Helpers/Form/FormAbstract.php(165): IPS\Helpers\Form\_Url->validate()
    #5 /home/nginx/domains/xxx.com/public/system/Helpers/Form/FormAbstract.php(142): IPS\Helpers\Form\_FormAbstract->setValue(true)
    #6 /home/nginx/domains/xxx.com/public/system/Helpers/Form/TextArea.php(66): IPS\Helpers\Form\_FormAbstract->__construct('link_url', '', true, Array, Object(Closure), NULL, NULL, 'link_url')
    #7 /home/nginx/domains/xxx.com/public/system/Helpers/Form/Text.php(129): IPS\Helpers\Form\_TextArea->__construct('link_url', '', true, Array, Object(Closure), NULL, NULL, 'link_url')
    #8 /home/nginx/domains/xxx.com/public/applications/links/sources/Link/Link.php(675): IPS\Helpers\Form\_Text->__construct('link_url', '', true, Array, Object(Closure), NULL, NULL, 'link_url')
    #9 /home/nginx/domains/xxx.com/public/system/Content/Item.php(152): IPS\links\_Link::formElements(NULL, Object(IPS\links\Category))
    #10 /home/nginx/domains/xxx.com/public/system/Content/Item.php(102): IPS\Content\_Item::buildCreateForm(Object(IPS\links\Category))
    #11 /home/nginx/domains/xxx.com/public/applications/links/modules/front/links/submit.php(83): IPS\Content\_Item::create(Object(IPS\links\Category))
    #12 /home/nginx/domains/xxx.com/public/system/Dispatcher/Controller.php(85): IPS\links\modules\front\links\_submit->submit()
    #13 /home/nginx/domains/xxx.com/public/applications/links/modules/front/links/submit.php(28): IPS\Dispatcher\_Controller->execute()
    #14 /home/nginx/domains/xxx.com/public/system/Dispatcher/Dispatcher.php(152): IPS\links\modules\front\links\_submit->execute()
    #15 /home/nginx/domains/xxx.com/public/index.php(13): IPS\_Dispatcher->run()
    #16 {main}
    #0 /home/nginx/domains/xxx.com/public/init.php(894): IPS\_Log::log('IPS\\Http\\Reques...', 'uncaught_except...')
    #1 [internal function]: IPS\IPS::exceptionHandler(Object(IPS\Http\Request\CurlException))
    #2 {main}

     

  7. @InvisionHQ would it be possible to have an option to hide the club description on the Activity page when using your HOME page option.  What is happening is that the club description is showing up on the Activity page when the "Edit Club Settings" -> Description is populated.  I can leave the description blank which removed it from the Activity page, but then the Club Card has no description.  If the ability was there to remove the description from the Activity page, it would allow only the HOME page to contain information / description of the club while retaining the Club Card description.

  8. @onlyME I don't see any ability to change the amount of videos displayed in the clubs video section.

    You can set the videos per page for each category in the videobox app, but there is no setting to set the number of videos per page for the clubs category from what I can see.

  9. @InvisionHQ would it be possible to have an option to remove the members list in the sidebar when the "Display Club information" is located "In the header". 

    IMO it looks horrible to have that in the sidebar, when all my other club features / sections don't have that in the sidebar.  Added, IPS has decided to make that perm in the sidebar, I can't remove it without a code edit.

    There's a members tab for people who want to see members.

  10. @Makoto I believe there is an issue with Group Promotions when you select "Member has disposable e-mail?" and "Any" in the Group Promotion settings. 

    I've been trying to do a promotion from an inactive group to member group for people who haven't be online in awhile, but it doesn't work when set to "Any".  Only when I set it to "No" does it work.

  11. 22 minutes ago, onlyME said:

    Currently, it grabs the thumbnail from youtube automatically. Anyway, I will update an option enable/disable to require upload thumbnail.

    I just did a test and neither video it tried from youtube grabbed a thumbnail.  Below in the screen capture you can see the small box where the thumbnail should be.

    1448870400_Screenshotfrom2019-09-0515-05-32.png.d978f0d984f05db256ab4a71270bdefe.png

  12. Would it be possible to have videbox grab the youtube thumbnail when posting a youtube video OR the option to require that a thumbnail be uploaded?  I have so many people post youtube videos who don't upload a thumbnail since it's not required to add a thumbnail and there is no option that I can see to make it required. 

    Members post without the thumbnail and I have to either: 

    1.  Edit the video and add a thumbnail.

    2.  Delete the video and then the user gets mad at me.

    3.  PM the user to add a thumbnail before it's approved.

    All of the above take a lot of time especially when I have a lot of videos.

    Also, if you could add the video to the Site Moderation -> Approval Queue - if you test it you will see that only the title and description are shown.  This would allow users to see the video before approving the video.  Right now all I see is the title and description... without seeing the video it's hard to determine if the video is spam or not.

  13. For some reason IPS is putting the style outside of a class for ipsRichEmbed which is using a black stroke around the embed which you can hardly see.

    <div class="ipsRichEmbed" style="max-width:500px;border:1px solid rgba(0,0,0,.1);">

    I wasn't sure which color to use to stroke, maybe there is a better color to use than #333?

    /* Embed */
    .ipsRichEmbed {border:1px solid #333 !important};

     

  14. This one will adjust the background of the member list but not the leaders and moderators box (can't figure how to change that background because they are using generic classes).

    /* Clubs */
    #elClubControls .ipsTabs {background: #0a0b0d;}
    .ipsMemberCard {background: #0a0b0d; border: 1px solid #121418;}
    .cClubMemberStatus {background: #0a0b0d;}
    [data-controller="core.front.clubs.requests"] > .ipsAreaBackground {background: none;}

     

  15. In clubs -> members the background is white for each member.  The mods I made are below, but you might want to change to match your theme better.

    /* Clubs */
    #elClubControls .ipsTabs {background: #0a0b0d;}
    
    .ipsMemberCard {background: #121418; border: 1px solid #0a0b0d;}
    
    .cClubMemberStatus {background: #0a0b0d;}

     

  16. 1 hour ago, Adriano Faria said:

    @Bluto, you’re missing two columns. Uninstall and install it again. Both columns are added only on fresh install and upgrade from a specific version, which isn’t the case.

    Worked perfect.  Thanks!  🙂

  17. When I click on Manage Features as Admin I get this error:

    SELECT * FROM `core_clubs_node_map` AS `core_clubs_node_map` WHERE club_id=2 ORDER BY node_position ASC, id ASC
    IPS\Db\Exception: Unknown column 'node_position' in 'order clause' (1054)
    #0 /home/nginx/domains/xxx.com/public/system/Db/Select.php(373): IPS\_Db->preparedQuery('/*IPS\\core\\modu...', Array, true)
    #1 /home/nginx/domains/xxx.com/public/system/Db/Select.php(436): IPS\Db\_Select->runQuery()
    #2 [internal function]: IPS\Db\_Select->rewind()
    #3 /home/nginx/domains/xxx.com/public/init.php(816) : eval()'d code(563): iterator_to_array(Object(IPS\Db\Select))
    #4 /home/nginx/domains/xxx.com/public/system/Dispatcher/Controller.php(85): IPS\core\modules\front\clubs\hook1892->manageFeatures()
    #5 /home/nginx/domains/xxx.com/public/applications/core/modules/front/clubs/view.php(115): IPS\Dispatcher\_Controller->execute()
    #6 /home/nginx/domains/xxx.com/public/init.php(816) : eval()'d code(75): IPS\core\modules\front\clubs\_view->execute()
    #7 /home/nginx/domains/xxx.com/public/system/Dispatcher/Dispatcher.php(152): IPS\core\modules\front\clubs\hook1892->execute()
    #8 /home/nginx/domains/xxx.com/public/index.php(13): IPS\_Dispatcher->run()
    #9 {main}
    #0 /home/nginx/domains/xxx.com/public/init.php(894): IPS\_Log::log('SELECT * FROM `...', 'uncaught_except...')
    #1 [internal function]: IPS\IPS::exceptionHandler(Object(IPS\Db\Exception))
    #2 {main}

    I re-downloaded the file and uploaded it again.  Still same result.

×
×
  • Create New...