[REQUEST] Donation mod

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

[REQUEST] Donation mod

Post by neuropass »

The donation mod that you have here is awesome! simple and neat. i would love to have a copy of that too if possible.

Thanks in advance.

Re: [REQUEST] Donation mod

Post by Stoker »

Maybe in the future I will modx, make it automod compatible and release it to the public.
But for now its only for Donators and instructions here:

viewtopic.php?f=42&t=1204

Re: [REQUEST] Donation mod

Post by kevinviet »

Thanks again Stoker :thumb: I give it a try

Re: [REQUEST] Donation mod

Post by kevinviet »

Hi Stoker
After installed this mod, I have this on my overall header
donate error.jpg
And when I click on it I got a white page :( what did i do wrong ? please help

Thanks
You do not have the required permissions to view the files attached to this post.

Re: [REQUEST] Donation mod

Post by Stoker »

You forgot the language edit.

Re: [REQUEST] Donation mod

Post by kevinviet »

Well I did add my email in the language donate.php what else should I edit more ?

do i need to change did too ?
'DONATION_CONTACT_PAYPAL' => 'Connecting to Paypal - Please Wait...',

Re: [REQUEST] Donation mod

Post by Stoker »

Open language/en/common.php
Find:

Code: Select all

?>
Add before:

Code: Select all

// Donation MOD  
$lang = array_merge($lang, array(
	'DONATEINDEX'	 => 'Donate',
));
That the very first edit.
If you have other languages installed, you need to do the same for that language common.php

Re: [REQUEST] Donation mod

Post by kevinviet »

I did that and double checked but still not work. I think there is some problem with my overall header.html. Because I been getting white page on install a mod with touching the overall header.html . Let me remove the snippet page loader and see what is going on. Thanks Stoker

Re: [REQUEST] Donation mod

Post by Stoker »

i found an error in the overall_header.html instructions
{L_DOATEINDEX} should be {L_DONATEINDEX}

About the white screen, this mod doesnt do anything that could cause a white screen.

Re: [REQUEST] Donation mod

Post by kevinviet »

Ok the language file is fixed, but some how i still get a white page when I click on donate link or visit my domain/donate.php. I do uploaded the donate.php file from the root to my root. what could be wrong Stoker ?

Thanks for your help.