Donations

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
2008paul
Registered User
Posts: 103
Joined: Tue Jun 09, 2009 8:22 pm
Contact:

Re: Donations

Post by 2008paul »

Can some one give me a code so I can add this table myself using phpmyadmin Table 'a3481120_site.DONATIONS_TABLE' doesn't exist [1146]
thankss

User avatar
therat
Registered User
Posts: 285
Joined: Sun Apr 07, 2002 6:06 pm
Contact:

Re: Donations

Post by therat »

2008paul wrote:Can some one give me a code so I can add this table myself using phpmyadmin Table 'a3481120_site.DONATIONS_TABLE' doesn't exist [1146]
thankss
Sounds like you missed the constants.php edit, it's in the install file

Find

Code: Select all

// Additional tables
Add after

Code: Select all

define('DONATIONS_TABLE',				$table_prefix . 'donations');

User avatar
hatebreeder138
Registered User
Posts: 131
Joined: Thu Oct 15, 2009 6:04 am

Re: Donations

Post by hatebreeder138 »

had this mod installed for a while looks great. however, i finally started using and adding the donations. my pm system stopped working all together. turns out that these lines of code were preventing it from working. so i had to comment these out for now. can anyone help me with this? now i cant use donations.



#while ($row = $db->sql_fetchrow($result))
#{
#$template->assign_block_vars('donations', array(
# 'USERNAME' => $row['username'],
# 'USERDONATED' => $row['donation_amount'],
# 'USERID' => $row['user_id'],
## )
# );
#}

marcok
Registered User
Posts: 4
Joined: Sun Feb 18, 2007 12:12 am

Re: Donations

Post by marcok »

Hi hatebreeder138

See on page 2, the answer where the donation code had to be moved some lines lower.

Cheers,
Marco

tixzre
Registered User
Posts: 2
Joined: Tue Mar 02, 2010 12:07 am

Re: Donations

Post by tixzre »

i need help with color of donated users. this is my code in index.php

Code: Select all

<div class="cap-div"><div class="cap-left"><div class="cap-right">&nbsp;Top Donatori&nbsp;</div></div></div>

<table class="tablebg" cellspacing="0" width="100%">
 <tbody><tr>
               <td class="row1"><img src="./styles/hermes_gray/imageset/donators.png" alt=""></td>
	       <td class="row1" valign="middle" width="100%"><p class="genmed">
                    <!-- INCLUDE donations.html -->
                 </p>
              </td>

            </tr>
</tbody>
</table>
and I have users in that table but without group color or "legend"

User avatar
Boardtalk.net
Registered User
Posts: 1209
Joined: Fri Jun 05, 2009 8:12 pm
Location: Ireland
Name: Colette
Contact:

Re: Donations

Post by Boardtalk.net »

2008paul wrote:Can some one give me a code so I can add this table myself using phpmyadmin Table 'a3481120_site.DONATIONS_TABLE' doesn't exist [1146]
thankss
2008paul wrote:I'm getting

Code: Select all

SQL ERROR [ mysql4 ]

Table 'a3481120_site.DONATIONS_TABLE' doesn't exist [1146]

An sql error occurred while fetching this page. Please contact an administrator if this problem persists.
I've done the edits other than the styles/prosilver/template/index_body.html as the style I use is a subsilver2 style.

Thanks

EDIT:

Also in ACP/MODS I'm getting

Code: Select all

SQL ERROR [ mysql4 ]

Table 'a3481120_site.DONATIONS_TABLE' doesn't exist [1146]

SQL

SELECT ut.username, ut.user_id, dt.* FROM (phpbb_users ut, DONATIONS_TABLE dt) WHERE ut.user_email = dt.donation_email ORDER BY dt.donation_date DESC

BACKTRACE

FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()

FILE: includes/acp/acp_donations.php
LINE: 64
CALL: dbal_mysql->sql_query()

FILE: includes/functions_module.php
LINE: 507
CALL: acp_donations->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
Am having the same problem as above
nwofearless wrote:if you have phpmyadmin, open up your database and rename the 'phpbb_donations' table - (i think it hard coded in the install.php file to that value) to 'phpbb_3donations', and hopefully that will fix it.
Tried the above with no change. Anyone with any ideas?
And yes all the file edits are done and have purged the cache

sc1234freak
Registered User
Posts: 11
Joined: Tue Mar 16, 2010 4:17 am

Re: Donations

Post by sc1234freak »

I noticed that the donation bar thinks 60.00 is smaller then 9.00. I located the problem to be in functions_display.php, and ideas how to fix this?

User avatar
sleevedbiker
Registered User
Posts: 789
Joined: Mon Oct 12, 2009 4:33 pm

Re: Donations

Post by sleevedbiker »

seems to interfear with other mods... http://sonsofanarchyforever.com/forum
You ride with an outlaw, You die with an outlaw

User avatar
Hippie459MN
Registered User
Posts: 919
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA
Contact:

Re: Donations

Post by Hippie459MN »

Need more info than that as I am using it and it work perfect. How about what the problem is that you are having. Did you do all the edits and refresh your templates and purge your cache?

User avatar
sleevedbiker
Registered User
Posts: 789
Joined: Mon Oct 12, 2009 4:33 pm

Re: Donations

Post by sleevedbiker »

conflicts with other mods... are there any updates coming soon?
You ride with an outlaw, You die with an outlaw

jubeekabee
Registered User
Posts: 3
Joined: Mon Jan 11, 2010 3:32 am

Re: Donations

Post by jubeekabee »

sc1234freak wrote:I noticed that the donation bar thinks 60.00 is smaller then 9.00. I located the problem to be in functions_display.php, and ideas how to fix this?
I simply changed the type of field donation_amount was in the donations table. If you make it a decimal (20,2) that will sort it as a number.

rhopper
Registered User
Posts: 14
Joined: Mon Jul 06, 2009 5:27 am

Re: Donations

Post by rhopper »

well this mod is pretty buggy, and I tried to uninstall it but it wont let me! any tips for uninstallation.. I installed it using automod.

Locked

Return to “[3.0.x] MOD Database Releases”