Code
# grep -rl "\$Signature" /var/www/html/ubbthreads/*
/var/www/html/ubbthreads/scripts/changebasic.inc.php
/var/www/html/ubbthreads/scripts/editbasic.inc.php
/var/www/html/ubbthreads/scripts/showflat.inc.php
/var/www/html/ubbthreads/scripts/showprofile.inc.php
/var/www/html/ubbthreads/scripts/viewmessage.inc.php
/var/www/html/ubbthreads/scripts/showflat.inc.php.bak
/var/www/html/ubbthreads/scripts/showflat.inc.php.orig
/var/www/html/ubbthreads/templates/default/editbasic.tpl
The only one of those files that I've modified is showflat.inc.php, and I'm not replacing that with the original.

Here's the diff:
Code
# diff -u /home/pauls/ubbthreads-8-0-0-3/scripts/showflat.inc.php ../scripts/showflat.inc.php
--- /home/pauls/ubbthreads-8-0-0-3/scripts/showflat.inc.php	2024-08-26 08:00:00.000000000 -0500
+++ ../scripts/showflat.inc.php	2025-12-29 23:53:45.439485538 -0600
@@ -632,7 +632,7 @@
 			up.USER_BIRTHDAY, up.USER_PUBLIC_BIRTHDAY, p.POST_ADD_SIGNATURE, up.USER_ACCEPT_PM,
 			up.USER_HOMEPAGE, up.USER_VISIBLE_ONLINE_STATUS, up.USER_MOOD, p.POST_POSTER_NAME,up.USER_GROUP_IMAGES
 		FROM
-			{$config['TABLE_PREFIX']}POSTS AS p USE INDEX (indx_2),
+			{$config['TABLE_PREFIX']}POSTS AS p,
 			{$config['TABLE_PREFIX']}USERS AS u,
 			{$config['TABLE_PREFIX']}USER_PROFILE AS up
 		WHERE
@@ -1745,4 +1745,4 @@
 	);
 }
 
-?>
\ No newline at end of file
+?>
As you can see, the only thing done to that file is the removal of USE INDEX (indx_2), and that has nothing to do with signatures but does increase the performance of the forum by a factor of 1000. Speaking of which, have you not noticed that your board is sluggish?

Performance grade
Score 73
Page size 1.0 MB
Load time 13.35 s
Requests 29

Code
# grep -rl "_SIGNATURE" /var/www/html/ubbthreads/*
/var/www/html/ubbthreads/admin/changeuser.php
/var/www/html/ubbthreads/admin/dorebuildcontent.php
/var/www/html/ubbthreads/admin/membersearch.php
/var/www/html/ubbthreads/admin/reg_settings.php
/var/www/html/ubbthreads/admin/showuser.php
/var/www/html/ubbthreads/languages/english/admin/dorebuildcontent.php
/var/www/html/ubbthreads/languages/english/admin/rebuildcontent.php
/var/www/html/ubbthreads/languages/english/admin/reg_settings.php
/var/www/html/ubbthreads/libs/content_rebuild.inc.php
/var/www/html/ubbthreads/libs/content_rebuild.inc.php.orig
/var/www/html/ubbthreads/scripts/addpost.inc.php
/var/www/html/ubbthreads/scripts/adduser.inc.php
/var/www/html/ubbthreads/scripts/changebasic.inc.php
/var/www/html/ubbthreads/scripts/changedisplay.inc.php
/var/www/html/ubbthreads/scripts/editbasic.inc.php
/var/www/html/ubbthreads/scripts/editdisplay.inc.php
/var/www/html/ubbthreads/scripts/editpost.inc.php
/var/www/html/ubbthreads/scripts/modifypost.inc.php
/var/www/html/ubbthreads/scripts/newuser.inc.php
/var/www/html/ubbthreads/scripts/profile_comment.inc.php
/var/www/html/ubbthreads/scripts/showflat.inc.php
/var/www/html/ubbthreads/scripts/showprofile.inc.php
/var/www/html/ubbthreads/scripts/viewmessage.inc.php
/var/www/html/ubbthreads/scripts/showflat.inc.php.bak
/var/www/html/ubbthreads/scripts/showflat.inc.php.orig
None of these files have been altered except for showflat.inc.php which I've already shown that the modification doesn't affect signatures, and libs/content_rebuild.inc.php which has already been returned to the original..
Code
# diff -u content_rebuild.inc.php content_rebuild.inc.php.orig 

(The way you can tell is there's not .bak or.orig file with the same name.)

Can you at least tell me where in the code the bbcode in signatures is parsed?


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

Server Information
UBB.threads Version 8.0.0
Release 20240826
Server OS Linux
Server Load 0.11
Web Server Apache/2.4.37
PHP Version 8.3.11
MYSQL Version 8.0.39
Database Size 1.82 GB