![]() |
Location of $post[message]
In the postbit template it calls this bit of code:
<!-- message --> <div>$post[message]</div> <!-- / message --> Where is the code that it's calling located? Is that in a template or is it something hard coded in the php? I've come across a way to allow users to select whether they want to view thumbnails or full size images. I've almost got it working, but I need to modify whether or not it shows the [img] images inline. That's what I'm trying to find the message code for... |
$post[message] pulls the info from the database, try looking at functions_showthread.php or showthread/showpost.php
|
> try looking at functions_showthread.php
I think that may be where it is, but I can't seem to find it. Anyone know where it determines if it shows an img called by the [img] tag as an inline image or a link? It allows you to select if you want to show images in the CP, so it must look for that variable somplace... > or showthread/showpost.php I don't think it's there. That calls the postbit templates, which in turn call the message thing I referenced above. If I delete those 3 lines, the body of the message won't appear, so it appears $post[message] is what I need to figure out how to modify. |
i believe it is in /includes/functions_showthread.php as postbits are assembled via function which i believe is in that file:)
and this for beta releases, please move to general code discussion:D |
Please don't post questions in the releases forum next time. Thankyou :)
|
All times are GMT. The time now is 01:01 PM. |
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:
|