Jump to content

PinPics

Clients
  • Posts

    230
  • Joined

  • Last visited

 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 PinPics

  1. I'm working on making new images for the Ranks in our community. However, before replacing them, I'd like to make sure that I can get the stock IPS images back, just in case. So far, though, I can't see a way to do that. Do you have them somewhere where I can just save the images? Also, is there a suggested size for the replacement images? Thanks!

  2. 7 hours ago, teraßyte said:

    This one, I'm really not sure... This is the code that throws the exception:

    		/* Make sure there is a valid sender */
    		if ( !isset( \IPS\Request::i()->from ) OR !\IPS\Member::load( (int) \IPS\Request::i()->from )->member_id )
    		{
    			throw new \IPS\Api\Exception( 'INVALID_SENDER', '1C374/2', 404 );
    		}

    It gets triggered if the from value is missing, or if there is no member with the specified ID. Based on your screenshot above the member ID 10 exists, though. 🤷‍♂️

     

    The funny thing is that this exception is thrown before the other INVALID_RECIPIENT one you posted above. Was the member with ID 10 deleted perhaps? If it was working before, I have no other idea why it doesn't now.

     

    EDIT

    Taking another look at your last screenshot, I see the from value is being passed as a string rather than an integer:

    'from' => '10'

    I don't think it will change anything, since the code is casting it as (int), but try changing that row to:

    'from' => 10

     

    P.S.: You have the session cookie, authorization key, etc., in that screenshot. Probably best if you hide them. (Unless you've already regenerated them after the screenshot).

    My developer says he did try the number change before asking, but it gives this error:

    Could contain: File, Page, Text, Computer, Electronics, Pc, Hardware, Monitor, Screen, Webpage

    Any thoughts? We're so close! 🙂

  3. Got an update from my developer, and he's got a couple questions ---

    It was the .htaccess that was the issue.  The one we put in yesterday for the pretty URLs is apparently different than the one needed for the API + Pretty URLs, but once I put that in, it broke the site via the browser so I reverted ☹

    Could contain: Text, Scoreboard

    The good thing is that I got the actual API connected w/the software, but I ran into another issue.  Once I made the call, I got invalid recipient.

    Could contain: File, Page, Text, Webpage

    Below are the two issues lined out: 

    1. The htaccess file from the API location doesn’t allow both browser and API access (probably an easy fix)
    2. The call once the API htaccess file is up doesn’t send (probably a misunderstanding on my part on how to send).

    I used member id 10 and 12 to try to send a test message.

    - - - - - -

    He says that what he needs is to find out how to get the htaccess file to work with both api and the site so that both are true. He also needs to understand how to send messages, and he thinks that the above writeup and screen grabs help to illustrate the issue.

    Thanks in advance for your help! 🙂

  4. 55 minutes ago, teraßyte said:

    Since you have Friendly URLs disabled, your developer needs to use this URL instead:

    https://forum.pinpics.com/api/index.php?/core/messages 

     

    I suggest enabling FURLs on the server, though. The URLs will look cleaner and will be easier to read. Also, Friendly URLs will be a requirement in v5: 

     

    It would be best to enable them now and also have the links indexed by search engines with that format from the start.

     

    Thank you so much! We definitely want to be preparing for v5!
    I thought we did have Friendly URLs enabled:

    Could contain: File, Page, Text, Webpage

    Do we need to enable them somewhere else? That's a good idea about the indexing, and I'm glad this came up. As of now, we're not open to Google and have not been indexed, but hoping to get open by next week!

  5. My developer is working on this, and he sent me this to ask here:

    So it looks like in the documentation it’s wanting me to submit to a URL similar to this:  https://forum.pinpics.com/api/core/messages 

    When I try that, I get a 404 (page not found).  I’m thinking it’s because friendly URLs or mod_rewrite isn’t on for the site but I’m not sure if that’s it.  Can you reach out to support and see if I’m submitting to the accurate place? 

    I can give them a snippet of code if they want to review.

     

    I did go inside the AdminCP and check, and it appears we do have friendly URLs enabled, but maybe not in the right place?

    Could contain: File, Page, Text, Webpage

  6. Not sure if this is the correct place to post this. Please move if that's better.

    I'm absolutely thrilled with IPS and what it is opening up for our site, and I'd like to move all messaging to the IPS software.

    Currently, my developer has created an area in our pin trading database where members can select a pin(s) to make a trade offer with another member. He has a small text box come up where the member can write a note, and then that generates a started message in the sort of chat system we are subscribed to now. We'd like it to generate a message in the IPS inbox. Is there some documentation on how a message is created in IPS? That way, my developer may be able to do this?

    Thanks a lot!

  7. 17 hours ago, Randy Calvert said:

    The feed view looks amazing!  One thing to consider might be allowing us to use multiple views concurrently. 

    For example say feed view for specific forums and then table for the rest. 

    The idea is that this might allow us to highlight and give more “real estate” to a few specific forums and highlight the content inside while others could be in a more “compact” view. 

    Very excited to see this preview and definitely looking forward to some of the new features. It looks great!

    I'd second the idea of being able to use the feed view in some forums and leave others in compact. That would be really great, since we could use feed view for some specific areas, without having to expand some of the lesser ones.

  8. 56 minutes ago, Jim M said:

    Just a quick comment. In my years of being a server administrator, before making a large change, I typically recommend taking a backup right before so if you need to restore, you lose less. Think of it not about having a backup from earlier but if it was at 5am, what have you done today? Is it worth losing that if you can help it? 🙂 Most backups take a few minutes to run so just food for thought.

    Thanks so much for that! Actually, that's exactly perfect. I always do anything big like this shortly after the scheduled backup. The server tech has told me the time, and I'll try this shortly after that tomorrow. Thanks so much for the advice!!

  9. Thanks! I'll try that and post back about what happens. The worst that happens, if something here does not seem to go right, would be that I would delete all member accounts imported to the particular member group and start again, correct?

    Sorry to be asking so many questions. I just don't do well when not knowing what to expect. 🙂

  10. 2 hours ago, Marc Stridgen said:

    Im not sure what you mean when you say what will that look like? A profile will look the same as any other new member.

    Sorry. I probably worded that poorly. When the users come in to sign-in the first time, will it be the same as just signing in? Right now, we've tested it by turning on the OAuth to allow a couple accounts to sign-in -- getting them access to the IPS area. When they do that initial sign-in, they have to authorize the account access and agree to terms of service. Once they click yes, though, all is normal. Will it be any different if I import the entire list, or is that all they'll see when they come in to sign-in there?

  11. Thank you! I plucked up the courage to have a look in there, and I see the selecting options for the fields. That's nice. 

    Once we've officially opened the new area to the public, we will be using the profiles from IPS, but we'll be using the sign-in through OAuth from our site as is. If I import this member list and do not select to send confirmation e-mail, what will that look like to the members when we turn the OAuth on and they are able to some into the IPS profile. Will they have to sign-in with any special notice?

×
×
  • Create New...