Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Free Torrent Source (http://www.bvlist.com/forumdisplay.php?f=25)
-   -   [FIX] FTS 1.1 invalid argument when saving Payment Settings (http://www.bvlist.com/showthread.php?t=4196)

benjaminbih 10th January 2010 02:06

[FIX] FTS 1.1 invalid argument when saving Payment Settings
 
First
SQL:
PHP Code:

INSERT  INTO `options` ( `option_name` ,
 `
option_value` )
VALUES 'payment_wire_details',  'Your wire transfer description goes here'); 

Then make the payment settigns writting into cache and conf:
open /administrator/options.php and find:
PHP Code:

    tr("Wire transfer details","<textarea name=payment_wire_details cols=85 rows=25 id=payment_wire_details>".get('payment_wire_details')."</textarea>",1);
    
JsB::wysiwyg('payment_wire_details'); 

and change to
PHP Code:

    tr("Wire transfer details","<textarea name=payment_wire_details cols=85 rows=25 id=payment_wire_details>".get('payment_wire_details')."</textarea>",1);
    
//JsB::wysiwyg('payment_wire_details'); 


Open /include/libs/config/misc.php and add this:
PHP Code:

$payment_wire_details FFactory::configoption(@dbv('payment_wire_details'),'Your wire transfer description goes here'); 

after this:
PHP Code:

$payment_wire_enable FFactory::configoption(@dbv('payment_wire_enable'),'yes'); 

This must be all


All times are GMT +2. The time now is 22:09.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.