Jump to content

Chris027

Clients
  • Posts

    705
  • 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 Chris027

  1. I just tried option to "Adding country flag to existing members without countries" and it's acting strange. It's stuck on about 25% and even caused my AdminCP to throw a Gateway time out via CloudFlare (front end of site still worked perfect). 

    Server is sitting near idle when I look at TOP. 

    Clicking the manually run task in AdminCP gives me this spinning circle forever. 

     

    Could contain: Page, Text

  2. Perhaps I don't understand how this works completely. I just received a message through the Contact Us form that originated from the IP address 5.62.59.1. This address is listed in Stop Forum Spam 80 times. 

    With these settings, shouldn't this have been clocked?

    Could contain: Page, Text

  3. On 3/1/2023 at 7:08 AM, Charles said:

    Just to confirm: we added a way to see the Pages media full URL. It will be in the April release.

    Hi Charles, I've created folders in the pages media ares of AdminCP. I see that the folders aren't duplicated in the Pages Media directory on my server. Is this on purpose and could it lead to issues with tons of files in the same directory down the road? 

  4. 1 hour ago, Jim M said:

    How exactly are you encountering this? Loading the editor or anything specifically? If you disable all third party applications/plugins and switch to an unmodified theme does this prevent it from being encountered?

    I just noticed this in the logs, and have never seen it before. Some guests and some registered users appear to have triggered it.

  5. Looks like these started after upgrading to the newest release. Not sure if it's problematic.

     

    UnderflowException:  (0)
    #0 /example.com/applications/core/extensions/core/EditorLocations/Meta.php(62): IPS\Db\_Select->first()
    #1 /example.com/applications/core/modules/front/system/ajax.php(200): IPS\core\extensions\core\EditorLocations\_Meta->attachmentPermissionCheck()
    #2 /example.com/system/Dispatcher/Controller.php(107): IPS\core\modules\front\system\_ajax->attachmentInfo()
    #3 /example.com/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute()
    #4 /example.com/index.php(13): IPS\_Dispatcher->run()
    #5 {main}

     

    BACKTRACE

    #0 /example.com/init.php(1037): IPS\_Log::log()
    #1 [internal function]: IPS\IPS::exceptionHandler()
    #2 {main}

     

  6. 9 minutes ago, Adriano Faria said:

    Check out in settings which API you’re using. Switch to the IPS api. Even if it’s the new one, the list of countries comes from a IPS file and there is no “zz” country code there.

    Send a message with board URL and ACP account. I’ll take a look at this tomorrow. 

    Need to get a user ZZ IP address and see what the API is returning. 

    Just switched to IPS Geolocation. I’m guessing the ZZ users will have to visit the site for the country to update. 
     

    The IPs of these guys are just normal US locations resolved when I look them up in AdminCP
     

    I have a few pages of people in ZZ

    Could contain: Text, Page

  7. 34 minutes ago, Stuart Silvester said:

    For the audio in articles, you could just drag and drop it into the main editor as an attachment. On display it'll get embedded as a native audio element.

    Another alternative would be a custom field of the 'upload' type and you can set the output to your own specific audio code.

    But this route is problematic. 
     

     

  8. 3 minutes ago, Charles said:

    I would think you can create a Pages Block with your ad code and replace src=... with the {media} tag. Then embed the block wherever you want.

    My ad code looks like this and I adjust the CSS to not have the word "ad" in it.

     

    <script type="text/javascript">
    var images = [],
    index = 0;
    
    images[0] = "<a href = 'https://example.com/sf'><img src='https://example.com/uploads/b/dyn/e.jpg' class='mcbc' alt='Dynaudio'></a>";
    images[1] = "<a href = 'https://example.com/sg'><img src='https://example.com/uploads/b/dyn/f.jpg' class='mcbc' alt='Dynaudio'></a>";
    
    index = Math.floor(Math.random() * images.length);
    document.write(images[index]);
      </script>

     

    4 minutes ago, Ryan Ashbrook said:

    Yes, as Charles said, just replace your path with the media tag.

    <audio controls="" data-audio-embed="">
    		<source src='{media="1"}' type="audio/mpeg">
    	</audio>

     

    Can't get this to load the audio. You can see the top one uses the mediaxxxxx code and the bottom uses the full path. The top doesn't ever load or play. 

     

    Could contain: Text

  9. 2 minutes ago, Charles said:

    That was the part I was like "ok this isn't very good" 😀

    I embedded that "media" it in a page to get the path. Promise we will address that in next release!

    Without the path, is there a way to embed the audio using the {media...} code?

    A way to adjust the code below?

    <audio controls="" data-audio-embed="">
    		<source src="https://example.com/my-article-audio.mp3" type="audio/mpeg">
    	</audio>

     

  10. 1 minute ago, Charles said:

    Feel free to PM me if you ever want to do a Zoom to chat about how the platform works. It may not be a good choice for you but I am always open to sharing ideas.

    I think I will. I want the new features.

    Is it possible to get the path to this file?

     

    Could contain: Page, Text

  11. 1 minute ago, Charles said:

    So... ok...

    I was like "oh I have a solution!" but Pages Media is apparently a bit clunky. I'm putting in a to do to improve it 🙂 

    But, yes, you can upload media like that and it just creates a non-attached upload.

    Very cool. I see I can create folders as well. 

  12. One item holding me up from moving to the cloud hosted plan is the lack of SFTP access. Even if this was to a single folder in the uploads directory or something, it's all I need. My feature request is some type of uploading capability. Perhaps it's there and I don't know it.

    I need this because I upload advertising banners to a nonstandard directory, then use custom code to call them. This way, no ad blockers block my ads. 

    I also use SFTP to upload the audio MP3 of my articles, then put them into the articles with the code below. I would attach the MP3, but this displays how many times each article is listened to for some reason, and the accuracy of it is questionable, in addition to the fact that it's a stat that nobody needs to see.

    <audio controls="" data-audio-embed="">
    		<source src="https://example.com/my-article-audio.mp3" type="audio/mpeg">
    	</audio>

     

×
×
  • Create New...