Jump to content

Chris89

Members
  • Posts

    55
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Chris89 got a reaction from Stuart Silvester in Lockout issue after changing constants.php   
    Thank you so much guys! I cannot believe I didn't think of this, it's so obvious to clear the original cookies... This is exactly what it was.
    And as a P.S. it's also fixed my original issue too, which is awesome 🙂
  2. Like
    Chris89 reacted to Randy Calvert in Lockout issue after changing constants.php   
    Out of curiosity have you cleared your cookies on the local device?  I’m wondering if there is a situation where the local cookie is not matching what the server is expecting as a result of your path change. 
  3. Like
    Chris89 reacted to Stuart Silvester in Lockout issue after changing constants.php   
    Hi,
    I suspect you now have two versions of various cookies, both set on different paths. It's likely the wrong one is being passed by the browser when you're using your community which is causing a failure when authenticating using 'remember me'.
    You may want to change your cookie prefix, just to remove the possibility for these conflicts. See COOKIE_PREFIX here- https://invisioncommunity.com/4guides/advanced-options/configuration-options/using-constantsphp-r25/
     
  4. Like
    Chris89 reacted to Makoto in URL Migration   
    Remember to rebuild your search index after doing this as well. 
    You can find this option in the AdminCP by searching for "search", then [System] Search, and the "Rebuild search index" option is at the top right
  5. Like
    Chris89 reacted to Miss_B in URL Migration   
    As mentioned above, this is something that is outside of IPS' standard support scope. Anyways, run this sql query to replace the urls of old domain.
    UPDATE forums_posts SET post = REPLACE(post,'old_text','new_text'); Replace old_text and new_text accordingly.  And do not forget to make a backup of your database first before you run the (any) sql query. Hope it helps.
  6. Like
    Chris89 reacted to Makoto in URL Migration   
    Unless you plan on letting your old domain expire, the only thing you really need to do is set up your old domain to permanently redirect to your new one, and ensuring the redirect keeps any URI/query string parameters in place.
    If you'd rather have references to your old domain replaced completely, you would need to run an SQL query for this as well as have your search index rebuilt.
    This is something that's outside of IPS' standard support scope as they told you. I'd be happy to do this for you as a one-time paid service if you'd like to PM me here. It should be no more than 2-3 billable hours of work to complete. If you prefer to do it yourself, I could find an example SQL query for you to follow, just bear in mind you just have to be extremely careful and always make backups when dealing with anything SQL related.
     
  7. Like
    Chris89 reacted to Andy Millne in News Sitemap (Support Topic)   
    This is intended for a single Pages database only, it does not generate a news sitemap for discussion topics. Support for regular sitemaps in topics is built in to Invision Community.
    Unfortunately the 4.4 version is no longer available but you're missing out by not upgrading to 4.5 😄 
    4.4 is still available and can be accessed from the changelog on the file listing. 
  8. Like
    Chris89 reacted to Morrigan in Custom Emoticons   
    Any image can be uploaded as an emoticon.
    I would recommend using your google-fu to find free emoticon packs that you can download.
    The x2 is for when you have a larger High quality version of it to be used on specific HD screens. If you don't have it, its fine, it will use the other one.
  9. Like
    Chris89 reacted to Daniel F in Custom Login Redirect from Forum Login   
    We fixed recently a bug which caused the los of the redirect after the login process.
    This should be resolved in the next release.
  10. Like
    Chris89 reacted to bfarber in Detect a mobile device   
    There's no way to do this in PHP with stock code. Your options are
    1. You can reference \IPS\Session::i()->userAgent and based on the browser or platform property, determine yourself if you consider it a mobile request.
    2. You can use javascript and check ips.utils.responsive.currentIs('phone') which is determined based on responsive breakpoints rather than the platform.
  11. Like
    Chris89 reacted to bfarber in Using the IPS Editor   
    <?php require '/path/to/forums/init.php'; \IPS\Dispatcher\External::i(); $form = new \IPS\Helpers\Form; $form->add( new \IPS\Helpers\Form\Editor( 'name', $defaultValue, $required ) ); if( $values = $form->values() ) { var_dump( $values );exit; } \IPS\Output::i()->sendOutput( $form );  
    Untested, but you should get the idea from the above.
  12. Like
    Chris89 reacted to Daniel F in Integrate IPS with my own website   
    Well, looking at the code you're using which is clearly out of our framework( AKA it's not going to use an IPS app) , I'm not sure what you're expecting to get returned from : \IPS\Request::i()->app.
    It's clearly not an app;)
    But if everything else (the constats)  is set correct at least the session should work.
    <?php define('IPS_ROOT', __DIR__.'/include/subdomains/community/'); require IPS_ROOT.'init.php'; \IPS\Session\Front::i(); echo \IPS\Member::loggedIn()->name;  
  13. Like
    Chris89 reacted to jesuralem in Integrate IPS with my own website   
    You should have a look at the ips cookie domain setting.
     
  14. Like
    Chris89 reacted to Eudemon in Integrate IPS with my own website   
  15. Like
    Chris89 reacted to bfarber in Site integration   
    You must have a current active license in order to post in most of the forums here.
    Yes, you can integrate our software externally. You would require the init.php file and then most of our framework is available at your disposal.
    I don't know what differences there are specifically between the two, but the general answer is yes. We create custom converters as needed for clients - it's entirely doable.
    Perhaps you can remind us what this "Protected Forums" feature did exactly that isn't possible in 4.x. You can certainly allow guests to view a forum (and you can allow them to see the forum but not view it too if you want).
×
×
  • Create New...