xoops forums

Forum Index


Board index » All Posts (wishcraft)




wishcraft

Module Developer
Posted on: 2018/6/22 13:43
wishcraft
wishcraft (Show more)
Module Developer
Posts: 3711
Since: 2007/5/18
#11

XOOPS Module Team ~ Need Face to Face Meetups!

Resized Image


To XOOPS Team,

How are you all? Look I just wanted to write as the only module developer team member that seems to be active, I am really needing some face to face calling in over webcam I am feeling really isolated and it is not helping with my moral which is effecting the time I put in at the keyboard... I also feel we should move xoops.org to linode.com as a hosting as we will get a lot more bang for our buck in the cloud environment, however the xoops.org site isn't providing any load on the dedicated service so I have been developing a series of API's for xoops.org which are found here in the SVN: https://sourceforge.net/p/xoops/svn/HE ... in%20APIs%20&%20Sites%29/

There is a couple of physical sites in there namely fonts.xoops.org (this just needs a slightly adjustment to the curl too syndicate the file upload which is on my github.com/DrARoberts/gist with fonty.xoops.org the fonts api) and there is one I would like marketing as well as anyone who can write modules help me with releases.xoops.org that I want to put on kitchen.xoops.org I think in resolve; it is a place where all cores, modules, themes get checked in and quarantined to be built for a release copy; it will also build a function and classes wiki at the same time from examining the code libraries in a self learning system, you will be able to check things in from Git, SVN, File Upload, WebDav...

Releases.xoops.org planning also has an adult consenting system for under age minors and education system support, with an in-house group editor, so for example educational sites can sign classes in which once if under age consent is granted by the adult guardian via signature and legal document return (It will have to generate an inbox with the email address propagation api ~ for checking for the image of the signed document returning then filing in the hidden XOOPS Legal SVN where backups and legal documents are stored via SVN on sourceforge.net). the releases.xoops.org once a module is submitted for release will quarantine the module/theme/core and spot check it for documentation and flaws, then once quarantine is released will map it for the wiki on functions and classes (as well as polling the documentation team for class and function calling examples)...

I would like to develop this with whomever can meet me on skype and keep company at the keyboard I have spent years behind the keyboard alone and are going a bit stir crazed.. The API will all have something added to them called ?xoopskey= which a module I will finish tonight called 'authkey' as well as I should get time to finished the System Plugin Module 'xoopskey' for retrieving a new xoopskey and storage of one as a preset configuration and put on the SVN is for xoops.org, it will come with the xPayment plugin for purchasing above average calling threshold on our APIs tokens for more calls at a flat rate to bring xoops.org another revenue stream from high end sites using the APIs on xoops.org


wishcraft

Module Developer
Posted on: 2018/4/1 9:45
wishcraft
wishcraft (Show more)
Module Developer
Posts: 3711
Since: 2007/5/18
#12

Re: X-Torrent - Better Passkey Security

like mamba will tell you about this at Ubuntu like when I am displayed like my bloods right test now as a passport M8747409 definitive at least a proven alien with area51 my seather when it not in dick mode like looking like a vagina publishes stuff by itself now with pooty satellite dish deleted by still installed in both of us, anytime anyone says still stuff like - I wish there was a programme that did this - on sundown more xoops modules turn up on the SVN and in Git!!


wishcraft

Module Developer
Posted on: 2018/4/1 9:37
wishcraft
wishcraft (Show more)
Module Developer
Posts: 3711
Since: 2007/5/18
#13

Re: X-Torrent - Better Passkey Security

If you want connect to my skype: antony.cipher / conquebine@outlook.com ~~ we can work on it together, my only problem with the computer after years of isolation to sit at it is I haven't got much physical company apart from my flatmate + wife and +2 cats called MMT = Meow Meow Twerp and her only raised daughter VMT = Vincent Mozzarella Twerp ~~ see all the cheese really was shredded by vincent which is a girls name the male is ~~ Vinton!


wishcraft

Module Developer
Posted on: 2018/3/27 15:38
wishcraft
wishcraft (Show more)
Module Developer
Posts: 3711
Since: 2007/5/18
#14

Re: xoops_version.php and adding RSS Feeds to Theme Template

For the CURL Routine you will have to include this piece of code for it for file attachments like screen shots of errors for the submit request, submit bug curl URL calls.. in the xoops_version.php
if (!function_exists("getURIData")) {
    
    
/* function getURIData()
     *
     *     Get a supporting domain system for the API
     * @author         Simon Roberts (Chronolabs) simon@labs.coop
     *
     * @return         float()
     */
    
function getURIData($uri ''$timeout 25$connectout 25$post = array(), $headers = array())
    {
        if (!
function_exists("curl_init"))
        {
            die(
"Install PHP Curl Extension ie: $ sudo apt-get install php-curl -y");
        }
        
$GLOBALS['php-curl'][md5($uri)] = array();
        if (!
$btt curl_init($uri)) {
            return 
false;
        }
        if (
count($post)==|| empty($post))
            
curl_setopt($bttCURLOPT_POSTfalse);
        else {
            
$uploadfile false;
            foreach(
$post as $field => $value)
                if (
substr($value 01) == '@' && file_exists(substr($value 1)))
                    
$uploadfile true;
                    
            
curl_setopt($bttCURLOPT_POSTtrue);
            
curl_setopt($bttCURLOPT_POSTFIELDShttp_build_query($post));
            
            if (!empty(
$headers))
                foreach(
$headers as $key => $value)
                    if (
$uploadfile==true && substr($value0strlen('Content-Type:')) == 'Content-Type:')
                        unset(
$headers[$key]);
            if (
$uploadfile==true)
                
$headers[]  = 'Content-Type: multipart/form-data';
        }
        if (
count($headers)==|| empty($headers))
            
curl_setopt($bttCURLOPT_HEADERfalse);
        else {
            
curl_setopt($bttCURLOPT_HEADERtrue);
            
curl_setopt($bttCURLOPT_HTTPHEADER$headers);
        }
        
curl_setopt($bttCURLOPT_CONNECTTIMEOUT$connectout);
        
curl_setopt($bttCURLOPT_TIMEOUT$timeout);
        
curl_setopt($bttCURLOPT_RETURNTRANSFERtrue);
        
curl_setopt($bttCURLOPT_VERBOSEfalse);
        
curl_setopt($bttCURLOPT_SSL_VERIFYHOSTfalse);
        
curl_setopt($bttCURLOPT_SSL_VERIFYPEERfalse);
        
$data curl_exec($btt);
        
$GLOBALS['php-curl'][md5($uri)]['http']['posts'] = $post;
        
$GLOBALS['php-curl'][md5($uri)]['http']['headers'] = $headers;
        
$GLOBALS['php-curl'][md5($uri)]['http']['code'] = curl_getinfo($bttCURLINFO_HTTP_CODE);
        
$GLOBALS['php-curl'][md5($uri)]['header']['size'] = curl_getinfo($bttCURLINFO_HEADER_SIZE);
        
$GLOBALS['php-curl'][md5($uri)]['header']['value'] = curl_getinfo($bttCURLINFO_HEADER_OUT);
        
$GLOBALS['php-curl'][md5($uri)]['size']['download'] = curl_getinfo($bttCURLINFO_SIZE_DOWNLOAD);
        
$GLOBALS['php-curl'][md5($uri)]['size']['upload'] = curl_getinfo($bttCURLINFO_SIZE_UPLOAD);
        
$GLOBALS['php-curl'][md5($uri)]['content']['length']['download'] = curl_getinfo($bttCURLINFO_CONTENT_LENGTH_DOWNLOAD);
        
$GLOBALS['php-curl'][md5($uri)]['content']['length']['upload'] = curl_getinfo($bttCURLINFO_CONTENT_LENGTH_UPLOAD);
        
$GLOBALS['php-curl'][md5($uri)]['content']['type'] = curl_getinfo($bttCURLINFO_CONTENT_TYPE);
        
curl_close($btt);
        return 
$data;
    }
}


just have to fix this part
if (count($headers)==|| empty($headers))
            
curl_setopt($bttCURLOPT_HEADERfalse);
        else {
            
curl_setopt($bttCURLOPT_HEADERtrue);
            
curl_setopt($bttCURLOPT_HTTPHEADER$headers);
        }
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/SimonXaies
github.com/Chronolabs-Cooperative
facebook.com/SimonSXaies


wishcraft

Module Developer
Posted on: 2018/3/27 13:08
wishcraft
wishcraft (Show more)
Module Developer
Posts: 3711
Since: 2007/5/18
#15

xoops 2.6.0 --> upgrade script for MySQL Engine=MyISAM to Engine=InnoDB

<?php
/**
 * Class Upgrade_2014
 */
if (!class_exists('Upgrade_MySQL_InnoDB')) {
    class 
Upgrade_MySQL_InnoDB extends XoopsUpgrade
    
{
        
        public function 
isApplied()
        {
            
$applied true;
            
$result $GLOBALS['xoopsDB']->queryF('SHOW TABLES IN `' XOOPS_DB_NAME '` WHERE `Tables_in_' XOOPS_DB_NAME '` LIKE "' XOOPS_DB_PREFIX '%"');
            while(
$table $GLOBALS['xoopsDB']->fetchArray($result))
            {
                
$createtbl $GLOBALS['xoopsDB']->queryF('SHOW CREATE TABLE `' $table['Tables_in_' XOOPS_DB_NAME] . '`');
                list(
$tbl$create) = $GLOBALS['xoopsDB']->fetchRow($createtbl);
                if (
strpos(strtolower($create),'myisam'))
                    
$applied false;
            }
            return 
$applied;
        }
    
        
        public function 
apply()
        {
            
$applied true;
            
$result $GLOBALS['xoopsDB']->queryF('SHOW TABLES IN `' XOOPS_DB_NAME '` WHERE `Tables_in_' XOOPS_DB_NAME '` LIKE "' XOOPS_DB_PREFIX '%"');
            while(
$table $GLOBALS['xoopsDB']->fetchArray($result))
            {
                
$createtbl $GLOBALS['xoopsDB']->queryF('SHOW CREATE TABLE `' $table['Tables_in_' XOOPS_DB_NAME] . '`');
                list(
$tbl$create) = $GLOBALS['xoopsDB']->fetchRow($createtbl);
                if (
strpos(strtolower($create),'myisam'))
                {
                    if (
$GLOBALS['xoopsDB']->queryF('RENAME TABLE `' $tbl '` to `old_' $tbl '`'))
                    {
                        if (
$GLOBALS['xoopsDB']->queryF(str_replace('MyISAM''InnoDB'$create)))
                        {
                            
$fields = array();
                            
$fldsresult $GLOBALS['xoopsDB']->queryF('SHOW FIELDS IN `' $tbl '`');
                            while(
$fldsrow $GLOBALS['xoopsDB']->fetchArray($fldsresult))
                                
$fields[] = $fldsrow['Field'];
                            
                            
$GLOBALS['xoopsDB']->queryF('START TRANSACTION');
                            if (
$GLOBALS['xoopsDB']->queryF(die('INSERT INTO `' $tbl '` (`' implode('`, `'$fields) . '`) SELECT `' implode('`, `'$fields) .' FROM `old_' $tbl '`')))
                                
$GLOBALS['xoopsDB']->queryF('DROP TABLE `old_' $tbl '`');
                            
$GLOBALS['xoopsDB']->queryF('COMMIT');
                        } else {
                            
$GLOBALS['xoopsDB']->queryF('RENAME TABLE `old_' $tbl '` to `' $tbl '`');
                        }
                    }
                }
            }
        }
        
        public function 
__construct()
        {
            
parent::__construct(basename(__DIR__));
            
$this->task = array('database');
        }
    }
}

$upg = new Upgrade_MySQL_InnoDB();
return 
$upg;


The following code is for an /upgrade module for changing the database from engine myisam to engine innodb which is horribly more efficent and devicive, it will have to be massaged into place with the classname as patchClass name...
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/SimonXaies
github.com/Chronolabs-Cooperative
facebook.com/SimonSXaies


wishcraft

Module Developer
Posted on: 2018/3/27 11:46
wishcraft
wishcraft (Show more)
Module Developer
Posts: 3711
Since: 2007/5/18
#16

xoops_version.php and adding RSS Feeds to Theme Template

As per the requirements listed in the XOOPS Documentation Team for 2.6 --> https://xoops.org/modules/newbb/viewto ... c_id=78350&post_id=363138 there is something that will need to be added like $GLOBALS['xoTheme']->addStylesheet() but $GLOBALS['xoTheme']->addRSSFeed()

for the following call see in this theme +1 This file is part of the theme.html calling in the theme, it is for adding the drop down menu to browsers that support it of available feeds on the site: https://github.com/Chronolabs-Cooperat ... /master/xotpl/xo_rss.html we will need in the theme template a system of ->addRSSFeed for the feed aggregation into the root backend.php and any module with RSS Feeds to add it in with a preloader exciter...
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/SimonXaies
github.com/Chronolabs-Cooperative
facebook.com/SimonSXaies


wishcraft

Module Developer
Posted on: 2018/2/24 19:58
wishcraft
wishcraft (Show more)
Module Developer
Posts: 3711
Since: 2007/5/18
#17

:[ Super Extreme Closest ]: XOOPS 2.5 : Theme has been released (screenshots)

REPO: https://github.com/Chronolabs-Cooperat ... remeClosest-Theme-Xoops25

Resized Image


Resized Image


wishcraft

Module Developer
Posted on: 2018/2/24 19:44
wishcraft
wishcraft (Show more)
Module Developer
Posts: 3711
Since: 2007/5/18
#18

Re: Donation process is broken :: Use XPayment so it is invoice trailed mamba

To Michael Beck (Mamba),

There is a donation module i think I called it x-donation that is designed to work with XPayment so the donations are lodged, and invoice and you have for the 500 report a running invoice trail with the CSV Filter sorting...

You know Open Source really is a cooperative mamba you should change XOOPS LLC to XOOPS COOP, it has it own independent board and charters cooperatives at the UN and it is self governing as well as one registration if you ask me via email the email address for the UN to lodge it cover all ports and destination inside and outside the country or province of it registration... Plus no more 500 Tax Report.. or the 501 Report...

But on the XOOPS Sourceforge SVN for XPayment is in the branch./wishcraft the latest paypal REST API invoice generation and payment system... for the gateway adaptor in x-Payment.


wishcraft

Module Developer
Posted on: 2018/2/24 15:45
wishcraft
wishcraft (Show more)
Module Developer
Posts: 3711
Since: 2007/5/18
#19

Re: X-Torrent - Better Passkey Security

Okey so I have forked your xtorrent github to: https://github.com/Chronolabs-Cooperative/xtorrent which means you will be able to when I let you know pull an updated version from my fork; in this a threadnauts delight me and the endless 2000 or so posts on the XOOPS Forums...

There is a couple of things I have to do to it, to ensure the passkey on the tracker always works, as it will need to do
exec('traceroute 11.11.11.11'$output$return);

and collect the whois information of the last remaining 3 domains when the passkey is written first, and next time it dials back in case they are on a dynamic IP or anything some network heuristics will allow for the passkey to pass anyway...

Well the network heuristics will be based on the whois company and individual name of the base domain of the traceroute as well as the ip of the actual netbios route in closest to them (1st Level), second closest (2nd Level), third closest (3rd Level), where then the count of passes by level adverage + standard deviation of these 3 levels, is larger by the 3rd level, then the passkey fails, if 2nd, is above adverage then the passkey fails, otherwise 1st level goes endlessly, passing based on first test as well as $_SESSION['passkey'] == $_GET['passkey'] both counting for hits on the pass type in the database...

For the whois i am going to implement https://github.com/Chronolabs-Cooperative/WhoIS-API-PHP a call in the URL path of xoops_version.php --> there is one for https://whois.xoops.org on the XOOPS Sourceforge SVN in the ROOT if you update!


wishcraft

Module Developer
Posted on: 2018/2/24 5:32
wishcraft
wishcraft (Show more)
Module Developer
Posts: 3711
Since: 2007/5/18
#20

Re: X-Torrent

Hey Aerogaf, that module I wrote, I ended up replacing it with TBDev for XOOPS as it is popularised torrent client for web services, but I would be most help you if you like, please connect to my skype: antony.cipher, but if you add me in as a member to the repository my username on github.com/DrARoberts



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