Jump to content

Owdy

Clients
  • Posts

    2,954
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Like
    Owdy reacted to Morrigan in Return key behavior   
    Ah, yeah. You'd have to do that. Still doable.
  2. Sad
    Owdy reacted to CoffeeCake in Return key behavior   
    Unfortunately, no.
  3. Like
    Owdy reacted to Nathan Explosion in Reputation points, bug?   
    Possibly reactions made to deleted content prior to deletion - these aren't removed.
    If you want to see if it is a bug, recount the user's reputation in the ACP and see what the result is - then log a support ticket if needed,

     
     
     
  4. Like
    Owdy reacted to Morrigan in Reputation points, bug?   
    Its actually 93 which means that their were reactions that were removed.
    Reaction counts do NOT recount on change of a total (negative, positive or neutral, they also don't recount if you remove a reaction that did any of those).
    So if you had one that added reputation and deleted it, it wouldn't delete the existing total unless you recount their reputation total.
    Additionally, if you make a positive a neutral reaction it will never add the past reactions as neutral because when someone reacted it was a positive so those reactions will always be positive but future reactions will be neutral.
  5. Like
    Owdy reacted to CoffeeCake in Auto generate links   
    Yes, you can do this by altering the configuration of CKEditor. As @Nathan Explosion pointed out, defining what the rules are to do so become the challenge.
    Consider someone that misses a space between two sentences:
    Would "there.Question" be converted to a link? Why? Why not? How about "everyone...how"?
    You'd need to develop a regular expression to capture all your use cases and ignore what are probably not okay. In the days where there were a limited number of TLDs, it would have been easier, but now there are hundreds.
    Using the autolink plugin, you can define a custom link regex for both links and e-mail addresses. The default ones depend on http(s) or ftp as a prefix. You're interested in CKEDITOR.config.autolink_urlRegex.
        /** * Regex used by the [Auto Link](https://ckeditor.com/cke4/addon/autolink) plugin to match URL adresses. * * @cfg {RegExp} [autolink_urlRegex] * @since 4.11.0 * @member CKEDITOR.config */ CKEDITOR.config.autolink_urlRegex = /^(https?|ftp):\/\/(-\.)?([^\s\/?\.#]+\.?)+(\/[^\s]*)?[^\s\.,]$/i; // Regex by Imme Emosol.  
     
  6. Thanks
    Owdy reacted to Nathan Explosion in Hide discover from guests   
    System -> Applications -> System (expand it) and click the padlock beside Content Discovery
  7. Like
    Owdy got a reaction from sobrenome in PHP 8   
    Is it supported?
  8. Thanks
    Owdy reacted to Stuart Silvester in PHP 8   
    No, not at this time. There are some backwards incompatible issues that may cause problems if you try to use PHP 8.0
  9. Thanks
    Owdy got a reaction from Ay hazea in SMF to Invision, error   
    Done #72210
  10. Thanks
    Owdy got a reaction from bfarber in SMF to Invision, error   
    It was a bug and now fixed 🙂
  11. Like
    Owdy reacted to xtech in SMF to Invision, error   
    Try to understand what the error message is trying to tell you: the string "attachment_file_missing - /home/halu/public_html/Yabbse/attachments/32318_t1_ashx_attach1idRgAAAADmmEv9PKKvQ4oBqRQNZomPBwDC2fzi22fpGYTZtymL8wbDrEAADR2fin7AABdHAnbM02eT5ABpTWls3feAAAEk4LJAAAJattid0EADy2fJG2FKMNRrXCQhwtWxz3attcnt15feb5c740bb9f0b99780181b69294c07" is too long to be inserted into the column log_message.
    This is because... it is too long, really. I mean the column "log_message" data type is probably configured to accept smaller strings, so you have two choices: trim the string to fit the maximum allowed data type length, or modify the data type to accept longer strings. I would personally prefer the second option to avoid losing any particular useful log info.
    Execute this SQL query:
    Describe convert_logs And see what is the output. Probably the type of the log_message field is Varchar(somenumber). If it is, execute this query:
    Alter Table convert_logs Modify column log_message LONGTEXT And run the conversion again.
     
    From another perspective in what concerns to the conversion process: mind what the log is also saying: there is an attachment that was not found. If you end up having many logs like this, your newly converted forum will have "void" attachments. If it is just a couple of these logs, you should be fine.
     
  12. Like
    Owdy reacted to bfarber in SMF to Invision, error   
    If you are getting an error like this, it sounds like a bug. I'd recommend submitting a ticket.
  13. Confused
    Owdy reacted to Daniel F in 4.5.1 to 4.5.2, skin changes   
    Top Menu => Resources => Theme Differences , links to https://invisioncommunity.com/index.php?app=core&module=system&controller=plugins&do=diff
  14. Thanks
    Owdy reacted to opentype in Add Items to Mobile Navbar (Support Topic)   
    Just the icon name as shown on the FontAwesome site. The “fa-” must be removed. 
  15. Thanks
    Owdy reacted to Adriano Faria in Sign in anonymous   
    It’s an account setting now:
    https://invisioncommunity.com/settings/account-security/
  16. Thanks
    Owdy reacted to Adriano Faria in Some sidebar in some posts   
    It has a setting on ACP. Default shows in topics with 3 or more pages, if I’m not mistaken. 
  17. Thanks
    Owdy reacted to sudo in Ads timing   
    So that would make it "Show until start of {DATE}" rather than end of that date. Its not a big issue either way it works, it more just language clarity to know exactly what to expect.
  18. Like
    Owdy reacted to sudo in Ads timing   
    I think the question is more does it mean it expires when it hits the 15th or does it end on the 16th for example.
    Something like "Show until end of 15.3.2020" or " Show until start of 15.3.2020" rather than talking about precise minute timing.
  19. Like
    Owdy reacted to bfarber in Record feed -block, hide views   
    I was showing the topicRow template (sorry, it wasn't clear from the screenshot what you were looking at specifically but I see you clarified in the topic title now).
    You would change the bit Meddysong showed to
    {{foreach $row->stats(TRUE) as $k => $v}} {{if $k != 'views'}} <li {{if \in_array( $k, $row->hotStats )}}class="ipsDataItem_stats_hot" data-text='{lang="hot_item"}' data-ipsTooltip title='{lang="hot_item_desc"}'{{endif}}> <span class='ipsDataItem_stats_number'>{number="$v"}</span> <span class='ipsDataItem_stats_type'>{lang="content_records_stat_{$k}" pluralize="$v"}</span> </li> {{endif}} {{endforeach}}  
  20. Like
    Owdy reacted to Meddysong in Record feed -block, hide views   
    It's in this bit here:
    {{foreach $row->stats(TRUE) as $k => $v}} <li {{if \in_array( $k, $row->hotStats )}}class="ipsDataItem_stats_hot" data-text='{lang="hot_item"}' data-ipsTooltip title='{lang="hot_item_desc"}'{{endif}}> <span class='ipsDataItem_stats_number'>{number="$v"}</span> <span class='ipsDataItem_stats_type'>{lang="content_records_stat_{$k}" pluralize="$v"}</span> </li> {{endforeach}} But I've got some bad news for you. To test it, I edited a line to read 
    <span class='ipsDataItem_stats_type'>xx{lang="content_records_stat_{$k}" pluralize="$v"}</span> and this was the result:

    So if you want to remove views, you'll lose the comments as well.
  21. Thanks
    Owdy reacted to Martin A. in Show ad if theres +2 posts   
    Easy with a template edit
    forums > front > topics > topic
    Find
    {{if $postCount == 1 AND $advertisement = \IPS\core\Advertisement::loadByLocation( 'ad_topic_view' )}} {$advertisement|raw} {{endif}} Replace with
    {{if $postCount == 1 AND $advertisement = \IPS\core\Advertisement::loadByLocation( 'ad_topic_view' ) AND $topic->posts > 1}} {$advertisement|raw} {{endif}}  
  22. Like
    Owdy got a reaction from Joel R in Cant find lang string   
    Thanks! This was cache issue. Fixed 🙂
  23. Thanks
    Owdy reacted to opentype in Share image in database article   
    Well, it would need template customization. You can add a custom YesNo field to the article database and then wrap the image output with a condition checking that field. 
    I have a database where I do the same for the showing or hiding the record author. 
    {{if $record->field_123}} //Output something {{endif}} “123” is the field ID of the checkbox field. 
    P.S. Using the record image as sharer image is defined in the code and so it works independently from actually showing the image on the page. 
  24. Like
    Owdy reacted to opentype in Article <title >   
    There is no easy way through settings or anything like that. 
    You could override the title from the display template (or a plugin) if you want to. For example, this would only show the actual record title. 
    {{\IPS\Output::i()->metaTagsTitle = $record->_title . ' Custom text';}}  
  25. Like
    Owdy got a reaction from Meddysong in Master skin as parent?   
    Thanks. I have very little edits, so that is perfect. Thanks!
×
×
  • Create New...