First of all, error 404 is "Not found". Second, what PunBB version (if it's from SVN, what revision).
702 2008-11-11 22:46
Re: e-mail gateway (9 replies, posted in Feature requests)
This is a really nice concept. I wouldn't know how to implement it, though.
703 2008-11-11 20:51
Re: Login redirects me to an RSS feed? (16 replies, posted in PunBB 1.3 troubleshooting)
[See, Anatoly, it does happen ]
That used to happen to me back on 1.3RC2, make sure you have the latest revision from the SVN:
Go to http://punbb.informer.com/trac/browser/punbb/trunk and click "Zip Archive" at the bottom of the page. Replace your PunBB files with the ones you just downloaded.
Post back if that fixed the bug.
704 2008-11-11 20:43
Re: Unable to install PunBB 1.3 (11 replies, posted in PunBB 1.2 troubleshooting)
Replace Lines 941-943 on 'include/functions.php':
foreach (glob(FORUM_ROOT.'include/url/*') as $dirname)
if (is_dir($dirname) && file_exists($dirname.'/forum_urls.php'))
$schemes[] = basename($dirname);
With:
if($handle = opendir(FORUM_ROOT.'include/url'))
{
while (false !== ($dirname = readdir($handle)))
{
$dirname = FORUM_ROOT.'include/url/'.$dirname;
if (is_dir($dirname) && file_exists($dirname.'/forum_urls.php'))
$schemes[] = basename($dirname);
}
closedir($handle);
}
Edit: If you're too lazy, you can download the whole fixed file from: http://garciat.us.to/code/punbb/functions.php (Right-click -> Save as...)
Btw, let me know if the link doesn't work.
705 2008-11-11 20:40
Re: Unable to install PunBB 1.3 (11 replies, posted in PunBB 1.2 troubleshooting)
Replace Lines 956-961 from 'include/functions.php':
foreach (glob(FORUM_ROOT.'style/*') as $dirname)
{
$tempname = basename($dirname);
if (is_dir($dirname) && file_exists($dirname.'/'.$tempname.'.php'))
$styles[] = $tempname;
}
With:
if($handle = opendir(FORUM_ROOT.'style'))
{
while (false !== ($dirname = readdir($handle)))
{
$dirname = FORUM_ROOT.'style/'.$dirname;
$tempname = basename($dirname);
if (is_dir($dirname) && file_exists($dirname.'/'.$tempname.'.php'))
$styles[] = $tempname;
}
closedir($handle);
}
That should fix the empty style list. I'll post the fix for the empty URL scheme list in a minute.
706 2008-11-11 20:28
Re: Only An Error (4 replies, posted in PunBB 1.2 bug reports)
Huh? What's the error?
707 2008-11-11 17:59
Re: Unable to install PunBB 1.3 (11 replies, posted in PunBB 1.2 troubleshooting)
Good to know Enjoy PunBB
708 2008-11-11 17:39
Re: Unable to install PunBB 1.3 (11 replies, posted in PunBB 1.2 troubleshooting)
It's actually glob(), not global()...
anyways, try replacing Lines 974-976 on 'include/functions.php':
foreach (glob(FORUM_ROOT.'lang/*') as $dirname)
if (is_dir($dirname) && file_exists($dirname.'/common.php'))
$languages[] = basename($dirname);
With:
if($handle = opendir(FORUM_ROOT.'lang'))
{
while (false !== ($dirname = readdir($handle)))
{
$dirname = FORUM_ROOT.'lang/'.$dirname;
if (is_dir($dirname) && file_exists($dirname.'/common.php'))
$languages[] = basename($dirname);
}
closedir($handle);
}
709 2008-11-11 16:56
Re: Oops... problems when updating from 1.2.x to 1.3! (5 replies, posted in PunBB 1.3 troubleshooting)
Backup new config.php, delete all files, upload new files, place new config.php (make sure the info's ok), and visit the index.
710 2008-11-11 16:31
Re: Unable to install PunBB 1.3 (11 replies, posted in PunBB 1.2 troubleshooting)
There's something wrong with your language packs. Try installing PunBB from a fresh download (no language packs).
Edit: @devs: I think it's a problem with the glob() function.
711 2008-11-11 01:16
Re: Installing on SourceForge (28 replies, posted in PunBB 1.2 troubleshooting)
Garciat wrote:Didn't you delete the database?
Yes. I said so when I typed "deleted the old database"
I think you didn't get my point. I was trying to say that you may have forgotten to create the new database.
712 2008-11-10 19:13
Topic: "Currently used extensions" in the page footer (7 replies, posted in PunBB 1.3 discussion)
When the "Currently used extensions" list is too long, this happens:
It also has "Copyright © 2008 PunBB", which is kinda redundant since "Powered by PunBB" is already there.
This is how I think the footer should look:
EDIT: Altered topic subject //Anatoly.
713 2008-11-10 18:44
Re: Installing on SourceForge (28 replies, posted in PunBB 1.2 troubleshooting)
Didn't you delete the database?
714 2008-11-10 18:40
Re: Installing on SourceForge (28 replies, posted in PunBB 1.2 troubleshooting)
Oh-oh, it is harder with cache_quickjump_*.php.
I will try to write an extension tomorrow. This will be a useful experience as I want to make PunBB 2.0 enabled to work without cache.
PunBB 2.0!
715 2008-11-10 15:52
Re: Show images in posts Bug ? (9 replies, posted in Feature requests)
I think you placed the piece of code somewhere it shouldn't be.
Try using the parser.php I provided.
Note: This is only for PunBB 1.2.20
716 2008-11-10 14:21
Re: some problem install 1.3 (5 replies, posted in PunBB 1.3 troubleshooting)
Is that a PHP error?
717 2008-11-10 14:20
Re: Missing variable in installation language file (7 replies, posted in PunBB 1.3 bug reports)
In my language file, this bug is fixed (Finnish language file).
Tell him how to fix it?
718 2008-11-10 14:19
Re: link to punbb (5 replies, posted in PunBB 1.3 troubleshooting)
If you hide the link, users won't know what forum software they're using. Also, I don't think Search Engines look at <!-- -->'s.
720 2008-11-09 18:10
Re: Show images in posts Bug ? (9 replies, posted in Feature requests)
Add:
if($link!=$full_url && stripos($link, '[img]')!==false && $pun_user['show_img'] == '0')
{
$link = str_ireplace(array("[img]", "[/img]"), "", $link);
$link = ((strlen($link) > 55) ? substr($link, 0 , 39).' … '.substr($, -10) : $link);
}
to Line 276 on 'include/parser.php'.
or download the file from http://garciat.us.to/code/punbb/parser.php (right-click > save as...)
721 2008-11-09 17:41
Re: Default 1.3 theme (52 replies, posted in PunBB 1.3 additions)
Garciat wrote:Anatoly wrote:Another theme: Blue.
Drop the IM pictures and I'll like it
What?! The pictures are cool
I think they're too generic.
Anyways, I think "Blue" is the best one (without the IM pics).
Edit: How about setting up a poll?
722 2008-11-09 15:10
Re: Default 1.3 theme (52 replies, posted in PunBB 1.3 additions)
Another theme: Blue.
Drop the IM pictures and I'll like it
723 2008-11-09 15:08
Re: Default 1.3 theme (52 replies, posted in PunBB 1.3 additions)
Another theme: Something web-2-0-ish :-)
That's really good, but the colors need some work.
Also, I don't dig the top menu.
724 2008-11-09 15:00
Re: Show images in posts Bug ? (9 replies, posted in Feature requests)
Oh, I kinda get what you mean now.
If Anatoly tells me what file to edit, I can edit it for you so the BBCode shows something like this instead:
http://punbb.informer.com/img/slick_punbb/logo_2_left.png
725 2008-11-08 23:39
Re: Show images in posts Bug ? (9 replies, posted in Feature requests)
You want it to show the image's URL instead?