The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi. I'm trying to determine whether or not a thread is actually being created, or if it is just doing a preview of it.
Part of the newthread.php: PHP Code:
|
#2
|
||||
|
||||
![]()
look in the template for the variable i beleive it's $preview and that should provide you with your answer when you cross reference it with the newthread.php
|
#3
|
|||
|
|||
![]()
I think I found what you're refering too:
$postpreview It's value seems to be the same regardless of whether it is previewing or posting however. |
#4
|
|||
|
|||
![]()
Has anyone messed around with this type of thing before?
|
#5
|
||||
|
||||
![]()
from what i can gather, it lets say $_POST[message] into the newthread.php from itself providing a kind of cache, as i've noticed if you edit the existing but click post on the preview it'll post the preview, basically theirs no query used to create the preview (well their shouldn't be unless vB know something i don't, i just can't see the purpose of caching the data in the database.
|
#6
|
|||
|
|||
![]()
Yeah it seems like the preview is just going to the same page again and then placing the $_POST[message] into a box, but I was hoping there would be a way to tell which it is before the post/thread gets added to the database...
|
#7
|
||||
|
||||
![]()
can i ask why?
|
#8
|
|||
|
|||
![]() Quote:
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|