Ok, then wait for my mod =P It's almost done and does work ^^
2,201 2006-04-30 18:19
Re: [req] rank forums (6 replies, posted in PunBB 1.2 modifications, plugins and integrations)
2,202 2006-04-30 18:09
Re: minipotal (5 replies, posted in PunBB 1.2 troubleshooting)
Ah. Add the parameter fid=<forumid> to your extern.php URL.
2,203 2006-04-30 17:16
Re: minipotal (5 replies, posted in PunBB 1.2 troubleshooting)
1. What?
2. By including extern.php
2,204 2006-04-30 17:11
Re: [req] rank forums (6 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Darn, just now I started making the mod
2,205 2006-04-30 16:38
Re: Batch Group Assign 1.0 (6 replies, posted in PunBB 1.2 modifications, plugins and integrations)
http://www.punres.org/download.php?id=648
Doesn't that work for you?
2,206 2006-04-30 16:33
Re: [req] rank forums (6 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Err... make a database column where you set the minimum posts, fetch that when accessing the forum and compare it to the one stored in $pun_user.
2,207 2006-04-30 13:27
Topic: A bored elbekko and a GD library (0 replies, posted in General discussion)
You'd wonder what happens then, wouldn't you?
Well... here we go:
http://icstrategy.midgetforhire.com/tes … phTest.php
http://icstrategy.midgetforhire.com/tes … usoide.php
http://icstrategy.midgetforhire.com/tes … n/Test.php
http://icstrategy.midgetforhire.com/tes … Fun/fv.php You can use the GET parameters T and max here
http://icstrategy.midgetforhire.com/tes … /GDFun.php Just fill in some text and press submit
And ofcourse my signature ^^
2,208 2006-04-30 13:11
Re: Password Algorithim? (15 replies, posted in PunBB 1.2 discussion)
Find the function pun_hash() is functions.php and modify it so it only uses md5()
2,209 2006-04-30 13:01
Re: set default avatar (15 replies, posted in Feature requests)
Excellent I'll go add this to the wiki =P
2,210 2006-04-30 12:42
Re: set default avatar (15 replies, posted in Feature requests)
Oh, I see what's wrong =P Silly me =/
FIND
// If the poster is a guest (or a user that has been deleted)
else
{
Add after:
$user_avatar = '<img src="'.$pun_config['o_avatars_dir'].'/guest.png" alt="" />';
You can delete the
elseif($cur_post['g_id'] == 3)
$user_avatar = '<img src="'.$pun_config['o_avatars_dir'].'/guest.png" alt="" />';
from the previous code too.
2,211 2006-04-30 12:07
Re: set default avatar (15 replies, posted in Feature requests)
Let me try ^^
if ($pun_config['o_avatars'] == '1' && $cur_post['use_avatar'] == '1' && $pun_user['show_avatars'] != '0')
{
if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.gif'))
$user_avatar = '<img src="'.$pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.gif" '.$img_size[3].' alt="" />';
else if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.jpg'))
$user_avatar = '<img src="'.$pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.jpg" '.$img_size[3].' alt="" />';
else if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.png'))
$user_avatar = '<img src="'.$pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.png" '.$img_size[3].' alt="" />';
}
elseif($cur_post['g_id'] == 3)
$user_avatar = '<img src="'.$pun_config['o_avatars_dir'].'/guest.png" alt="" />';
else
$user_avatar = '<img src="'.$pun_config['o_avatars_dir'].'/standard.png" alt="" />';
Does that do it?
2,213 2006-04-30 11:18
Re: Photo gallery (5 replies, posted in General discussion)
Coppermine isn't bad, and I heard you can integrate with PunBB easily...
2,214 2006-04-29 21:44
Re: set default avatar (15 replies, posted in Feature requests)
I'll figure that out tomorrow, too sleepy for it now =/
2,215 2006-04-29 21:39
Re: set default avatar (15 replies, posted in Feature requests)
Lemme think now...
<?php
if ($pun_config['o_avatars'] == '1' && $cur_post['use_avatar'] == '1' && $pun_user['show_avatars'] != '0')
{
if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.gif'))
$user_avatar = '<img src="'.$pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.gif" '.$img_size[3].' alt="" />';
else if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.jpg'))
$user_avatar = '<img src="'.$pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.jpg" '.$img_size[3].' alt="" />';
else if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.png'))
$user_avatar = '<img src="'.$pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.png" '.$img_size[3].' alt="" />';
else if($cur_post['g_id'] == 3)
$user_avatar = '<img src="'.$pun_config['o_avatars_dir'].'/guest.png" alt="" />';
}
else
$user_avatar = '<img src="'.$pun_config['o_avatars_dir'].'/standard.png" alt="" />';
?>
Try that ^^ If that doesn't do it, I don't know anymore =/
2,216 2006-04-29 21:00
Re: set default avatar (15 replies, posted in Feature requests)
The try removing
elseif($pun_user['is_guest'])
$user_avatar = '<img src="'.$pun_config['o_avatars_dir'].'/guest.png" alt="" />';
And put
if($pun_user['is_guest'])
$user_avatar = '<img src="'.$pun_config['o_avatars_dir'].'/guest.png" alt="" />';
after the checks.
2,217 2006-04-29 20:33
Re: set default avatar (15 replies, posted in Feature requests)
I suppose so...
Finds this in viewtopic.php:
if ($pun_config['o_avatars'] == '1' && $cur_post['use_avatar'] == '1' && $pun_user['show_avatars'] != '0')
{
if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.gif'))
$user_avatar = '<img src="'.$pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.gif" '.$img_size[3].' alt="" />';
else if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.jpg'))
$user_avatar = '<img src="'.$pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.jpg" '.$img_size[3].' alt="" />';
else if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.png'))
$user_avatar = '<img src="'.$pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.png" '.$img_size[3].' alt="" />';
}
else
$user_avatar = '';
Replace it by:
if ($pun_config['o_avatars'] == '1' && $cur_post['use_avatar'] == '1' && $pun_user['show_avatars'] != '0')
{
if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.gif'))
$user_avatar = '<img src="'.$pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.gif" '.$img_size[3].' alt="" />';
else if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.jpg'))
$user_avatar = '<img src="'.$pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.jpg" '.$img_size[3].' alt="" />';
else if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.png'))
$user_avatar = '<img src="'.$pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.png" '.$img_size[3].' alt="" />';
}
elseif($pun_user['is_guest'])
$user_avatar = '<img src="'.$pun_config['o_avatars_dir'].'/guest.png" alt="" />';
else
$user_avatar = '<img src="'.$pun_config['o_avatars_dir'].'/standard.png" alt="" />';
Create the images guest.png and standard.png. It should do it.
2,218 2006-04-29 17:59
Re: Nintendo Wii (15 replies, posted in General discussion)
I can heard a little kid say to his mom "I'm gonna play with my wiiwii" ^^
2,219 2006-04-28 21:26
Re: Regarding Image display (5 replies, posted in Programming)
I made this in GD just now, just because I was bored:
2,220 2006-04-28 16:01
Re: Calendar 2.0 (296 replies, posted in PunBB 1.2 modifications, plugins and integrations)
$datestamp = mktime(0,0,0,$month,$day,0)
should be
$datestamp = mktime(0,0,0,$month,$day,0);
2,221 2006-04-28 14:20
Re: install error (3 replies, posted in PunBB 1.2 troubleshooting)
Make sure you uploaded all the files.
2,222 2006-04-27 19:38
Re: Error: Unable to fetch category/forum list. (4 replies, posted in PunBB 1.2 troubleshooting)
Yeah, it seems your host screwed up some DB settings ^^ So it's best to contact them.
2,223 2006-04-27 19:33
Re: PunBB Skin : pun.Cayexi (5 replies, posted in PunBB 1.2 show off)
*drools*
*drools even more*
Now how on earth did you do that? =P
Really nice! I especially like your blue one.
EDIT: If you could make a blackish one like that...
2,224 2006-04-26 20:07
Re: problem with integration (22 replies, posted in PunBB 1.2 troubleshooting)
Is there a config.php in the /forum directory?
2,225 2006-04-26 20:06
Re: PunBB 1.2.11 (71 replies, posted in News)
You're correct, but it surely will discourage scripts =/ And it won't crash the server.