Jump to content

Community

zbahadir

Members
  • Content Count

    374
  • Joined

  • Last visited

About zbahadir

  • Rank
    Member
  • Birthday 04/01/1967

IPS Marketplace

  • Resources Contributor
    Total file submissions: 18

Recent Profile Visitors

23,912 profile views
  1. zbahadir

    4.4: Extend Invision Community with the REST API

    No read markings. Also read data should be sent via api. It'd be nice, but there's too much detail.
  2. zbahadir

    4.4: Extend Invision Community with the REST API

    The features I expect: Forums, topics = follow/unfollow. Posts = like/unlike Blogs entries and comments = like/unlike Best regards
  3. zbahadir

    (IPBA) Recent Topics App

    I'm so sorry I wrote too late. I will check it. Thank you for the information. Best regards
  4. zbahadir

    (IPBA) Recent Topics App

    Hello, Thank you for being back. I am working for the grid view. ?
  5. zbahadir

    (IPBA) Recent Topics App

    Hello, The application uses the default theme font size. But I can add a custom font size option.
  6. (IPBA) Recent Topics App Preserved properties are preserved. REST API support added. It's not the plugin anymore, it's the application. More stable. For 4.3 and later. v2.0.0 Beta 1
  7. zbahadir

    REST API GET Posts Parameter Request

    Thank you very much for your interest. I will have some suggestions. I will make a list. posts like/unlike posts image and file upload api members upload coverPhoto and photo/avatar upload api For example. For Forums: response parent_id can be added.I added this: applications / forums / api / forums.php: public function GETindex () { / * Init * / $ where = array (); if (isset (\ IPS \ Request :: i () -> parent)) { if (\ IPS \ Request :: i () -> parent) { $ where [] = array ("parent_id =". \ IPS \ Request :: i () -> parent); } else { $ where [] = array ("parent_id =". \ IPS \ Request :: i () -> parent); } } / * Return new * / return $ this -> _ list ($ where, 'forums'); } and response likes total for post public function apiOutput( \IPS\Member $authorizedMember = NULL ) { $idColumn = static::$databaseColumnId; $itemColumn = static::$databaseColumnMap['item']; return array( 'id' => $this->$idColumn, 'item_id' => $this->$itemColumn, 'author' => $this->author()->apiOutput( $authorizedMember ), 'date' => \IPS\DateTime::ts( $this->mapped('date') )->rfc3339(), 'content' => $this->content(), 'hidden' => (bool) $this->hidden(), 'url' => (string) $this->url(), 'likes' => \IPS\Db::i()->select( 'COUNT(*)', 'core_reputation_index', array( 'type_id=?', (int) $this->$itemColumn ) )->first(), ); } I will prepare the missing ones for a mobile application. Best Regards
  8. zbahadir

    REST API GET Posts Parameter Request

    it worked with this method. ? But some things are missing. For example I want to get post likes. I get this data with extra methods, but I want to get it with the API. Thank you so much.
  9. I am developing a mobile app. In addition to the REST API -> Get list of posts, the topic_id parameter is much needed. I added myself to api / posts.php. /* Has best answer */ if ( isset( \IPS\Request::i()->hasBestAnswer ) ) { if ( \IPS\Request::i()->hasBestAnswer ) { $where[] = array( "topic_answered_pid>0" ); } else { $where[] = array( "topic_answered_pid=0" ); } } /* Topic ID */ if ( isset( \IPS\Request::i()->topicid ) ) { if ( \IPS\Request::i()->topicid ) { $where[] = array( "topic_id=".\IPS\Request::i()->topicid ); } else { $where[] = array( "topic_id=".\IPS\Request::i()->topicid ); } } /* Archived */ if ( isset( \IPS\Request::i()->archived ) )
  10. zbahadir

    Plugin title length

    The plugin title length is too short. It looks like 32 characters. I suggest that it should be at least 50 characters long.
  11. zbahadir

    New: Fluid Forum View

    Very exciting.
  12. zbahadir

    New: Device Management

    Very useful features
  13. zbahadir

    New: Delayed Deletes

    I like this feature very much. Thank you IPS
  14. zbahadir

    (TB) Bump Up Topics

    Right now I have no time. But something can be done at a later time. Which feature would try to do if I add.
  15. Guest

    Sorry, forgot your module is : 

    (IPBA) Recent Topics Widget 1.1.14

×