the light > the dark?
7,326 2005-03-13 02:39
Re: Style feedback wanted, new theme (34 replies, posted in PunBB 1.2 show off)
7,327 2005-03-12 23:54
Re: Disallow moderators to ban some user groups exept admins (5 replies, posted in PunBB 1.2 troubleshooting)
Well, if you want a quick and dirty hack to do this:
admin_bans.php
FIND
// Make sure we're not banning an admin
if (isset($group_id) && $group_id == PUN_ADMIN)
message('The user '.pun_htmlspecialchars($ban_user).' is an administrator and can\'t be banned. If you want to ban an administrator, you must first demote him/her to moderator or user.');
AFTER, ADD
// Make sure we're not banning a VIP
if (isset($group_id) && $group_id == [VIP group])
message('The user '.pun_htmlspecialchars($ban_user).' is a VIP and can\'t be banned.');
where [VIP group] is the id of the group that VIPs are
7,328 2005-03-12 23:52
Re: Time zone indicator displays incorrectly (1 replies, posted in PunBB 1.2 bug reports)
The point is that the server timezone should be set so the default time is GMT. Then, based on that, users set their profile settings.
7,329 2005-03-12 23:42
Re: Various missing checks (2 replies, posted in PunBB 1.2 bug reports)
Smartys wrote:- in admin_index.php, the PHP and DB version and use of some caching software (and if you use MySQL, the stats for the DB as well) are fetched even if you're a mod and thus don't have it displayed.
It's not like it's a performance killer. I think adding checks will only make the code uglier.
I'll test it on my forum and compare
Edit: All I had to do was add an if statement around that block to see if I were a mod. Doesn't look any uglier to me.
7,330 2005-03-12 23:12
Topic: Various missing checks (2 replies, posted in PunBB 1.2 bug reports)
- The link to phpinfo in admin_index.php may be hidden for mods, but it can still be accessed by them if they know the URL
- in admin_index.php, the PHP and DB version and use of some caching software (and if you use MySQL, the stats for the DB as well) are fetched even if you're a mod and thus don't have it displayed.
7,331 2005-03-12 22:59
Re: Missing check(s) in moderate.php (4 replies, posted in PunBB 1.2 bug reports)
Mmm, found another: it lists my secret admin forum to moderators when they move a thread and allows them to move stuff there (as well as to forums that only admins should be able to move stuff to, because no one else has permission to post there, and if a mod can move stuff there it's about the same as posting)
7,332 2005-03-12 22:43
Re: Missing check(s) in moderate.php (4 replies, posted in PunBB 1.2 bug reports)
Oh, and one more: you can move a topic to a non existant forum. Unlikely, true, and it can be moved back, but shouldn't happen
7,333 2005-03-12 22:38
Topic: Missing check(s) in moderate.php (4 replies, posted in PunBB 1.2 bug reports)
Well, one check kind of leads to the other
Anyway, it's possible to delete the first post in a topic without deleting the topic (it took me tinkering with a Firefox extension I have to get it to happen though).
The second is that, because of the first, you can cause an SQL error (since it deletes the post and therefore the last_post info can't be updated) and have a topic with no posts in it (pointless, yes).
7,334 2005-03-12 20:35
Re: Hide smtp login/password in admin panel (2 replies, posted in Feature requests)
7,335 2005-03-12 20:33
Re: Upgrade Problems (2 replies, posted in PunBB 1.2 troubleshooting)
Yeah, I did :-/
7,336 2005-03-12 13:56
Re: error in the "help file" install.html (5 replies, posted in PunBB 1.2 bug reports)
You downloaded "changed files only" in which case you only overwrite the files you have
And you're reading Installation, not Upgrading from
7,337 2005-03-12 13:31
Re: error in the "help file" install.html (5 replies, posted in PunBB 1.2 bug reports)
All are present (unless you made modifications to the templates)
And this is for a clean install (no mods, no extra styles, etc)
7,338 2005-03-12 12:09
Re: Missing width and height attribute in <img> (not really a bug) (5 replies, posted in PunBB 1.2 bug reports)
I just ran the topic with your test post through with a validator and it validates perfectly
7,339 2005-03-11 16:31
Re: Getting errors after leaving board description blank (9 replies, posted in PunBB 1.2 bug reports)
Well, that's a problem with YOUR code not defining the variables.
I believe error reporting is set to E_ALL in common.php: you can change that if you want, but fixing the Undefined index messages is a better alternative
7,340 2005-03-11 02:03
Re: Forum Permissions (15 replies, posted in PunBB 1.2 troubleshooting)
Seems fixed now
7,341 2005-03-11 01:56
Re: Forum Permissions (15 replies, posted in PunBB 1.2 troubleshooting)
*points at his post *
7,342 2005-03-11 01:54
Re: Forum Permissions (15 replies, posted in PunBB 1.2 troubleshooting)
If you have the DB management plugin, run the query
update #__users set group_id = 3 where id = 1
7,343 2005-03-11 01:38
Re: Forum Permissions (15 replies, posted in PunBB 1.2 troubleshooting)
The ?> doesn't need to be included
When you view the forum permissions for Java Programming, the box marked "Read forums" for Guests is unchecked, correct?
Oh, and make sure the group_id for Guests (user id: 1) is set to 3 (Guests)
7,344 2005-03-11 01:06
Re: Bandwidth? (5 replies, posted in PunBB 1.2 discussion)
You have to create the file based on the data install.php spat out. Just create a new file, paste the stuff in, and rename it config.php
7,345 2005-03-11 01:05
Re: Private messaging MOD (2 replies, posted in PunBB 1.2 troubleshooting)
I believe that's only for upgrading: to just add it, copy the files over and run install_mod.php and make the edits in the readme file
7,346 2005-03-11 01:04
Re: Forum Permissions (15 replies, posted in PunBB 1.2 troubleshooting)
What's the forum?
7,348 2005-03-10 19:59
Re: User list?? (8 replies, posted in PunBB 1.2 troubleshooting)
I actually think PunBB doesn't allow guests to view profiles if guests viewing a forum is disabled.
7,349 2005-03-10 17:13
Re: Mod rewrite pagination problem (7 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Erm, Rickard is already doing this
http://punbb.org/forums/viewtopic.php?id=6254
7,350 2005-03-10 02:58
Re: Three suggestions for Profile (4 replies, posted in Feature requests)
1. What is Skype?
2/3: More and more features