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,151 2005-05-05 16:08
Re: Allow users to get notification of new posts... (5 replies, posted in Feature requests)
7,152 2005-05-05 13:37
Re: subscribe.. (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
7,153 2005-05-05 10:48
Re: Browser locks up on one specific moderator (12 replies, posted in PunBB 1.2 troubleshooting)
UPDATE #__users SET signature = '' WHERE username='Nathan'
Did you install any mods that altered parser.php?
7,154 2005-05-05 10:41
Re: Browser locks up on one specific moderator (12 replies, posted in PunBB 1.2 troubleshooting)
It doesn't cause a freeze up on mine
7,155 2005-05-05 01:35
Re: To do (26 replies, posted in PunBB 1.2 discussion)
Mmm, looks like you got a good start
7,156 2005-05-04 23:27
Re: Check that at least one admin exists (5 replies, posted in Feature requests)
Mmm, indeed it will
7,157 2005-05-04 23:11
Topic: Check that at least one admin exists (5 replies, posted in Feature requests)
This has been suggested before, but I can't find the threads
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.
7,158 2005-05-04 22:59
Re: Made myself Moderator -- no more admin access! (2 replies, posted in PunBB 1.2 troubleshooting)
users table, group id should be set to 1 for your account (make sure not for guest! )
7,159 2005-05-04 15:28
Re: Unable to insert search index words (6 replies, posted in PunBB 1.2 troubleshooting)
Mmm, I didn't read the part that said you repaired the table before
So, what Rickard said
7,160 2005-05-04 15:16
Re: Unable to insert search index words (6 replies, posted in PunBB 1.2 troubleshooting)
You have to repair the table.
If you have the DB Management Plugin, jsut hit the Repair button
7,161 2005-05-04 10:17
Re: Moving Threads (5 replies, posted in PunBB 1.2 troubleshooting)
lol, do you really think PunBB doesn't have a move function?
Go into a thread and look under the posts (you have to be admin, obviously)
7,162 2005-05-03 10:17
Re: Can you make a Preview post button and a spell check button? (44 replies, posted in Feature requests)
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 2005-05-01 21:57
Re: website icon (8 replies, posted in Programming)
Mmm, I'm not able to repeat that
7,164 2005-05-01 21:55
Re: Can you make a Preview post button and a spell check button? (44 replies, posted in Feature requests)
Looks right to me
7,165 2005-05-01 21:20
Re: Can you make a Preview post button and a spell check button? (44 replies, posted in Feature requests)
No, because without your input I wouldn't have caught the errors
7,166 2005-05-01 21:17
Re: website icon (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
7,167 2005-05-01 21:07
Re: Can you make a Preview post button and a spell check button? (44 replies, posted in Feature requests)
Thanks connor
7,168 2005-05-01 20:41
Re: Can you make a Preview post button and a spell check button? (44 replies, posted in Feature requests)
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 2005-05-01 19:42
Re: IPB to punBB (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 2005-05-01 14:51
Re: IPB to punBB (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
7,171 2005-05-01 14:09
Re: Can you make a Preview post button and a spell check button? (44 replies, posted in Feature requests)
Cool
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
7,172 2005-05-01 13:58
Re: IPB to punBB (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');
7,173 2005-05-01 13:55
Re: Can you make a Preview post button and a spell check button? (44 replies, posted in Feature requests)
Ah, there we go
Here's the fix
Find $form again and add the name in
Updated my second instructions post
7,174 2005-05-01 13:46
Re: Can you make a Preview post button and a spell check button? (44 replies, posted in Feature requests)
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 2005-05-01 13:42
Re: IPB to punBB (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