1
kerkyra
Module developing best practices
  • 2008/6/4 14:00

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


i think it would be nice to have a forum category for module developers on what would be the best and safest way to use the XOOPS api. For example i was using
Quote:

$uid = $xoopsUser->uid();

in a block of a module i'm writting where as trabis suggested using this to avoid problems

Quote:

if (is_object($xoopsUser) && $xoopsUser->getVar('uid') > 0){
$uid = xoopsUser->getVar('uid');
} else {
$uid = 0;
}


as it can be seen in this thread
Thread

It would be nice to have a seperate forum category for this subject for us to discuss. Any votes to this??
www.guidemap.gr - Beta is out...

2
blindman
Re: Module developing best practices
  • 2008/6/4 18:24

  • blindman

  • Not too shy to talk

  • Posts: 119

  • Since: 2005/6/26


Would be great. Experienced developers sharing useful stuff.
What about some faqs like that:
-> How to use a specific class and it's functions, like XoopsMediaUploader class and fetchMedia function for example.
Don't follow me. I'm lost too.

3
phppp
Re: Module developing best practices
  • 2008/6/5 1:33

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Very good idea.
How about using development forum on sourceforge since we have our SVN and trackers there?

4
hervet
Re: Module developing best practices
  • 2008/6/5 7:25

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


What dev.xoops.org is used for ?

5
kerkyra
Re: Module developing best practices
  • 2008/6/5 8:56

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


i didnt know that we could login with the same uname and pass we have here in dev.xoops.org! Thought we had to register again!!Still there are only a few forums there for general develepment. I would love to see a specific one where we can put topics like "Using xoopsUser class" or safe implementations of XOOPS classes,that way it would be easier to find something i think and very very useful for developers who are in the proccess of learning!Like me
www.guidemap.gr - Beta is out...

Login

Who's Online

249 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 249


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