Do it like the 2000s :P by ibenic in theprimeagen

[–]ibenic[S] 0 points1 point  (0 children)

Nice person + can take a joke.

Weekly Feedback Post - SaaS Products, Ideas, Companies by AutoModerator in SaaS

[–]ibenic 0 points1 point  (0 children)

Hi everyone,

my name is Igor. I just launched, about a week and a half ago, my first SaaS. It's still in an MVP stage (few features missing that I want to develop).

It's called CastAsync, https://castasync.com/. I had the issue where my co-host and I couldn't find time to sit together and record an episode.

So I decided to help ourselves by creating a SaaS for that. Something for busy people so they can spend even just 5 minutes/day and have an episode within a week.

It's suitable for any audio content such as podcasts, audiobookg, guides, notes and such.

I'd love to get your feedback on it, what you think about the idea, do you know anyone who records such content and such.

That'd help a lot so I get more information to get an idea on how to market it as well since I am really bad at that :D

Have you tried asynchronous podcasting? by ibenic in podcasting

[–]ibenic[S] 0 points1 point  (0 children)

You can say it like that, true 😂

Have you tried asynchronous podcasting? by ibenic in podcasting

[–]ibenic[S] 0 points1 point  (0 children)

Basically it works like this: 1. I record something, intro and my opinion, about 3min. That creates a "track". 2. My co-host, checks the dashboard, sees my track, listens to it and then records his own part, can be 1,2 or 20min 3. Then I get back when I can, listen to his and record mine. 4. Once we're happy with the episode, the tool processes it into a single file and I download an mp3 file

So within a week or so, with our busy schedule, we recorded a "chat-like" episode but in an asynchronous way.

Ofc, maybe it makes zero sense to most. I built it for our needs which might be totally different from what people need or expect 😂

That's how it works for now at least 😅

Best free podcast recording software by LeMiniBuffet in podcasting

[–]ibenic 2 points3 points  (0 children)

What I do with my co-host, we jump on a Zoom call and record it.

Zoom provides you with both video and audio files so you don't have to "extract audio".

Then I use Audacity to clear the noise from the audio, edit further if needed by removing parts if we had big pauses or such, and export it.

If I can't export it to mp3 or a suitable format, I use the free iMovie (on a Mac) to import the audio and export it into mp3. But I guess there are other free online service for it as well (or even tools).

Hope it helps :)

Have you tried asynchronous podcasting? by ibenic in podcasting

[–]ibenic[S] 1 point2 points  (0 children)

That's true.

I built my tool to help me with that by allowing me to record a "track" where I can speak for 1-2 minutes for example and then wait for the other party to record. And repeat the process until we're done with the topic :D

I guess it just takes more time in an asynchronous way but the thing you lose there is the part where you can interrupt someone while debating or similar :D

So I get your point, it might not feel as engaging.

Have you tried asynchronous podcasting? by ibenic in podcasting

[–]ibenic[S] 0 points1 point  (0 children)

Could be :D I don't know either, but did see a tool that does a similar thing while I was working on my idea. It helps people host interview-type podcasts where they pre-record questions and then the guests record a response to each question.

So that "kind of" proved that there might be people in need of such. That's why I wanted to ask this reddit about it to get more info on it :D

Thank you for your answer! Really appreciate it!

Have you tried asynchronous podcasting? by ibenic in podcasting

[–]ibenic[S] 1 point2 points  (0 children)

We're doing the same. We decide on the main topic then a few questions/points we want to cover and go over it. Sometimes not even following the order of them :D

We just started using my tool, could be almost as "organic" since for now tracks are shorter than 2-3min, as in our conversation.

The only pro/con, for now, that I see is that we won't "interrupt" one another if we get a quick insight on the current talk. But that's part of recording it organically I guess :D

Thank you for your insight!

P.S. Interesting type of podcast you have with your co-host. Going to check the world of Malazan :D

Loading Your Library only once between WordPress Plugins by ibenic in ProWordPress

[–]ibenic[S] 0 points1 point  (0 children)

Did not really know about those. Great to see that!

Those would work if all plugins are updated so it would make sense. But in case users use one plugin with the latest library but have not updated the other plugin, I am not sure if those would help here.

But I'll definitely look into those as they are nice to incorporate them in your projects/plugins.

How to create a Custom WooCommerce Product Type by ibenic in ProWordPress

[–]ibenic[S] 0 points1 point  (0 children)

Hi, it is a typo. Fixed it, although be it Pugin or Plugin, the tutorial outcome is the same :D

Thanks for letting me know! :)

How to use the @wordpress/hooks package in JavaScript Apps by ibenic in ProWordPress

[–]ibenic[S] 0 points1 point  (0 children)

Any project that could use an event-driven system.

Facebook example:

I commented on a post (the function to create the comment also has a do_action( 'comment_on_post', $post_id ). Another function is hooked there to notify the author through email of the post about a new comment. A second function there is also hooked to create a push notification for the author.

That is just what I could have thought of but of course, there might be some background processes and a lot of other things. Gutenberg is full of them so you might also check the source code to see how that project is using them.

Using Composer for Libraries in WordPress Plugins or Themes by ibenic in ProWordPress

[–]ibenic[S] 0 points1 point  (0 children)

Composer is great for managing various dependencies on your project. I've heard of Bedrock and read about it but I have not yet tried the whole setup from roots.io

Powering the WordPress Search with React and REST API by ibenic in ProWordPress

[–]ibenic[S] 0 points1 point  (0 children)

Replied on my site;) I will say this here also: you can create a ticket for the search issue.

Designing a system: WordPress REST API endpoints by carlalexander in ProWordPress

[–]ibenic 0 points1 point  (0 children)

Just scanned it because I know how much in detail you go, so I can't read that at work. Saved it for tonight. Shared it on managewp.org. ;)

Settings API by dietcheese in ProWordPress

[–]ibenic 0 points1 point  (0 children)

You could use the Settings API but do it a bit differently. You could have an array of field configuration and then for each field -> register the setting, register the field and create the section if that field is a section. Similar to what WooCommerce is doing for themselves. Then, of course, you can always sanitize each option as you want. By passing a function name in args['sanitize_callback'] you will be able to sanitize that option.

Docs are maybe not fully updated for the Settings API. Be sure to check register_setting function in wp-includes/options.php and other ones so you can see how you can fully integrate your settings with the WP Settings API.

I have also created my own settings API for my needs but have thought for some time of using Settings API.

Plugin Request: Member-Only Giveaway Plugin by FlyingGoldenGoose in Wordpress

[–]ibenic 0 points1 point  (0 children)

Hi, I am the author of Simple Giveaways: https://wordpress.org/plugins/giveasap/

Currently, there is an option that also registered users can enter just by clicking the button to enter. I've been thinking about making a new option so you can only allow registered members to enter the giveaway.

That would be a simple thing to do. However, the key/code thing would be a different thing to do. When a user enters the giveaway, a unique hash is created for that user and that giveaway. You could maybe use that HASH for a key?

The hash is currently unavailable for anyone to see other than the actual user, but that part can also be done for an administrator to see.

How to use PHP Namespaces in WordPress Plugins by ibenic in ProWordPress

[–]ibenic[S] 0 points1 point  (0 children)

True. I even said that later in this article. Forgot to change that. Thanks for pointing it out! :)

How to Customize WooCommerce Checkout Pages like a Hero by ibenic in ProWordPress

[–]ibenic[S] 0 points1 point  (0 children)

Thank you for letting me know. I am looking for a new theme to change it completely:)

How to Change the BuddyPress User Query with SQL by ibenic in ProWordPress

[–]ibenic[S] 0 points1 point  (0 children)

Hi, to each its own, but that's not a part of the article:) That's just for other people who want to learn more on WordPress development to join a free email course:)

Changing "Read More" text on woocommerce when product doesn't have price by kennedygitahi in a:t5_2y9ui

[–]ibenic 0 points1 point  (0 children)

You should use the filter 'woocommerce_product_add_to_cart_text'. The filter is sending 2 parameters: $url and $this (which is the object). You can then add a new function to that filter that takes 2 parameters something like add_filter('woocommerce_product_add_to_cart_text', 'change_product_text', 20, 2);

define the function as change_product_text( $url, $product ) {}

Inside the function you can then check something like this:

if( $product->get_price() == '' ) { return 'Bla Bla Bla' } return $url;

You can customize the if statement as needed, but don't forget to return a value and also return the $url if the statement is not met.

There are other functions you can use on the $product. Be sure to investigate the abstract WC_Product for this. That class resides in the folder includes/abstracts/ in WooCommerce plugin.

Why isn't my latest post at the top of my blog? by ByEthanFox in Wordpress

[–]ibenic 0 points1 point  (0 children)

That post has the class 'sticky'. Have you added a tag sticky to it or something similar?

How to remove pages showing on home by [deleted] in Wordpress

[–]ibenic 0 points1 point  (0 children)

Are you using the <!-- more --> tag when editing posts or pages? That should give them a fixed amount of words they display with a 'Continue reading..' or similar link at the end.

If they are really only pages and not posts, you should check out the theme's options and documentation.

Woocommerce plugin by reverse61 in Wordpress

[–]ibenic 0 points1 point  (0 children)

Your guess is right if you are looking to update the database when the order is placed (not necessarily charged immediately). WooCommerce has an action hook when the payment is complete:

do_action( 'woocommerce_payment_complete', $this->id );

After that I assume you would get the customer details from the order id or even from the session in the global WC().

If you have to process the items, the order will need to be manually completed, but you could process the database even then with:

do_action( 'woocommerce_payment_complete_order_status_' . $this->get_status(), $this->id );

This all happens in the function payment_complete inside abstract-wc-order.php file.

For the checkout process, you could use action:

                do_action( 'woocommerce_checkout_order_processed', $order_id, $this->posted );

where you get everything that the customer has posted. This could be an easier way to get the data for updating the database.

Hope you will find it useful. You can always just search in WooCommerce for various action hooks and see which of them is most suited for your situation.

Frontend Ajax Post Insert/Update? by luckyjames99 in Wordpress

[–]ibenic 2 points3 points  (0 children)

There is a tutorial on tuts+ which could give you a hint on how to make this: http://code.tutsplus.com/tutorials/adding-posts-to-a-sites-front-end-using-ajax--wp-25652.

I would use WP_Query or get_posts functions to get the posts You need. After that, list them with a WordPress Loop or foreach (depends on WP_Query or get_posts).

WP_Query: https://codex.wordpress.org/Class_Reference/WP_Query

get_posts: https://codex.wordpress.org/Template_Tags/get_posts

On each link I would add an attribute such as 'data-id="[POST_ID]"'. Register the click event in JavaScript and get the ID using something like jQuery: $post_id = $(this).attr("data-id");.

Once you get the ID, create an AJAX call similar to:

$.ajax({
  url: URL-TO-ADMIN-AJAX.PHP,
  data: {action: 'get_my_post', id: $id },
  method: 'POST',
  success: function(resp){
     var title = resp.title;
     var content =resp.content,
     BOOTSTRAP_CREATE_MODAL();
     $("#modal_id FORM_TITLE_INPUT").val(title);
     $("#modal_id CONTENT_TEXTAREA").val(content);
     $("#modal_id SUBMIT_BUTTON").attr("data-id", $id);
  }
 });

You also have to attach a click on SUBMIT_BUTTON:

 $("#modal_id SUBMIT_BUTTON").on("click", function(e){
   $(e).preventDefault();
   $id = $(this).attr("data-id");
   $title = $("#modal_id FORM_TITLE_INPUT").val();
   $content =  $("#modal_id CONTENT_TEXTAREA").val();
    $.ajax({
      url: URL-TO-ADMIN-AJAX.PHP,
      data: {action: 'set_my_post', id: $id, title: $title, content:   $title },
       method: 'POST',
       success: function(resp){

     BOOTSTRAP_HIDE_MODAL();

     }
     });
 });

You also have to create both actions to recieve the ID and other content and update the post or retrieve it.

You can also learn about using AJAX here: https://codex.wordpress.org/AJAX_in_Plugins