xoops forums

timgno

Module Developer
Posted on: 2011/8/23 10:59
timgno
timgno (Show more)
Module Developer
Posts: 1504
Since: 2007/6/21
#31

Re: XOOPS Basic Module Pack - Beta 1: ready for testing & feedback

Are you sure that this line of code:
<input type="hidden" name="hosted_button_id" value="' . $paypal . '">
paypal is correct?
is correct 'hosted_button_id' name?

Why not work for me?

Roby73

Friend of XOOPS
Posted on: 2011/8/23 14:06
Roby73
Roby73 (Show more)
Friend of XOOPS
Posts: 262
Since: 2011/6/15
#32

Re: XOOPS Basic Module Pack - Beta 1: ready for testing & feedback

Where is the code?
I have only add array errors[] and control if array is true redirect at submit.php with error message.
There isn't none input with paypal

timgno

Module Developer
Posted on: 2011/8/23 15:18
timgno
timgno (Show more)
Module Developer
Posts: 1504
Since: 2007/6/21
#33

Re: XOOPS Basic Module Pack - Beta 1: ready for testing & feedback

Solved!
I added an id wrong because I'm editing the class moduleadmin.php.

I'm putting in renderabout function, this code:
$GLOBALS['xoopsModuleConfig']['ip_paypal'];

and, in the file xoops_version.php of modules, in particular in the module TDMCreate, the code:
$i++;
$modversion['config'][$i]['name']  = 'id_paypal';
$modversion['config'][$i]['title'] = '_MODULEADMIN_IDPAYPAL';
$modversion['config'][$i]['description'] = '_MODULEADMIN_IDPAYPALDSC';
$modversion['config'][$i]['formtype'] = 'textbox';
$modversion['config'][$i]['valuetype'] = 'text';
$modversion['config'][$i]['default'] = '48FQE52QN2GEU';

timgno

Module Developer
Posted on: 2011/8/26 18:49
timgno
timgno (Show more)
Module Developer
Posts: 1504
Since: 2007/6/21
#34

Re: XOOPS Basic Module Pack - Beta 1: ready for testing & feedback

Why not add some fields in renderabout, function, class?

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
<!-- Identify your business so that you can collect the payments. -->
<input type="hidden" name="business"
value="donations@kcparkfriends.org">
<!-- Specify a Donate button. -->
<input type="hidden" name="cmd" value="_donations">
<!-- Specify details about the contribution -->
<input type="hidden" name="item_name" value="Friends of the Park">
<input type="hidden" name="item_number" value="Fall Cleanup Campaign">
<input type="hidden" name="amount" value="$variable Select Amount">
<input type="hidden" name="currency_code" value="$variable Select Currency">

<!-- Display the payment button. -->
<input type="image" name="submit" border="0"
src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif"
alt="PayPal - The safer, easier way to pay online">
<img alt="" border="0" width="1" height="1"
src="https://www.paypal.com/en_US/i/scr/pixel.gif" >

<img alt="" border="0" width="1" height="1"
src="https://xoops.org/images/logo.png" >

</form>

cgunther

Just popping in
Posted on: 2011/10/25 0:34
cgunther
cgunther (Show more)
Just popping in
Posts: 59
Since: 2005/3/27
#35

Re: XOOPS Basic Module Pack - Beta 1: ready for testing & feedback

Tried out the spotlight go to module and the section editor ( sec.php ) gives a blank page with the new admin. I downgraded to the 1.1 go to module before the change to the new admin and the sections editor works again.

Xoops 2.5.3
Apache 2.2.20
CentOS release 5.7
MySQL 5.1.56
PHP: 5.2.17

Ritchie

Not too shy to talk
Posted on: 2011/10/31 20:04
Ritchie
Ritchie (Show more)
Not too shy to talk
Posts: 162
Since: 2002/1/27
#36

Re: XOOPS Basic Module Pack - Beta 1: ready for testing & feedback

Mamba,

Any idea when TDMDownloads will be added?
Greetings Ritchie

Mamba

Moderator
Posted on: 2011/10/31 20:19
Mamba
Mamba (Show more)
Moderator
Posts: 10777
Since: 2004/4/23
#37

Re: XOOPS Basic Module Pack - Beta 1: ready for testing & feedback

Now that XOOPS 2.5.4 is almost ready for a release, we'll be re-focusing back on Basic Module Pack, and TDMDownloads will be part of it.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Ritchie

Not too shy to talk
Posted on: 2011/11/1 11:07
Ritchie
Ritchie (Show more)
Not too shy to talk
Posts: 162
Since: 2002/1/27
#38

Re: XOOPS Basic Module Pack - Beta 1: ready for testing & feedback

Hi Mamba,

Thanks for this great news. I am looking forward to the new module package. I am already translating all modules currently in the package.
Greetings Ritchie

redheadedrod

Home away from home
Posted on: 2011/11/1 14:06
redheadedrod
redheadedrod (Show more)
Home away from home
Posts: 1296
Since: 2008/2/26
#39

Re: XOOPS Basic Module Pack - Beta 1: ready for testing & feedback

Siince PM, Profile and Protector have been updated and are included with the newer 2.5.x releases I suggest they get removed from this package so that we don't confuse new users. I mentioned this elsewhere but haven't seen a response yet.

Rodney
Attending College working towards Bachelors in Software Engineering and Network Security.

Mamba

Moderator
Posted on: 2011/11/1 17:22
Mamba
Mamba (Show more)
Moderator
Posts: 10777
Since: 2004/4/23
#40

Re: XOOPS Basic Module Pack - Beta 1: ready for testing & feedback

They will be removed
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs