Author: Stoker
Description: An easy joke for You to play Your users. Copying the php Debug error message and showing different messages to different users.
You just have to use their username.
Only 1 file edit per template.
Demo:
Instructions:
Open styles/yourstyle/template/overall_header.html
Find (this is the prosilver find, but you just need to find the starting body tag):
Code: Select all
<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
Code: Select all
<!-- IF S_USERNAME eq "User_name" --><span style="font-weight:bold; padding-top:-10px;">[phpBB Debug] PHP Notice: error in phpbb_users table: Username User_name not valid!<br />
[phpBB Debug] PHP Notice: error in phpbb_warnings table: Username User_name did not understand!<br />
[phpBB Debug] Recommandation: user must be deleted!</span><!-- ENDIF -->
You can prank more users, just repeat the code with new usernames.