The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Making thread appear as latest for forum
I am adding a reply to a certain thread via a form. The code is like this...
Code:
build_new_post('reply', $foruminfo, $threadinfo, $postinfo, $newpost, $errors); It is the latest post in terms of time, but it doesnt recognise it as being the latest in terms of bumping the thread. Is there a line of code that I can add that will correct this? Thanks |
#2
|
|||
|
|||
Add
PHP Code:
|
#3
|
|||
|
|||
Thanks
So is this correct? PHP Code:
|
#4
|
|||
|
|||
Those added 2 lines are causing an error. I tried both xwww.myforum.com/includes, and ./includes and /includes
Code:
Warning: Unknown: failed to open stream: No such file or directory in /newthread.php(71) : eval()'d code on line 967 Fatal error: Unknown: Failed opening required '/includes/functions_databuild.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') |
#5
|
|||
|
|||
Quote:
Save this as a php file and stick it in your forum directory, then open it up. Code:
<?php echo getcwd(); ?> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|