I use Aeva and want to edit the shoutbox source so videos dont get embeded in the shoutbox. Problem is I can't find my tpshout.php :(
Link to my site: http://www.gamer.lk
SMF version: SMF ver. 1.1.10
TP version: TP v0.9.8
Theme name and version: PSPTheme_Fixed
it's not in the Sources directory, and there is no tp-modules directory in root.
Help :D
Is this what you are looking for ?
...your_forum_root\tp-files\tp-modules\TPShout...
I have tp-images and tp-downloads but no tp-files. Odd. Any ideas?
I don't remember where those files are located in TP 0.98, because I'm sure they are different now in TP 1.x. I know longer have a TP 0.98 install available to check.
You could download a copy of TP 0.98 to your local computer, unzip the file into a temp folder, and look for the file. That would be your best bet.
ZarPrime
The code for the shoutbox in TP 0.98 is in Sources/TPortal.php
Quote from: JPDeni on July 26, 2009, 05:10:01 PM
The code for the shoutbox in TP 0.98 is in Sources/TPortal.php
Thanks. I found the file, but I'm now having trouble with the instructions that Aeva have given me.
Disabling Embedding In Specific Areas
- Embedding is automatically disabled in signatures, printer pages and SMF2's WYSIWYG editor. You may want to be able to disable it for other sections, such as a Shoutbox.
- Just find the position, in the relevant source file, where data is put through the "parse_bbc" function. Then on the line BEFORE it, add:
$context['aeva_disable'] = 1;
I can't find a parse_bbc phrase anywhere in that file. Where do you guys suggest I put that bit of code?
Notice that this says SMF2's WYSIWYG editor. Is Aeva referring to SMF2? If so, it doesn't apply to TP .98.
I don't think that the shoutbox in .98 allows for parsing of bbc code anyway. I'll take a look at it more closely, because I have the .98 shoutbox on my site.