Jump to content

Nathan Explosion

Friends
  • Posts

    6,982
  • Joined

  • Days Won

    127

Community Answers

  1. Nathan Explosion's post in Microsoft Login was marked as the answer   
    Microsoft no longer allow a 'Never' expiry - 2 years is the limit (so that's an update for the document)
    Value (it states that in step 7 of the guide) - has to be grabbed at the time of creation, as it is obscured from view on later views. If you didn't grab it then just delete the existing one and create a new one.
    And the final tip...put a reminder into your calendar for a few days prior to the expiry date, to remind you to create a new value.
  2. Nathan Explosion's post in Android posting issue was marked as the answer   
    Samsung?
     
  3. Nathan Explosion's post in Email address as username was marked as the answer   
    Take a look at \IPS\Login::usernameIsInUse (system\login\login.php)
  4. Nathan Explosion's post in Basic Custom Template not Loading was marked as the answer   
    app = core
    location = global
    group = global
    {template="memberBaddge" app="core" location="global" group="global" params="$comment->author()"} If you had it in core -> front -> global then your code would be fine as postContainer is in front too.
     
  5. Nathan Explosion's post in Allow admin mails member download question was marked as the answer   
    0 = false
    1 = true
  6. Nathan Explosion's post in Deleted moderator group was marked as the answer   
    Step 1 - create a group
    Step 2 - give that group moderator permissions
    Have you now done both?
  7. Nathan Explosion's post in How to add a link to my privacy policy at the very bottom of my site? was marked as the answer   
  8. Nathan Explosion's post in Allow user to switch between Grid Card Layout, Table or Fluid form? was marked as the answer   
  9. Nathan Explosion's post in File attachments giving errors. was marked as the answer   
    I don't think you've noticed that the provided atachment link is missing the &key parameter which, if missing, means that the attachment won't be accessible even if it was there because a security check fails as a result - and will present the following message:

     
    If it was me investigating this, I would be looking at the content that contains the attachment link, to determine if it is missing the key element there. If so then it was possibly posted in a version when the &key= element wasn't being added to attachment links due to an IPS bug that has since been resolved...but hey, that's me.
     
     
  10. Nathan Explosion's post in Question about changing the background color/font color of a "button" was marked as the answer   
    Right click the item and inspect the item before you click it and then after you click it, then find the classes that are applied to it before/after:
    BEFORE

    AFTER

    From the dev tools css files - the color isn't changing, the opacity is:
    .cToken.cToken_selected { opacity: 0.7; } So override it...
    .cToken.cToken_selected { opacity: 1 !important; } This kind of stuff is usually a lot easier for others to figure out if you post a link to a site (which allows people to look at the html/css) instead of a screenshot (which only allows people to look at a pretty picture)
  11. Nathan Explosion's post in emoticons size was marked as the answer   
    Use CSS
    .ipsEmoji{ font-size:96px; }
  12. Nathan Explosion's post in Persistent search flags? was marked as the answer   
    Template edit:
    core -> front -> messaging -> template
    Find:
    <li class='ipsMenu_item {{if ! empty(request.search['recipient'])}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue='recipient'><a href='#'><input type="checkbox" name="search[recipient]" {{if ! empty(request.search['recipient'])}}checked="checked"{{endif}} recipientvalue="1" id="search_recipient"> {lang="messenger_recipient_name"}</a></li> <li class='ipsMenu_item {{if ! empty(request.search['sender'])}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue='sender'><a href='#'><input type="checkbox" name="search[sender]" {{if ! empty(request.search['sender'])}}checked="checked"{{endif}} value="1" id="search_sender"> {lang="messenger_sender_name"}</a></li> Remove the if/endif either side of ipsMenu_itemChecked and checked="checked"
  13. Nathan Explosion's post in Default font and text size was marked as the answer   
    edit your globalTemplate template and add the following prior to the closing </body> and save your template.
    <script> if(typeof CKEDITOR !='undefined'){ CKEDITOR.addCss(".cke_editable{cursor:text; font-size: 20px; font-family: Georgia;}"); CKEDITOR.config.font_defaultLabel='Georgia'; CKEDITOR.config.fontSize_defaultLabel='20px'; } </script> What does it do...
    If there is a CKEDITOR on the page then... It changes the CSS of the editor to be the font/font-size you want and then... It changes the label of the font dropdown box and... It changes the label of the font size dropdown box.  

  14. Nathan Explosion's post in Template Syntax: How to filter by App was marked as the answer   
    {{if request.app =='forums'}} {{endif}}  
  15. Nathan Explosion's post in PHP 8.0 Broke My Board was marked as the answer   
    That's actually an indication that your PHP version doesn't have the mbstring extension available to it.
    Download this https://invisioncommunity.com/files/file/7046-invision-community-requirements-checker/ and upload it to your site's root. Switch to PHP 8.0.x, open the file in the browser, fix any of the red items, then go from there.
  16. Nathan Explosion's post in New second license was marked as the answer   
    If the 2 licenses include the exact same suite elements, go for it.
    But if they differ (example: 1 has Pages, the other doesn't) then download the correct package for the license.
  17. Nathan Explosion's post in Remove alert "The application/zip file format(s) are not supported" when uploading a .zip file? was marked as the answer   
    This happens if you drag/drop a file into the editor's text box, as opposed to the location that clearly states "Drag files here to attach..."
    Same situation as this...
    ..
  18. Nathan Explosion's post in Count the number of pictures uploaded by members was marked as the answer   
    You'll probably have to do some formatting of the date in Excel to get correct values - I'm just exporting what is displayed in the ACP.
    If you can't get that sorted, then here's a change that will export the date as a UNIX timestamp instead.
    (NE) Download attachments report 1.0.1.xml
    You can then use this formula to recalcultate the UNIX timestamp to a numerical value that Excel can use for a date/time:
    =(C2/86400)+DATE(1970,1,1)  
  19. Nathan Explosion's post in PHP8 doesn't like the file applications/rules/sources/Secure/Application.php file was marked as the answer   
    If 'Rules' = 'Automation Rules' then that's a dead application...long time ago.
     
     
     
  20. Nathan Explosion's post in Move topics from a forum to a club was marked as the answer   
    Yes

  21. Nathan Explosion's post in Mass deletion of members was marked as the answer   
    Use the search functionality in the Members listing:

    And when you get the results then you will see a "Prune Members Found" link that will allow you to mass delete.
  22. Nathan Explosion's post in Error trying to access a private message was marked as the answer   
    Easily reproducible:
    Create an alert that requires the user to respond View the alert as a targeted user Send the required PM View the PM as the intended recipient - all good Delete the alert View the PM as the intended recipient - yep, it's f.... I've got 3 PMs on my test site that have this issue - and I know they are all associated with my alert testing, and all my alerts are since deleted.
    Stick a var_dump($conversation->alert); in before this, and you'll get NULL for a normal PM, and an integer for a PM that came as a result of an alert:
    if ($conversation->alert) { try { $alert = \IPS\core\Alerts\Alert::load($conversation->alert); } catch (\OutOfRangeException $e) { } if (!$alert->forMember(\IPS\Member::loggedIn())) { $alert = NULL; } }  
  23. Nathan Explosion's post in Turn off @ tagging of members was marked as the answer   
    It's not a ckeditor plugin - it's an IPS plugin, so go into that section of the ACP and manually install it (assuming you are on a plan that allows custom apps and plugins)
  24. Nathan Explosion's post in Create a custom redirection. was marked as the answer   
    In Pages, do the following:
    Create a folder called 'central-de-ajuda' (click 'Add folder') In that folder, create a page and set the filename to 'centraldeajuda.html'
     
  25. Nathan Explosion's post in Delete all members on community without loss content ! was marked as the answer   
    Pretty sure that if you perform an advanced search in the Members list, and then click on the 'Prune members found' link on the top of the results - the members are removed, but the content is kept behind as 'Guest'
    Test it out with a single user (perform a search that will find that single user) to confirm, then try it with a search that will return 2 users to further confirm.
×
×
  • Create New...