The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
threaddm : including signature when creating new post
i'm using this script to create new posts to the forum from an external script:
https://vborg.vbsupport.ru/showthread.php?t=229654 now how can set it to include the user's signature to the post ? something like: $threaddm->setr('includesignature', 1); btw, does vBulletin have a wiki with infos about the functions ? |
#2
|
|||
|
|||
I also have another question. When using the script in the link i posted, i can't post 2 messages in a row because my forum is set to force the users to wait 15 seconds between each posts.
Is there a way i can set the script to bypass this wait time so the script doesn't have to wait 15 seconds between each posts ? |
#3
|
|||
|
|||
I don't have much time so I will leave you a bit of information that might help you. Most of the answers you are looking for you can figure out by looking at the code in the datamanager. Take a look at "class_dm_threadpost.php".
1. signature - You will find the answer in that code. (This one is easy.) 2. no wiki that I know of. 3. floodcheck - It might be possible to shut this off by fooling the registry and restoring it after your code is done executing. Again look at the datamanager, the answer is in there. if you send me or post your code ( so I do not have to recreate everything ), I can give you a quick hand with your questions. Take Care and Good Luck. |
#4
|
|||
|
|||
Thanks, figured out how to show signature but i'm still stuck with the floodcheck problem.
The code i am using is the one in this post: https://vborg.vbsupport.ru/showthread.php?t=229654 |
#5
|
|||
|
|||
Quote:
You can do something like add: $vbulletin->options['floodchecktime'] = 0; I believe before the global.php call, that might work. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|