News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

PaypalDonations

Started by snork13, February 06, 2006, 11:36:58 PM

Previous topic - Next topic

snork13

#20
Quote from: BCB1908 on February 10, 2006, 02:03:21 PM
Quote from: snork13 on February 10, 2006, 01:57:43 PM
Quote from: BCB1908 on February 10, 2006, 01:00:01 PM
Nice mod, but I'm getting the error below.  Any thougts?

QuoteUnable to load the 'main' template.

what version, try 1.3 version. uninstall current version first

-snork
1.3 is the only I have installed ever.

fixing now...sorry for my error
Mods
Please DO NOT PM me with requests for individual support, but post your questions and concerns in the appropriate section of the forum where other users can benefit from them as well. Thank you.
I have been super busy as of late. Working on updates to all my modifications for 2.0.1

BCB1908

Quote from: snork13 on February 10, 2006, 02:13:50 PM
Quote from: BCB1908 on February 10, 2006, 02:03:21 PM
Quote from: snork13 on February 10, 2006, 01:57:43 PM
Quote from: BCB1908 on February 10, 2006, 01:00:01 PM
Nice mod, but I'm getting the error below.  Any thougts?

QuoteUnable to load the 'main' template.

what version, try 1.3 version. uninstall current version first

-snork
1.3 is the only I have installed ever.

fixing now...sorry for my error
Whatever you did worked.  Thanks!  Nice mod by the way.

snork13

Quote from: BCB1908 on February 10, 2006, 02:21:52 PM
Quote from: snork13 on February 10, 2006, 02:13:50 PM
Quote from: BCB1908 on February 10, 2006, 02:03:21 PM
Quote from: snork13 on February 10, 2006, 01:57:43 PM
Quote from: BCB1908 on February 10, 2006, 01:00:01 PM
Nice mod, but I'm getting the error below.  Any thougts?

QuoteUnable to load the 'main' template.

what version, try 1.3 version. uninstall current version first

-snork
1.3 is the only I have installed ever.

fixing now...sorry for my error
Whatever you did worked.  Thanks!  Nice mod by the way.

cool, thanks for letting me know...


i update the mod to 1.4, which fixed the error in 1.3
Mods
Please DO NOT PM me with requests for individual support, but post your questions and concerns in the appropriate section of the forum where other users can benefit from them as well. Thank you.
I have been super busy as of late. Working on updates to all my modifications for 2.0.1

Pod

my friend has this mod and i wanna donate to his site but i have a debt card..and i went to paypal..didnt make a account but i see there is no debt card mark under credit card?..help!
Things change if you change them, thing about it

StanJ

i have resintalled everything including the forum software...  most of it...  I still the error with 1.4 with tinyportal installed... seems like i can have one or the other not both...

I know you have worked a lot on this, and it is appreciated, i feel small for even reporting this...  :)

Bigguy

#25
I have installed the new version of this mod on my site and it works good. I do have a couple errors in my logs but nothing serious.

EDIT: Sorry no errors now. The errors were present when the paypal code is not inserted in the box. It goes away after you do insert it.

aussieholden

#26
I installed 1.4 and I still got the error ?

Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./index.php Test successful
2. Execute Modification ./Sources/ManagePermissions.php Test successful
3. Execute Modification ./Themes/default/index.template.php Test failed
4. Execute Modification ./Themes/default/Settings.template.php Test successful
5. Execute Modification ./Themes/default/Themes.template.php Test successful
6. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
7. Extract File ./Themes/default/Paypal.template.php 
8. Extract File ./Sources/Paypal.php

When installed  the link is on the menu bar but there are no options in admin.

I would very much like to be using this on the forum.

ladyshanae

Do you have other modifications installed that altered the index.template.php file?  If you do, you might have to do that alteration manually.

As for the admin panel, the donation information is found under Configuration - Current Theme.

Chelle

This is interesting...I installed the mod...no link on the menu, no admin options are showing.  I got no errors in stalling the pkg.   Any ideas what's up?

I did have extra links in my menu that I added, I uninstalled, took them out, re-installed the pkg..and same result.
Disclaimer: The above post may contain elements of cheekiness.

My eccentricity has nothing to do with my stabilization

snork13

Quote from: Chelle on February 13, 2006, 12:37:16 PM
This is interesting...I installed the mod...no link on the menu, no admin options are showing.  I got no errors in stalling the pkg.   Any ideas what's up?

I did have extra links in my menu that I added, I uninstalled, took them out, re-installed the pkg..and same result.

what version of smf are you running? and a link to your site could help.

-snork
Mods
Please DO NOT PM me with requests for individual support, but post your questions and concerns in the appropriate section of the forum where other users can benefit from them as well. Thank you.
I have been super busy as of late. Working on updates to all my modifications for 2.0.1

Chelle

RC2, just upgraded.  Amber theme for RC2 is the default.

http://dymb.donnieyen.us

Put the extra links back cause I needed them there for the time being
Disclaimer: The above post may contain elements of cheekiness.

My eccentricity has nothing to do with my stabilization

aussieholden

Yep that fixed it cheers.  ;D

darthmactis

I have the same error

Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./index.php Test successful
2. Execute Modification ./Sources/ManagePermissions.php Test successful
3. Execute Modification ./Themes/default/index.template.php Test failed
4. Execute Modification ./Themes/default/Settings.template.php Test successful
5. Execute Modification ./Themes/default/Themes.template.php Test successful
6. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
7. Extract File ./Themes/default/Paypal.template.php
8. Extract File ./Sources/Paypal.php

Could it be becuase of the tinyportals install? and If so could you make a TP version?

rhizzo

I am trying to install this mod as well. Im using Forum version: SMF 1.1 RC2. When I go to install im getting the same error as many others. I dont have any other mods installed. I am using the default theme. Please help. I tried to let it run through anyway but nothing comes up. No tab, no options.

Thanks

Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./index.php    Test successful
2.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
3.    Execute Modification    ./Themes/default/index.template.php    Test failed
4.    Execute Modification    ./Themes/default/Settings.template.php    Test successful
5.    Execute Modification    ./Themes/default/Themes.template.php    Test successful
6.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
7.    Extract File    ./Themes/default/Paypal.template.php    
8.    Extract File    ./Sources/Paypal.php

Bigguy

If you have other mods installed that change the index.template.php file then this is why you get this error. Try uninstalling some of the mods you have installed and then reinstall this one. If that doesnt work you will have to manually add the code to that file.

pheasant_plucker

I have just installed this manually after getting the usual index.template.php error.  so if you get the following message.

Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./index.php    Test successful
2.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
3.    Execute Modification    ./Themes/default/index.template.php    Test failed
4.    Execute Modification    ./Themes/default/Settings.template.php    Test successful
5.    Execute Modification    ./Themes/default/Themes.template.php    Test successful
6.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
7.    Extract File    ./Themes/default/Paypal.template.php   
8.    Extract File    ./Sources/Paypal.php

Click install and ignore the message above. This will install the mod but Index.template.php needs to be modified manually.
Open you index.template.php file in your editor and find the line
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
$current_action = $context['current_action'];


After 'help', 'pm' Insert  , 'paypal'

So it looks like this [code]if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm', 'paypal')))

The above code may be slightly different if you have added buttons or installed a mod such as Tiny Portal. Just insert the Paypal where you want it to appear in the button list

Now find.

// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo ($current_action == 'pm' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'pm' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a>
</td>' , $current_action == 'pm' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


After it add
// the [paypal] button.
echo ($current_action=='paypal' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'paypal' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=paypal">Donate</a>
</td>' , $current_action == 'paypal' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


Save and upload the modified file and the mod will now work!

Gerry[/code]

4css

Thanks for the code, copied into word and printed it out for future use. The errors that you put up there are the exact ones that I am recieving.
4~css
^i^
The only stupid question is the one that goes unasked!
Fibromyalgia
Friends and family

CSS Directory
My Strand of the web
CSS blog just starting
Did I mention I'm goign to be a grandmom?!!!

NetHead

Nice mod.

One problem I have.  If a visitor is not logged in and clicks the "Donate" link on the menu bar in the default theme, it doesn't load the page - just returns the user to the main forum page.  If a member is logged in, all works fine.  Using SMF 1.1 RC2

Is there a solution for this?  I would like to allow non-registered users to donate also.

Thanks for the mod.

rnorth6920

Quote from: NetHead on March 02, 2006, 12:06:15 PM
Nice mod.

One problem I have.  If a visitor is not logged in and clicks the "Donate" link on the menu bar in the default theme, it doesn't load the page - just returns the user to the main forum page.  If a member is logged in, all works fine.  Using SMF 1.1 RC2

Is there a solution for this?  I would like to allow non-registered users to donate also.

Thanks for the mod.

You have to change the permissions to allow them to donate.

northwestfreewheelers

I get this error with it:

   Type     Action     Description
1.    Execute Modification    ./index.php    Success
2.    Execute Modification    ./Sources/ManagePermissions.php    Success
3.    Execute Modification    ./Themes/default/index.template.php    Failure
4.    Execute Modification    ./Themes/default/Settings.template.php    Failure
5.    Execute Modification    ./Themes/default/Themes.template.php    Failure
6.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Success
7.    Extract File    ./Themes/default/Paypal.template.php    
8.    Extract File    ./Sources/Paypal.php

Anyone no a fix?
i am using SMF 1.06

Advertisement: