Jump to content

Kinzer

Members
  • Posts

    21
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Kinzer

  1. 7 minutes ago, Nathan Explosion said:

    A topic is a collection of posts (replies/comments) - this specific topic, at the time of this reply, has 2 posts.

    Makes sense, thought there might be a bug in my board counting a topic as a post with the original post. hehe thanks again for answering my dumb question =]

  2. Seems obvious, but Ive only got what I would think is Topics posted on my board because I havent launched my board yet. So there is very little 'replies' to 'topics'. A reply I would think is a 'Post' but that doesnt seem to be the case. So does anyone know what the difference is between Topics and Posts? Thanks

    image.png

  3. 3 minutes ago, Nathan Explosion said:

    Thanks - add rel="external" to your <a> tag:

    $data = array('forum' => '21', 'title' => $gameHi[$win]['Title'], 'post' => "<a href='$Hi[$win]' rel="external">$Hi[$win]</a>", 'author' => '1');

    That should sort you out - let me know if it doesn't, and I'll check that link again for newer items.

    Abracadabra! You the man, gracias

  4. 18 minutes ago, Nathan Explosion said:

    Yes please - a link to the post containing the code created via the API.

    My application operates on the content of the post, manipulating it - I need to see the rendered HTML of a post that has been submitted via the API. Not the method used to create it, but the actual creation.

    Once I see that, then I can probably suggest a change to your own API code.

    Here you go thanks

  5. Working here on v4.5.4.2  but I have one issue Im trying to resolve, If I 'POST' topics via API and link an mp4 as the post it doesn't automatically turn that link into the player. if I edit the topic and just hit save, then the player will load. What can i do to get it working off the jump?

    Thanks

     

    # Create Data
    $data = array('forum' => '21', 'title' => $gameHi[$win]['Title'], 'post' => "<a href='$Hi[$win]'>$Hi[$win]</a>", 'author' => '1');
    # Create a connection
    $url = '/api/index.php?forums/topics&key=';
    $ch = curl_init($url);
    # Form data string
    $postString = http_build_query($data, '', '&');
    # Setting our options
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $postString);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    # Get the response
    $response = curl_exec($ch);
    curl_close($ch);

     

  6. Sweet pre ordered!

    On 4/7/2021 at 1:33 AM, Midnight Modding said:

    will finally get this done soon... Just figured I better finish the brackets and have that paid for (someone was paying me to add it in) first. Very little left to dot here. Also, soon after I release it I need to raise the price because this is a more specialized app and only a few get it, but I'll probably leave it this price a short time afterwards for people who were already wanting it.

     

×
×
  • Create New...