1,501

(2 replies, posted in Feature requests)

Ahhhhhhhhhhhh.
So that's where it is.
Thanks.

1,502

(7 replies, posted in PunBB 1.2 show off)

cody wrote:

Yes ina way. but i plan to have this one be more helpful and have more users to increase the populartity of punbb.

Sorry... but why? Not only do we have these forums, we've got Punres too. Is there a specific reason why it will be more helpful or have more users?

Sorry if I sound harsh. I kind of think that if you are going to make a forum, you might want to choose a different topic.

Installed fine on 1.2.7. Thanks!
However....

In the readme the code referenced in step 11:

if (basename($_SERVER['PHP_SELF']) == 'index.php')
        $tpl_temp .= "\n\t\t\t".'</ul>'."\n\t\t\t".'<ul class="conr">'."\n\t\t\t\t".'<li><a href="search.php?action=show_new">'.$lang_common['Show new posts'].'</a></li>'."\n\t\t\t\t".'<li><a href="misc.php?action=markread">'.$lang_common['Mark all as read'].'</a></li>'."\n\t\t\t".'</ul>'."\n\t\t\t".'<div class="clearer"></div>'."\n\t\t".'</div>';
    else if (isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] == 'action=show_new')

...should now be:

if (in_array(basename($_SERVER['PHP_SELF']), array('index.php', 'search.php')))
        $tpl_temp .= "\n\t\t\t".'</ul>'."\n\t\t\t".'<ul class="conr">'."\n\t\t\t\t".'<li><a href="search.php?action=show_new">'.$lang_common['Show new posts'].'</a></li>'."\n\t\t\t\t".'<li><a href="misc.php?action=markread">'.$lang_common['Mark all as read'].'</a></li>'."\n\t\t\t".'</ul>'."\n\t\t\t".'<div class="clearer"></div>'."\n\t\t".'</div>';
    else
        $tpl_temp .= "\n\t\t\t".'</ul>'."\n\t\t\t".'<div class="clearer"></div>'."\n\t\t".'</div>';

Or at least I think so. I couldn't find the code referenced by the readme anywhere.

1,504

(33 replies, posted in PunBB 1.2 troubleshooting)

An error was encountered
File: /mnt/web_g/d20/s22/a000skup/www/awesome/forum/admin_index.php
Line: 96

PunBB reported: Unable to fetch online count

Database reported: Lost connection to MySQL server during query (Errno: 2013)

That's from 1.2.7; I had that error with 1.2.6 too.
Also using Netfirms. From my own experience, they have good tech support. I don't really care much, I can just change the navbar link to admin_options.php, but I'll email Netfirms if you want me to Rickard. Just tell me what I should say.

http://punbb.org/forums/viewtopic.php?id=3342

1,506

(2 replies, posted in Feature requests)

Does PunBB have some sort of mechanism to manage subscriptions? Or is there a mod to do this? E.G. a list of topics a user is subcribed to, with links or checkboxes (preferrably checkboxes) to unsubscribe.

Thanks,
Brian

1,507

(7 replies, posted in PunBB 1.2 show off)

What is it anyway?

1,508

(6 replies, posted in PunBB 1.2 show off)

Great design. Can't read the polish though.

Jacq wrote:

BTW. According to subSilver licence you should have a line somewhere saying that those images originate from phpBB group.

Yeah I was wondering about the legal stuff surrounding these icons.

1,510

(1 replies, posted in PunBB 1.2 discussion)

I haven't done a full guide, but I do have a thread on my forums to help people with registration issues:

pogenwurst wrote:

There are two things to keep in mind when you're registering:
- Make sure you enter the image verification properly.
- When you register, make sure that your email address is correct. Why? After you register, the password you need to log in will be emailed to you. You can't log in without it. Also, please note that you might need to wait a few minutes before your email arrives.
How to change your password:
- Click the "Profile" link near the top of the page.
- You should be in the "Essentials" category.
- See the textbox that displays your username? There's a link under it to change your password.

Please note that I have email verification enabled and I have the image verification mod.

1,511

(18 replies, posted in Feature requests)

See what you can glean from these threads:
http://punbb.org/forums/viewtopic.php?id=7578
http://punbb.org/forums/viewtopic.php?id=7461
http://punbb.org/forums/viewtopic.php?id=6056

Make sure you don't just skim over the first posts. Actually read most of the posts and you might find some useful info.

I use a slightly modified version (only sticky):

if ($cur_topic['sticky'] == '1')
        {
            $subject = '<img src="sticky.gif" alt="'.$lang_forum['Sticky'].'"/>'.$subject;
            $item_status .= ' isticky';
            $icon_text .= ' '.$lang_forum['Sticky'];
        }

It omits the sticky text in favor of the icon (in other words, just icon, no text), uses $lang_forum['Sticky'] for the alt text, and adds a closing "/" to make the img tag comply with W3C standards for XHTML.

1,513

(10 replies, posted in PunBB 1.2 show off)

Good job. A lot better than I could ever do.

Thanks Manfre! I'm glad you found my post useful.

Good idea with your edits. I've had that problem before too.

Paul wrote:

This is clearly not a bug and is in all probablility related to upgrade at Textdrive. Moving topic.

OK. Sorry for the misunderstanding.

I've been getting "Unable to fetch category/forum list" (or something like that) errors trying to view the index, both logged in and not logged in. I also got an error trying to search.

The error first occured yesterday and lasted awhile then went away. The same happened today: the error consistently occured for 20 minutes or so, but now everything is back to normal.

I could view topics and individual forums fine.

Why was this happening?

1,517

(12 replies, posted in PunBB 1.2 troubleshooting)

It wouldn't be a real subscription through PunBB, but you could use RSSFWD to email people new posts or recent activity on individual forums or the whole forum (follow these directions to generate the feed).

For example:
New Posts in the Troubleshooting Forum

1,518

(15 replies, posted in News)

Thanks. Is it integrated with the forums, or separate?

1,519

(8 replies, posted in Feature requests)

pogenwurst wrote:

This is not exactly what you were asking for, but it is similar

I know it's not what he was asking for, but thought that he might be able to draw some inspiration from that or decide that it was a suitable replacement for what he wants.

1,520

(101 replies, posted in PunBB 1.2 discussion)

Tobi wrote:

Are you sure the password file is in the correct path and readable by the webserver?

If my forums are installed in http://mydomain.com/directory/forum/ where would I put the password file?

I'm having the same problem as someguy.

1,521

(8 replies, posted in Feature requests)

This is not exactly what you were asking for, but it is similar:
http://punbb.org/forums/viewtopic.php?id=8059
Only members can see anything between the [hide] tags. Just put the links inside the [hide] tags I guess

1,522

(18 replies, posted in General discussion)

Same as Smartys. I wasn't exactly desperate for Opera, but I figured it'd be nice to have an ad-free version on hand anyway.

1,523

(3 replies, posted in PunBB 1.2 troubleshooting)

Here you go!

Adding extra statistics to your forum via BBClone in index.php (to see how they look, click the link in my sig and scroll to the bottom - EDIT: I just upgraded to 1.2.7 and am re-modding everything, so the statistics may or may not show up!):

Find (around line 184):

while ($pun_user_online = $db->fetch_assoc($result))
        {
                if ($pun_user_online['user_id'] > 1)
                        $users[] = "\n\t\t\t\t".'<dd><a href="profile.php?id='.$pun_user_online['user_id'].'">'.pun_htmlspecialchars($pun_user_online['ident']).'</a>';
                else
                        ++$num_guests;
        }

After, add

// Fetch BBlone Stats
require("bbclone/var/access.php");
$totalvisits   = $access["stat"]["totalvisits"];
$totalcount    = $access["stat"]["totalcount"];
$visitorsmonth = $access["time"]["month"][date("n")-1];
$visitorstoday = $access["time"]["wday"][date("w")];

Change the second line with respect to where BBClone is installed.

Then find (it should be right after what you just pasted):

$num_users = count($users);
echo "\t\t\t\t".'<dd>'. $lang_index['Users online'].': <strong>'.$num_users.'</strong></dd>'."\n\t\t\t\t".'<dd>'.$lang_index['Guests online'].': <strong>'.$num_guests.'</strong></dd>'."\n\t\t\t".'</dl>'."\n";

Replace it with:

$num_users = count($users);
echo "\t\t\t\t".'<dd>'. $lang_index['Users online'].': <strong>'.$num_users.'</strong></dd>'."\n\t\t\t\t".'<dd>'.$lang_index['Guests online'].': <strong>'.$num_guests.'</strong></dd><dd>Total Hits : <strong>'.$totalvisits.'</strong></dd><dd>Total Unique Visits: <strong>'.$totalcount.'</strong></dd><dd>Total Visits This Month: <strong>'.$visitorsmonth.'</strong></dd><dd>Total Visits Today: <strong>'.$visitorstoday.'</strong></dd>'."\n\t\t\t".'</dl>'."\n";

Go to the BBClone website's documentation if you want to experiment with adding other stats. Good luck!

BTW, if you use Google's Blogger, I wrote a weblog post on using BBClone with Blogger.

1,525

(3 replies, posted in PunBB 1.2 troubleshooting)

I've got something similar on my forums (see sig), except it shows:
Total Hits
Total Unique Visits
Visits This Month
Visits Today

I get the stats via BBClone, which, if ALL you want is the counter, is overkill, but if you want detailed statistics too, should fit your needs. I started a thread yesterday about integrating PunBB and BBClone; I'll post up how to include stats in the index soon.