Skip to content

Create and delete a group #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
7 changes: 2 additions & 5 deletions example.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

// create a topic
$r = $api->createTopic(
'This is the title of a brand new topic',
'This is the title of a brand new topic',
"This is the body text of a brand new topic. I really don't know what to say",
$catId,
"johndoe"
Expand All @@ -36,14 +36,11 @@
$r = $api->createPost(
'This is the body of a new post in an existing topic',
$topicId,
$catId,
'johndoe'
);

// change sitesetting
// use 'true' and 'false' between quotes

$r = $api->changeSiteSetting('invite_expiry_days', 29);
print_r($r);


Loading