1
unsinner
your files
  • 2009/4/21 8:01

  • unsinner

  • Just popping in

  • Posts: 87

  • Since: 2006/3/15


I want to host your ideas your software your scripts php, asp, html, whatever and I will do it for free why traffic your link to your stuff will help drive traffic to my site my name is Preston aka Unsinner and I have way more server space then I will ever use unlimited space and bandwidth that I pay for I am not looking to make money off this so don’t worry about that just the traffic if you know of some good free software or open source that is free I will even host your art for free make your Owen gallery on my site [ to do that you must register ] any way check out the download section
http://unsinner.com/




2
unsinner
Re: dokuwiki
  • 2009/4/13 15:30

  • unsinner

  • Just popping in

  • Posts: 87

  • Since: 2006/3/15


this is what the php looks like

<?php
/**
* DokuWiki StyleSheet creator
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Andreas Gohr <andi@splitbrain.org>
*/

if(!defined('DOKU_INC')) define('DOKU_INC',dirname(__FILE__).'/../../');
if(!defined('NOSESSION')) define('NOSESSION',true); // we do not use a session or authentication here (better caching)
require_once(DOKU_INC.'inc/init.php');
require_once(DOKU_INC.'inc/pageutils.php');
require_once(DOKU_INC.'inc/io.php');
require_once(DOKU_INC.'inc/confutils.php');

// Main (don't run when UNIT test)
if(!defined('SIMPLE_TEST')){
header('Content-Type: text/css; charset=utf-8');
css_out();
}


// ---------------------- functions ------------------------------

/**
* Output all needed Styles
*
* @author Andreas Gohr <andi@splitbrain.org>
*/
function css_out(){
global $conf;
global $lang;
switch ($_REQUEST['s']) {
case 'all':
case 'print':
case 'feed':
$style = $_REQUEST['s'];
break;
default:
$style = '';
break;
}

$tpl = trim(preg_replace('/[^\w-]+/','',$_REQUEST['t']));
if($tpl){
$tplinc = DOKU_INC.'lib/tpl/'.$tpl.'/';
$tpldir = DOKU_BASE.'lib/tpl/'.$tpl.'/';
}else{
$tplinc = DOKU_TPLINC;
$tpldir = DOKU_TPL;
}

// The generated script depends on some dynamic options
$cache = getCacheName('styles'.DOKU_BASE.$tplinc.$style,'.css');

// load template styles
$tplstyles = array();
if(@file_exists($tplinc.'style.ini')){
$ini = parse_ini_file($tplinc.'style.ini',true);
foreach($ini['stylesheets'] as $file => $mode){
$tplstyles[$mode][$tplinc.$file] = $tpldir;
}
}

// Array of needed files and their web locations, the latter ones
// are needed to fix relative paths in the stylesheets
$files = array();
//if (isset($tplstyles['all'])) $files = array_merge($files, $tplstyles['all']);
if(!empty($style)){
$files[DOKU_INC.'lib/styles/'.$style.'.css'] = DOKU_BASE.'lib/styles/';
// load plugin, template, user styles
$files = array_merge($files, css_pluginstyles($style));
if (isset($tplstyles[$style])) $files = array_merge($files, $tplstyles[$style]);
$files[DOKU_CONF.'user'.$style.'.css'] = '';
}else{
$files[DOKU_INC.'lib/styles/style.css'] = DOKU_BASE.'lib/styles/';
if($conf['spellchecker']){
$files[DOKU_INC.'lib/styles/spellcheck.css'] = DOKU_BASE.'lib/styles/';
}
// load plugin, template, user styles
$files = array_merge($files, css_pluginstyles('screen'));
if (isset($tplstyles['screen'])) $files = array_merge($files, $tplstyles['screen']);
if($lang['direction'] == 'rtl'){
if (isset($tplstyles['rtl'])) $files = array_merge($files, $tplstyles['rtl']);
}
$files[DOKU_CONF.'userstyle.css'] = '';
}

// check cache age & handle conditional request
header('Cache-Control: public, max-age=3600');
header('Pragma: public');
if(css_cacheok($cache,array_keys($files),$tplinc)){
http_conditionalRequest(filemtime($cache));
if($conf['allowdebug']) header("X-CacheUsed: $cache");
readfile($cache);
return;
} else {
http_conditionalRequest(time());
}

// start output buffering and build the stylesheet
ob_start();

// print the default classes for interwiki links and file downloads
css_interwiki();
css_filetypes();

// load files
foreach($files as $file => $location){
print css_loadfile($file, $location);
}

// end output buffering and get contents
$css = ob_get_contents();
ob_end_clean();

// apply style replacements
$css = css_applystyle($css,$tplinc);

// compress whitespace and comments
if($conf['compress']){
$css = css_compress($css);
}

// save cache file
io_saveFile($cache,$css);

// finally send output
print $css;
}

/**
* Checks if a CSS Cache file still is valid
*
* @author Andreas Gohr <andi@splitbrain.org>
*/
function css_cacheok($cache,$files,$tplinc){
if($_REQUEST['purge']) return false; //support purge request

$ctime = @filemtime($cache);
if(!$ctime) return false; //There is no cache

// some additional files to check
$files[] = DOKU_CONF.'dokuwiki.php';
$files[] = DOKU_CONF.'local.php';
$files[] = $tplinc.'style.ini';
$files[] = __FILE__;

// now walk the files
foreach($files as $file){
if(@filemtime($file) > $ctime){
return false;
}
}
return true;
}

/**
* Does placeholder replacements in the style according to
* the ones defined in a templates style.ini file
*
* @author Andreas Gohr <andi@splitbrain.org>
*/
function css_applystyle($css,$tplinc){
if(@file_exists($tplinc.'style.ini')){
$ini = parse_ini_file($tplinc.'style.ini',true);
$css = strtr($css,$ini['replacements']);
}
return $css;
}

/**
* Prints classes for interwikilinks
*
* Interwiki links have two classes: 'interwiki' and 'iw_$name>' where
* $name is the identifier given in the config. All Interwiki links get
* an default style with a default icon. If a special icon is available
* for an interwiki URL it is set in it's own class. Both classes can be
* overwritten in the template or userstyles.
*
* @author Andreas Gohr <andi@splitbrain.org>
*/
function css_interwiki(){

// default style
echo 'a.interwiki {';
echo ' background: transparent url('.DOKU_BASE.'lib/images/interwiki.png) 0px 1px no-repeat;';
echo ' padding-left: 16px;';
echo '}';

// additional styles when icon available
$iwlinks = getInterwiki();
foreach(array_keys($iwlinks) as $iw){
$class = preg_replace('/[^_\-a-z0-9]+/i','_',$iw);
if(@file_exists(DOKU_INC.'lib/images/interwiki/'.$iw.'.png')){
echo "a.iw_$class {";
echo ' background-image: url('.DOKU_BASE.'lib/images/interwiki/'.$iw.'.png)';
echo '}';
}elseif(@file_exists(DOKU_INC.'lib/images/interwiki/'.$iw.'.gif')){
echo "a.iw_$class {";
echo ' background-image: url('.DOKU_BASE.'lib/images/interwiki/'.$iw.'.gif)';
echo '}';
}
}
}

/**
* Prints classes for file download links
*
* @author Andreas Gohr <andi@splitbrain.org>
*/
function css_filetypes(){

// default style
echo 'a.mediafile {';
echo ' background: transparent url('.DOKU_BASE.'lib/images/fileicons/file.png) 0px 1px no-repeat;';
echo ' padding-left: 18px;';
echo ' padding-bottom: 1px;';
echo '}';

// additional styles when icon available
$mimes = getMimeTypes();
foreach(array_keys($mimes) as $mime){
$class = preg_replace('/[^_\-a-z0-9]+/i','_',$mime);
if(@file_exists(DOKU_INC.'lib/images/fileicons/'.$mime.'.png')){
echo "a.mf_$class {";
echo ' background-image: url('.DOKU_BASE.'lib/images/fileicons/'.$mime.'.png)';
echo '}';
}elseif(@file_exists(DOKU_INC.'lib/images/fileicons/'.$mime.'.gif')){
echo "a.mf_$class {";
echo ' background-image: url('.DOKU_BASE.'lib/images/fileicons/'.$mime.'.gif)';
echo '}';
}
}
}

/**
* Loads a given file and fixes relative URLs with the
* given location prefix
*/
function css_loadfile($file,$location=''){
if(!@file_exists($file)) return '';
$css = io_readFile($file);
if(!$location) return $css;

$css = preg_replace('#(url\([ \'"]*)((?!/|http://|https://| |\'|"))#','\\1'.$location.'\\3',$css);
return $css;
}


/**
* Returns a list of possible Plugin Styles (no existance check here)
*
* @author Andreas Gohr <andi@splitbrain.org>
*/
function css_pluginstyles($mode='screen'){
global $lang;
$list = array();
$plugins = plugin_list();
foreach ($plugins as $p){
if($mode == 'all'){
$list[DOKU_PLUGIN."$p/all.css"] = DOKU_BASE."lib/plugins/$p/";
}elseif($mode == 'print'){
$list[DOKU_PLUGIN."$p/print.css"] = DOKU_BASE."lib/plugins/$p/";
}elseif($mode == 'feed'){
$list[DOKU_PLUGIN."$p/feed.css"] = DOKU_BASE."lib/plugins/$p/";
}else{
$list[DOKU_PLUGIN."$p/style.css"] = DOKU_BASE."lib/plugins/$p/";
$list[DOKU_PLUGIN."$p/screen.css"] = DOKU_BASE."lib/plugins/$p/";
}
if($lang['direction'] == 'rtl'){
$list[DOKU_PLUGIN."$p/rtl.css"] = DOKU_BASE."lib/plugins/$p/";
}
}
return $list;
}

/**
* Very simple CSS optimizer
*
* @author Andreas Gohr <andi@splitbrain.org>
*/
function css_compress($css){
//strip comments through a callback
$css = preg_replace_callback('#(/\*)(.*?)(\*/)#s','css_comment_cb',$css);

//strip (incorrect but common) one line comments
$css = preg_replace('/(?<!:)\/\/.*$/m','',$css);

// strip whitespaces
$css = preg_replace('![\r\n\t ]+!',' ',$css);
$css = preg_replace('/ ?([:;,{}\/]) ?/','\\1',$css);

// shorten colors
$css = preg_replace("/#([0-9a-fA-F]{1})\\1([0-9a-fA-F]{1})\\2([0-9a-fA-F]{1})\\3/", "#\\1\\2\\3",$css);

return $css;
}

/**
* Callback for css_compress()
*
* Keeps short comments (< 5 chars) to maintain typical browser hacks
*
* @author Andreas Gohr <andi@splitbrain.org>
*/
function css_comment_cb($matches){
if(strlen($matches[2]) > 4) return '';
return $matches[0];
}

//Setup VIM: ex: et ts=4 enc=utf-8 :
?>



3
unsinner
Re: dokuwiki
  • 2009/4/13 12:06

  • unsinner

  • Just popping in

  • Posts: 87

  • Since: 2006/3/15


ok but how to edit color



4
unsinner
dokuwiki
  • 2009/4/13 6:56

  • unsinner

  • Just popping in

  • Posts: 87

  • Since: 2006/3/15


Can anyone tell how to change the white background in DokuWiki
http://unsinner.com/modules/dokuwiki/start?do=show



5
unsinner
Re: free xoop host
  • 2009/4/8 13:36

  • unsinner

  • Just popping in

  • Posts: 87

  • Since: 2006/3/15


just to show you what i am working with this is 1 of 4 servers


Server Information
Processor Information

Processor #1 Vendor: GenuineIntel
Processor #1 Name: Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz
Processor #1 speed: 2493.711 MHz
Processor #1 cache size: 3072 KB

Processor #2 Vendor: GenuineIntel
Processor #2 Name: Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz
Processor #2 speed: 2493.711 MHz
Processor #2 cache size: 3072 KB

Processor #3 Vendor: GenuineIntel
Processor #3 Name: Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz
Processor #3 speed: 2493.711 MHz
Processor #3 cache size: 3072 KB

Processor #4 Vendor: GenuineIntel
Processor #4 Name: Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz
Processor #4 speed: 2493.711 MHz
Processor #4 cache size: 3072 KB


Memory Information

Memory: 8183308k/9699328k available (3307k kernel code, 195240k reserved, 1840k data, 1296k init)


System Information

Linux server1.xxxxxxxxxxx.com 2.6.xx.19-xxx.2.35.fc10.x86_64 #1 SMP Mon Feb 23 13:00:23 EST 2009 x86_64 x86_64 x86_64 GNU/Linux


Physical Disks

sd 0:0:0:0: [sda] 1953525168 512-byte hardware sectors (1000205 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 1953525168 512-byte hardware sectors (1000205 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0


Current Memory Usage

total used free shared buffers cached
Mem: 8188048 2645952 5542096 0 308664 1744276
-/+ buffers/cache: 593012 7595036
Swap: 10223608 0 10223608
Total: 18411656 2645952 15765704


Current Disk Usage

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
908G 12G 850G 2% /
/dev/sda1 190M 21M 160M 12% /boot
tmpfs 4.0G 0 4.0G 0% /dev/shm
/dev/loop0 485M 13M 447M 3% /tmp



6
unsinner
Re: free xoop host
  • 2009/4/8 13:32

  • unsinner

  • Just popping in

  • Posts: 87

  • Since: 2006/3/15


if you send me a email we can talk about the hosting i am here for the XOOPS community but i will not host any thing that is harmful by that i mean porn, warez, it has to be yours
you get what i am saying i will post more about this on my site www.unsinner.com



7
unsinner
Re: free xoop host
  • 2009/4/8 5:48

  • unsinner

  • Just popping in

  • Posts: 87

  • Since: 2006/3/15


sounds good we i would be fine giving a XOOPS staff member access to the cpanel to help build this



8
unsinner
free xoop host
  • 2009/4/8 4:56

  • unsinner

  • Just popping in

  • Posts: 87

  • Since: 2006/3/15


This is what I am willing to do I love XOOPS I use it I have a server that I pay for and I have unlimited space and bandwidth and now I have a Dedicated server witch we use for our radio station I will host 50 XOOPS sites for free you wont have cpanel but with XOOPS you don’t need it I will set you up with ftp access and I will create your database hey its free if you wish to do this contact me at prestoncurrin@gmail.com or on MySpace www.myspace.com/daddypoon



9
unsinner
help!
  • 2009/3/31 21:05

  • unsinner

  • Just popping in

  • Posts: 87

  • Since: 2006/3/15


Hey guys I really need your help on this the other day the server went down so the hosting co. had to change my name server when everything got back online I went to my site but it looked like my site from a month ago after a wile everything went back to normal now when I try to do a update to the site I have to refresh the ????? out of my browser to see the change what can o do about this



10
unsinner
Re: newbb 3.08
  • 2009/3/29 20:39

  • unsinner

  • Just popping in

  • Posts: 87

  • Since: 2006/3/15


this happens when i try to Set default permission template




TopTop
(1) 2 3 4 ... 9 »



Login

Who's Online

233 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 233


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