1,176

(10 replies, posted in PunBB 1.2 troubleshooting)

They were being serious (well, sort of wink). The release date of 1.3 isn't yet known.

1,177

(3 replies, posted in PunBB 1.2 discussion)

This should just be a matter of deleting some code - open profile.php and delete:

        case 'messaging':
        {
            $form = extract_elements(array('jabber', 'icq', 'msn', 'aim', 'yahoo'));

            // If the ICQ UIN contains anything other than digits it's invalid
            if ($form['icq'] != '' && preg_match('/[^0-9]/', $form['icq']))
                message($lang_prof_reg['Bad ICQ']);

            break;
        }
            <div class="inform">
                <fieldset>
                <legend><?php echo $lang_profile['Section messaging'] ?></legend>
                    <div class="infldset">
                        <dl>
                            <dt><?php echo $lang_profile['Jabber'] ?>: </dt>
                            <dd><?php echo ($user['jabber'] !='') ? pun_htmlspecialchars($user['jabber']) : $lang_profile['Unknown']; ?></dd>
                            <dt><?php echo $lang_profile['ICQ'] ?>: </dt>
                            <dd><?php echo ($user['icq'] !='') ? $user['icq'] : $lang_profile['Unknown']; ?></dd>
                            <dt><?php echo $lang_profile['MSN'] ?>: </dt>
                            <dd><?php echo ($user['msn'] !='') ? pun_htmlspecialchars(($pun_config['o_censoring'] == '1') ? censor_words($user['msn']) : $user['msn']) : $lang_profile['Unknown']; ?></dd>
                            <dt><?php echo $lang_profile['AOL IM'] ?>: </dt>
                            <dd><?php echo ($user['aim'] !='') ? pun_htmlspecialchars(($pun_config['o_censoring'] == '1') ? censor_words($user['aim']) : $user['aim']) : $lang_profile['Unknown']; ?></dd>
                            <dt><?php echo $lang_profile['Yahoo'] ?>: </dt>
                            <dd><?php echo ($user['yahoo'] !='') ? pun_htmlspecialchars(($pun_config['o_censoring'] == '1') ? censor_words($user['yahoo']) : $user['yahoo']) : $lang_profile['Unknown']; ?></dd>
                        </dl>
                        <div class="clearer"></div>
                    </div>
                </fieldset>
            </div>
else if ($section == 'messaging')
    {

        $page_title = pun_htmlspecialchars($pun_config['o_board_title']).' / '.$lang_common['Profile'];
        require PUN_ROOT.'header.php';

        generate_profile_menu('messaging');

?>
    <div class="blockform">
        <h2><span><?php echo pun_htmlspecialchars($user['username']).' - '.$lang_profile['Section messaging'] ?></span></h2>
        <div class="box">
            <form id="profile3" method="post" action="profile.php?section=messaging&id=<?php echo $id ?>">
                <div class="inform">
                    <fieldset>
                        <legend><?php echo $lang_profile['Contact details legend'] ?></legend>
                        <div class="infldset">
                            <input type="hidden" name="form_sent" value="1" />
                            <label><?php echo $lang_profile['Jabber'] ?><br /><input id="jabber" type="text" name="form[jabber]" value="<?php echo pun_htmlspecialchars($user['jabber']) ?>" size="40" maxlength="75" /><br /></label>
                            <label><?php echo $lang_profile['ICQ'] ?><br /><input id="icq" type="text" name="form[icq]" value="<?php echo $user['icq'] ?>" size="12" maxlength="12" /><br /></label>
                            <label><?php echo $lang_profile['MSN'] ?><br /><input id="msn" type="text" name="form[msn]" value="<?php echo pun_htmlspecialchars($user['msn']) ?>" size="40" maxlength="50" /><br /></label>
                            <label><?php echo $lang_profile['AOL IM'] ?><br /><input id="aim" type="text" name="form[aim]" value="<?php echo pun_htmlspecialchars($user['aim']) ?>" size="20" maxlength="30" /><br /></label>
                            <label><?php echo $lang_profile['Yahoo'] ?><br /><input id="yahoo" type="text" name="form[yahoo]" value="<?php echo pun_htmlspecialchars($user['yahoo']) ?>" size="20" maxlength="30" /><br /></label>
                        </div>
                    </fieldset>
                </div>
                <p><input type="submit" name="update" value="<?php echo $lang_common['Submit'] ?>" /><?php echo $lang_profile['Instructions'] ?></p>
            </form>
        </div>
    </div>
<?php

    }

Then open include/functions.php and delete:

<li<?php if ($page == 'messaging') echo ' class="isactive"'; ?>><a href="profile.php?section=messaging&id=<?php echo $id ?>"><?php echo $lang_profile['Section messaging'] ?></a></li>

Does that work for you?

P.S. If you want to be more perfectionist about it, you might also want to delete all the messaging stuff from the database, from the queries in profile.php, and from the lang files. I would, but I don't think that it's really necessary if you just want to get it done quickly.

CodeXP wrote:

I think you all are doing this a little more difficult then it needs to be smile

...but... must.... over-engineer things.... tongue

1,179

(2 replies, posted in PunBB 1.2 show off)

Looks nice. smile

Also, while it won't cover the login link, setting "Allow new user registrations" (or something like that) to "No" in the options will remove the register link for you.

As for the login link, you can remove that in include/functions.php, like elbekko said. To login easily, why not just bookmark the login page in your browser?

1,181

(4 replies, posted in PunBB 1.2 discussion)

Moved to PunBB discussions.

You mean on MyPunBB.com? That would be a question to ask there, not here. This forum is devoted to PunBB boards that people host themselves.

1,182

(8 replies, posted in Programming)

Well, good luck with your search. Personally, I'd just make a separate playlist for each genre, but I'm not sure whether that fits your needs or not.

1,183

(8 replies, posted in Programming)

Does this work at all for you? http://musicplayer.sourceforge.net/

Stifler wrote:

When will next version  come?
Or is there any way I can create sub-categories by my own?

//ZuqR

My best guess is that he'll wait for 1.3 to release a new version. That's what most modders seem to be doing at the moment.

1,185

(5 replies, posted in Feature requests)

I'm not exactly sure, but I believe the userlist access mod might help you hide the user list from guests.

deerchao wrote:

the simplest way: remove the register script

If you are going to take that route, all you have to do is disallow registrations from the admin panel.

The way I interpreted what she said was not that she didn't want users to be able to register, but that she did not want them to need to register.

1,187

(2 replies, posted in Feature requests)

Why not just look at their URLs?

Anyway, it should be easy to mod.

LINDA wrote:

I'm administrating a webpage for some friends (30 people). Only we have access to the page with a login and password (we all use the same). Now I've downloaded and started with punbb and it looks good. But I don't want the users to login one more time to get to write in the forum. Is it possible to change it so they don't need to do that? Only write their names every time they post a tread or answer anything?

So from what I understand, they log in to be able to view your entire site, which includes the forum, correct? In that case, why not just enable guest posting (Admin>Groups - also make sure that forums have the right permissions in Admin>Forums)?

LINDA wrote:

I also wonder how to get rid of the part on the index-page where it says how many registered users the forum has and latest post and who is online...

The online list can be removed with an option in the admin panel (look for "Users online"). To get rid of the other stuff you can comment it out in index.php. Do you want the whole stats box removed, or just the items you mentioned?

P.S. moved to PunBB discussions.

1) Look for announcements in lang/English/common.php (that should be the file I think) and change it to what you want.

Why exactly do you want to remove links to profile.php (I'm not trying to ridicule you; I'm genuinely curious)?

1,191

(3 replies, posted in PunBB 1.2 troubleshooting)

I've experienced this also. My best guess is that their spam filters are overly aggressive.

1,192

(16 replies, posted in PunBB 1.2 show off)

Oooooh.... they did a good job.

ChrisWB wrote:

Connorhd,

Is there any word as to when 1.3 will be officially released?

The future. wink

http://punbb.org/forums/viewtopic.php?id=9864
http://punbb.org/forums/viewtopic.php?id=9218
http://punbb.org/forums/viewtopic.php?id=8422

1,194

(7 replies, posted in Feature requests)

5 - Will this plugin work?

1,195

(9 replies, posted in General discussion)

zaher wrote:

pogenwurst, Working on Accounting system (one Application) for  6 years with same type of customers and rewrite it as it with new technical but same features.
You must ask what about after boring, it is not feel of boring any more, you will feel a Pain in your hands and your brain, or feel your brain stoped accidentally as like a jammed engine.
You will not have time to ask your self is am boring or not roll .

Ouch. sad

1,196

(9 replies, posted in General discussion)

What job is it that bores you to death, if you don't mind me asking?

1,197

(6 replies, posted in PunBB 1.2 discussion)

PunBB is already open source (GPL).

As for not being on Sourceforge or BerliOS, I don't know, but I don't really see what difference it would make.

Open functions.php

Find:

$links[] = '<li id="navprofile"><a href="profile.php?id='.$pun_user['id'].'">'.$lang_common['Profile'].'</a>';
$links[] = '<li id="navlogout"><a href="login.php?action=out&id='.$pun_user['id'].'">'.$lang_common['Logout'].'</a>';

Before, add:

$links[] = '<li><a href="search.php?action=show_user&user_id='.$pun_user['id'].'">'.$lang_common['Show your posts'].'</a>';

Find:

$links[] = '<li id="navprofile"><a href="profile.php?id='.$pun_user['id'].'">'.$lang_common['Profile'].'</a>';
$links[] = '<li id="navadmin"><a href="admin_index.php">'.$lang_common['Admin'].'</a>';
$links[] = '<li id="navlogout"><a href="login.php?action=out&id='.$pun_user['id'].'">'.$lang_common['Logout'].'</a>';

Before, add:

$links[] = '<li><a href="search.php?action=show_user&user_id='.$pun_user['id'].'">'.$lang_common['Show your posts'].'</a>';

I believe that should do it.

1,199

(5 replies, posted in PunBB 1.2 troubleshooting)

Moved to troubleshooting.

lpionutz wrote:

My bad then sad.  From version 1.2.5  to  1.2.11. Where can i read about that ? ( i look over this forum for about 1 hour and i don`t find anything big_smile )

Hopefully this will help you.

Mark wrote:

and what needed neatening up on it could i ask?

I just corrected a few tiny grammar, punctuation, and capitalization errors (if my memory serves me correctly).