how can this be used to edit a post already posted?
|
afaik, it can't. :D
|
You need to add the following code, after the post has been created, to update forum counters and last post index etc.
PHP Code:
Quote:
|
This doesn't work with 3.5.x for me...
It's saying "the user is already logged in, if you have lost your pw click here" or something to that effect. Any ideas? |
3.5.x
PHP Code:
|
Quote:
|
i've created a hook :
PHP Code:
i want to make a automatic answer on every thread that someone creates in forum=7 but it doesn do that |
Is there a way like this to create forums?
|
What if you put it in the function_new reply and you want it to be a auto second post, what would you put for the threadid?
b/c $threadinfo['threadid'] = 'threadid'; doesn't seem to work. I want it in the same thread. |
Quote:
PHP Code:
I also added build_forum_counters($forumid); after posting, otherwise the lastthread info doesn't get updated in the forum list. Quote:
$threadinfo['threadid'] = 3310; (ie: 3310 is the thread id) |
All times are GMT. The time now is 07:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|