11
Mithrandir
Re: Module Development tutorial (with classes)

Unfortunately, the French example about XoopsObject and XoopsObjectHandler usage is incorrect.

Its method of including the class definition file and then calling xoops_gethandler can be replaced with a call to xoops_getmodulehandler('sortof_name_of_class');

I say 'sortof...' because e.g. in an article module, you could call xoops_getmodulehandler('article') and XOOPS will look for a file called article.php inside the module's class folder. That file must contain a class called [module's dirname]ArticleHandler. But if it does, you don't need to include any files before calling xoops_getmodulehandler().

There are some other mistakes in that tutorial as well, but not regarding XoopsObject/XoopsObjectHandler usage.
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software



12
Mithrandir
Re: CBB 3.08: error after PHP and MySQL upgrade from version 4.x to 5.x

Could you try again, but with inline debug enabled?

See if there are SQL errors and report back the message.
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software



13
Mithrandir
Re: Signing up to mailinglist module?

When making SmartMail we considered anonymous signup to mailing lists and found that it was a big hazzle managing both anonymous users (identified by email) and registered users (identified by user ID) so we made the signup require a registration. This also makes for a better service for subscribers to multiple newsletters, who can manage all their subscriptions from one single place.

However, registration has been integrated with the signup procedure, so it is as unobtrusive as possible.
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software



14
Mithrandir
Re: Are you making money with Xoops?

Thanks for the numbers, Jeff.

If those numbers check out, I'd say that Google Adsense is worth nothing. If you have a site with 50 thousand unique visitors per week, you should be able to achieve at least $10 CPM - with 50 thousand unique visitors, that could be around 200 thousand pageviews and $2000 per week + extra for clicks.

It will take more work with individually negotiating and managing advertising, but I seriously find Google Adsense to be taking too big a cut. It's extremely easy, but it's no wonder, they make a lot of money on these deals.
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software



15
Mithrandir
Re: Are you making money with Xoops?

My Google ads have already generated $0.14 in only one month. By the end of the year, I will have enough for a pack of cigarettes.

(No, I am not impressed with Google's payment policies)
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software



16
Mithrandir
Re: a Conjecture for others forums?

From the news item
Quote:

The module requires PHP 5
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software



17
Mithrandir
Re: a Conjecture for others forums?

1) If there is no xoops_version.php in the module's folder, you will get a
Module File for conjecture Not Found!Module File for Not Found

error.

If you are in the process of uploading, xoops_version.php is most likely the last file to be uploaded (first sub-directories, then root files, and starting with x, xoops_version.php will be the last) so that is quite normal. Trying to install a module that is not fully uploaded to the server cannot be recommended.

2) Why would you rename xoops_version.php to index.php?

3) So the problem is that when you have fully uploaded the module, you assume that the file names are as they should be and do not rename them - then the module does not appear in the modules list of available modules to install?

Yes, that is weird - any PHP debug errors?

@methis:
Quote:
I cannot contribute because I cannot program

I am in quite considerable need of someone to test this and tell me if it actually works - as I said, my SMF-bridged module doesn't work as it should, but that may be a problem with SMF on my particular development server - I'm fighting a bit in the blind and I still don't know if this version 2.01 actually works with SMF.
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software



18
Mithrandir
Re: Trouble getting blocks to appear with SmartBlocks

Since there is no way to bypass the core, SmartBlocks works by having "blocks inside other blocks".

So for the SmartBlocks-configured blocks to show up, you'll need to have the corresponding XOOPS block (SmartBlocks Left, SmartBlocks Right, etc.) visible to everyone on all pages.
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software



19
Mithrandir
Re: New Web Host

it should, yes (not a guarantee that it does - but it should )
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software



20
Mithrandir
Re: What version do I have?

System module version and XOOPS version is not the same.

Check your XOOPS-ROOT/include/version.php for the accurate XOOPS version number.
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software




TopTop
« 1 (2) 3 4 5 ... 506 »



Login

Who's Online

327 user(s) are online (199 user(s) are browsing Support Forums)


Members: 0


Guests: 327


more...

Donat-O-Meter

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

Latest GitHub Commits