projectfuturism
Forum Replies Created
-
Forum: Hacks
In reply to: Saving Base64 String as a Media AttachmentAhh, that is legendary! Thank you so much.
I figured it had something to do with loading the image onto the server and then conforming $file to the same format array as $_FILES but I couldn’t find that anywhere.
Thanks heaps, wish I could give you a gold star!
Done. Thanks ??
Okay, I’d really like something simple. Security is not an issue for me as this part of the site is members only and I only have a small amount of trusted (known to me) members so I am not worried about security.
I have inserted this extremely basic code as a function and also straight into the wats-template.php file. They both successfully create a ticket, but neither actually copies the file into a directory (‘/upload/’ folder which I have created in the root directory).
[Code moderated]]
I have inserted the code as a function as shown above and also straight into the template code like so:[Code moderated]]
If I can get the upload simply copying to the right folder I can do everything else myself – I just need the upload simply inserting into the uploads folder, no security, no file name sanitising… Are you able to help? I have a feeling I have just selected the wrong directory because I have used this code in another area of the server and the upload works correctly.Yes, I get that, just wondering if you are able to point me in the right direction. I have paid for this plugin so I would like a little bit of support – I don’t need you to full on develop but just point me in the right direction with a few things would be good!
Howdy,
Have tried this and read countless tutorials but I guess my skills aren’t up to it. How would I get this working.
[Code moderated]]
Yes, I realise I need a lot more code to get it functioning but at the moment I can’t even simply upload the file… are you able to point me in the right direction.
Why don’t you try using one of the shortcodes, and then altering the code it injects? This would be a much more flexible answer wouldn’t it?
Forum: Plugins
In reply to: [MarketPress - WordPress eCommerce] Conditional tags.Brilliant, that worked fine.
I’ve been trying
is_single('product')
Which wasn’t working, but this has worked perfect!
Thanks very much.
Forum: Plugins
In reply to: [MarketPress - WordPress eCommerce] Conditional tags.OK, Short term I’m using
is_page( '1019' )
But it’s not very flexible if I was to get say…1000 products, so would still appreciate a more flexible answer.
Fantastic! You are a genius!
I assume the ‘with_front’ control defaulting to ‘true’ means that it displays the custom slug, and false switches this off.
I think the developers of this plugin should give an option as to whether this is true or false in the settings.
Such a great plugin, I really like it though – just this one minor annoyance.
OK, the other reluctance I have about moving ALL of my news items from XXX.com/news/post-name to XXX.com/post-name is the fact that I have facebook comments integrated, and I will therefore lose ALL of my facebook comments when I change the URL…
Can you please just insert an option to choose where the individual products are permalinked??
OK, I get this, and understand this and I guess I will have to alter my permalinks.
But all I’m recommending is…you have options to alter all the other permalinks for the store’s URL’s…except the actual product page.
So all the other permalinks work fine (checkout, order status, shopping cart etc) because they have a custom option built into the settings, but not the actual individual products.
PF.
Forum: Hacks
In reply to: Custom Post Type – Sub URL'sOK, so I solved it using the $_GET function.
<?php $page_display = $_GET["c"]; if ($page_display == showcase) { require('profile_showcase.php'); } elseif ($page_display == reviews) { require('profile_reviews.php'); } elseif ($page_display == directions) { require('profile_directions.php'); } elseif ($page_display == contact) { require('profile_contact.php'); } else { require('profile_about.php'); } ?>
It does the trick, but does have a few drawbacks which I am working on.
Forum: Plugins
In reply to: [Facebook Connect] Users getting logged in as adminYes, had this today,
I’d REALLY like to see them use fb UID as the username, not their first name and a number.
This is huge security risk!
Forum: Meetups
In reply to: Melbourne, Australia – General InterestHey Anthony, I’m based in Adelaide but will be looking to attend one of these sometime this year!
Forum: Hacks
In reply to: Custom URL structure for posts, etc?Custom Taxonomy???
https://codex.www.ads-software.com/Taxonomies
Or a full tutorial here:
https://net.tutsplus.com/tutorials/wordpress/introducing-wordpress-3-custom-taxonomies/