301

(7 replies, posted in PunBB 1.2 troubleshooting)

Smartys wrote:

I got the registration email, it went to my gmail spam folder

Hey smartys.
What makes it go to the spam folder? Does this mean any site I build this will happen. And... er... is there anyway of stopping it. tongue

302

(16 replies, posted in General discussion)

Cool...

It has problems in ie6 though sad

Hooray... This is the one I have reported before but couldnt get it working consistantly.

Good find...

Smartys do your thing tongue

304

(27 replies, posted in PunBB 1.2 troubleshooting)

You replied quickly. Try rebuilding the index.... I am guessing here by the way. tongue

305

(27 replies, posted in PunBB 1.2 troubleshooting)

Try searching. This has been discussed before.

EDIT:
Ok try rebuilding the index. Admin - Maintenance. I am guessing the total posts on the topic info (backend) dont match with how many actual posts there is. I am sure it cant do any harm rebuilding the index.

Smartys/anyone might want to confirm this...

306

(7 replies, posted in PunBB 1.2 discussion)

Unfortunately no one can be told when PunBB will be released - you have to wait and see it for yourself.

307

(5 replies, posted in PunBB 1.2 show off)

Just stumbled upon this... (Not mine!!)

http://forum.freshbooks.com/


It looks pretty good to me. Clean and easy to read... smile

308

(0 replies, posted in PunBB 1.2 troubleshooting)

Any ideas on the easy way to lock down a whole forum...

Basically I have an archive that is using punbb. But I dont want to go through and change each forum to read only. Any easy way to make it open but no posting or logging in.

Thanks in advance.

EDIT:
Fixed! or Sorted!
I just changed login.php so only old admins can log in.

if ($group_id <> 1)
{
    header('Location: index.php');
    exit;
}

Guest posting is closed on all forums so all good.

Add me on MSN. Im interested. tongue
Sent you mail. wink

310

(42 replies, posted in PunBB 1.2 show off)

Now on SVN revision 1117

Rewrite will be working by sunday people.

311

(11 replies, posted in General discussion)

Home page...
http://galacticempire.se/ Validator - 412 errors...

In fact so many errors that my computer (ie - old crap) had trouble opening the page for some reason and crashed.

312

(42 replies, posted in PunBB 1.2 show off)

hcgtv wrote:
StevenBullen wrote:

Here you go check this out. You probably just overlooked it. They have new YouTube ads out as well. wink
Google round / rounded corners...

Dang, snuck up on me, never saw it - thanks.

StevenBullen wrote:

Plus... I am not 100% certain if they have all the code complete for the rewrite at the mo.

The mod rewrite stuff was complete, from my testing. So if you set up the .htaccess file, all would be fine.

No problem.

I will sort the rewrite out over the weekend then. smile

313

(8 replies, posted in PunBB 1.2 show off)

cheers quaker and matt much apreciated.

The front page will get a little revamp over the weekend, I'm not completely happy with it.

Here you go...

//
// Generate the whos online block
//
function generate_whosonline()
{
    global $pun_config, $lang_common, $pun_user, $db;
    
    if ($pun_user['is_guest'])
    {
        require PUN_ROOT.'lang/'.$pun_user['language'].'/login.php';
        return 'Welcome Guest!<br />
            Please login.<br />
            <form id="login" method="post" action="login.php?action=in" onsubmit="return process_form(this)"><div>
                <input type="hidden" name="form_sent" value="1" />
                <input type="hidden" name="redirect_url" value="index.php" />
                <label><strong>Username</strong><br /><input type="text" name="req_username" size="13" maxlength="25" tabindex="1" /><br /></label>
                <label><strong>Password</strong><br /><input type="password" name="req_password" size="13" maxlength="16" tabindex="2" /><br /></label>
                <p><a href="register.php" tabindex="4">'.$lang_login['Not registered'].'</a><br />
                <a href="login.php?action=forget" tabindex="5">'.$lang_login['Forgotten pass'].'</a></p>
                <p><input type="submit" name="login" value="Login" tabindex="3" /></p>
            </div></form>';
    }
    else
    {
        require PUN_ROOT.'lang/'.$pun_user['language'].'/index.php';
        $result = $db->query('SELECT COUNT(id)-1 FROM '.$db->prefix.'users') or error('Unable to fetch total user count', __FILE__, __LINE__, $db->error());
        $stats['total_users'] = $db->result($result);
        
        $result = $db->query('SELECT id, username FROM '.$db->prefix.'users ORDER BY registered DESC LIMIT 1') or error('Unable to fetch newest registered user', __FILE__, __LINE__, $db->error());
        $stats['last_user'] = $db->fetch_assoc($result);
        
        $result = $db->query('SELECT SUM(num_topics), SUM(num_posts) FROM '.$db->prefix.'forums') or error('Unable to fetch topic/post count', __FILE__, __LINE__, $db->error());
        list($stats['total_topics'], $stats['total_posts']) = $db->fetch_row($result);
        
        if ($pun_config['o_users_online'] == '1')
        {
            // Fetch users online info and generate strings for output
            $num_guests = 0;
            $users = array();
            $online = array();
            $result = $db->query('SELECT user_id, ident FROM '.$db->prefix.'online WHERE idle=0 ORDER BY ident', true) or error('Unable to fetch online list', __FILE__, __LINE__, $db->error());
        
            while ($pun_user_online = $db->fetch_assoc($result))
            {
                if ($pun_user_online['user_id'] > 1)
                    $users[] = "\n\t\t\t\t".'<a href="profile.php?id='.$pun_user_online['user_id'].'">'.pun_htmlspecialchars($pun_user_online['ident']).'</a><br />';
                else
                    ++$num_guests;
            }
        
            $num_users = count($users);
            $online[] = "\t\t\t\t".$lang_index['Users online'].': <strong>'.$num_users.'</strong><br />'."\n\t\t\t\t".$lang_index['Guests online'].': <strong>'.$num_guests.'</strong>'."\n\t\t\t"."\n";
        
        
            if ($num_users > 0 && $num_users < 10)
                $online[] = "\t\t\t"."\n\t\t\t\t".'<br /><strong>'.$lang_index['Online'].': </strong>'."\t\t\t\t".implode($users)."\n";
            else
                $online[] = "\t\t\t".'<div class="clearer"></div>'."\n";
        
        }
        
        return 'Welcome <strong>'.$pun_user['username'].'</strong><br /><br />
            '.implode($online,'').'<br />
            Users: <strong>'. $stats['total_users'].'</strong><br />
            Topics: <strong>'.$stats['total_topics'].'</strong><br />
            Posts: <strong>'.$stats['total_posts'].'</strong><br />';
    }
}

Put a <div> around your stuff in the form. That will get rid of some errors.. wink

316

(42 replies, posted in PunBB 1.2 show off)

hcgtv wrote:

How do you get the Google ad to have rounded corners?

Here you go check this out. You probably just overlooked it. They have new YouTube ads out as well. wink
Google round / rounded corners...

hcgtv wrote:

Oh, and all I get are html files, no forum.

Doh! I did not even notice. I will check it out now. wink

EDIT:
Ok I checked it out and it did startle me to start with. But basically someone changed the URL formatting in the admin options and so it changed all the links. I have left the option in the page you can see it... but I have disabled the ability to change this option at present.

I do have mod_rewrite running on my server. So I might take a look into getting it up and running so makes no difference if someone changes it.

Plus... I am not 100% certain if they have all the code complete for the rewrite at the mo. Will have to check it out... or smartys can tell me. Either way... big_smile

To tell you the truth this has happened to me before...

I couldnt fix the problem. I just re-installed with fresh files and it worked. Very confusing. hmm

Maybe next time I come across it I will try again to find the problem.

318

(42 replies, posted in PunBB 1.2 show off)

I am guessing it was changed on 1.2 in later releases?
Because this topic shows "Index » Show off » PunBB 1.3 (Latest svn)"..

Plus I need to put some info on the front page making it clear that this is for visual purposes only. At present the PunBB development team wont be taking Bugs/Exploits until after a first tester release.

319

(42 replies, posted in PunBB 1.2 show off)

Hi,

As i am waiting for 1.3 to be released before i rebuild pundemo.org, i thought i would keep it up to date with the latest svn for 1.3.

PunBB 1.3 - www.pundemo.org

Normal user: User / user

Admin user: Admin / admin

EDIT 2:::
Ok I have now moved the live demo back to www.pundemo.org.

320

(16 replies, posted in General discussion)

I will keep a keen eye on this. smile

321

(16 replies, posted in General discussion)

Does it work on old ie? I am guessing not as I am at work and dont work.
But! What does it do? does it open up links in the actual post in a frame?

I might check this out for my next project. wink



Off topic: when I read the title I thought it was about the itouch. tongue

322

(8 replies, posted in PunBB 1.2 show off)

hcgtv wrote:

Why does the smiley willingly get into the microwave?

I am waiting for my proper avatar. I just put that up for testing. tongue

and answering your question.. god knows.

323

(17 replies, posted in PunBB 1.2 show off)

They have updated it slightly... it looks even better now. wink

324

(8 replies, posted in PunBB 1.2 show off)

Ok guys check this out...

Dark Gaming - Dark Gaming Forum

Full integration with PunBB also has a big slice of MooTools involved as well. By all means join and get involved with the Dark Gaming community.

A big thanks to all that contribute here at PunBB and PunRes... without you guys my jobs would take a year longer lol

Any comments/feedback would be welcome... Positive or negative...

325

(10 replies, posted in PunBB 1.2 show off)

Challe wrote:

btw: I looked at my Hosting Control Panel, and there was already a PunBB quick-install option. I didn't know that it's that popular here. big_smile

Of course its popular... its one of the best... tongue