Jump to content

Runar

Clients
  • Posts

    386
  • Joined

  • Last visited

  • Days Won

    2

 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 Runar

  1. 7 minutes ago, Clover13 said:

    As an aside, what kind of cost do you see going to S3.  A few dollars for how much video?  Video files are generally huge and if you're storing a lot of them, I'd imagine it would be more than a few dollars a month on S3, no?

    The members of my community are not really sharing lots of video, so storage is not (yet) an issue. If they were, I'd probably be more willing to use a third party video hosting service as you're right about the potential costs.

    My humble S3 usage rarely costs more than $5 a month, so in my case I feel it's definitely worth it.

  2. Just now, Clover13 said:

    That would be a huge selling point for IPS to offer such native integration and cost savings to it's customers.

    As long as it's completely optional. I don't want my content uploaded to any Google service, not even YouTube. I'd rather pay a few dollars each month to store the raw files on S3 or some other storage solution, where I'm in full control.

  3. 4 hours ago, bfarber said:
    
    \IPS\Theme::deleteCompiledCss();

     

    Thank you, but this requires a force reload of the page (to clear the browser cache), as the CSS files are updated but the version parameter stays the same. Is there any way to update the version parameter of the custom.css file as well? Similar to what happens when you save a file in the theme editor.

  4. I'm working on a plugin with a CSS file, and some of the values in this file comes from the plugin settings.

    What I need is a way to rebuild the CSS files (custom.css?) when the plugin settings are changed. With my current code I'll have to edit my theme and save custom.css (without making any changes) for the new values to show up.

    There must be a better way?

  5. 13 hours ago, James101 said:

    @Runar - Hi, I was testing the plugin today and it seems to be working fine except for one issue. When selecting Forum Type as 'Questions', the marker does show up on topic view and option to 'Mark Topic' but when marking topic it does not show the tag on forum view - http://prntscr.com/uhspph

    Thank you for reporting this bug! I’m working on a new release with support for 4.5 and a few bug fixes, and I’ll make sure to fix this issue as well.

  6. 25 minutes ago, Paul E. said:

    Sending close to a million members an e-mail would have been detrimental for us.

    For me 5 000 messages is a lot (I even chose to send them from my own account), but one million would be disastrous.

    29 minutes ago, Paul E. said:

    We decided an immediate e-mail after registration made the most sense for our community, but did consider a delayed message.

    In hindsight, I should have done the same, but I thought letting my new members get a feeling of the community before sending them a message would be best, and that a small delay would feel more natural than receding the message immediately after signing up.

    31 minutes ago, Paul E. said:

    This, in my opinion, is a must. But, it's a lesson learned over many years of experience at when things like this go wrong.

    I usually do, and I’m even working on a new workflow consisting of a private git repo and Ansible, but that haven’t made it to production yet. Well, it could have been worse!

    Also, if I hadn’t done this, we most likely wouldn’t have discovered the issue (at least not at this time).

  7. 1 hour ago, Paul E. said:

    As a safety measure, we've run the following SQL statement to populate autowelcome for all past members. This will mitigate this problem. PROVIDED AS-IS. USE AT YOUR OWN RISK, MAKE BACKUPS OF EVERYTHING FIRST. YOU HAVE BEEN WARNED.

    Thank you for taking your time to look into this issue. Unfortunately it’s too late for my community, but luckily my members found it funny and nice (even those with 20 years as members) so the damage isn’t that bad.

    I hope this issue is fixed, though, as I can’t be the only one who’d like to send a PM some X hours after a new member signs up.

    The good thing that’ll come from this is that from now on I’ll test all new plugins and applications on my staging server, even the simple and harmless ones like this one.

  8. 2 minutes ago, Paul E. said:

    No delay, immediately.

    Then I guess the delay functionality doesn’t account for existing members, and if installed on an old community, everyone will receive the welcome message.

    I’m looking forward to the next invoice from Mailgun 😄

  9. 3 hours ago, Paul E. said:

    You just gave me a slight panic attack. But, it looks like that did not happen for us in the case of selecting the e-mail option. We don't use this for PMs.

    Interesting. Did you set a delay on the email or is it sent immediately?

  10. I installed this on my community earlier today, and set it to send a PM one hour after someone signs up. I came back to my community now, and apparently the plugin sent the welcome message to all existing members. All five thousand of them.

    Is this expected behavior? If it is, why wasn’t there a warning?

  11. Have you ever wanted a beautiful background image on the AdminCP login page, or your own logo displayed above the login form? Look no further!

    This plugin allows you to set customize the AdminCP login page, and set a custom background image or change the logo above the form. At the moment, the current customizations are available:

    • Custom background image.
    • Custom logo above the form.
    • Board name above the form.
    • Force dark mode on login page.

    Suggestions for additional customizations are welcome!

    Known issues:

    As of version 1.2.0, there are no known issues.

    It might be necessary to clear the cache (using the Support tool) after uploading a custom background image. A fix will be released shortly. (Fixed in version 1.2.0)

    Planned features:

    Some of the planned features include:

    • Upload custom logo regardless of theme. (Added in version 1.2.0)
    • Upload multiple background images and have them rotate.
    • Insert custom CSS on the login page.
    • Dark mode for the login page. (Added in version 1.2.0)

     

     

  12. 5 hours ago, Pavel Chernitsky said:

    I wouldn't want to bother you, but I won't lie, that could be awesome 😄 
    If you could make a plugin or something that just adds a "show badge" toggle for the mods/admins in the moderators ACP section (I guess it's makes the most sense under the "General" tab), or if you want to go even further, in each user group (I think it's not needed, it could make it have wider appeal), that'd be awesome. I'd be willing to pay a few bucks for something like that.  

    It wouldn’t bother me at all!

    I’ll send you a message in a bit. It sounds useful and I’m sure we can work something out.

  13. 1 hour ago, Pavel Chernitsky said:

    @Runar Those also aren't highlighted posts. Matt's post is highlighted, yes, but that's not what I'm looking for, unless someone can confirm we can only get the badges on highlighted posts, which is pretty limiting. I don't want mod posts to be highlighted, it's too much of an attention grabber. I just want the badge (similar to the the "Author" badge on the first screenshot in the first post). If there is no way to make it happen it'll be pretty sucky. 

    So, if I understand you correctly, you want to add custom badges to posts? What kind of badges would you like to add?

    To add custom badges this you'll have to edit the theme, as there are no settings (as far as I know) you can enable to achieve this. The only badge-related setting available is the "Highlight replies" I mentioned. Edit the theme, then find the template file post in the following location: forums > front > topics > post, and near the top of the file you'll see the following code:

    {{if ! $comment->isFirst() and $comment->author()->member_id AND $comment->author()->member_id == $item->author()->member_id}}
    	<li><strong class="ipsBadge ipsBadge_large ipsComment_authorBadge">{lang="author"}</strong></li>
    {{endif}}
    {{if $comment->author()->hasHighlightedReplies()}}
    	<li><strong class='ipsBadge ipsBadge_large ipsBadge_highlightedGroup'>{expression="\IPS\Member\Group::load( $comment->author()->member_group_id )->name" raw="true"}</strong></li>
    {{endif}}
    {{if ( $comment->item()->isSolved() and $comment->item()->mapped('solved_comment_id') == $comment->pid )}}
    	<li><strong class='ipsBadge ipsBadge_large ipsBadge_positive ipsBadge_reverse'><i class='fa fa-check'></i> {lang="this_is_a_solved_post"}</strong></li>
    {{endif}}
    {{if $comment->isFeatured()}}
    	<li><strong class='ipsBadge ipsBadge_large ipsBadge_popular'>{lang="this_is_a_featured_post"}</strong></li>
    {{endif}}
    {{if ( settings.reputation_enabled and settings.reputation_highlight and $comment->reactionCount() >= settings.reputation_highlight ) }}
    	<li><strong class='ipsBadge ipsBadge_large ipsBadge_popular'>{lang="this_is_a_popular_post"}</strong></li>
    {{endif}}

    This code generates the built-in badges, such as the Author or group badges. Use these as a starting point, or give me an example of a badge you'd like to add and I'll give you a few lines of code.

     

    30 minutes ago, Davyc said:

    If you notice in Matt's clip his group name is the same as the author Badge, so perhaps they are connected somehow 🙂

    Indeed they are connected. If you enable the group setting "Highlight replies", posts by members of this group will be given a badge with the name of the group.

  14. There's a lot of misinformation in this topic, or maybe people simply misunderstand the question?

    @Pavel Chernitsky: The badges you've marked with a red square in your first post is a feature called "Highlight replies", and you can enable or disable this per group under Groups > [Group] > Content. Enabling this feature for a group will highlight posts made by members of this group with a border defined in your theme, and add a small badge in the upper right corner displaying the name of the group.

    The background and border color of the badge is defined by the Highlighted Post Background and Highlighted Post Border colors of your theme. To change the border color added to the post itself, you'll have to edit the theme and overwrite the --ipsComment_highlighted—boxShadow variable.

    The author badge is something different, and will be shown regardless of the setting mentioned above.

    Screenshot 2020-09-12 at 21.32.43.png

    Screenshot 2020-09-12 at 21.41.35.png

  15. 4 hours ago, NAX said:

    We are basically 100% norwegian, so I don't think i can compare

    You have the English translation enabled, and the dates appear correctly there. So the issue is with the Norwegian translation.

    Jeg bruker norsk selv og har oversatt mye av den nye teksten i 4.5 til norsk, og kan gjerne sende deg filen hvis du vil se om det hjelper!

  16. On 9/4/2020 at 5:31 PM, sound said:

    as there may be cases when someone viewing the actual topic will be unaware of the 'sold' in the listings

    You're absolutely right! I will find a way to show the "mark" when viewing the topic, hopefully with a customisable location.

  17. 56 minutes ago, Chris89 said:

    You’re correct, I do use it for browsing privately. I like it personally, I never really understood what all the fuss was about.

    Most of the fuss comes from the fact that it's an old browser lacking support for many new web technologies being put to use. It's almost comparable to not understanding the fuss about DVDs or Blu-rays, and insisting on using VHS cassettes: It might work for you, but soon you'll not be able to purchase new cassettes (or visit your favourite websites) as the production costs exceeds the revenue.

  18. 1 hour ago, Paul E. said:

    Very often, these folks are at the mercy of their IT infrastructure requirements. Large (and small) enterprises have dependencies on IE for mission critical applications and IT departments will lock them into using dated browsers because the things they need to work were coded to work in IE.

    If you have a large number of members in certain industries browsing from their workplace, you'll find that many have no choice in the matter and your community not working may mean they go elsewhere.

    You are absolutely correct and I'm very familiar with this scenario as I was locked into using IE 11 myself until recently. I must also admit that I sometimes browse both this community and my own from my workplace.

    However, @Chris89 made it sound as if he uses IE 11 privately as well, and that I can't understand. Why would anyone do themselves that kind of harm? It pains me every time I have to open IE 11, and I can't imagine using it as my daily browser.

  19. 1 hour ago, Paul E. said:

    Quickest and common aren't always most secure or best case for every implemention, and I think it's great to spawn a discussion on this!

    Thank you for your inputs, @Paul E.! I'm glad to see I'm not alone with thoughts and ideas on this topic.

    Can I ask how you avoid committing secrets to your repositories? I did some experimenting with Docker recently, and Docker Secrets worked perfectly. But I have now decided to use Ansible and ordinary servers instead of containers, and so far I haven't found anything as easy and secure as Docker Secrets.

×
×
  • Create New...