Adding Donors

Support for IntegraMOD 140

Moderator: Integra Moderator

Adding Donors

PostAuthor: Eon » Thu Apr 13, 2006 9:39 am

Ok, when I manually add a donor, I put their username in and all the info that I have. But it does not display who made the donation in the portal block. It just says the amount, then (donated by ).

I looked in my database, and it registered the username with their user id. As it was stored in it as a donation.

Any ideas?

Also, whn I make a donation from the Donate button on the Nav bar, after I put in how much and click submit, the screen where you click on the paypal button has this above the forum index link.

Warning: strpos(): Offset not contained in string. in /hsphere/local/home/dffclan/dffclan.net/lwdonateconfirm.php on line 85

Code: Select all
 $pos = strpos($board_config['script_path'], '/', (strlen($board_config['script_path']) - 2));  


That is line 85.

What does that mean?
Last edited by Eon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Eon
Sr Integra Member
Sr Integra Member
 
Posts: 627
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 10:15 am
Cash on hand: 0.00

PostAuthor: Eon » Thu Apr 13, 2006 9:56 am

OK I solved half of my problem by fighting through the old IM site..

Code: Select all
 <php>sql_query($sql))) {          message_die(GENERAL_ERROR, 'Could not query database for the newest donations');       }         $i = 1;       while ($donations = $db->sql_fetchrow($result)) {          $template->assign_block_vars('dntns', array(             'NUMBERING' => strval($i),             'DONATE_AMNT' => $donations['lw_money'],             'L_DONATED_BY' => $lang['donated_by'],             'DONATE_LINK' => './lwdonate.'.$phpEx,             'DONATED_BY' => $donations ['username'],             'L_DONATE_LINK' => $lang['Donate_Funds'])          );          $i++;       }       $template->assign_vars(array(          'L_NEW_DONATIONS' => $lang['New_donations']          )       );    } }  imp_donate_block_func(); ?>  


Replace root/blocks/blocks_imp_donate.php with that code completely.
Last edited by Eon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Eon
Sr Integra Member
Sr Integra Member
 
Posts: 627
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 10:15 am
Cash on hand: 0.00

Re: Adding Donors

PostAuthor: found it » Tue May 02, 2006 2:36 pm

I know off a site that has this i will see if i can get the code for it...

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 4:29 am
Cash on hand: 0.00


Return to IntegraMOD 140

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]