My first product to sale released :)

Posted by shadow_of__soul | Posted in Uncategorized | Posted on 25-02-2009

0

Hi,

with the opening of the ipsilon developments site, i was thinking to develop several products (like templates, flex components, flash app’s) to sell it there, and like i was short of time, i made a template to sell it today :D

you can see it here

it’s not the best quality, but t’s cheap, you can get it for only $20 bucks, and it’s a unique theme :)

are coming also a new and fresh design to the site also :D

Regards,

Shadow.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Happy Birthday :D

Posted by shadow_of__soul | Posted in Uncategorized | Posted on 23-02-2009

0

Hi,

today it’s my birthday :D

i hope i can enjoy the day, anyway, lack the presence of valuable people in my life (like my brother).

anyway, if you want to wish me a happy birthday, make a comment ! :D

Regards,

Shadow.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Photos from ADVA reunion #14

Posted by shadow_of__soul | Posted in News | Posted on 07-02-2009

0

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

A birthday party :D

Posted by shadow_of__soul | Posted in Uncategorized | Posted on 02-02-2009

0

Hi,

no it’s not my birthday, it’s the blog birthday :D :D

has been passed a year from the first post made here, in that time i write it in spanish, and i changed it to english for 2 reasons:

1) get more people read the blog :D

2) my english it’s horrible xD and i’m using this like excersise to improve it (as you can see, i dont improve anything in a year :P )

i dont have anything else to say, if you want to give me a gif, you have the pledge button in the right sidebar if you want to donate something :P

for many many years more, yeah :D

Regards,

Shadow.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Manage sessions in wordpress plugin

Posted by shadow_of__soul | Posted in Uncategorized | Posted on 01-02-2009

0

Hi,

i’m doing a lot of things in wordpress the last time :P

my last project was the integration of a script what i made before in a wordpress blog. the script are a custom shopping cart, and it use $_SESSION vars to manage products, and a unique ID for the cart.

so i thinked it going to be easy, a simple wrap plugin what call’s to the respective php. my surprise has been when i tested it and all the sessions are empty WTF?

so searching over the net for a solution, i get what it’s the problem. the thing it’s wordpress erase all the $_SESSION vars calling to a function named wp_unregister_GLOBALS and it’s defined in wp-settings.php

if you have the register_globals off, you dont need to worry, because then the function dont erase the vars but if not, you need to hack the function.

so, change this:

$noUnset = array(‘GLOBALS’, ‘_GET’, ‘_POST’, ‘_COOKIE’, ‘_REQUEST’, ‘_SERVER’, ‘_ENV’, ‘_FILES’, ‘table_prefix’);

into this:

$noUnset = array(‘_SESSION’,'GLOBALS’, ‘_GET’, ‘_POST’, ‘_COOKIE’, ‘_REQUEST’, ‘_SERVER’, ‘_ENV’, ‘_FILES’, ‘table_prefix’);

after this, in your plugin, add a hook to fire the session_start() function:

add_action(‘init’,’sessionset’);

function sessionset(){
if(!session_id()){
session_start();
}
}

with that you have the all your $_SESSION vars available in your plugin :D

i hope you find this useful

Regards,

Shadow.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]