OtakuTalk

Affiliates: 4chon! Yschan! Junkuchan! Tablecats Lounge! Vectors! Your link here!

Boards: /d/ /market/

Topic: I claim the one thousandth topic in the name of Haruhi!


vocalon started this discussion 7 months ago #1,000

ITT: 1000 get celebration.

Also, admins and mods, if there's anything that would make mod/admin life easier, don't hesitate to speak up, I'm willing and ready to help.

Mod joined in and replied with this 7 months ago, 51 minutes later[Top] #11,294

I think some money would make my life easier!

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.

LASIchan(notrip) double-posted this 7 months ago, 50 seconds later, 1 hour after the original post[Top] #11,297

@previous
forgot pic

Mod replied with this 7 months ago, 3 minutes later, 1 hour after the original post[Top] #11,298

@11,296
Yeah, it will be easier to verify if there are some authentic posters in an IP with dozens of spam IDs.

LASIchan(notrip) replied with this 7 months ago, 7 minutes later, 1 hour after the original post[Top] #11,301

@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.

vocalon (OP) replied with this 7 months ago, 1 hour later, 3 hours after the original post[Top] #11,304

Remember to report any bugs!
http://dl.dropbox.com/u/39020081/tbbs/ip_address.php

LASIchan(notrip) replied with this 7 months ago, 14 minutes later, 3 hours after the original post[Top] #11,307

@previous
it adds the extra column for post numbers, but it's not printing them...
which is the same problem I had when I tired to write it myself.

also, your substituted whois site doesn't seem to work with the url outputted?

(Edited 3 minutes later.)

vocalon (OP) replied with this 7 months ago, 2 minutes later, 3 hours after the original post[Top] #11,308

@previous
I don't like Kawaii's table class. Anyways, should be fixed now.

LASIchan(notrip) replied with this 7 months ago, 1 hour later, 4 hours after the original post[Top] #11,309

@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:
Array
(
[0] => Array
(
[file] => /ip_address.php
[line] => 144
[function] => db_exec
[class] => db
[object] => db Object
(
[db_link:protected] => Resource id #4
[special_values:protected] => Array
(
[0] => NOW()
[1] => NULL
[2] => UNIX_TIMESTAMP()
)

[query_id:protected] => Resource id #19
[prefix:protected] =>
[db_username:protected] => (hidden)
[db_password:protected] => (hidden)
)

[type] => ->
[args] => Array
(
[0] => SELECT COUNT() FROM topics WHERE author_id = %1
[1] => {vocalon's ID}
)

)

)

> wtf codebox doesn't protect against tab-stripping?

(Edited 1 minute later.)

vocalon (OP) replied with this 7 months ago, 8 minutes later, 4 hours after the original post[Top] #11,310

@previous
Lightning speed fixes! Courtesy of NoLife LTD.

Also, open up
includes/functions.php
, and change line 562 "div" to "pre". That should fix your tabs.

(topic /bulletins)

> MARKUP I NEVER KNEW ABOUT

> AWESOME

(Edited 3 minutes later.)

LASIchan(notrip) replied with this 7 months ago, 1 hour later, 6 hours after the original post[Top] #11,314

@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

(Edited 1 minute later.)

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">".

LASIchan(notrip) replied with this 7 months ago, 23 minutes later, 7 hours after the original post[Top] #11,317

@previous
so,
'<pre class="codebox">$1</pre>', #13
?

vocalon (OP) replied with this 7 months ago, 32 minutes later, 7 hours after the original post[Top] #11,318

@previous
yep.
This should remove the line break problem as well, so you can integrate
tags
without needing a new line.

grey !C.MxxuCiTo joined in and replied with this 7 months ago, 12 hours later, 20 hours after the original post[Top] #11,325

1000 GET!!!

grey !C.MxxuCiTo double-posted this 7 months ago, 52 seconds later, 20 hours after the original post[Top] #11,326

@previous

1000 GET!!! 1000 GET!!! 1000 GET!!! 1000 GET!!! 1000 GET!!!

LASIchan(notrip) replied with this 7 months ago, 2 days later, 3 days after the original post[Top] #11,354

@11,318
soooo, any idea about the ip page error? OTK uses r04r's db class, not kawaii's.

(Edited 46 seconds later.)

vocalon number 2 joined in and replied with this 7 months ago, 8 minutes later, 3 days after the original post[Top] #11,355

@previous
Redownload it, it should be fixed.

It's probably because of a stupid typo.

(In other words PROOOOOF REAAAAAD)

LASIchan(notrip) replied with this 7 months ago, 6 hours later, 3 days after the original post[Top] #11,363

@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

(Edited 16 minutes later.)

vocalon number 2 replied with this 7 months ago, 1 hour later, 3 days after the original post[Top] #11,364

@previous
Code for generating UIDs is in includes/functions.php
CTRL+F "function create" and the UID code will come up.

Also, change
author_id
to
author
and that should be okay.

LASIchan(notrip) replied with this 7 months ago, 11 hours later, 3 days after the original post[Top] #11,367

@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;

$user_id = uniqid('',true);
$password = generate_password();

$stmt = $link->prepare('INSERT INTO users (uid,password,ip_address,first_seen) VALUES (?, ?, ?, UNIX_TIMESTAMP())');
$stmt->bind_param('sss',$user_id,$password,$_SERVER['REMOTE_ADDR']);
$stmt->execute();

$_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>.';

setcookie('UID',$user_id,$_SERVER['REQUEST_TIME'] + 315569260,'/');
setcookie('password',$password,$_SERVER['REQUEST_TIME'] + 315569260,'/');
$_SESSION['UID'] = $user_id;
if (is_crawler()) { return FALSE; }
}

Anonymous F joined in and replied with this 7 months ago, 4 hours later, 4 days after the original post[Top] #11,375

Hail her be forced to treat everyone online to the cafe.

Mod replied with this 6 months ago, 1 week later, 2 weeks after the original post[Top] #11,518

Is there any feature to wordfilter certain spam URLs?

. !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.

(Edited 1 minute later.)

vocalon's 50129th ID replied with this 6 months ago, 20 hours later, 2 weeks after the original post[Top] #11,523

@11,518
Sure, do you guys have the antibot code?
(It should be in includes/private.php.)

Mod replied with this 6 months ago, 33 minutes later, 2 weeks after the original post[Top] #11,524

@previous
Couldn't find anything...

vocalon's 50129th ID replied with this 6 months ago, 20 hours later, 2 weeks after the original post[Top] #11,532

@previous
I'll fix something up for you then.
:
:3
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.


- OtakuTalk Mobile Imageboard + Overtalk Navigator -