1281
wishcraft
Re: cakePHP 1.1 Is it worth importing?

Thanks phppp '=), so would recommend spending sometime to make x-cakePHP or something to that effect as a module you can import so people can drop there cake APPs, into the modules app folder to have something either running within the XOOPS environment or like mediawiki does goes to CakePHP mode.

I am sure it would only take a couple of days, I am just wondering what you mean by importing frameworks.. Can you offer me some advice thanks..

Just working on my time allocation!!
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts



1282
wishcraft
cakePHP 1.1 Is it worth importing?

I am wondering if anyone feels upto writing a clone of the cakePHP (www.cakephp.org) range in case someone want to do imports of cakePHP applications in a XOOPS framework.

I recently made my bin directory where you download all those Modules and Hacks from I wrote recently for xoops.

The bin is in cake PHP,http://bin.chronolabs.org.au/ is the path I am talking about here is the file structure of the bin subdomain on chronolabs.

I don't know I have been playing with it through the evening into the morning for the first time and it seems like a good application framework for RAD, might get some use it would be kewl if you could drop in these.

File Path
../root
.... /.htaccess (1.0)
.... /
index.php (1.1)
.... /
zip/download.php (1.3)
.... /
files/ <-cake goes here


1.0 - .htaccess file
Quote:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ([a-zA-Z0-9\ \'\_\-\.]+.zip)$ zip/download.php?file=$1 [L,NC,QSA]


1.1 - Index.php
<? header("Location: http://bin.chronolabs.org.au/files/downloads/"); ?>


1.1 - download.php
<?
    
$default = array('driver' => 'mysql',
                                
'connect' => 'mysql_connect',
                                
'host' => 'localhost',
                                
'login' => 'htriukrw_bin',
                                
'password' => 'password',
                                
'database' => 'htriukrw_bin',
                                
'prefix' => '_cake');

    if (isset(
$default)){     

     
$mysql mysql_connect($default['host'],$default['login'],$default['password']);
     
$db mysql_select_db($default['database'],$mysql);
     
$result mysql_query('update '.$default['prefix'].'downloads set downloads=downloads+1 WHERE download_url LIKE "%'.$_REQUEST['file'].'";',$mysql);
    }     

     
header("Expires: Mon, 26 Nov 1962 00:00:00 GMT");
     
header("Last-Modified: " gmdate("D,d M Y H:i:s") . " GMT");
     
header("Cache-Control: no-cache, must-revalidate");
     
header("Pragma: no-cache");
     
header("Content-Type: Application/octet-stream");
     
header("Content-disposition: attachment; filename=" $_REQUEST['file']);
     
readfile($_REQUEST['file']);

    if (isset(
$mysql)){     
     
$result mysql_query('update '.$default['prefix'].'downloads set complete=complete+1 WHERE download_url LIKE "%'.$_REQUEST['file'].'";',$mysql);
    }     
?>


Then build my cake frame work which i worked out from the tutorial on cake and there bakery is lacking items.
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts



1283
wishcraft
x-Soap 1.1 & Legacy MySQL Services (4.0)

Quote:

armitage wrote:
Simon - Thanks for this module - XOOPS as a service!!!

You asked for bug reports through PM. I'm getting whitescreen in the admin for both Configure Tables and Configure Fields. Preferences works as expected. Nothing in debug. XOOPS 2.0.18, Apache2, Mysql4, PHP5.


Could be the fact you are running MySQL 4, I am using 5.1.. Otherwise I am not sure we should debug this as if you MD5 or CRC is the same as the one in the wiki x-Soap then you have the same version that I am running on the test server www.unseen.org.au which you can use in the testing directory of the module.

The command you want to check out is

http://dev.mysql.com/doc/refman/4.1/en/show.html

I will raise a forum topic about this, as i think there will be a few people using a legacy MySQL service..

The line number 49 of /xsoap/admin/index.php should read something like this for MySQL 4.0

// Line 49 is
$sql "SHOW FIELDS FROM ".$xoopsDB->prefix(get_tablename($tbl_id));

// Line 49 could be
$sql "SHOW COLUMNS FROM ".$xoopsDB->prefix(get_tablename($tbl_id));


and the line 185 of the same file may have to have a different pattern as i dont think \_ is a call in SQL the legacy MySQL Services, If you have these your hosting provider should have upgraded a LONG time ago!!

Something like..

// 185 is
$sql "SHOW TABLES FROM ".XOOPS_DB_NAME." LIKE '".XOOPS_DB_PREFIX."_%'";

// 185 could be
$sql "SHOW TABLES FROM ".XOOPS_DB_NAME." LIKE '".XOOPS_DB_PREFIX."%'";
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts



1284
wishcraft
Re: [x-Soap] Problem with uninstall

yeah if you want to patch that it is line 50 of xoops_version.php

$modversion['tables'][0]    = 'soap_table';

// Should be

$modversion['tables'][0]    = 'soap_tables';
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts



1285
wishcraft
x-Soap 1.1 (XOOPS Makes programming easy)

Resized ImageModule: x-Soap
Author: Simon Roberts
Version: 1.1

x-Soap is an extension library for XOOPS, it is a soap server that is design to have a secure sydnication method for customised crons and systems intergration. You can share any part of your XOOPS database securely with x-soap including post, retrieve and update.

Help System will be written for this module, you can securely and safely sydnicate databases within the XOOPS environment with any SOAP compatible system.

SOAP is a w3c Standard XML Exchange, this a full WDSL and Standard Soap Server for XOOPS.

I spend the day from about 9am writting this.

Download: xoops2_xsoap_1.1.zip (156Kb)
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts



1286
wishcraft
Re: SSL for just one module

Which module are you using?? I suggest you use MakePayment .. This allows for anonymous payment with a redirection URL so it can trigger that the payment was recieved.

As https:// and http:// are consider different sites by the cookies which is part of their security you have to have the customer logged into ssl from the start.
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts



1287
wishcraft
Re: sitemap module plugin for article module by phppp to show all articles

Hey I wrote this as my first SEO Tip #0 =https://xoops.org/modules/newbb/viewtopic.php?topic_id=62187&forum=10&post_id=280669#forumpost280669

This is how you make a sitemap.
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts



1288
wishcraft
Re: xoops torrent

There was a small bug in 1.05, in singlefile.php on line 105 & line 132 there is a print_r statement that needs to be remmed out put a // in front of them.
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts



1289
wishcraft
Re: xoops torrent

It is probably the publishing date.

Make sure in prefix_xtorrent_downloads

The field status = 1 and the field published = unixdate [time()]
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts



1290
wishcraft
x-Torrents (I wrote this for u man)

Resized Image
Module: x-Torrent
Author: Wishcraft (+ Others)
Version: 1.05
Download: xoops2_xtorrent_1.05.zip
Size: 247Kb

x-Torrent is a module which allows your users and yourself to upload torrents to xoops, it will poll the torrents as well as download file information, seeds, leeches, trackers etc, of the torrent.

It is a modified version of wfDownload by the wf Team, done over 7 hours of an early morning. Completely tested x-Torrent will allow you to manipulate and maintain your torrent library with easy forms and standised interface.
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts




TopTop
« 1 ... 126 127 128 (129) 130 131 132 ... 135 »



Login

Who's Online

211 user(s) are online (113 user(s) are browsing Support Forums)


Members: 0


Guests: 211


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