Donation MOD 1.0.4


Goto page 1, 2  Next

Subject: Donation MOD 1.0.4
Spoiler: [ Show ]


DEMO: -> http://www.caromonline.de/donate.php

DOWNLOAD: -> http://www.caromonline.de/downloads.php?cat=14

Subject: Re: Donation MOD 1.0.4
Wow! Awesome work Kuge. :)

I'll install this MOD this afternoon.

Subject: Re: Donation MOD 1.0.4
looks really good.. thanks...
Off Topic
 KugeLSichA: [View Post]
Where can I get the advertisment feature in the top right of your website

Subject: Getting And Error After Install In ACP
I am getting the following error in my ACP after I installed the mod.

Quote:
Parse error: syntax error, unexpected T_STRING in /homepages/13/d253270135/htdocs/ip_root/adm/admin_users.php on line 744


Here is what my file looks like please see attached file.

Problem solved please disregard post.

Instead of doing the following:

#-----[ IN-LINE FIND ]------------------------------------------
#
"'" . $avatar_sql . "

#
#-----[ IN-LINE REPLACE ]------------------------------------------
#
"', user_extra = '" . $user_extra . "'" . $avatar_sql . "


I just added part of the REPLACE line instead of replacing the whole line and this fixed the problem.

"', user_extra = '" . $user_extra .


Now I have a new problem. Everytime I try to setup the mod in the ACP the settings aren't being saved.


admin_users.rar
Description:  
Download
Filename: admin_users.rar
Filesize: 15.35 KB
Downloaded: 282 Time(s)

Subject: Re: Donation MOD 1.0.4
hi MrWizard,

i´ve fixed your admin_users.php

i dont wonder why you dont get this mod working... i this file you didn´t add all install instructions... please review your other files...

---

@DWho

DWho wrote: [View Post]
looks really good.. thanks...
Off Topic
 KugeLSichA: [View Post]
Where can I get the advertisment feature in the top right of your website


i got many questions about this from time to time...

i hope i found the time today or until weekend to pack this MOD and upload it to my site and share it here...


admin_users.rar
Description: new version 
Download
Filename: admin_users.rar
Filesize: 15.4 KB
Downloaded: 250 Time(s)

Subject: Re: Donation MOD 1.0.4
KugeLSichA wrote: [View Post]


@DWho

DWho wrote: [View Post]
looks really good.. thanks...
Off Topic
 KugeLSichA: [View Post]
Where can I get the advertisment feature in the top right of your website


i got many questions about this from time to time...

i hope i found the time today or until weekend to pack this MOD and upload it to my site and share it here...



Thanks for taking the time to have a look for us..

Subject: Re: Donation MOD 1.0.4
Thanks KugeLSichA,

hope I found the time to test it.

Profile PM  
Subject: Re: Donation MOD 1.0.4
It's quite a good mod. Thank you very much for your time.

I've just finished installing it, first in my test forum and afterwards in the live website, it works as suposed. Very good contribution.

But I don't know how to change the ACP links to get them displayed in spanish, not in english. Can you tell me how to fix that?

Also translated the whole mod into spanish and created a block to work in IP, if you are interested in.

Thank you very much again

Subject: Re: Donation MOD 1.0.4
Error...

When I try to load contact_us.php I get an error about a function (colorize_username) not defined, although it works fine on your website (http://www.caromonline.de/contact_us.php). That's because I use a Global Block for displaying the donators in every page.

I did this:

Open includes/donate_functions_V3.php

Find
Code: [Download] [Hide]
  1. $last_donors .= colorize_username($row['user_id']) . '(' . sprintf("%.2f", $row['lw_money']) . ' ' . $row['MNY_CURRENCY'] . '), '; 


Replace with
Code: [Download] [Hide]
  1. if (function_exists ('colorize_username'))  
  2. {  
  3. $last_donors .= colorize_username($row['user_id']) . '(' . sprintf("%.2f", $row['lw_money']) . ' ' . $row['MNY_CURRENCY'] . '), ';  
  4. }  
  5. else  
  6. {  
  7. $last_donors .= $row['user_id'] . '(' . sprintf("%.2f", $row['lw_money']) . ' ' . $row['MNY_CURRENCY'] . '), ';  


Now, it works fine!!

Greets!

Subject: Re: Donation MOD 1.0.4
Im getting this error message when i go to the forums

DEBUG MODE

SQL Error : 1146 Table 'cisclan_pheonix.ACCT_HIST_TABLE' doesn't exist

SELECT COUNT(*) FROM ACCT_HIST_TABLE WHERE comment LIKE 'donate from%' GROUP BY user_id

Line : 513
File : donate_functions_V3.php

Should i change the phpbb to something else or am i just missing something Thank you for your help
phpbb_account_hist 0 MyISAM latin1_swedish_ci 1.0

I think i got it to work this is the code i used

Code: [Download] [Hide] [Select]
CREATE TABLE `ACCT_HIST_TABLE` (
`user_id` mediumint(8) default '0',
`lw_post_id` mediumint(8) default '0',
`lw_money` float default '0',
`lw_plus_minus` smallint(5) default '0',
`MNY_CURRENCY` varchar(8) default '',
`lw_date` int(11) default '0',
`comment` varchar(255) default '',
`status` varchar(64) default '',
`txn_id` varchar(64) default '',
`lw_site` varchar(10) default ''
) TYPE=MyISAM;

INSERT INTO ip_config(config_name, config_value) VALUES('dislay_x_donors', '10');
INSERT INTO ip_config(config_name, config_value) VALUES('donate_start_time', '');
INSERT INTO ip_config(config_name, config_value) VALUES('donate_end_time', '');
INSERT INTO ip_config(config_name, config_value) VALUES('donate_cur_goal', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('donate_description', '');
INSERT INTO ip_config(config_name, config_value) VALUES('donate_to_points', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('paypal_p_acct', '');
INSERT INTO ip_config(config_name, config_value) VALUES('paypal_b_acct', '');
INSERT INTO ip_config(config_name, config_value) VALUES('paypal_currency_code', 'USD');
INSERT INTO ip_config(config_name, config_value) VALUES('donate_to_posts', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('list_top_donors', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('donate_to_grp_one', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('to_grp_one_amount', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('donate_to_grp_two', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('to_grp_two_amount', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('donor_rank_id', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('donate_currencies', '');
INSERT INTO ip_config(config_name, config_value) VALUES('usd_to_primary', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('eur_to_primary', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('gbp_to_primary', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('cad_to_primary', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('jpy_to_primary', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('aud_to_primary', '0');

INSERT INTO ip_config(config_name, config_value) VALUES('czk_to_primary', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('dkk_to_primary', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('hkd_to_primary', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('huf_to_primary', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('nzd_to_primary', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('nok_to_primary', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('pln_to_primary', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('sgd_to_primary', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('sek_to_primary', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('chf_to_primary', '0');
INSERT INTO ip_config(config_name, config_value) VALUES('paypal_support_currency', 'EUR;USD;');
INSERT INTO ip_config(config_name, config_value) VALUES('lw_dm_enable_paypal', '1');

ALTER TABLE `ip_users` ADD `user_extra` tinyint(2) NOT NULL default '0' AFTER `user_last_login_try`;

INSERT INTO `ip_config` (`config_name`, `config_value`) VALUES ('auth_view_donations', '0');
INSERT INTO `ip_config` (`config_name`, `config_value`) VALUES ('wide_blocks_donations', '1');

Profile PM  
Subject: Re: Donation MOD 1.0.4
Xusqui,

thanks i take a look into this and change it

@redrumm101

redrumm101 wrote: [View Post]
Im getting this error message when i go to the forums

DEBUG MODE

SQL Error : 1146 Table 'cisclan_pheonix.ACCT_HIST_TABLE' doesn't exist

SELECT COUNT(*) FROM ACCT_HIST_TABLE WHERE comment LIKE 'donate from%' GROUP BY user_id

Line : 513
File : donate_functions_V3.php

Should i change the phpbb to something else or am i just missing something Thank you for your help
phpbb_account_hist 0 MyISAM latin1_swedish_ci 1.0

I think i got it to work this is the code i used



you need to change the phpbb to your table prefix "cisclan_phoenix"

Subject: Re: Donation MOD 1.0.4
Thank you for the quick reply

Profile PM  
Subject: Re: Donation MOD 1.0.4
Xusqui wrote: [View Post]
It's quite a good mod. Thank you very much for your time.

I've just finished installing it, first in my test forum and afterwards in the live website, it works as suposed. Very good contribution.

But I don't know how to change the ACP links to get them displayed in spanish, not in english. Can you tell me how to fix that?

Also translated the whole mod into spanish and created a block to work in IP, if you are interested in.

Thank you very much again




could you place the spanish mod for download here xusqui ???

i´m quiet interrested in it

Subject: Re: Donation MOD 1.0.4
Well I assume that this does not work with 1.2.22.49 since it crashed out on me at the begining of the install about 3 lines from completing all the SQL (which sucks, that means I just put a ton of things into my DB that I don't need)....
Code: [Download] [Hide] [Select]
INSERT INTO phpbb_config(config_name, config_value) VALUES('paypal_support_currency', 'EUR;
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''EUR' at line 1

SQL Query # 36
USD;
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'USD' at line 1

SQL Query # 37
');
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '')' at line 1

SQL Query # 38

INSERT INTO phpbb_config(config_name, config_value) VALUES('lw_dm_enable_paypal', '1');
Successfully Completed. Affected Rows: 1

SQL Query # 39


ALTER TABLE `phpbb_users` ADD `user_extra` tinyint(2) NOT NULL default '0' AFTER `user_last_login_try`;
Unknown column 'user_last_login_try' in 'phpbb_users'


I gotta learn to quit thinking things will work with this RC version LOL.

Subject: Re: Donation MOD 1.0.4
Off Topic
 tbird412: [View Post]
Well I assume that this does not work with 1.2.22.49 since it crashed out on me at the begining of the install about 3 lines from completing all the SQL (which sucks, that means I just put a ton of things into my DB that I don't need)....
Code: [Download] [Hide] [Select]
INSERT INTO phpbb_config(config_name, config_value) VALUES('paypal_support_currency', 'EUR;
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''EUR' at line 1

SQL Query # 36
USD;
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'USD' at line 1

SQL Query # 37
');
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '')' at line 1

SQL Query # 38

INSERT INTO phpbb_config(config_name, config_value) VALUES('lw_dm_enable_paypal', '1');
Successfully Completed. Affected Rows: 1

SQL Query # 39


ALTER TABLE `phpbb_users` ADD `user_extra` tinyint(2) NOT NULL default '0' AFTER `user_last_login_try`;
Unknown column 'user_last_login_try' in 'phpbb_users'


I gotta learn to quit thinking things will work with this RC version LOL.
my apologise for recommending Rc1 as I believed it was the best solution for you as the upgrade from version .27c is quite complicated...

if I had realised you wanted to add mods etc I would never have recommended it (my bad) :(

lets hope the new release is not far off and then all mods can be upgraded

:mrgreen: :mrgreen:

Goto page 1, 2  Next

Page 1 of 2


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.4822s (PHP: 8% SQL: 92%)
SQL queries: 31 - Debug Off - GZIP Enabled