I think its worth it though - now we can welcome a real user rather than a banned spammer.
This one is really easy - we will get the stats.php query and run it in the index php. I tried just calling the variables, but also no luck.
Index php http://crossreference.mybboard.de/index.php.html
Step 1. Make a copy of your index.php. Save it in a folder called originals
Step 2. Open the index.php from the forum root and go to line 225. Select line 225 - 239 inclusive and replace with the code below.
Step 3 Change the usergroups in the array to fit your needs.
PHP Code:
1 |
|
For those who are still reading......
This code is a bit odd - it is loading the cache from the stats.php - but that cache is created BEFORE we run our mod in the stats php - so the data in the cache is not correct. So we load the cache (we have to have the cache data for the threads and posts) and then we run our query for the username, then we splice our query into the stats.cache. Um yeah. Sort of.
Anyhoo - it works

Enjoy
