Note to self: brute force aeroguy's account so he can't log in.
327 2006-08-29 16:20
Re: What is the database prefix used for? (30 replies, posted in PunBB 1.2 discussion)
You don't even need to look in your database; The prefix is stored in config.php (which you create after installing).
328 2006-08-29 12:21
Re: What is the database prefix used for? (30 replies, posted in PunBB 1.2 discussion)
Could you add something like this to config.php and replace with that instead?
define('INTEGRATED_PREFIX', 'whatever');
Maybe one of these editors can help you find/replace.
329 2006-08-28 23:49
Re: What is the database prefix used for? (30 replies, posted in PunBB 1.2 discussion)
FWIW, I count 16 files and 61 queries. (I don't think there are any mods included in those numbers.)
330 2006-08-28 15:14
Re: Multigroup mod for PunBB 1.2 (20 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I thought about trying, but decided to wait for multiple moderator group code from 1.3. (Then I'll realize I'm still in over my head, so don't get excited. )
331 2006-08-26 14:13
Re: hding Administration from moderators (4 replies, posted in PunBB 1.2 discussion)
Hide the link? Edit the `generate_navlinks()` function (include/functions.php).
They can still access the page directly though, but mods can't really do much there? You might want to edit "admin_censoring.php" to only allow admins, and edit it's link in the function `generate_admin_menu()` (include/common_admin.php).
332 2006-08-25 12:49
Re: Read rules before first post (2 replies, posted in Feature requests)
Would you include a link on the rules so they can continue with posting?
(Also, don't they have to read them before they sign up?)
333 2006-08-23 22:38
Re: What editor do you use for php? (114 replies, posted in Programming)
For FTP on OS X, I like Transmit much better.
334 2006-08-18 00:48
Re: Editing games for PunArcade (3 replies, posted in PunBB 1.2 troubleshooting)
Um, what about the Flash demo?
336 2006-08-17 22:42
Re: Private Message Mod, monitoring messages (66 replies, posted in PunBB 1.2 discussion)
Smartys, I edited yours as a learning experience; I added radio buttons for Inbox/Sent.
Edit: Of course, I also changed the query. I gave Inbox a value of 0 and Sent a value of 1, and then used that value in the query.
Also, with the box column and one table, you could add support for multiple boxes, and the ability to move message between them.
337 2006-08-16 18:21
Re: Softdelete (10 replies, posted in Feature requests)
I just move stuff to an "archive" forum. *shrugs*
338 2006-08-15 22:41
Re: Can't register after switching to UTF-8 (5 replies, posted in PunBB 1.2 troubleshooting)
Actually, I still get the same error.
339 2006-08-13 19:53
Re: data model question (7 replies, posted in PunBB 1.2 modifications, plugins and integrations)
The file `include/dblayer/common_db.php` will include the right file based on what database is being used. The other files in `include/dblayer` contain the actual DBLayer class for that particular database.
340 2006-08-12 18:33
Re: Finally, forums.pogenwurst.com (29 replies, posted in PunBB 1.2 show off)
pogenwurst, your forum looks fine in Safari.
341 2006-08-10 19:12
Re: how to remove from topic subject: by author [ New posts ] (9 replies, posted in PunBB 1.2 discussion)
Might want to remove that from moderate.php as well.
342 2006-08-10 12:30
Re: Make guests see the board list (2 replies, posted in Feature requests)
Do you want the same thing as this guy? He was pointed here: Make non-readable forums visible in the index
343 2006-08-10 03:35
Re: My gallery (14 replies, posted in PunBB 1.2 troubleshooting)
header.php isn't looking in the right spot?
<link rel="stylesheet" type="text/css" href="style/<?php echo $pun_user['style'].'.css' ?>" />
344 2006-08-09 22:45
Re: Turn off Signatures (12 replies, posted in Feature requests)
Also, to risk stating the obvious, if signatures and avatars are disabled, then the "personality" section probably shouldn't appear in the menu.
345 2006-08-09 15:35
Re: PunBB 1.2.12 (69 replies, posted in News)
You shouldn't have any HTML in that file.
346 2006-08-09 15:16
Re: What editor do you use for php? (114 replies, posted in Programming)
TextMate on OS X.
347 2006-08-09 03:05
Re: Sorry, but more help :P (9 replies, posted in PunBB 1.2 troubleshooting)
That seemed to work fine on my test forum?
You should change the `<br>` to `<br />` though (because PunBB uses XHTML).
348 2006-08-07 02:12
Re: Can't register after switching to UTF-8 (5 replies, posted in PunBB 1.2 troubleshooting)
I missed that, thanks.
349 2006-08-06 21:14
Re: Can't register after switching to UTF-8 (5 replies, posted in PunBB 1.2 troubleshooting)
File: /home/httpd/vhosts/mydomain/httpdocs/forums/register.php
Line: 113PunBB reported: Unable to fetch user info
Database reported: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=' (Errno: 1267)
350 2006-08-06 15:00
Topic: Can't register after switching to UTF-8 (5 replies, posted in PunBB 1.2 troubleshooting)
I get an error from this line:
// Check that the username (or a too similar username) is not already registered
$result = $db->query('SELECT username FROM '.$db->prefix.'users WHERE UPPER(username) = UPPER(\''.$db->escape($username).'\') OR UPPER(username) = UPPER(\''.$db->escape(preg_replace('/[^\w]/', '', $username)).'\')') or error('Unable to fetch user info ///02', __FILE__, __LINE__, $db->error());
I've changed everything to UTF-8 in MySQL, and I've added this to common_db.php:
$db->query("SET NAMES 'UTF8'");
I haven't had any other problems (or changes) since switching.
Edit: If I comment out this line, then I can register successfully.