Blog it. Fix it. Build it. Getting the information you need to do it yourself.
... Proin vel turpis arcu, ut posuere velit. Donec nunc nunc, dapibus nec lacinia eu, placerat sed lacus.
In non enim turpis. Sed in felis at mauris consectetur blandit. Vestibulum nec ante sit amet purus lacinia sodales.
Hi guys, I spent the weekend trying to figure out WordPress plugins. Seems to be simple but takes time to for me Hopefully I’ll be able to get all the code to be clean and as optimized as possible. Right now its just kinda thrown together looking at web examples so don’t attack me too much about it. It will get better and come with a better way to customize with more features.
Hi all! Sorry about my lack of response on my blog and my projects. Been super busy and stressed with work and decided to take a few months off doing stuff on the side
But good news im BACK! And ready to get started on finishing the Snipsta Site. Getting a Logo/site revamp by The Designery Studio.
Well Today I decided to post a class that I built derived from the wordpress plugin feature.
Due to my hatred for global variables I converted the wordpress functions into a static class. Nothing special but it makes it easier to fit into other frameworks or even a basic php site. Its been tested only in php5. I also changed how the functions are called since its in a class. Continue reading →
Updated: Errors involving some servers and Curl Please download the newest source code and update your code.
Decided to bundle up my idea in a standalone script. Right now there is no documentation, but I will work on it. Spent a hour just putting together what I had. So please enjoy!
This is a jQuery and PHP solution.
Let me know what you guys think or even post a link to my site so I can see how you used this feature.
just updated the gvwidget.class to not require the object class and added some documentation.
Don’t write a lot of documentation so it will get better over time.
Today I created my first Google voice widget in flash. Which also happens to be my first flash project and i know its poorly made and probably just plain bad. But I will share it with the word to prove that I could do it!!!!
I am looking into working with a friend in making a fully customizable version in flash cs3/4 or in Flex. Or you can create your own using the code I provided before.
I know its crude but I will be learning flash little by little.
var variables:URLVariables = new URLVariables();
variables.callerNumber = "1" + pNum;
variables.buttonId = "(id in the flashvars in the Google Version of the Google Voice Widget)";
variables.showCallerNumber = "1";
variables.name = fName;
var request:URLRequest = new URLRequest("https://clients4.google.com/voice/embed/webButtonConnect"); //Insert your own URL here.
request.method = URLRequestMethod.POST;
request.data = variables;
var loader:URLLoader = new URLLoader();
loader.dataFormat = URLLoaderDataFormat.VARIABLES;
//loader.addEventListener(Event.COMPLETE, completeHandler);
try{
loader.load(request);
}
catch (error:Error) {
trace("Unable to load URL");
}
Take the id value ({id}) and fill in the array data below.
showCallerNumber is either 1 or 0 show number/ call anon which doesn’t show the number
callerNumber is the number that is calling you. so 1 + 10 digit number.
name is the name of the person calling you.
Now that you have all this information fill in the $postVars array and test out the script and receive your first call.
<?php
$url = 'https://clients4.google.com/voice/embed/webButtonConnect';
$postVars = array(
'showCallerNumber' => '1',
'callerNumber' => '1{10 diget phone number (don't forget to add the one in front)}',
'buttonId' => 'button id',
'name' => 'Name of the caller'
);
$t = http_build_query($postVars);
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_POST ,1);
curl_setopt($ch, CURLOPT_POSTFIELDS ,$t);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION ,1);
curl_setopt($ch, CURLOPT_HEADER ,0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER ,1);
$Rec_Data = curl_exec($ch);
echo $Rec_Data;
?>
Today I developed an image gradient for creating background gradients for future uses. Not sure what to do with it but i thought it was cool and fun! Maybe ill create a random scheme for snipsta.