151
wishcraft
Re: Extreme Theme for XOOPS 2.5

Includes

  • SEO Keywords Streamling
  • Description Isolations - System only
  • Apple Touch Icons
  • CSS3 - Shadow, Stroke, Rounded Edges



152
wishcraft
Re: Xforum latest forum posts block ?

I will look into this for you... For Chronolabs Modules just put a request on under 'Hacks and Modifications' and when i have a moment, i will come up with some code for you to run as a PHP block..

The Discussion forum is here ::https://sourceforge.net/p/chronolabs/discussion/



153
wishcraft
Extreme Theme for XOOPS 2.5

Extreme Theme

Well I haven't released a theme before so I thought I should! This is solely not just my work it comprised of a couple of people's work to make this theme! This is being release cause it is GNU2 from aph3x so we have to release further modification as part of OSI and Open Source agreements!

Resized Image


This theme was based on bleekk's framework but was from pulse (http://www.aphexthemes.com/pulse-theme.html ) by aph3x (Erol) it is responsive and been highly modified for the community.

It includes a cycling background as well as gradients and plenty of CSS3 like for the title which include shadows and stroking. The main body is a gradient which if you want to change you will have to look up "Ultimate Gradient Generator" on google.com and change the CSS in /theme/extreme/css/style.css with the class tag to change which is .mainbody {}.

Cycling Background

This is designed to run on Apache with a .htaccess being included in /theme/extreme/images/backgrounds/ which is for the php file background.php which will search all sub-folders in /theme/extreme/images/backgrounds/ for suitable images and output them at scalar to 800x600 for the wall paper which is jQuery cycling and randomly changing method which is some additional code in the Java-script by wishcraft to have random background shifts.

Downloading & Unpacking

Download: xoops2.5_theme_extreme.zip - 5.3 MB

When you download the zip and unpack it, you will be presented with a folder called 'extreme' this simply drops into the /themes/ path of your XOOPS installation, remember too remove the sample backgrounds /theme/extreme/images/backgrounds/samples/ and replace the 'samples' sub-folder with as many sub-folder however deep with backgrounds and wall papers you want in the background of the module!

Further Media

Remember if you want to listen to some of my influential music tune intohttp://galactic-conquest.com it has guest access on subsonic, and Xortify (https://xortify.com) has reached the end of it SDLC... Check them out



154
wishcraft
Re: Ultimate Seed with DOM and seeding Feed with XoopsCache

You can speed it up by caching the token for a period of time with the following routine it uses the XoopsCache object to store the token, between one minute and one hour..

/**
 * Function: makeRandomSeeded() - Seeds the Selection Process of Random Sorting & Selection (Using XoopCache to speed up)
 *
 * @param $filename string - Source of Seeding XML
 * @return integer - the seed used
 */
function makeRandomSeeded($filename 'http://seed.feeds.labs.coop/') {
    
error_reporting(E_ERROR);
    
    include_once 
$GLOBALS['xoops']->path('/class/cache/xoopscache.php');
    if (!
$seeds XoopsCache::read('randomisation_seeds_tokens')) {
        
// Loads XML by forcing loadXML with DOM
        
$xml file_get_contents($filename);
        
$doc = new DOMDocument();
        
$doc->loadXML($xml);
    
        
// Parses Description Tag and Remove help and File Descriptor
        
$skip = array('This feed can''Current mode is');
        
$elements $doc->getElementsByTagName('description');
        foreach(
$elements as $element) {
            
$seed $element->nodeValue;
            
$found false;
            foreach(
$skip as $find) {
                if (
substr($seed0strlen($find))==$find) {
                    
$found true;
                }
            }
            if (
$found==false)
                
$seeds[] = $seed;
        }
        
XoopsCache::write('randomisation_seeds_tokens'$seedsmt_rand(603600));
    }
    
    
// Selects Seed from $seeds
    
shuffle($seeds);
    
$seed $seeds[mt_rand(0count($seeds)-1)];
    unset(
$seeds);

    
// Makes a Double Precision Number or Floating Point
    
$parts explode(' '$seed);
    foreach(
$parts as $key => $value)
    if (!
is_numeric($value) && is_string($value))
        unset(
$parts[$key]);
    
shuffle($parts);
    
$keys array_keys($parts);
    switch((string)
mt_rand(0,11)) {
        default:
            
$float = ($parts[$keys[mt_rand(0count($keys)-1)]] * sqrt(microtime(true)));
            break;
        case 
"1":
            
$float = ($parts[$keys[mt_rand(0count($keys)-1)]] / sqrt(microtime(true)));
            break;
        case 
"2":
            
$float = ($parts[$keys[mt_rand(0count($keys)-1)]] - sqrt(microtime(true)));
            break;
        case 
"3":
            
$float = ($parts[$keys[mt_rand(0count($keys)-1)]] + sqrt(microtime(true)));
            break;
        case 
"4":
            
$float = (sqrt($parts[$keys[mt_rand(0count($keys)-1)]]) * microtime(true));
            break;
        case 
"5":
            
$float = (sqrt($parts[$keys[mt_rand(0count($keys)-1)]]) / microtime(true));
            break;
        case 
"6":
            
$float = (sqrt($parts[$keys[mt_rand(0count($keys)-1)]]) - microtime(true));
            break;
        case 
"7":
            
$float = (sqrt($parts[$keys[mt_rand(0count($keys)-1)]]) + microtime(true));
            break;
        case 
"8":
            
$float = (sqrt($parts[$keys[mt_rand(0count($keys)-1)]]) * sqrt(microtime(true)));
            break;
        case 
"9":
            
$float = (sqrt($parts[$keys[mt_rand(0count($keys)-1)]]) / sqrt(microtime(true)));
            break;
        case 
"10":
            
$float = (sqrt($parts[$keys[mt_rand(0count($keys)-1)]]) - sqrt(microtime(true)));
            break;
        case 
"11":
            
$float = (sqrt($parts[$keys[mt_rand(0count($keys)-1)]]) + sqrt(microtime(true)));
            break;
    }
    unset(
$keys);
    unset(
$parts);

    
// Constructs Integer from Floating Point/Double
    
$parts explode("."$float);
    if (
count($parts)==2) {
        switch((string)
mt_rand(0,7)) {
            default:
                
$int = (integer)$float;
                break;
            case 
"1":
                
$int $parts[0] * $parts[1];
                break;
            case 
"2":
                
$int $parts[0] . $parts[1];
                break;
            case 
"3":
                
$int $parts[1] . $parts[0];
                break;
            case 
"4":
                
$int = (integer)($parts[1] / $parts[0]);
                break;
            case 
"5":
                
$int = (integer)($parts[0] / $parts[1]);
                break;
            case 
"6":
                
$int = (integer)($parts[1] * $parts[0]);
                break;
            case 
"7":
                
$int = (integer)($parts[0] * $parts[1]);
                break;
                
        }
    } else {
        
$int = (integer)$float;
    }

    
// Randomise the Seeding with Integer
    
if (!headers_sent())
        
header('Context-seed: ' sha1($int));
    return 
$int;
}

// Call Routine to Randomise Seed
mt_srand(makeRandomSeeded());
srand(makeRandomSeeded());



155
wishcraft
Re: Ultimate Seed with DOM and seeding Feed from Chronolabs

This is the Ultimate DOM Randomisation method with the seeding feed (http://seed.feeds.labs.coop) for seeding your randomisation! which is very important:

/**
 * Function: makeRandomSeeded() - Seeds the Selection Process of Random Sorting & Selection
 * 
 * @param $filename string - Source of Seeding XML
 * @return integer - the seed used     
 */
function makeRandomSeeded($filename 'http://seed.feeds.labs.coop/') {
    
error_reporting(E_ERROR);
    
    
// Loads XML by forcing loadXML with DOM 
    
$xml file_get_contents($filename);
    
$doc = new DOMDocument();
    
$doc->loadXML($xml);

    
// Parses Description Tag and Remove help and File Descriptor
    
$skip = array('This feed can''Current mode is');
    
$elements $doc->getElementsByTagName('description');
    foreach(
$elements as $element) {
        
$seed $element->nodeValue;
        
$found false;
        foreach(
$skip as $find) {
            if (
substr($seed0strlen($find))==$find) {
                
$found true;
            }
        }
        if (
$found==false)
            
$seeds[] = $seed;
    }
    
    
// Selects Seed from $seeds
    
shuffle($seeds);
    
$seed $seeds[mt_rand(0count($seeds)-1)];
    unset(
$seeds);
    
    
// Makes a Double Precision Number or Floating Point
    
$parts explode(' '$seed);
    foreach(
$parts as $key => $value)
        if (!
is_numeric($value) && is_string($value))
            unset(
$parts[$key]);
    
shuffle($parts);
    
$keys array_keys($parts);
    switch((string)
mt_rand(0,11)) {
        default:
            
$float = ($parts[$keys[mt_rand(0count($keys)-1)]] * sqrt(microtime(true)));
            break;
        case 
"1":
            
$float = ($parts[$keys[mt_rand(0count($keys)-1)]] / sqrt(microtime(true)));
            break;
        case 
"2":
            
$float = ($parts[$keys[mt_rand(0count($keys)-1)]] - sqrt(microtime(true)));
            break;
        case 
"3":
            
$float = ($parts[$keys[mt_rand(0count($keys)-1)]] + sqrt(microtime(true)));
            break;
        case 
"4":
            
$float = (sqrt($parts[$keys[mt_rand(0count($keys)-1)]]) * microtime(true));
            break;
        case 
"5":
            
$float = (sqrt($parts[$keys[mt_rand(0count($keys)-1)]]) / microtime(true));
            break;
        case 
"6":
            
$float = (sqrt($parts[$keys[mt_rand(0count($keys)-1)]]) - microtime(true));
            break;
        case 
"7":
            
$float = (sqrt($parts[$keys[mt_rand(0count($keys)-1)]]) + microtime(true));
            break;
        case 
"8":
            
$float = (sqrt($parts[$keys[mt_rand(0count($keys)-1)]]) * sqrt(microtime(true)));
            break;
        case 
"9":
            
$float = (sqrt($parts[$keys[mt_rand(0count($keys)-1)]]) / sqrt(microtime(true)));
            break;
        case 
"10":
            
$float = (sqrt($parts[$keys[mt_rand(0count($keys)-1)]]) - sqrt(microtime(true)));
            break;
        case 
"11":
            
$float = (sqrt($parts[$keys[mt_rand(0count($keys)-1)]]) + sqrt(microtime(true)));
            break;
    }
    unset(
$keys);
    unset(
$parts);
    
    
// Constructs Integer from Floating Point/Double
    
$parts explode("."$float);
    if (
count($parts)==2) {
        switch((string)
mt_rand(0,5)) {
            default:
                
$int = (integer)$float;
                break;
            case 
"1":
                
$int $parts[0] * $parts[1];
                break;
            case 
"2":
                
$int $parts[0] . $parts[1];
                break;
            case 
"3":
                
$int $parts[1] . $parts[0];
                break;
            case 
"4":
                
$int = (integer)($parts[1] / $parts[0]);
                break;
            case 
"5":
                
$int = (integer)($parts[0] / $parts[1]);
                break;
                    
        }
    } else {
        
$int = (integer)$float;
    }
    
    
// Randomise the Seeding with Integer
    
srand($int);
    
mt_srand($int);
    if (!
headers_sent())
        
header('Context-seed: ' sha1($int));
    return 
$int;
}


This will offer you an integer seed rather than parsing the full seed and is more largely based in the shuffle command selecting a number from the seeding token!



156
wishcraft
Seed your randomisation selection in modules!! Important!!

I can’t stress how important it is to seed your randomisation process in code! better still something we found in the BBS Days was if we didn’t seed from a token from outside our systems abstraction layer we would go in circles and so would our users. Here at chronolabs we offer a feed of randomly changing token on each impression, it also randomly displays a different number of them this is fromhttp://seed.feeds.labs.coop in the example below I use DOM to load the XML, Extract the randomisation tokens and then with mt_srand and srand seed the random selecting processes! The following function when you call it will seed your random selection process in both the old and new random selection routines all you need to do is call the function! This will work with any version of PHP 5 and any earlier with DOM Objectivity.

/* 
 * function that randomisation from a seed source tokens to make selection better
 */
function makeRandomSeeded() {
    
$file 'http://seed.feeds.labs.coop/';
    
$doc = new DOMDocument();
    
$doc->loadHTMLFile($file);
    
$skip = array('This feed can''Current mode is');
    
$elements $doc->getElementsByTagName('description');
    foreach(
$elements as $element) {
        
$seed $element->nodeValue;
        
$found false;
        foreach(
$skip as $find) {
            if (
substr($seed0strlen($find))==$find) {
                
$found true;
            }
        }
        if (
$found==false)
            
$seeds[] = $seed;
    }
    
shuffle($seeds);
    
mt_srand($seeds[mt_rand(0count($seeds)-1)]);
    
srand($seeds[mt_rand(0count($seeds)-1)]);
}



157
wishcraft
Re: XOOPS Modules that will not be depreciated for XOOPS 2.6!

Remember Bug Tickets go here ::https://sourceforge.net/p/chronolabs/tickets/

There will be one additional module being none-depreciated that is Speedtest which is needed by Users Module!

btw. the Chronolabs Sourceforge Project URL is ::https://sourceforge.net/projects/chronolabs/



158
wishcraft
XOOPS Modules that will not be depreciated for XOOPS 2.6!

Notably with the coming of XOOPS 2.6 a large contingent of the Chronolabs modules will be depreciated. Namely this is because we don't have the support of developers joining the project to continue development in man hours to convert all the modules to XOOPS 2.6

The following modules will be continued as development:

  • X-Forum (As Threads 6.0)
  • X-Payment (Payment & Invoicing Solution for XOOPS)
  • TwitterBomb (Twitter.com API Robot)
  • LinkedinBomb (Linkedin.com API Robot)
  • X-Center (Content module)
  • X-REST (Plugin REST API)
  • wURFL (Mobile Theme/Scalability/Detection Module)
  • X-TRANSAM (Language Translation Module)
  • X-Shop (Advance e-Commerce Solution [Unfinished])
  • MyGalleries (Rebadged MyAlbum Gallery for XOOPS)
  • Users (Rebadged Profile Module for XOOPS)


The following module have been branched to independent source forge projects:



These are the only modules Chronolabs (Namely myself wishcraft) will be working on over 2014-2015. Any other project you are welcome to either send me an email and join the chronolabs sourceforge project to maintain or you can make your own branch of the module for development life-cycle.

Cross Post:https://sourceforge.net/p/chronolabs/blog/2013/12/xoops-modules-that-will-not-be-depreciated-for-xoops-26/



159
wishcraft
XOOPS 2 - Frameworks 1.36 (Deprecated)

I recently received a message on my Media Service (http://extraterrestrialsex.com) from a newbie user looking for Frameworks 1.35. I have packages Frameworks 1.36, which was deprecated in XOOPS 2.5/2.6 as most of the modules are self contained and do on demand not use the framework path.

You can download Frameworks 1.36 from my Sourceforge project which is at the following url: xoops2_frameworks_1.36.zip - 20.0Mbs.

Thanks for keeping in touch, if that newbie has anymore enquires please connect to my skype, the details are on my profile when your logged in!



160
wishcraft
Xortify.com has SSL Signing and Minor Module Update!

Xortify is a honeypot which prevent spam signup as well as injestion of spam on your service! The hosting of the service is sponsored by ArckInteractive.com. We have signed the domain for the next 5 years under an SSL Certificate to ensure safe and warrantable communication with the service!

The clients for the cloud for XOOPS a number of months ago (Around 7) reached the end of their SDLC (Software Development Life-cycle). That means without any major changes they should not have to be updated for sometime and are completely stable!

Of course like with any API service sometime due to the Jitter on the web these modules will sometime through warnings or notices this is due to the nature of communication on the web. Not the modules themselves or the cloud!

The project has been forked to it's own independant project on Sourceforge.net which is found athttp://sourceforge.net/projects/xortify/.

You can download the clients for the modules from:

XOOPS 2.5: xoops2.5_xortify_4.16.zip - 1.2Mb

XOOPS 2.6: xoops2.6_xortify_4.16.zip - 4.6Mb

Thanks

Simon




TopTop
« 1 ... 13 14 15 (16) 17 18 19 ... 135 »



Login

Who's Online

78 user(s) are online (45 user(s) are browsing Support Forums)


Members: 0


Guests: 78


more...

Donat-O-Meter

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

Latest GitHub Commits