1,476

(11 replies, posted in PunBB 1.2 troubleshooting)

Silly me, I somehow missed that in the original code wink

1,477

(11 replies, posted in PunBB 1.2 troubleshooting)

bingiman wrote:
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 wink

1,478

(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 tongue

Need any help?

Yeah, but you shouldn't just go around deleting tables, you'll lose the data in it. tongue
I'm also going to suggest that you updated to 1.2.16 for security reasons. tongue

Well, if my memory serves, that's PunBB 1.0.x, not 1.1 yikes
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?

http://punbb.org/forums/viewtopic.php?id=2658

Ooh, that looks like PunBB 1.1.x big_smile
You'll need to enable debug mode so we can see the full error

Sure

Link to your forum?

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.

Did you restart Apache after?

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

(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 wink
If you're interested, you can send me an email

1,490

(15 replies, posted in PunBB 1.2 troubleshooting)

PhaxeNor wrote:

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.

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?

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?

Well, we can't access it then, since that's a local URL wink
Could you go to http://192.168.1.16/forums/config.php and tell me if you see anything?

Could you paste a link to your forum?
yemgi: an incorrect base URL does not cause blank pages wink

1,495

(15 replies, posted in PunBB 1.2 troubleshooting)

joshedgar wrote:

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 wink

joshedgar wrote:

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

(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

(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

(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

(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

(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)