The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
vB 3.8.7 PLII
A L-O-N-G time ago I modified the description for the report post form to add some custom text. I'd like to revise it again, but I'm darned if I can find where my modification resides. There is currently a phrase only_used_to_report which looks like it is intended for this purpose but my installation doesn't appear to be using it. It does not display the default phrase, nor does updating the wording make any difference as to what is displayed -- my old modified text continues to be displayed. I've done text searches for my custom text in Phrases, in Templates, in all my uploaded files, and even in the complete database via phpMyAdmin, and come up empty. The salient part of the report.php file appears to be this: eval('print_output("' . fetch_template('reportitem') . '");'); The salient part of template reportitem appears to be: <div class="fieldset"> $forminfo[description] Can anybody tell me where to find this $forminfo[description] for the report problem post form? |
#2
|
||||
|
||||
![]()
That is from the phrase "only_used_to_report". Are you editing it correctly by putting what you want into the English Translation textarea? And, are you doing a Force Refresh of the page so you aren't getting a cached version of the page?
|
#3
|
||||
|
||||
![]()
Thanks for your reply, but unfortunately it is not that easy.
Yes, I know the only_used_to_report phrase is what is supposed to be displayed there, as I mentioned in my original post. Yes, I attempted to modify it by entering an English translation, but neither the original stock phrase nor my translation is what is being shown. No, it is not a cache-viewing issue. Whatever modification I did way-back-when apparently changed this somehow so that something other than the only_used_to_report phrase is being shown there. I need to find exactly where in the code the only_used_to_report phrase is supposed to be specified as what is to be shown there, as I must have altered this somehow. If I can just put it back to calling the phrase that's supposed to be there, I'd be all set. |
#4
|
||||
|
||||
![]()
Doing a search for where "only_used_to_report" gets called in the code shows me it is called five times in the /includes/class_reportitem.php file. So, I would look through that file and see if any code was changed.
|
#5
|
||||
|
||||
![]()
Thanks so much. I have all installed files backed up on my Windows computer at home, and a Windows text search failed to find any matches. ???
But, examining the /includes/class_reportitem.php file, all five of those instances are there in the file and don't appear to be messed with. In all cases, the description element of the array is being set to only_used_to_report. The file is identical to the copy in my download package from Jelsoft. So the problem exists elsewhere, but I don't have a clue where to look. |
#6
|
||||
|
||||
![]()
Check your plugins in the plugin manager see if anything is there
![]() |
#7
|
||||
|
||||
![]()
Wait... maybe we are looking at this wrong...
Have you updated recently or overwritten that file? If so then perhaps the reference to what you're looking for is now gone because the file was overwritten - perhaps? |
#8
|
||||
|
||||
![]()
Thanks. I *do* have modifications I've done via plugins, so that was one of the first things I checked.
I think this change likely goes clear back to our first vB installation in 2005. Not sure if the plugin engine was even around then -- at least I'm pretty sure *I* was incapable of doing anything with them when first starting out. --------------- Added [DATE]1394596133[/DATE] at [TIME]1394596133[/TIME] --------------- Quote:
Not sure what you mean by "that file". /includes/class_reportitem.php is still stock -- I've already downloaded a copy from our server and compared against our original Jelsoft download. |
#9
|
||||
|
||||
![]()
Have you verified that you are looking at the correct template (set General Options > Add Template Name in HTML Comments to Yes) - perhaps you have something changing the template used?
Have you verified it isn't something done in your custom style by looking at the page using a totally default style? |
#10
|
||||
|
||||
![]() Quote:
Quote:
[Aside: One of these is a half-baked developmental one that I'd prefer to remove, but can't find the way to do that. I have it unchecked at least.]At this point, I've completely deleted the English translation for the only_used_to_report phrase, to avoid any confusion when searching for text strings. Stock phrase only_used_to_report is: HTML Code:
<strong>Note</strong>: This is ONLY to be used to report spam, advertising messages, and problematic (harassment, fighting, or rude) posts. HTML Code:
<strong>Note</strong>: This is ONLY to be used to report problem posts in violation of <a href="http://www.tugbbs.com/forums/tug_rules.php">forum posting rules</a>, e.g. spam, politics, advertising, inappropriate forum, and problematic (harassment, fighting, or rude) posts. For general communication with BBS Administration, use the <a href="http://www.tugbbs.com/forums/sendmessage.php">Contact BBS Admin</a> link at bottom of the page. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|