searched, couldnt find it, but i remember rickard giving it to someone a few months back sad. whats the query for punbb to spit out a list of the guests ip's that are currently logged in?

27

(6 replies, posted in PunBB 1.2 troubleshooting)

be careful, when i did this it made diced up a lot of peoples passwords, and they had to email me, or use the pass recovery tool to get a new password...no idea why this happened, but recently my server had to be reloaded, and a lot of people couldnt login with their password. (they got a recent backup of the minute, till the server died, no info was lost)

i'd like this mod too!

my forum is about 150MB. It will not work on my board.

HORRORel wrote:

Is a problem I think because don't work for mee too !

me too

An error was encountered
Error: Unable to fetch post info.
:x

Dwaggy wrote:

Perhaps running strip_tags before htmlspecialchars on normal user posts would fix that? Hmm

how do i do that.

When people quote an admin/mod, it looks pretty nasty.

34

(124 replies, posted in News)

His Web Stats

Terrible.

works great! i wish it had logged stuff on moderators too, to see who moved what thread, and where, perhaps it will be included in the next version.

notes.txt says:

require_once(PUN_ROOT . "include/adminaogs.php")

probably should fix that! smile

edit: i re-did it, and im getting this error now.

Parse error: parse error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/brian/public_html/forum/include/adminlogs.php on line 96

Downloading and giving a try! I'm running 1.2.6 though, hopefully it still works.

edit: nope, php errors ;x

Warning: main(./include/adminaogs.php): failed to open stream: No such file or directory in /home/brian/public_html/forum/include/dblayer/mysql.php on line 30

Fatal error: main(): Failed opening required './include/adminaogs.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/brian/public_html/forum/include/dblayer/mysql.php on line 30

38

(6 replies, posted in PunBB 1.2 discussion)

Totally agree! Rickard, Smartys, Connor, and plenty of others are truly amazing.

? yikes

Yeah, but I want to make it so when I send them to that group, it lets me enter a certain number of hours, and then it automatically sends them from the suspended users group, to their original group, so they can post again.

It's like taking their posting privs. away for 5 hrs only, and then it will let them post again after the 5 hours without you actually transferring them out of the suspended users group ;x

I was wondering if anyone would make a mod that would suspend a user so they can still view the board, but not post for a specific duration. Sometimes people just don't deserved to be banned, but not be able to post.

Right now, I have a usergroup called "Suspended", but I need it modified so it can do this. :\

Thanks

Hi, i was wondering if there was sql query to send to DB management to spit out a list of everyones email address? I want everyones email address regardless if they are online or not.

tongue

Good idea. I just purchased a new server last night. Dedicated.

Intel Pentium 2.8GHz
1024MB RAM
80GB IDE hard drive
1000GB bandwidth
5 IP addresses
100Mbps port
FreeBSD


Additional Features I wanted Added:

Installation and configuration of Firewall (IPtables)
Check for rootkits on the server
Hardening of /tmp directory
Watchmysql - MySQL monitor
Extended Binary Hardening
Phpsysinfo
Version checker
PAM resource limiting
Disabling Telnet access
Formail checker
Tweak MySQL
Install & configure Portscanner

WOW, another error automatically:

Warning: ob_start(): output handler 'ob_gzhandler' cannot be used twice in /home/brian/public_html/forum/include/functions.php on line 946
An error was encountered
File: /home/brian/public_html/forum/index.php
Line: 48

PunBB reported: Unable to fetch category/forum list

Database reported: Got error 28 from table handler (Errno: 1030)

http://www.cobaltandcalcium.com/forum/index.php

Geez...


Edit: repair tables isn't working this time around. ;\

            <b><font class="caption">Recent :</font> Threads</b>
            <div class="boxtop"></div>
            <ul>
             <?php error_reporting(E_ALL);
include('http://www.cobaltandcalcium.com/forum/extern.php?action=active&show=10&fid=1,8,12,17,15,2,14,16'); ?>
            </ul>
            <div class="boxbottom"></div>
        
            <br />

www.cobaltandcalcium.com -- still no error reports sad

Connorhd wrote:

odd, looks fine to me, do you have error reporting disabled?

no idea, where would i enable it? tongue

ahh, connor, you didn't lose a customer... how about this one right here?

www.cobaltandcalcium.com -- right side of page used to display the ten most recent threads, but now out of the clear blue it stopped working (hasn't worked for about three days now, but it has worked for the past 7 months).

Here is the code that has made the top 10 most recent threads in specific sections work:

            <b><font class="caption">Recent :</font> Threads</b>
            <div class="boxtop"></div>
            <ul>
             <?php include('http://www.cobaltandcalcium.com/forum/extern.php?action=active&show=10&fid=1,8,12,17,15,2,14,16'); ?>
            </ul>
            <div class="boxbottom"></div>
        
            <br />
Smartys wrote:

briank: so the posts aren't in the database anymore?
I think that's due to the missing user account messing up the join, create a new account with an id of 2 and they should be back

awesome. all i had to do was create a new username, add it to usergroup 1 (for admins), and then put my ID at 2. Blam. Fixed!

Thanks smartys, you're very smart.

i have a backup, although I don't know what to do so i can put just my username back. I've never done this before..

punbb_db_backup.2005-05-16.sql