Jump to content


Welcome to DevFuse Forums


Sign In  Log in with Facebook

Create Account
Welcome to DevFuse Forums, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of DevFuse Forums by signing in or creating an account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get email updates
  • Get your own profile page and make new friends
  • Send personal messages to other members.
 
Guest Message by DevFuse

Tutorial info

  • Added on: Nov 29 2012 07:26 PM
  • Date Updated: Nov 29 2012 07:27 PM
  • Views: 1528
 


Bypass Guest Login

Bypass forced guest login for payment processors like Paypal.

Posted by Michael on Nov 29 2012 07:26 PM
If you force guests to login before accessing your forums. The Donation Tracker payment gateways will still need to be able to access the Donation Tracker, you have two options below to enable this.

Option 1: Apply File Edit
You can apply a file edit so payment gateways can still access the payment functon of the Donation Tracker. You'll need to re-apply this edit when ever you upgrade IPB.

Open admin/sources/base/ipsRegistry.php

Find: ( around line 734 )
ipsRegistry::$request['section'] != 'register'
Add AFTER:
&& ipsRegistry::$request['do'] != 'payment'
Save admin/sources/base/ipsRegistry.php

Option 2: Enable Hook (Beta)
From Donation Tracker v3.1 onwards you'll be able to enable a hook instead. In your Admin CP > System Tab > Manage Hooks. Load the Disabled hooks section and enable the "Donation Tracker (Login Bypass)" hook.

Powered by Tutorials 1.5.1 © 2016, by Michael McCune