install_mod for which mod?
And might I suggest using this mod instead of PunPoll, since PunPoll was made for 1.1.x
7,176 2005-05-01 13:38
Re: IPB to punBB (16 replies, posted in PunBB 1.2 troubleshooting)
7,177 2005-05-01 13:32
Re: Can you make a Preview post button and a spell check button? (44 replies, posted in Feature requests)
Mmm, what's the URL to your site?
7,178 2005-05-01 13:30
Re: website icon (8 replies, posted in Programming)
favicon.ico is the filename
More info: http://www.thesitewizard.com/archive/favicon.shtml
7,179 2005-05-01 13:29
Re: IPB to punBB (16 replies, posted in PunBB 1.2 troubleshooting)
Are you viewing a specific page when you get that error?
7,180 2005-05-01 13:26
Re: Can you make a Preview post button and a spell check button? (44 replies, posted in Feature requests)
Did you edit post.php? The form must be named spelling_mod.
7,181 2005-05-01 13:09
Re: Can you make a Preview post button and a spell check button? (44 replies, posted in Feature requests)
This is in your forum. You have a spelling folder there (or you should)
7,182 2005-05-01 12:17
Re: Sig once per topic (13 replies, posted in PunBB 1.2 modifications, plugins and integrations)
1 sig/user/page for 1.2.5:
#
#---------[ 1. OPEN ]---------------------------------------------------------
#
viewtopic.php
#
#---------[ 2. FIND ]---------------------------------------------
#
// Do signature parsing/caching
if ($cur_post['signature'] != '' && $pun_user['show_sig'] != '0')
{
if (isset($signature_cache[$cur_post['poster_id']]))
$signature = $signature_cache[$cur_post['poster_id']];
else
{
$signature = parse_signature($cur_post['signature']);
$signature_cache[$cur_post['poster_id']] = $signature;
}
}
#
#---------[ 3. REPLACE WITH ]------------------------------------------------------
#
// Do signature parsing/caching
if ($cur_post['signature'] != '' && $pun_user['show_sig'] != '0')
{
if (!isset($signature_cache[$cur_post['poster_id']]))
{
$signature = parse_signature($cur_post['signature']);
$signature_cache[$cur_post['poster_id']] = $signature;
}
}
7,183 2005-05-01 11:56
Re: Can you make a Preview post button and a spell check button? (44 replies, posted in Feature requests)
Ah, that was a problem with the original thing I posted I think
If line 185 is
$table_prefix = $db_prefix
Just add a ; after it
7,184 2005-05-01 00:11
Re: Can you make a Preview post button and a spell check button? (44 replies, posted in Feature requests)
OK, found the issue. I'll edit the fix into my original post as well.
Open post.php
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)">';
Open spelling/spellmessage.js
The code should be as follows:
// --------------------------------------------------------------------
// 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);
}
Hopefully I didn't miss anything this time
7,185 2005-04-30 23:50
Re: Can you make a Preview post button and a spell check button? (44 replies, posted in Feature requests)
Meh, time for me to test it I guess
7,186 2005-04-30 23:43
Re: Global Moderation - 1.0 (6 replies, posted in PunBB 1.2 modifications, plugins and integrations)
This is very nice. One of the things I think should be intergrated in PunBB stock.
IMO it would be much better if, rather then global moderators, there simply was a moderator flag in groups that let you saw "the people in this group can be moderators of forums" (or a forum permission setting per group that says the users of the group are mods).
7,187 2005-04-30 21:59
Re: ScottyWZ.COM Forums (11 replies, posted in PunBB 1.2 show off)
Child Super Models by ScottyWZ
0 46 Yesterday 06:14 PM by ScottyWZ
LivePornStarOnCam by ScottyWZ
0 9 Today 09:42 AM by ScottyWZ
Notice the difference in view count?
7,188 2005-04-30 21:46
Re: Can you make a Preview post button and a spell check button? (44 replies, posted in Feature requests)
New post it is
Note that you do this at your own risk. I have tested this and found it to work. If you encounter problems, tell me about them so that I can correct them for other people
1. Open common/spell_config.php
2. Comment the line that says
$Spell_Config['DB_Type'] = 'PHPBB';
and add a line that says
$Spell_Config['DB_Type'] = 'PunBB';
3. Find
if (isset($Spell_Config['DB_Type']) && $Spell_Config['DB_Type'] == 'MySQL') {
include 'spell_MySQL.php';
}
Add after
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';
}
4. Change any other settings and save.
5. Upload all the files in the common & native_mysql directory to the forum/spelling directory
6. Go to http://www.yourwebsite.com/forum/spelling/spell_admin.php
7. Install any dictionaries you want.
8. Delete any file ending with .dic on the server (to free up disk space)
9. Delete the spell_admin.php file off the server.
10. Open up include/template/main.tpl (PunBB) and find
<pun_head>
Add after
<script language='javascript' src='spelling/spellmessage.js'></script>
11. Open up post.php and 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 it 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>
12. Follow the final steps outlined in this post: http://punbb.org/forums/viewtopic.php?pid=42055#p42055
7,189 2005-04-30 21:17
Re: Can you make a Preview post button and a spell check button? (44 replies, posted in Feature requests)
Ooh, something to do!
Oh, and w00t: 501 posts without me realizing it
Edit:
OK, instructions (modified from the MySQL ones they give):
Edit2: I forgot a bit, sorry
7,190 2005-04-30 20:51
Re: Moving replies (4 replies, posted in PunBB 1.2 troubleshooting)
I'm wasn't, but I'll take a look: I thought I fixed that bit
Upon looking at my code, I realize that's the old splittopic mod
When GUI said he was working on one, I deleted my copy there. I just happen to have the files lying around, and if you want I can email them to you.
Edit: Taking a look at the code, there might be some issues. I haven't put it through a lot of testing, although I just ironed out a bunch of possible issues. It's really a "use at your own risk" type of thing
7,191 2005-04-29 10:41
Re: Moving replies (4 replies, posted in PunBB 1.2 troubleshooting)
There's a split topic mod made for 1.1.5
I think someone else created one for 1.2, but I can't find the URL
7,192 2005-04-29 10:38
Re: Search doesn't Search imported Topics (2 replies, posted in PunBB 1.2 troubleshooting)
Well, if you manually inserted it into the database, it wouldn't know to cache it.
But it's easy to fix: just rebuild the search index
7,193 2005-04-29 01:07
Re: How to merge 2 PunBB forums into one ? (13 replies, posted in PunBB 1.2 troubleshooting)
Mmm, so much for that
7,194 2005-04-28 18:48
Re: How to merge 2 PunBB forums into one ? (13 replies, posted in PunBB 1.2 troubleshooting)
I like a script better, because you'll never need to run the script again anyway
A plugin I consider something I would want to use more than once
7,195 2005-04-28 18:27
Re: How to merge 2 PunBB forums into one ? (13 replies, posted in PunBB 1.2 troubleshooting)
It would work, but a script that can do it automatically is better IMO
7,196 2005-04-28 16:14
Re: How to merge 2 PunBB forums into one ? (13 replies, posted in PunBB 1.2 troubleshooting)
I just found a script that does this for PHPBB
http://www.typo.nl/misc/merge_phpbb.phps
Would anyone be interested in me trying to write a similar script for PunBB (except perhaps with an interface you can put the info in, rather then having to edit the script)?
7,197 2005-04-28 16:10
Re: Security Question (12 replies, posted in PunBB 1.2 discussion)
He wants to integrate it
7,198 2005-04-28 10:22
Re: Edit time limit (25 replies, posted in Feature requests)
Removing the URLs isn't the same as removing the feature, people could still edit
7,199 2005-04-28 01:22
Re: Best I.T. company :) (4 replies, posted in General discussion)
That is my new favorite site
7,200 2005-04-27 21:02
Re: Security Question (12 replies, posted in PunBB 1.2 discussion)
Simple quick answer: Yes, I think so
And don't trust what PHPBB people mark critical to be the only critical stuff, "arbitrary file unlink" sounds rather scary to me