LASIchan(notrip) joined in and replied with this 7 months ago, 42 minutes later, 1 hour after the original post[Top]#11,296
oh the things you could do! but most aren't particularly related to OTK. >.>
if you could make the ip page show the number of post associated with each ID they've created, it'd make cleaning up spam easier.
@previous
actually, I was thinking more the inverse; spam ips tend to generate a lot of IDs before they actually do anything, and it's difficult to keep track of how many ID's you've checked when they all look like complete nonsense.
@previous
Database Error!
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') FROM topics WHERE author_id = "{vocalon's ID}"' at line 1
Query: SELECT COUNT() FROM topics WHERE author_id = "{vocalon's ID}"
File: /includes/database.class.php
Line: 72
Backtrace:
@previous > not-so-lightning-fast-implementation courtesy of my family needing tech help.
our functions.php is different than the standard tinybbs version. http://pastebin.com/Vbj8aiLa
vocalon (OP) replied with this 7 months ago, 14 minutes later, 6 hours after the original post[Top]#11,316
@previous
You're going to want to capitalize AGENT on line 129, that can cause everything to go screwy.
The line you're looking for can be found with a quick search for "<div class="codebox">".
@previous
the problem is on line 144. "author_id" isn't a valid database table. if I shorten it to just "id" the page works, but the output just says "Resource id #20" (21, 22, etc.)
Also, if you happen to know what file the code for generating UIDs is in, someone should look over mine and see how I killed it in 1.6a
@previous
hmmm... it's still printing out "Resource ID #20"
here's my borked UID code:
function is_crawler()
{
return preg_match('/googlebot|adsbot|yahooseeker|yahoobot|msnbot|yandexbot|watchmouse|pingdom\.com|feedfetcher-google|twiceler/',strtolower($_SERVER['HTTP_USER_AGENT']));
}
function create_id()
{
if (is_crawler())
{
return FALSE;
}
global $link;
$_SESSION['first_seen'] = $_SERVER['REQUEST_TIME'];
$_SESSION['notice'] = 'Welcome to <b>'.SITE_TITLE.'</b>. An account has automatically been created and assigned to you. You don\'t have to register or log in to use the board. Please don\'t clear your cookies unless you have <a href="/dashboard">set a memorable name and password</a>.';
. !NzLASIJfYM replied with this 6 months ago, 1 hour later, 2 weeks after the original post[Top]#11,519
@previous
r04r knows how to make ones that use regexp or some other black magic, but I can't do anything beyond single-words. Basically, I can substitute one pre-determined string for another; she can handle variables.
Powered by TinyBBS open source (mit) software. Keep this project alive by donating. This page took 0.01030 seconds to be generated. All trademarks and copyrights on this page are owned by their respective parties. The images and comments are the responsibility of the posters.