The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am modifying the vB Blog 'blog_show_entry' template and, more specifically, the code pages that generate data for the template. Problem is I cannot figure out where the data for this variable "$article[message]" found on line 60 of the aformentioned template is getting its data.
Anybody have any ideas? |
#2
|
||||
|
||||
![]()
I don't have the blogs feature on my forums, but I would do a search for $article[message] in blog.php if you haven't already done so.
|
#3
|
|||
|
|||
![]()
BTW, I meant "$blog[message]" We're going to be using the blog addon to post and manage articles on our site and so I got my names confused as I was typing.
Warlord, thanks for responding. Yeah I did try that. I searched blog.php and all (as far as I could figure) of the included files that get called from blog.php and I couldn't find that direct variable. I also tried the reasonable variations like $blog['message'] etc. I am guessing that 'message' must be getting assinged while it is part of a different array and then the compiled contents are getting transfered to or referenced by blog[]. But I haven't been able to figure out where that is happening. ![]() |
#4
|
||||
|
||||
![]()
Did you look through your plug-ins yet? The code might be in one of those if vBulletin's blog feature uses plug-ins. That's really the only other place I would think to look. If that fails, I guess it couldn't hurt to try searching the templates but I would guess the code you're looking for is in a plug-in.
|
#5
|
|||
|
|||
![]()
I didn't think to look through the plugins and the blog has a lot of them. I'll have to keep that in mind for the future.
However, I managed to finally locate it. Turns out it is set in class_blog_entry.php when you call $entry_handler->construct(); at line 813 in blog.php. Thanks again. |
#6
|
||||
|
||||
![]()
Glad I could be of no help. LOL
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|