Antivanity
Member
Any way to set a user's user groups ?
EDIT:
Found it in documentation: PUT /users/:userId
Great plugin!
EDIT:
Found it in documentation: PUT /users/:userId
Great plugin!
Last edited:
Yep, you got it rightAny way to set a user's user groups ?
EDIT:
Found it in documentation: PUT /users/:userId
Great plugin!
Which version are you on? `thread_prefix_id` in POST /threads is fairly new (according to the doc, it's available since forum-2016031001)The 'thread_prefix_id' option for POST /threads doesn't to work for me. The thread is created but no prefix and no prefix id information is returned from the API with the thread json. If I look at the database table xf_thread and change the prefix_id to 5 (my prefix id) it then shows up with a prefix. Just unable to set it via the API.
When i look at my post headers, I see the thread_prefix_id option going out.
POST /api/index.php?/threads HTTP/1.1
Host: forum.righttorebel.net
Accept: */*
Content-Length: 2016
Content-Type: application/x-www-form-urlencoded
Expect: 100-continue
DATA: oauth_token=xxxxxxxxxx&forum_id=23&thread_prefix_id=5&thread_title=etc&post_body=bleh&thread_tags=test
Any ideas ?
Which version are you on? `thread_prefix_id` in POST /threads is fairly new (according to the doc, it's available since forum-2016031001)
Ah, looks like it's outdated. You can either download the latest version from github or wait until the new version is available on xenforo.com. Sorry for the inconvenience.v1.4.7 (06-03-2015), downloaded a few days ago from here.
Yeah, it references another github repo for those files. You can follow the link on github (like you did) or you can reuse those files in the zip package. Let me know if you still have issues with thread prefix.When i download the zip from Github it's missing the /Lib/oauth2-server-php/src/ directory for some reason. So I'm getting a PHP require error:
PHP Warning: Uncaught exception 'ErrorException' with message 'require(/var/web/hosts/forumsite.com/library/bdApi/Lib/oauth2-server-php/src/OAuth2/Autoloader.php): failed to open stream: No such file or directory'Edit: I had to go to the directory directly on GitHub to get /oauth2-server-php/src/ for some reason. Works now.
No. They can be different servers etc.Quick question @xfrocks , does the Xenforo and WordPress installation have to use the same db or url? I am thinking about moving my blog to a separate domain but want it connected to the forum. Just curious before I venture off moving stuff.
Should be possible, I will see if I can make a ifttt recipe for that.Could I use this to auto post from a new account that I make for something like an IFTT recipe?
The end result would be every time I tweet it would take the URL for that tweet and put it into a specific thread with a specific user ID making the post.
Thanks a ton.Should be possible, I will see if I can make a ifttt recipe for that.
You should definitely be able to configure that using the Maker service on IFTT.Could I use this to auto post from a new account that I make for something like an IFTT recipe?
The end result would be every time I tweet it would take the URL for that tweet and put it into a specific thread with a specific user ID making the post.
Yeah playing with it but quite unfamiliar so hopefully @xfrocks shows me how to do it eventuallyYou should definitely be able to configure that using the Maker service on IFTT.
We use essential cookies to make this site work, and optional cookies to enhance your experience.