Login

Username:

Password:


Lost Password?

Register now!

Main Menu

Themes


(14 themes)

Sponsors

Sponsor

Mastop Menu

Sponsors

Mastop Navigation

Home / Planet

Planet::Articles


2007/11/25 5:57:32 | 9 reads | 2/73

I've started this Xoops site two month ago, and now with the help of the Xoops community I can proudly say Thank You.
I update the website daily.

RenewEnergyDir.com to learn more about our Alternatives.

Thank You!


2007/11/25 5:56:58 | 7 reads | 2/62

This article will tell you how to build up modules for XOOPS with bake. :)

Enviornments:
Windows XP Pro SP2
XAMPP 1.6.0a / PHP Version 5.2.4
CakePHP 1.2.0.5875 pre-beta
XOOPS 2.0.17.1
PDT 1.0

1. Setup XOOPS in XAMPP, open a project in PDT and point the workspace to the root of XOOPS.
2. Download and exact Cake 1.2, move the cake folder into the root of XOOPS (D:\xampp\htdocs\xoops\cake)
3. Open PDT,
Run -> External Tools -> Open External Tools Dialog
In Program, add one item
Quote:

Name : BakeXOOPS
Main->Location: D:\xampp\php\php.exe
Working Directory: ${workspace_loc:/xoops/cake/console}
Arguments: cake.php bake -working ../../modules/test/


*The name 'test' is the module name you want to build.
4. Execute BakeXOOPS twice to have basic skeleton of cake and setup database for the new module(test).
5. Open http://localhost/xoops/modules/test/ in your browser to see if cake works in test module.
6. Modify xoops/modules/test/webroot/index.php , in the beginning add the following lines:

    $xoops_path = dirname( dirname(dirname( dirname( __FILE__ ))));
require_once( $xoops_path . '/mainfile.php' );
include XOOPS_ROOT_PATH."/header.php";


And at the end:

    include XOOPS_ROOT_PATH."/footer.php";


7. Modify xoops/modules/test/views/layouts/default.ctp , the results:

<?php
global $xoopsTpl;
$xoopsTpl->assign('xoops_module_header', $html->css('cake.generic') . $scripts_for_layout);
if ($session->check('Message.flash')):
$session->flash();
endif;
echo $content_for_layout;
echo $cakeDebug;


8. Modify xoops/modules/test/webroot/css/cake.generic.css , Try to remove conflict lines , the results:

table tr.altrow td {
background: #f4f4f4;
}
td.actions {
text-align: center;
white-space: nowrap;
}
td.actions a {
display: inline;
margin: 0px 6px;
}
.cakeSqlLog table {
background: #f4f4f4;
}
.cakeSqlLog td {
padding: 4px 8px;
text-align: left;
}

/* Paging */
div.paging {
color: #ccc;
margin-bottom: 2em;
}
div.paging div.disabled {
color: #ddd;
display: inline;
}

/* Notices and Errors */
div.message {
clear: both;
color: #900;
font-size: 140%;
font-weight: bold;
margin: 1em 0;
}
div.error-message {
clear: both;
color: #900;
font-weight: bold;
}
div.error em {
font-size: 140%;
color: #003d4c;
}
span.notice {
background-color: #c6c65b;
color: #fff;
display: block;
font-size: 140%;
padding: 0.5em;
margin: 1em 0;
}
/* Actions */
div.index div.actions {
clear: both;
margin-top: .4em;
text-align: left;
}
div.view div.actions {
clear: both;
margin-top: .4em;
text-align: left;
width: 60%;
}
div.actions ul {
margin: 0px 0;
padding: 0;
}
div.actions li {
display: inline;
list-style-type: none;
line-height: 2em;
margin: 0 2em 0 0;
white-space: nowrap;
}
div.actions ul li a {
color: #003d4c;
text-decoration: none;
}
div.actions ul li a:hover {
color: #333;
text-decoration: underline;
}

/* Related */
div.related {
clear: both;
display: block;
}

/* Debugging */
pre.cake-debug {
background: #ffcc00;
font-size: 120%;
line-height: 18px;
margin: 4px 2px;
overflow: auto;
position: relative;
}
div.cake-stack-trace {
background: #fff;
color: #333;
margin: 4px 2px;
padding: 4px;
font-size: 120%;
line-height: 18px;
overflow: auto;
position: relative;
}
div.cake-code-dump pre {
position: relative;
overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
color: #000000;
background-color: #F0F0F0;
border: 1px dotted #606060;
margin: 4px 2px;
padding: 4px;
overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
clear: both;
font-size: 12px;
line-height: 5px;
margin: 4px 2px;
padding: 4px;
overflow: auto;
}
div.cake-code-dump span.code-highlight {
background-color: #FFFF00;
}


9. Modify xoops/modules/test/config/database.php , the results:

<?php
if(!isset($xoopsOption)) {
$xoopsOption['nocommon'] = 1;
$xoops_path = dirname( dirname(dirname( dirname( __FILE__ ))));
require_once( $xoops_path . '/mainfile.php' );
}
define('CAKE_DB_PREFIX', XOOPS_DB_PREFIX . '_');
class DATABASE_CONFIG {

var $default = array(
'driver' => XOOPS_DB_TYPE,
'persistent' => false,
'host' => XOOPS_DB_HOST,
'port' => '',
'login' => XOOPS_DB_USER,
'password' => XOOPS_DB_PASS,
'database' => XOOPS_DB_NAME,
'schema' => '',
'prefix' => CAKE_DB_PREFIX,
'encoding' => ''
);
}


10. Modify xoops/modules/test/config/core.php

Disable this setting:
Configure::write('Session.start', true); 


11. Modify the cache setting in xoops/modules/test/config/core.php

	Cache::config('default',array(
'engine' => 'File',
'path' => XOOPS_ROOT_PATH . '/cache',
'prefix' => 'cake_'
));


12. Modify xoops/cake/libs/cache/file.php
Disable line 79:
$this->settings['path'] = $this->__File->Folder->cd($this->settings['path']);


13. Then you could start baking modules. :)

Known problems:
1. In xoops_version.php of the module, I can't use $modversion['sub'] to add submenu as other modules of XOOPS.
2. Sometimes I met blank page, switch the debug setting or refresh the page could bring me correct results.
3. I can't turn on the debug settings in both at the same time.
4. I met many problems about variable scope, it's not the same as building XOOPS modules like past.
5. "Never" using the results in production without taking care more, more, ... and more.


2007/11/23 8:28:27 | 7 reads | 2/50

Upon community requests since a long while ago, a Wiki module has been installed on www.xoops.org. The Wiki is intended to be a community-driven place to allow people build our documents by adding and editing wiki pages, providing resources, helping people use wiki, etc.


2007/11/23 7:06:55 | 4 reads | 3/54

Urlaub Jordanien is a german travel with the
the main focus, holiday in jordanien.
built using simple - xoops 0.7.9 (xoops 2.2.5) with seo hack.

Urlaub Jordanien

regards and nice xoopsing
jordanien


2007/11/22 16:16:09 | 3 reads | 2/61

For those who don?t know CM4F, it stands for Community Messaging for Forums. It is a tool that has been developed to integratge mailinglists/yahoogroups, and generally speaking all community tools that can use email communications with forums.
The tool has been iniatally defined for the phpBB forum system, but has been expanded to SMF, NewBB, and other systems.
Due to a huge lack of time, the development has been lagging for somewhile, but now is being retaken.
CM4F for the NewBB forum system will be moving to the www.open-networks.org site, where it has been already integrating some messages in the past.


2007/11/22 16:14:01 | 4 reads | 2/42

The xoops.org websites will be closed for further update and maintenance during the coming weekend.
During the maintenance time period, please visit XOOPS Project SouceForge site:
http://sourceforge.net/projects/xoops/


The XOOPS Project Council


2007/11/22 8:10:00 | 7 reads | 3/57

Thank you for your patience.

As you may be aware, in response to the views and opinions expressed in the threads Improving XOOPS governance, Proposal: Towards A Sustainable Open Source Project and [Proposal] Improving XOOPS Governance (amongst others), a new team was established by members of the XOOPS community with a view to drafting a proposal to be presented to both the Project Council and the XOOPS Foundation. The proposal was to make recommendations reflecting the concerns of many xoops users as to the state of the project, its future direction and its organizational structure.

This team was named the "XOOPS Draft Proposal Preparation Team" and you can follow their progress in the wiki

This Report:

This report serves two functions. Firstly, it is to inform the community of where reference materials relating to this process can be found. Secondly, and of equal importance, it serves as a focal point for interested community members to provide input. The team makes one request. Please read all the information on the wiki before you write. This is an extremely involved process, and there are many topics on which discussion must be held. In the interest of making speedy yet thorough progress, the team has decided to deal with issues in an orderly manner, and while community participation is encouraged and expected, the team suggests that contributors restrict their feedback to topics currently under discussion.
Progress:

The team assembled itself in the forums on XOOPS.org, and was open to volunteers to join. Those that accepted the challenge requested and received a work space on XOOPS.org. Sadly, a week into their work, vandals attempted to derail the initiative and much of their work was lost. Not to be defeated, they moved to a different workspace and redoubled their efforts.
Preliminary Goals:

The team's initial goals were to agree on procedures:

a) for holding meetings

b) for making decisions and resolving disputes.

c) for keeping the community, including international support sites, informed and involved.

As these agreements were reached, an agenda was drafted. The draft which the team has compiled can be seen in the wiki. The various stages on this agenda are broadly defined and far reaching. The team believes that all matters of community concern fall within one stage of discussion or another. If interested members of the community believe that their concerns may not get covered in this agenda, you are encouraged to comment here.

This News Release also sent to:

International Support

XOOPS Arabic Support http://www.alburak.net/ax/
XOOPS Argentina Support http://www.xoops.com.ar
XOOPS Czech Support http://xoops.zpc.cz/
XOOPS Danish Support http://www.xoops.dk/
XOOPS Dutch Support http://www.xoops.nl/
XOOPS Finnish Support http://xoopsfin.org/
XOOPS French Support http://www.frxoops.org/
XOOPS German Support http://www.myxoops.org/
XOOPS Greek support http://www.xoopsgreece.gr
XOOPS Hungarian Support http://xoops.chaosteam.hu/
XOOPS Italian Support http://www.xoopsitalia.org/
XOOPS Lithuanian Support http://www.xoopslt.com/
XOOPS Paran? Brazil Support http://www.xoops.pr.gov.br/
XOOPS Persian support http://www.irxoops.org/
Xoops Polish Support http://www.xoops.pl/
Xoops Russian Support http://www.xoops.ru/
Xoops Simplified Chinese Support http://xoops.org.cn/
XOOPS Spanish Support http://www.esxoops.com/

Community

http://helpxoops.info/
http://xoopsinfo.com/
http://xoopsmoddev.org
http://www.xoopsmexico.net
http://www.xoops-magazine.com
http://www.xoopsdesign.com
http://support.sirium.net
http://www.xoopswiki.org
http://xoops-end-user.com
http://xoopsfoundation.org
http://www.xoopsaddons.org


XOOPS Official Local Support Site Guidelines
Official Local Support Sites will not charge a fee for support (or extra support). Donations are fine, but the support is a community effort and should remain free to all users. There shall be no penalties or reduced access to information for non donating members.

Paid Support
XOOPS-BR XOOPS Support http://www.xoopsbr.com/
XOOPSTotal BR support http://comercial.xoopstotal.com.br/


2007/11/22 7:30:58 | 4 reads | 3/65

Facebooking101.com provides the latest information about Facebook Layouts, Facebook Applications , Facebook News & Facebook Blog Postings. If it has to do with Facebook, we cover it! This Xoops-based site uses many modules which have been cloned or renamed for SEO purposes. The Xoops Planet module is used in several instances to aggregate RSS feed information, while the X_movie module is used for displaying videos.



Check out Facebooking101.com today!


2007/11/21 20:26:23 | 5 reads | 2/45

Hi,
we make a new community for italian seller. Web site have Drop Ship Directory (addresses module), News for Drop Shipper (news module), Drop Ship static page (mastop publish module) for static page.






For more informations look www.OpenDropShip.com - DropShip - WholeSale Source - DropShipping


2007/11/20 4:42:41 | 2 reads | 3/42

The Legends of Mernac, home of free fantasy fiction and the best art on the web, is currently looking for web developers, programmers and designers to join their ranks. They will work with the development team to maintain and create modules for the current XOOPS CMS.

What is in it for you? Participants will be compensated with revenue generated by advertisements on the site, site memberships and other avenues on Mernac. There will also be numerous opportunities to show off your skills in any of the Mernac Programming Contests.

Interested parties should join Mernac and contact Lucia/Serephina to get started!!