1
den1662
JSP similar to XOOPS
  • 2006/2/22 9:33

  • den1662

  • Just popping in

  • Posts: 12

  • Since: 2003/8/19


Hi,

Do any of you come across JSP based CMS close to XOOPS features..? modules, theme, language, block etc..

I know this sounds crazy but I really need to proof them there is no such thing similar to XOOPS. I would say XOOPS modules is easy to custom code and seamlessly to attach. So I dont want my competitor to win it. I dont like JSP either.

Go XOOPS



2
den1662
Re: Content Module - Fckeditor - Image Uploads
  • 2006/1/8 19:14

  • den1662

  • Just popping in

  • Posts: 12

  • Since: 2003/8/19


I found out "UserFiles" location on windows (apache) & linux behave differently.

1) Linux: the folder will be the same level as mainfile.php
2) Windows: it is folder before mainfile.php

workaround:
edit ..\modules\content\admin\fckeditor\editor\filemanager\browser\default\connectors\php\connector.php
look for $GLOBALS["UserFilesPath"] = '/UserFiles/'
append your root folder just before UserFiles
ie: C:\www\tempe-goreng.com\mainfile.php -> $GLOBALS["UserFilesPath"] = '/tempe-goreng.com/UserFiles/'

..and you can start upload your files



3
den1662
Re: HTMLArea Module for All XOOPS
  • 2005/5/19 21:59

  • den1662

  • Just popping in

  • Posts: 12

  • Since: 2003/8/19


Reason:
Class xoopsmodule is not loaded whenever being called by htmlarea module.

Debug:
1) Turn on XOOPS debug System Admin -> Site Preferences -> General Settings -> Debug Mode -> PHP
2) Fatal error: Undefined class name 'xoopsmodule' in D:\ftx_web\cms\class\xoopsform\formdhtmltextarea.php on line 21
3) Watch out your URL at that time.

Solution:
1) open edituser.php
2) add this line
include_once XOOPS_ROOT_PATH.'/class/xoopsmodule.php';
before this line
include_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php';

Misc:
Module extcal (admin to add category) is also having the same fatal problem. Both are great modules. Haven't found any solution yet. Try to email the module owner hope he could help.



4
den1662
Re: XOOPS PM(Private Message)-Hack
  • 2005/1/17 2:35

  • den1662

  • Just popping in

  • Posts: 12

  • Since: 2003/8/19


Found other workaround.. superb & simple..

Quote:

$subject = "System Generated Message";
$msg_text = "You have new message from your previous submission. Please click HERE for more detail.";
$to_userid = 1;
$from_userid = $xoopsUser->getVar('uid');
$sql = "INSERT INTO " . XOOPS_DB_PREFIX . "_priv_msgs (msg_image, subject, from_userid, to_userid, msg_time, msg_text) VALUES ('icon1.gif', '$subject', $from_userid, $to_userid, ".time().", '$msg_text')";
$xoopsDB->queryf($sql);


Change your $to_userid & use XOOPS Code for more msg variety.

Reference: queryF

Quote:

den1662 wrote:
This what i have tried 'Module PM' but getting errors:
'Errors None' by getHtmlErrors. Where did i go wrong?

Quote:


include("../../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 1;

include(XOOPS_ROOT_PATH."/class/xoopsmailer.php");
$myts =& MyTextSanitizer::getInstance();

$pm_handler =& xoops_gethandler('privmessage');
$pm =& $pm_handler->create();
$pm->setVar("subject", "Hello World");
$pm->setVar("msg_text", "Apo kono eh jang!");
$pm->setVar("to_userid", 1);
$pm->setVar("from_userid", 1);
if (!$pm_handler->insert($pm)) {
echo $pm->getHtmlErrors();
}

include(XOOPS_ROOT_PATH."/footer.php");




5
den1662
Re: Extended User Information
  • 2005/1/15 17:57

  • den1662

  • Just popping in

  • Posts: 12

  • Since: 2003/8/19


Mithrandir/Onokazu,

I've tried to split the extended table and call it by SQL JOINT in function &getObjects.

Quote:

$sql = 'SELECT * FROM '.$this->db->prefix('users').' INNER JOIN '.$this->db->prefix('users_extended').' ON '.$this->db->prefix('users').'.uid = '.$this->db->prefix('epc_extended').'.uid';


The query part is working but somehow it is missing somewhere in assignVars($myrow)

Take a look at the file user.php

Any idea?



6
den1662
Extended User Information
  • 2005/1/15 17:49

  • den1662

  • Just popping in

  • Posts: 12

  • Since: 2003/8/19


For module developer, you might need extra info for the registered users. Take a look at database table xoops_users. What if you want to extend it to the unlimited fields.

1) Download this file user.php
2) Overwrite this file at html/kernel/user.php (backup!!!)
3) Then you can call it from any module as Quote:
echo $xoopsUser->getVar('telefonHP');


Assumption: the field is pre-added.
Take a look on how do I modify the file user.php



7
den1662
Re: XOOPS PM(Private Message)-Hack
  • 2005/1/5 10:35

  • den1662

  • Just popping in

  • Posts: 12

  • Since: 2003/8/19


This what i have tried 'Module PM' but getting errors:
'Errors None' by getHtmlErrors. Where did i go wrong?

Quote:


include("../../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 1;

include(XOOPS_ROOT_PATH."/class/xoopsmailer.php");
$myts =& MyTextSanitizer::getInstance();

$pm_handler =& xoops_gethandler('privmessage');
$pm =& $pm_handler->create();
$pm->setVar("subject", "Hello World");
$pm->setVar("msg_text", "Apo kono eh jang!");
$pm->setVar("to_userid", 1);
$pm->setVar("from_userid", 1);
if (!$pm_handler->insert($pm)) {
echo $pm->getHtmlErrors();
}

include(XOOPS_ROOT_PATH."/footer.php");




8
den1662
Re: Any Malaysia Xoops there?
  • 2004/7/4 13:43

  • den1662

  • Just popping in

  • Posts: 12

  • Since: 2003/8/19


Hi all,

Our company is looking for 3-5 PHP programmers (XOOPS module).
Any experience level is accepted.
Any professional certification is accepted.
Posses own transportation and mobile around KL.
Full time contract.
Ready to work by this week.
Job deliverance really important!

Email resume to info@steps.com.my or call 03 8943 2551
Source code as attachments are also welcome!

Thanks.

P/S fwd to your friends too..!



9
den1662
Re: Any Malaysia Xoops there?
  • 2004/4/23 9:29

  • den1662

  • Just popping in

  • Posts: 12

  • Since: 2003/8/19


Here to Promote

Suasana.com

well we have started develop module for our company... this is the best cms so far for proggie... kewll... if the msian XOOPS started already dont forget to invite me too..!!!




TopTop



Login

Who's Online

62 user(s) are online (31 user(s) are browsing Support Forums)


Members: 0


Guests: 62


more...

Donat-O-Meter

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

Latest GitHub Commits