ty Paul
7,601 2004-09-12 10:30
Re: PunBB 1.2 development source (277 replies, posted in PunBB 1.2 discussion)
7,602 2004-09-12 01:12
Re: PunBB 1.2 development source (277 replies, posted in PunBB 1.2 discussion)
I get an error
Notice: Undefined index: language in [place]\punbb\include\common.php on line 116
There is no valid language pack '' installed. Please reinstall a language of that name.
7,603 2004-09-11 10:10
Re: Error: Unable to fetch category/forum list. (8 replies, posted in PunBB 1.2 troubleshooting)
MySQL usually has a different max size then the regular webpages
7,604 2004-09-10 23:20
Topic: Toggle Button (0 replies, posted in PunBB 1.2 modifications, plugins and integrations)
##
## Mod title: Toggle Button
##
## Mod version: 1.0
## Works on PunBB: Should work on any version, but only tested with 1.1.5
## Release date: 2004-09-10
## Author: Smartys (keyrex1@verizon.net)
##
## Description: Adds a toggle button to moderate.php so you can check
## multiple boxes faster! And Rickard called us lazy! :P
##
## Affected files: moderate.php
## header.php
##
## Affects DB: No
##
## DISCLAIMER: Please note that "mods" are not officially supported by
## PunBB. Installation of this modification is done at your
## own risk. Backup your forum database and any and all
## applicable files before proceeding.
##
##
#
#---------[ 1. OPEN ]---------------------------------------------------------
#
header.php
#
#---------[ 2. FIND ]------------------------------------------------
#
// START SUBST - <pun_head>
ob_start();
if (isset($destination))
echo '<meta http-equiv="refresh" content="'.$delay.';URL='.$destination.'">'."\n";
#
#---------[ 3. REPLACE WITH ]---------------------------------------------------
#
// START SUBST - <pun_head>
ob_start();
if (isset($moderate))
{
?>
<SCRIPT LANGUAGE=JAVASCRIPT>
function selectAll(f) {
for(i=0;i<f.length;i++)
if(f.elements[i].type == "checkbox")
f.elements[i].click();
}
</SCRIPT>
<?php
}
if (isset($destination))
echo '<meta http-equiv="refresh" content="'.$delay.';URL='.$destination.'">'."\n";
#
#---------[ 4. SAVE/UPLOAD ]-------------------------------------------------
#
#
#---------[ 5. OPEN ]--------------------------------------------------------
#
moderate.php
#
#---------[ 6. FIND ]------------------------------------------------
#
<td><b><a href="index.php"><?php echo pun_htmlspecialchars($pun_config['o_board_title']) ?></a> / <a href="viewforum.php?id=<?php echo $fid ?>"><?php echo pun_htmlspecialchars($forum_name) ?></a> / <?php echo pun_htmlspecialchars($subject) ?></b></td>
#
#---------[ 7. REPLACE WITH ]------------------------------------------------
#
<td><b><a href="index.php"><?php echo pun_htmlspecialchars($pun_config['o_board_title']) ?></a> / <a href="viewforum.php?id=<?php echo $fid ?>"><?php echo pun_htmlspecialchars($forum_name) ?></a> / <?php echo pun_htmlspecialchars($subject) ?></b></td><td align=right><a href="javascript:selectAll(document.forms[0])"><font size=1>Toggle</font></a></td>
#
#---------[ 8. FIND ]------------------------------------------------
#
<td><b><a href="index.php"><?php echo pun_htmlspecialchars($pun_config['o_board_title']) ?></a> / <?php echo pun_htmlspecialchars($forum_name) ?></b></td>
#
#---------[ 9. REPLACE WITH ]------------------------------------------------
#
<td><b><a href="index.php"><?php echo pun_htmlspecialchars($pun_config['o_board_title']) ?></a> / <?php echo pun_htmlspecialchars($forum_name) ?></b></td><td align=right><a href="javascript:selectAll(document.forms[0])"><font size=1>Toggle</font></a></td>
#
#---------[ 10. FIND ]------------------------------------------------
#
$pun_root = './';
require $pun_root.'include/common.php';
#
#---------[ 11. REPLACE WITH ]------------------------------------------------
#
$pun_root = './';
require $pun_root.'include/common.php';
$moderate = true;
#
#---------[ 12. SAVE/UPLOAD ]-------------------------------------------------
#
Enjoy the laziness!
7,605 2004-09-10 23:02
Re: Logon as Admin without showing name (7 replies, posted in PunBB 1.2 discussion)
Speaking of which
/me makes a note to put his mod for the toggle button up soon
7,606 2004-09-10 23:00
Re: Problem (3 replies, posted in PunBB 1.2 bug reports)
lol
probably means that it gave an error saying he doesn't have enough room
7,607 2004-09-10 21:36
Re: Logon as Admin without showing name (7 replies, posted in PunBB 1.2 discussion)
That would probably be a mod
7,608 2004-09-09 01:12
Re: Toggle (11 replies, posted in Feature requests)
lol, I just modded it into header.php
Works like a charm and only adds .17 KBs to the file
7,609 2004-09-09 00:45
Re: Forum Rules (10 replies, posted in PunBB 1.2 discussion)
Yeah, I heard about that too.
7,610 2004-09-08 23:22
Re: Toggle (11 replies, posted in Feature requests)
Bah, so much for that
/me makes a note to write a mod for it
7,611 2004-09-08 22:03
Re: Toggle (11 replies, posted in Feature requests)
lol
Well, didn't you just give no options then?
And either place, doesn't really matter
7,612 2004-09-08 19:56
Re: Toggle (11 replies, posted in Feature requests)
lol
I was thinking slightly above the delete button (so right below the checkboxes)
7,613 2004-09-08 19:18
Topic: Toggle (11 replies, posted in Feature requests)
A toggle link in moderate.php for when you're deleting a lot of posts/threads and would need to uncheck less then you need to check
7,614 2004-09-08 19:17
Re: Delete whole page in thread? (10 replies, posted in General discussion)
Hmm, that gives me an idea.
To Feature Requests!
7,615 2004-09-06 20:08
Re: PunBB 1.2 - What's to come (300 replies, posted in PunBB 1.2 discussion)
Madoor wrote:When you detele a user the posts won't be deleted right!?
It's done (or at least almost done) in v1.2. You can choose (via a checkbox) to delete the posts or not when removing the user.
I assume it is an option
7,616 2004-09-06 18:13
Re: name changing (11 replies, posted in PunBB 1.2 bug reports)
When a user changing is name he is getting out of his session and not get redirected into his new session, also his last should be closed, cuz you got to see the two session open at the same time.
Ah, I see.
If you change the username of a player, they're knocked off the nick (since it's been changed but they logged in for the old nick) but they're still listed as online.
Also, all the messages he wrote before still using his last username.
Erm, they change with me.
You're sure his posts didn't change?
7,617 2004-09-03 02:01
Re: Unanswered posts (35 replies, posted in PunBB 1.2 discussion)
Nah, I just read the new threads
But I guess it's useful if you have a large forum themed toward helping people.
7,618 2004-09-02 23:31
Re: not really a bug (10 replies, posted in PunBB 1.2 bug reports)
Hmm, I thought this was about index.php displaying category name for the forums.
7,619 2004-09-02 20:27
Re: Problem with banning an user (27 replies, posted in PunBB 1.2 troubleshooting)
Internet Service Provider
Just send an email to abuse@tpnet.pl telling them what happened, including specific IPs/times
7,620 2004-09-02 20:16
Re: Groups in 1.2 (5 replies, posted in Feature requests)
Madoor wrote:Right now all moderators have access to the admin panel (although it's fewer alternatives for mods than for admins there). I have 2 different moderators on my site: 1 group that are moderators for the whole site and 1 group that are just moderators for a specific forum and is only supposed to delete and move posts and also tell members that acts irresponsible that hey are doing something that isn't legal on our forum.
Well, in group 1 I have 2 mods that I want to have full access to the moderatos admin control panel and 3 mods that shouldn't be able to access the moderator control panel at all (accept from editing users and view reports). Group 2 shouldn't have access to the moderator control panel at all (not editing users or anything! Just have the ability to delete, move etc posts in one or several specific forums).
I also have 2 users in group 1 that shall have access to the ADMIN forum, but the rest of the moderators in that group shall not be able to view it! And I would also like to be able to choose if the rest of the moderators should be able to view the moderator forum or if only some of them should.
Will I find those functions in 1.2 or do I have to make them myself?
Not really. You will be able to assign global moderator rights (e.g. moderators can change usernames, moderators can ban etc), but it won't be possible to create two different moderator groups with individual rights. At least I don't think we'll go that way.
Well, I know (at least in 1.1.5) you can mod in a new level of user (although it would take a little work). If you added a new tier of mods in like that, you could have a group of forum mods (forum only) and a group of mods that have all regular mod powers.
And if you really want to give moderators full access to the admin interface, IMO the easiest way is to give them admin and then the custom tag Moderator.
7,621 2004-09-02 20:12
Re: Problem with banning an user (27 replies, posted in PunBB 1.2 troubleshooting)
Smartys, how do you think, is there any way to deal with the problem instead of banning all users from Katowice region (about 5 mln people live there)?
Report them to their ISP? Give them times and IPs and leave the rest to them. It's worth a try
7,622 2004-09-02 19:28
Re: Problem with banning an user (27 replies, posted in PunBB 1.2 troubleshooting)
Don't use a *
Oh, and just in case you wanted some info on that range:
inetnum: 83.30.0.0 - 83.30.255.255
netname: NEOSTRADA-ADSL
descr: Neostrada Plus
descr: Katowice
country: PL
remarks: ! - ! - ! - ! - ! - !
remarks: Contact to ABUSE TP S.A. :
remarks: abuse@tpnet.pl
remarks: ! - ! - ! - ! - ! - !
I would try reporting him to his ISP, I know they sometimes respond and punish the user.
7,623 2004-09-01 00:21
Re: PunBB 1.2 development source (277 replies, posted in PunBB 1.2 discussion)
lol, OK then
7,624 2004-09-01 00:20
Topic: Avatars and Password Changing (7 replies, posted in PunBB 1.2 bug reports)
Admins and mods can upload avatars for users that don't yet exist by changing the id in the upload_avatar URL. Not really a big bug, just something worth noting.
Another thing like that is that on the profile screen, the Change Password link always appears if you're a mod. However, you get Permission Denied if you click the link on the profile of a mod or admin. The link should probably be hidden in that case
7,625 2004-08-31 23:25
Re: PunBB 1.2 development source (277 replies, posted in PunBB 1.2 discussion)
Ooh, thanks Paul: I didn't notice
Edit: hmm, profile view (silly dev code )
Notice: Undefined index: Avatar in c:\apache\htdocs\punbb\profile.php on line 869
Notice: Undefined index: Signature in c:\apache\htdocs\punbb\profile.php on line 871