Silly me, I somehow missed that in the original code
1,477 2008-01-06 20:00
Re: float an image (11 replies, posted in PunBB 1.2 troubleshooting)
Meowmeow wrote:An image tag should be <img src="" alt="" />.
It does not matter. Once it is in the line. It works for me the way I showed him and it is also w3c approved.
The alt attribute is required for image tags
1,478 2008-01-06 16:43
Re: spammers are on to you (24 replies, posted in PunBB 1.2 troubleshooting)
You mean, since the column is already there, just use it? Not a good idea, especially since we're generating CSRF tokens for every user/guest anyway
1,479 2008-01-06 15:30
Re: I get this error message, any ideas how to fix it (40 replies, posted in PunBB 1.2 troubleshooting)
Need any help?
1,480 2008-01-06 14:29
Re: I get this error message, any ideas how to fix it (40 replies, posted in PunBB 1.2 troubleshooting)
Yeah, but you shouldn't just go around deleting tables, you'll lose the data in it.
I'm also going to suggest that you updated to 1.2.16 for security reasons.
1,481 2008-01-06 14:23
Re: I get this error message, any ideas how to fix it (40 replies, posted in PunBB 1.2 troubleshooting)
Well, if my memory serves, that's PunBB 1.0.x, not 1.1
And the error I'm seeing is
An error was encountered
File: /home/queerbud/public_html/forums/include/common.php
Line: 54
PunBB reported: Unable to fetch forum options and permissions
Database reported: Table 'queerbud_queerbuddy.z_punbb_options' doesn't exist (Errno: 1146)
which means that the database table doesn't exist. Have you deleted it?
1,482 2008-01-06 14:17
Re: I get this error message, any ideas how to fix it (40 replies, posted in PunBB 1.2 troubleshooting)
1,483 2008-01-06 14:08
Re: I get this error message, any ideas how to fix it (40 replies, posted in PunBB 1.2 troubleshooting)
Ooh, that looks like PunBB 1.1.x
You'll need to enable debug mode so we can see the full error
1,484 2008-01-06 03:44
Re: having to log in twice before being able to post... (3 replies, posted in PunBB 1.2 troubleshooting)
Sure
1,485 2008-01-06 03:23
Re: having to log in twice before being able to post... (3 replies, posted in PunBB 1.2 troubleshooting)
Link to your forum?
1,486 2008-01-06 01:31
Re: How can I temporarily take down or disable my forums? (2 replies, posted in PunBB 1.2 troubleshooting)
Maintenance mode is the best way. The not logging out warning is because there is no way to log back in if you log out in maintenance mode. When your client wants to bring the forum back up, she'll have to upload the turn_off_maintenance_mode.php script from the extras folder to enable the forum again.
1,487 2008-01-06 01:23
Re: Every page blank after installation (14 replies, posted in PunBB 1.2 troubleshooting)
Did you restart Apache after?
1,488 2008-01-06 01:22
Re: question about mysql (18 replies, posted in PunBB 1.2 modifications, plugins and integrations)
It depends on what the fields are and how they are going to be used
Moved to Integration, since I assume you're talking about using PunBB as the basis for your game
1,489 2008-01-06 01:21
Re: Disabling post count (7 replies, posted in PunBB 1.2 troubleshooting)
For me to tell more, you would need to give me a link to your forum and an admin account there
If you're interested, you can send me an email
1,490 2008-01-05 23:06
Re: Website Integration if() in PHP (15 replies, posted in PunBB 1.2 troubleshooting)
Make sure you set the cookie domain in the config.php file. I had to do that in order to make mine work.
That's not required in most cases and can cause problems if set improperly. Since everything seems to be working properly at this point, he shouldn't really mess with it.
1,491 2008-01-05 22:55
Re: Every page blank after installation (14 replies, posted in PunBB 1.2 troubleshooting)
You need to edit your php.ini file and change display_errors from off to on. Do you know what or where your php.ini file is?
1,492 2008-01-05 22:26
Re: Every page blank after installation (14 replies, posted in PunBB 1.2 troubleshooting)
Well, I think you need to enable display_errors on your server so we can see what the problem is. Do you know how to do that?
1,493 2008-01-05 22:15
Re: Every page blank after installation (14 replies, posted in PunBB 1.2 troubleshooting)
Well, we can't access it then, since that's a local URL
Could you go to http://192.168.1.16/forums/config.php and tell me if you see anything?
1,494 2008-01-05 22:03
Re: Every page blank after installation (14 replies, posted in PunBB 1.2 troubleshooting)
Could you paste a link to your forum?
yemgi: an incorrect base URL does not cause blank pages
1,495 2008-01-05 20:35
Re: Website Integration if() in PHP (15 replies, posted in PunBB 1.2 troubleshooting)
I used g_user_title...I guess that works too?
One is the name of the group, the other is the forum tag. So whichever you prefer
And, hopefully last question. I put a log out button IF they are logged in on my site, using $pun_user['id'] to replace the id variable in the link.
But, when clicked, it just redirects back to the forums -- where it says You are not allowed to view the forums (because I set guests to not be able to.)
Can I make it redirect back to the page it was clicked from, like, a page on my main site? I can use PHP $_SERVER to get the path it's at, if that's neccesary.
You'll need to edit login.php to redirect somewhere other than index.php. Not difficult though.
1,496 2008-01-05 20:25
Re: Website Integration if() in PHP (15 replies, posted in PunBB 1.2 troubleshooting)
$pun_user['g_title']
Like I said, $pun_user has entries for all of the columns in the users table and the groups table.
1,497 2008-01-05 16:23
Re: Pulling an array from file (5 replies, posted in Programming)
You could change all the files so they do something like $lang['common'] = rather than $lang_common =, that would be the easiest way.
1,498 2008-01-05 16:04
Re: Website Integration if() in PHP (15 replies, posted in PunBB 1.2 troubleshooting)
What's not working about it? And could you provide a link to your site?
1,499 2008-01-05 15:41
Re: Website Integration if() in PHP (15 replies, posted in PunBB 1.2 troubleshooting)
That's because "TRUE" is a string. Not a boolean. So, comparing a boolean to a string like that fails.
The line should just be if ($pun_user['is_guest']), or, if you insist, if ($pun_user['is_guest'] == true)
1,500 2008-01-05 15:36
Re: Website Integration if() in PHP (15 replies, posted in PunBB 1.2 troubleshooting)
$pun_user['is_guest'] is a boolean, its value tells you whether the user is or is not a guest.
btw, if ($pun_user['is_guest'] = "TRUE") should be if ($pun_user['is_guest'])
(= is assignment, == is comparison, "TRUE" is a string and not the boolean true)