A quick search reveals
http://punbb.org/forums/viewtopic.php?id=4355
Which is outdated.
I'll take a look and see about taking it up to 1.2.5

7,152

(9 replies, posted in Feature requests)

For post reply you just change the checkbox so it's checked by default.
For quick post you would have to add a checkbox I think, or force people to subscribe

UPDATE #__users SET signature = '' WHERE username='Nathan'

Did you install any mods that altered parser.php?

It doesn't cause a freeze up on mine

7,155

(26 replies, posted in PunBB 1.2 discussion)

Mmm, looks like you got a good start tongue

7,156

(5 replies, posted in Feature requests)

Mmm, indeed it will sad

7,157

(5 replies, posted in Feature requests)

This has been suggested before, but I can't find the threads sad
Anyway, the idea is to stop problems like this or this. My suggestion involves 2 changes:
1. No deleting admins. Just like with bans, you need to take the person down to a moderator to be able to ban them.
2. Have a check when changing status. Count the number of administrators, and if it's 1, throw an error.

users table, group id should be set to 1 for your account (make sure not for guest! tongue)

Mmm, I didn't read the part that said you repaired the table before tongue
So, what Rickard said wink

You have to repair the table.
If you have the DB Management Plugin, jsut hit the Repair button

7,161

(5 replies, posted in PunBB 1.2 troubleshooting)

lol, do you really think PunBB doesn't have a move function? tongue
Go into a thread and look under the posts (you have to be admin, obviously) smile

viewtopic.php

<form method="post" action="post.php?tid=<?php echo $id ?>" onsubmit="this.submit.disabled=true;if(process_form(this)){return true;}else{this.submit.disabled=false;return false;}">
<p><input type="submit" name="submit" tabindex="2" value="<?php echo $lang_common['Submit'] ?>" accesskey="s" /></p>

Those are the two lines you have to change

7,163

(8 replies, posted in Programming)

Mmm, I'm not able to repeat that

Looks right to me

No, because without your input I wouldn't have caught the errors tongue

7,166

(8 replies, posted in Programming)

tbh, IE sucks with it: I have a bunch of bookmarks to a site and only a couple have the icon. And it shows up maybe 1/10 times when I visit the site with IE

Edit: the image doesn't show up at all in IE, I went to it directly and it's just a blank image for me

Thanks connor smile

OK, repost it is!

1. Download and unzip phpSpell.
2. Open common/spell_config.php

Comment the line that says 
$Spell_Config['DB_Type'] = 'PHPBB'; 
and add a line that says 
$Spell_Config['DB_Type'] = 'PunBB';

FIND

  if (isset($Spell_Config['DB_Type']) && $Spell_Config['DB_Type'] == 'MySQL') {
    include 'spell_MySQL.php';
  }

AFTER, ADD

  if (isset($Spell_Config['DB_Type']) && $Spell_Config['DB_Type'] == 'PunBB') {

    require '../config.php';
    $Spell_Config["DB_Username"] = $db_username;
    $Spell_Config["DB_Password"] = $db_password;
    $Spell_Config["DB_Database"] = $db_name;
    $Spell_Config["DB_Host"] = $db_host;
    // This is used in some others, but it looks like this is unset in the file: odd
    $table_prefix = $db_prefix;

    include 'spell_MySQL.php';
  }

3. Change any other settings and save.
4. Create a directory within your forum directory called spelling and upload all the files in the common & native_mysql directories to there
5. Go to http://www.yourwebsite.com/forum_direct … _admin.php
6. Install any dictionaries you want (you have to download them from the site in Step 1 and put them in the spelling folder first).
7. Delete any file ending with .dic on the server (to free up disk space)
8. Delete the spell_admin.php file off the server.
9. Open up include/template/main.tpl (PunBB)

FIND
<pun_head>
AFTER, ADD
<script language='javascript' src='spelling/spellmessage.js'></script>

10. Open up post.php

FIND
<p><input type="submit" name="submit" value="<?php echo $lang_common['Submit'] ?>" tabindex="<?php echo $cur_index++ ?>" accesskey="s" /><input type="submit" name="preview" value="<?php echo $lang_post['Preview'] ?>" tabindex="<?php echo $cur_index++ ?>" accesskey="p" /><a href="javascript:history.go(-1)"><?php echo $lang_common['Go back'] ?></a></p>
REPLACE WITH
<p><input type="submit" name="submit" value="<?php echo $lang_common['Submit'] ?>" tabindex="<?php echo $cur_index++ ?>" accesskey="s" /><input type="submit" name="preview" value="<?php echo $lang_post['Preview'] ?>" tabindex="<?php echo $cur_index++ ?>" accesskey="p" /><input type="button" value="Spell Check" onclick="openspell();" /><a href="javascript:history.go(-1)"><?php echo $lang_common['Go back'] ?></a></p>

FIND
$form = '<form id="post" method="post" action="post.php?action=post&tid='.$tid.'" onsubmit="this.submit.disabled=true;if(process_form(this)){return true;}else{this.submit.disabled=false;return false;}">';
REPLACE WITH
$form = '<form name="spelling_mod" id="post" method="post" action="post.php?action=post&tid='.$tid.'" onsubmit="this.submit.disabled=true;if(process_form(this)){return true;}else{this.submit.disabled=false;return false;}">';

FIND
$form = '<form id="post" method="post" action="post.php?action=post&fid='.$fid.'" onsubmit="return process_form(this)">';
REPLACE WITH
$form = '<form name="spelling_mod" id="post" method="post" action="post.php?action=post&fid='.$fid.'" onsubmit="return process_form(this)">';

11. Replace spelling/spellmessage.js with the following code

// --------------------------------------------------------------------
// phpSpell Javascript (For the PHPBB Message Document)
//
// This is (c)Copyright 2003, Team phpSpell.
// --------------------------------------------------------------------
        var ie4 = (document.all) ? 1:0;
        var gecko=(navigator.userAgent.indexOf('Gecko') > -1) ? 1:0;
        var op6=(navigator.userAgent.indexOf('Opera/6') > -1) ? 1:0;
        var op7=(navigator.userAgent.indexOf('Opera/7') > -1) ? 1 : (navigator.userAgent.indexOf('Opera 7') > -1) ? 1:0;
        var ns4=(navigator.userAgent.indexOf('Mozilla/4.7') > -1) ? 1:0;
        var sf=(navigator.userAgent.indexOf('Safari') > -1) ? 1:0;
        if (op7) ie4 = 0;
        if (sf) {
          ie4 = 0;
          gecko = 1;
        }


        var LinkToField = "";

        function openspell()
        {
          height = 391;
          width = 555;
          if (ie4) LinkToField = self.spelling_mod.req_message;
          if (gecko) {
            LinkToField = parent.document.spelling_mod.req_message;
            height = height + 6;
          }
          if (op6) {
             LinkToField = document.forms[0].req_message;
             height = height + 10;
             width = width + 10;
          }
          if (op7) LinkToField = document.forms[0].req_message;

          if (!(op6 || gecko || ie4 || op7)) {
            alert("phpSpell only supports one of the following browsers:\nOpera 6+, Netscape 6+, Mozilla 1+, Internet Explorer 4+, Safari");
          } else {
            if (LinkToField.value.length == 0) return;
            directory = "spelling/";
            k = openspell.arguments.length;
            if (k == 1) directory = "";
            win1=window.open(directory+"phpSpell.html","spellcheckwin",'resizable=no,width='+width+',height='+height);
            if (win1.opener == null) win1.opener = self;
          }
          return (false);
        }

        function Opera_Get_Link() {
          return (LinkToField);
        }

12. You're done! If you want to add spell check functionality to the quick reply form or the edit post form, take a look at step 12 and make similar edits in the correct files (viewtopic.php and edit.php)

7,169

(16 replies, posted in PunBB 1.2 troubleshooting)

1. That would need a mod
2. Just edit the subscribe checkbox in post.php so it's checked by default
3. That again is a mod
4. I haven't used the PM mod, but I have a feeling this is similar to 2

7,170

(16 replies, posted in PunBB 1.2 troubleshooting)

erm, it should look like this

    <dt><?php echo $lang_common['E-mail'] ?>: </dt>
    <dd><?php echo $email_field ?></dd>
    <?php require(PUN_ROOT.'include/pms/profile_send.php'); ?>

Just like it says wink

Cool smile
Note of course that edit.php and viewtopic.php would have to be changed also if you want to add spell check to quick post and editing smile

7,172

(16 replies, posted in PunBB 1.2 troubleshooting)

Open up install_mod.php and add 1.2.5 to the array

FIND

$punbb_versions    = array('1.2', '1.2.1', '1.2.2');

REPLACE WITH

$punbb_versions    = array('1.2', '1.2.1', '1.2.2', '1.2.5');

Ah, there we go
Here's the fix
Find $form again and add the name in

Updated my second instructions post smile

This is what I see:

<form id="post" method="post" action="post.php?action=post&fid=1" onsubmit="return process_form(this)">

Did you save/upload the edited file?

7,175

(16 replies, posted in PunBB 1.2 troubleshooting)

Just edited my post above
PM system for 1.2: http://punbb.org/forums/viewtopic.php?id=6372

You're using 1.1.x mods, like connor said wink