![]() |
Hiyis
I have the active topics hack on board - I did have them displayed only on my nonVB main site page, but I decided I wanted them on my forum index as well -- except now, whenever anyone sends a PM, instead of the set subject, the subject is replaced by the title of the last topic displayed by the parsed PHP. At first I thought it might have been because I have multiple parse groups (ie, : Code:
require("review20.php"); But I cut it down to just one, and it still caused problems... Any ideas? Am i going about having active topics on a vB completely arse-about-tit? Help :( |
You forgot to start output buffering:
Code:
ob_start(); |
Sorry - I pasted incorrectly. Each block of code had ob_start(); as required...
Any other ideas?:( Thanks for the reply :) |
Ok, I'm guessing there's a variable in the new script that's called $title or something like that, and because the PHP include template is parsed before anything else in vBulletin but after the form, the variable is set a bad value.
Annnnyway, :) can you attach the hack file here? Or just give the link to the thread. :) |
Spot on! There was a $title variable in the include files :) changed it, and now it works fine :D
Thanks yet again :) You rock! :) |
My pure pleasure. :)
BTW, this might not be the end of it. Go through the script and make sure there are no variables that might interfere with vBulletin... like $message, $userid, etc. |
1 Attachment(s)
Err... :eek:
Here's one of the files, in case you want to take a look :o |
Umm ok, I just skimmed through it and I think it's fine. :)
|
Actually, there was one problem - the include files had '$query' specified, which was causing search to come up with no results! doh! :)
Changes it to $query1 and now all is working :) Huzzah! |
All times are GMT. The time now is 09:10 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|