111
wtravel
Re: Custom xoop module

IFRAME is not module, you can just use the HTML tag in your module output page. Be careful about security when using a passthrough webstring. Make sure only the authorized persons have 'view' rights to that module. People who can see the module can see the passthrough variables if put in the IFRAME element.

The 'how to create a module' documentation as refered to in the other topic you started are a great reference for the php programmer to start with .



112
wtravel
Re: Custom xoop module

I think it is possible if you use an iframe that points to a file on a webserver that can run asp scripts. I do not know enough about IIS to tell if you can run the scripts on the same server.



113
wtravel
Re: Which PHP editors are best?

Quote:

frankblack wrote:
Thx from me too for this excellent tip! You seem to be a real insider so I guess you can solve this problem as well:

Eclipse freezes when opening files with about 1500 lines (or more) of code (I don't know where the limit is downwards). I already assigned 356 MB (should be enough?) to Eclipse

eclipse.exe -vmargs -Xmx356M


Does somebody know a workaround for this?


I just opened a file with 18701 lines in PHP Eclipse. It took a while for it to open (almost a minute) but it did :o.



114
wtravel
Re: Email Notification

In the file register.php on line 255 (XOOPS 2.0.14) you will find:

$xoopsMailer->setBody(sprintf(_US_HASJUSTREG, $uname));

The sprintf() function in this case, places the variable $uname in the constant _US_HASJUSTREG at placeholder %s. You can add more than one placeholders like that.

For example:
$xoopsMailer->setBody(sprintf(_US_HASJUSTREG, $var1, $var2, $var3, $var4));

Make sure that the constant _US_HASJUSTREG has 4 placeholders in that case.

To get the data submitted by the user use the object function $newuser->getvar();

Example of use:
$newuser_name $newuser->getVar('uid');
$newuser_sitename $newuser->getVar('url');
$newuser_yim $newuser->getVar('user_yim');
$newuser_email $newuser->getVar('email');
$xoopsMailer->setBody(sprintf(_US_HASJUSTREG$uname$newuser_sitename$newuser_yim$newuser_email));


Don't forget to adjust the template as well if necessary.

Hope this helps



115
wtravel
Re: Which PHP editors are best?

Look in the preferences:

PHPeclipse Web Development -> PHP

You will find most settings there for phpEclipse, including line numbers .



116
wtravel
Re: Which PHP editors are best?

Eclipse is the best editor I have seen so far, better than dreamweaver. Did not work with Zend yet.

To get phpEclipse module to work, first install Eclipse, then browse to the update menu: Help -> Software Updates -> Find and Install -> Search for new feautures to install

Then add a new site remote site to use:
http://phpeclipse.sourceforge.net/update/releases

And phpEclipse is installed



117
wtravel
Re: I have a BIG Problem!

How did you erase the module? Simply removing the folder from your website? That would not be helping you.

The best way to unlink the news module as the startup module is to edit directly in the database. You can get into the database using cpanel on most servers.

If you deleted the news module completely, make sure you upload the files again before you edit the database.

To manually edit the startpage in your database, open the (prefix_)config table and edit the row with conf_name 'startpage' to have '--' in the column 'conf_value'.

Edited: Noticed the post right above me after my own post



118
wtravel
Universal Billing module for XOOPS

Wouldn't it be nice to have a billing module available that can be integrated into each other XOOPS module that requires it? At the moment there are numerous modules for XOOPS with a billing feature, each module has its own tables for payment handling and billing information, its own set of code that is not always re-usable.

I had the idea of creating this module for a longer time now, but untill this week I did not have any time for it. In the coming months I will be working on a module that requires a billing feature as well, and so this is my opportunity to work on the uniform XOOPS billing module.

Are there any developers that would like to join the effort to speed up development of this module and prevent double standards? Let me know and we can start something up.



119
wtravel
Re: Start to Map Xoops Structure

Hi,

You can find a good reference on structure at www.xoops.info as well.



120
wtravel
Re: Help, I cant access ./admin.php

Which website is it? The one under your profile?




TopTop
« 1 ... 9 10 11 (12) 13 14 15 ... 77 »



Login

Who's Online

155 user(s) are online (73 user(s) are browsing Support Forums)


Members: 0


Guests: 155


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits