There is a simple way to turn off the maintenance mode. One has to define the FORUM_TURN_OFF_MAINT constant in config.php.

You have to replace this (Oxygen.css, line 970):

.brd .main-content .main-item .item-subject .hn,
.brd .main-content .main-item .item-subject p {
    margin: 0 0 0 1.5em;
    }

by the following:

.brd .main-content .main-item .item-subject .hn,
.brd .main-content .main-item .item-subject p {
    display: inline;
    }

.brd .main-content .main-item .item-subject .hn {
    margin: 0 0 0 1.5em;
    }

Thanks for reporting, fixed.

54

(5 replies, posted in PunBB 1.3 troubleshooting)

Maybe it's acceptable solution for small forums to depend on automatic server DST handling. But, in general, forum users can live in different countries with different date of changing to DST. This situation can't be handled automatically.

"pun_bbcode" is the ID of the extension, and "BBCode buttons" is just the "nice" title of the same extension.

56

(7 replies, posted in PunBB 1.3 discussion)

Oh, sure, I meant "right" smile

You're welcome.

nwuese wrote:

Should I install punBB into the same database as my current eFiction install? (remember eFiction is a PHP script/application/thingy)

It's not obligatory, but it would be a bit simpler for programming.

nwuese wrote:

Should punBB use the same User table as my site (eFiction)? If so, how do I do this?

I think they shouldn't. The Users tables must have different formats.

nwuese wrote:

If my punBB and my site (eFiction) are using different databases, what code do I need to ensure that punBB draws its user information from my site's (eFiction's) user information? What file am I supposed to change, and where in particular in the file am I supposed to make changes?

PunBB has two functions, add_user() and delete_user(). They add or delete the information about a user to PunBB Users table. I think the simplest way of integrating is to call these functions when a user registers or deletes himself in eFiction.

nwuese wrote:

The wiki says something about including common.php. Include it where? And how do I do this?

If you agree my suggestion, you have to find a place in eFiction code where a user info is added into the database and to insert to that place including common.php and calling add_user().

By doing that you deal with new registrations. Also you have to add the information about existing users to the PunBB Users table. The simplest way is to copy the eFiction Users table and to change its format via phpMyAdmin or another DB administrating tool.

The following part of integration is to deal with logins. The general idea is to set the PunBB cookie when a user is logging in eFiction. But let me explain it later. Maybe you have questions and it's better to discuss them first.

58

(7 replies, posted in PunBB 1.3 discussion)

I've just given you an idea smile

You can make a layout via CSS.

Try this:

$gen_elements['<!-- forum_title -->'] = '<div style="float: left;"><script type="text/javascript">document.write(\'<s\'+\'cript type="text/javascript" src="http://ad.altervista.org/js.ad/size=468X60/r=\'+new Date().getTime()+\'"><\/s\'+\'cript>\');</script></div>' . $gen_elements['<!-- forum_title -->'];

59

(7 replies, posted in PunBB 1.3 discussion)

You have to escape characters like ' by adding the backslash.

Try to add after that line:

$gen_elements['<!-- forum_desc -->'] .= '<script type="text/javascript">document.write(\'<s\'+\'cript type="text/javascript" src="http://ad.altervista.org/js.ad/size=468X60/r=\'+new Date().getTime()+\'"><\/s\'+\'cript>\');</script>';

60

(35 replies, posted in PunBB 1.3 additions)

If one just copies that code into an empty PHP file and sets $forum_page['redirect_url'] properly, he will obtain a working login form. Therefore, an error is in your way of using that code. I'm not familiar with textpattern, so I can't suggest a solution. Maybe it's incorrect string escaping or something else.

61

(2 replies, posted in PunBB 1.3 discussion)

Theoretically yes. But there is no automatic tool for this.

Seems like this warning appears, if the script receives data in a non-UTF encoding. We'll try to fix it.

Please, provide us the following details: the URL and the kind of request (GET or POST).

63

(3 replies, posted in PunBB 1.3 troubleshooting)

What browser do you use? Maybe there is an issue with cookie and iframe in your browser. Please, try another one.

64

(7 replies, posted in PunBB 1.3 discussion)

Seems like you have to edit the header.php file. Try to add the code above to $gen_elements['<!-- forum_desc -->'] or other element.

Yes, there is the add_post() function.

It's the pun_bbcode extension.

67

(3 replies, posted in PunBB 1.3 troubleshooting)

Only administrators can see IP addresses. Do you still want to remove it?

68

(98 replies, posted in PunBB 1.3 extensions)

What kind of help do you need?

69

(1 replies, posted in PunBB 1.3 discussion)

Actually enabling cookies is required to use PunBB.

70

(2 replies, posted in PunBB 1.3 bug reports)

Thanks for reporting, fixed.

71

(3 replies, posted in PunBB 1.3 additions)

So, it depends on what you want to do. I assume you want to add a custom header and a footer. You can place an HTML code before of after <div id="brd-wrap" class="brd">...</div>, or somewhere inside this div.

PS. Slightly edited your topic smile You can write me a PM and ask something in Russian. And, by the way, take a look at the Web20 style. Seems there is a background like you want.

72

(4 replies, posted in PunBB 1.3 troubleshooting)

Yes, pun_antispam.

73

(12 replies, posted in News)

epozdnjakov wrote:

I suggest adding just one alternative style to advertise the fact punBB can actually use them.

Which one? Informer? Or Web20?

74

(12 replies, posted in News)

We are happy to announce the completion of development of official PunBB styles. You can see screenshots and descriptions on the related Wiki page; the download links are provided there as well.

We would like to ask if it is necessary to include the official styles in the distributive as of the next PunBB version. This inclusion implies some benefits and disadvantages at the same time, which is why we are in doubt and would like to know the community's opinion.

Seems like it should be like this:

'where' => 't.forum_id = 2',