Bloke
Forum Replies Created
-
Forum: Plugins
In reply to: Editing a ecommerce queryGot it to work. There were four parts I had to edit on two pages.
$imgg = DatabaseObject::tablename('meta'); imgg.value as ivalue //In QUERY added this $newvalue = unserialize($Product->ivalue);//needed to unserialize echo $newvalue->filename // new object createdForum: Everything else WordPress
In reply to: If you wanted to reset your password, you may do soIs there anyway to stop this? It keeps happening everyday.
Forum: Themes and Templates
In reply to: [Graphene] Custom post fieldsI figured it out thanks.
Forum: Plugins
In reply to: [Facebook Events Widget] Error in SSLIn the fb-sdk folder find this block of code. I added this line to the end of the array and it worked. :
CURLOPT_SSL_VERIFYPEER => false,public static $CURL_OPTS = array( CURLOPT_CONNECTTIMEOUT => 10, CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 60, CURLOPT_USERAGENT => 'facebook-php-2.0', CURLOPT_SSL_VERIFYPEER => false, );Forum: Plugins
In reply to: Editing a ecommerce query`<?php $array = unserialize($Product->ivalue); echo $array[0]; ?>’
I tried this and it didn’t work.
Forum: Plugins
In reply to: Editing a ecommerce queryI am getting closer.
<?php echo $Product->ivalue;?>
I get this value and all I need is the value of s27 How can I do that:O:8:"stdClass":10:{s:4:"mime";s:10:"image/jpeg";s:4:"size";s:5:"14737";s:7:"storage";s:9:"FSStorage";s:3:"uri";s:27:"cache_276_260__100_A130.jpg";s:8:"filename";s:27:"cache_276_260_100_A130.jpg";s:5:"width";s:3:"258";s:6:"height";s:3:"260";s:3:"alt";s:0:"";s:5:"title";s:0:"";s:8:"settings";a:6:{s:5:"width";i:276;s:6:"height";i:260;s:5:"scale";i:0;s:7:"sharpen";i:100;s:7:"quality";b:0;s:4:"fill";b:0;}Forum: Plugins
In reply to: Editing a ecommerce queryNot sure what this means. And I tried searching Google for it.
$catt = DatabaseObject::tablename(Category::$table);
If I can understand that this line of code is doing then I might be able to pull the name of the image from wp_mycart_meta If I echo $clog I will get ‘wp_mycart_catalog’ I did a search in source code for any reference to wp_mycart_catalog and couldn’t find any.Forum: Fixing WordPress
In reply to: Can't Find this Hover color in firebug?.widget-container ul li a:hover { text-decoration:none; color:#003380; }On line 1258 of the css.
I was able to upload my custom icon. I needed to set the parent uploads folder permissions to 777. Then set /wptouch/ and /custom-icons/ to 777. Then went back and set uploads folder back to 755. There was some useful information in this post.
I see that I need to have the wp_footer() inside my desktop themes footer. I found this post here.http://wordpress.org/support/topic/plugin-wptouch-no-option-to-change-to-mobile-version In the advanced settings there is a little red question mark next to ” 1st visit mobile users will see desktop theme” and if you click it, it says “When this option is checked, users will see your regular site theme first, and have the option in your footer to switch to the WPtouch mobile view. They’ll be able to change back and forth either way. Make sure you have the wp_footer(); function call in your regular theme’s footer.php file for the switch link to work properly.”
Although I don’t have this checked, you need this in the footer for the user to switch back and forth which is easy to overlook.
<?php wp_footer(); ?>One thing I noticed is when I hover over the link on a desktop, it says javascript return false. But I looked at some other sites that were posted here and the link says some webaddress?wptouch_switch=desktop&redirect
But I am not browsing the website on a desktop computer. It happens on a phone. And of course it happens when I test in on the desktop computer too. And change the settings on the phone? Or is this a WPTouch settings?
Forum: Fixing WordPress
In reply to: Custom Home Page, not staticYou would need to create a custom page and name it index.htm and upload it to your server.
Try this. And then view your HTML code and see how it renders. If it doesn’t work. You may have to escape some of the quotes.
<div id="site-generator"> <?php do_action( 'twentyeleven_credits' ); ?> <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyeleven' ) ) . '"target="_blank"' .; ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); ?></a>Forum: Fixing WordPress
In reply to: Uploading Large ImagesDid you try clearing your browser cache? It might be a temporary memory issue while its creating the thumbnail. I don’t see anything in the code limiting the file dimensions.