Previous Thread
Next Thread
Print Thread
Hop To
Anonymous
Unregistered
Anonymous
Unregistered
UBB Classic: V6.3.1.1
Board: http://www.MonteCarloSS.com/cgi-bin/ultimatebb.cgi

I attempted to modify the "report_post_body_text" wordlet to include some more useful information for the moderators, such as the Forum and Subject of the post in question. The code does not appear to recognize the %%THIS_FORUM_NAME%% and %%TOPIC_SUBJECT%% strings when used. Would this need to be coded into the report-post code? I thought these strings were a bit more universal, but it appears they are only used in certain portions of the code. The predefined (default report-post wordlet) strings (%%TOPIC_URL%%, %%POST_CONTENTS%%, %%USER_PUBNAME%%, %%REASON_FOR_REPORT%%, %%IP_ADDRESS%% and %%AUTHOR_PUBNAME%%) all work properly in the email generated. Just these additions (%%THIS_FORUM_NAME%% and %%TOPIC_SUBJECT%%) are non-functional.

If it's a code change, then I'd like to request that those additional strings be added to the next code release. I think it would be very useful to give this information to the Moderators when reporting abuse, rather than only giving the URL and the post contents.

PaulC - http://www.MonteCarloSS.com
Now Gold Status!

[This message was edited by Z65_Paul on November 15, 2002 at 02:56 PM.]

Anonymous
Unregistered
Anonymous
Unregistered

Anonymous
Unregistered
Anonymous
Unregistered
Unfortunately, this is not possible. Each individual Wordlet has its own limited set of %%TEMPLATE%% values that are all hard-coded. I try to reuse these values when I know that they'd say the same thing, but they are not actually the same bits of code.

The email wordlets are a little better, as there's a large set of %%TEMPLATE%% values that can be selected from... but they rely on global variables that may or may not be set. It's a rather ugly hack, but it was the only thing that could work...

So, in short, you can't do what you seek without some code hacking. Off to UBBDev with thee. <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" />

--
Charles Capps
UBB.classic™ Developer
Having problems? Open up a support ticket!

Anonymous
Unregistered
Anonymous
Unregistered
Charles,
Is there some documentation on what template values are availible for the different wordlets?


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Having issues going from 7.5.5. to 8X
by Mors - 10/22/2026 5:32 PM
Slow Queries - Any Ideas?
by BellaOnline - 10/16/2026 8:34 PM
Selling a Forum?
by ECNet - 10/10/2026 2:54 PM
Who's Online Now
1 members (1 invisible), 870 guests, and 118 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20261016)