Posts by stevebluck

228 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • United Kingdom
stevebluck says

Looks good, however,

Just purchased but on my iPhone 3gs – I have latest software update, the username and amount of sales is touching my avatar – no padding.

Also the bottom navigation is pushed off the screen, I can see the icons but only about 3px of the text.

And the back button doesn’t work form me when I visit the about page. I can’t get back to the front screen :(

228 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • United Kingdom
stevebluck says

Hi everyone,

Does anyone know of a really good advanced Javascript/jQuery book? Iv’e looked on tutorials+ but can’t find one.

Something for intermediate to advanced users.

228 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • United Kingdom
stevebluck says

I have purchased quite a few items now and I find it hard to find older items I have purchased as I cant remember when I purchased them. It would be good if the download area is categorised or even searchable.

228 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • United Kingdom
stevebluck says
Maybe you should check out the PHP functions json_encode and json_decode?

Edit: I was looking for a tut that handles AJAX interaction with PHP with the avove mentioned functions but I can’t find it anymore.

If you’re still having difficulties I can send you my js and php script that does this kind of interaction, let me know :) I think the scripts are pretty self-explanatory.

Yes please, I’m going crazy – I’ll send you a mail now.

228 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • United Kingdom
stevebluck says

Hi everyone,

I’m trying to pass js obects to php via jQuery’s .load() function.

Everything is working fine but I don’t know or understand how to output the obect using php.

Here is my JS code:

jQuery(function () {

    var myArray = [{ 'name' : 'Steve', 'surname' : 'Bluck' }];

    //Save options via Ajax-------------//
    jQuery("#saveoptions").click(function(){

             jQuery(this).load('<?php bloginfo('template_directory'); ?>/lib/admin/save.php', {

                'options[]' : myArray

               });

          });

});

This is my PHP code:

$options = $_POST['options'];
print_r($options);

And the outcome is this:

Array ( [0] => [object Object] )

What am I doing wrong?

228 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • United Kingdom
stevebluck says
Hi, try including wp-load.php instead.

This fixed the issue!

That was seriously driving me nuts! Thanks unisphere.

228 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • United Kingdom
stevebluck says

Hey guys and gals,

I’m having trouble with something. I’m saving a css file via php with this code:

header("Content-type: text/css");

Now I need to include wp-blog-header.php in order to use Wordpress’s functions so It now looks like this:

include '../../../wp-blog-header.php'; 
header("Content-type: text/css");

After these lines of code I have some basic CSS styling and it all works fine on my host, hosted by heartinternet and my local server which is on my PC. However on some hosts I get the error:

Warning: Cannot modify header information - headers already sent by (output started at /bla bla bla) in /bla bla bla/colours.php on line 3

Why would this error happen on only SOME hosts? I just don’t understand.

Thank you in advance.

228 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • United Kingdom
stevebluck says

Are we allowed to include this plugin in our theme download file here on TF or do we need to get the users to download it separately?

I just had a play, it’s awesome.

228 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • United Kingdom
stevebluck says

Your style is very up to date and I like it! I love that spinfire design you done.

228 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • United Kingdom
stevebluck says

Thanks HisHandWork,

The ads are just widgets, I have just put an ad in every spot available, the user can switch each section on or off. So this site could have 0 ads.

You can replace each ad with a different widget, so I can’t see it being too plain. But perhaps you’re right.

I have placed the ads on the demo to show the user where they can place them.

I made a screencast about how things are added and removed to the theme itself, take a look:

http://screenr.com/YWD

I guess the visual hierarchy is off. I’ll see what I can do to it.

by
by
by
by
by
by