Jump to content

Featured Replies

Posted
comment_73566

Ситуация вообщем такова)  Поставил я сие чудо! все вроде ок, хуки стоят! Как написано у них на сайте для того что бы регистрация требовала донорства нужно прописать в файлике!

вот что они пишут! 

 

 

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 )
  1. ipsRegistry::$request['section'] != 'register'
Add AFTER:
  1. && 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.

 но в ipsRegistry.php нет   

  1. ipsRegistry::$request['section'] != 'register'

Если можно подскажите?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.


Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.