There is a simple way to turn off the maintenance mode. One has to define the FORUM_TURN_OFF_MAINT constant in config.php.
51 2010-04-12 09:27
Re: 1.3.4 turn_off_maintenance_mode.php Don't work (3 replies, posted in PunBB 1.3 troubleshooting)
52 2010-04-08 12:31
Re: How do I move the topic author and page numbers? (2 replies, posted in PunBB 1.3 additions)
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;
}
53 2010-04-08 11:53
Re: Recommended change on include/common.php (1 replies, posted in PunBB 1.2 bug reports)
Thanks for reporting, fixed.
54 2010-04-08 09:48
Re: time wrong (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.
55 2010-04-06 12:09
Re: [Release] Extended BBCode version 2 (62 replies, posted in PunBB 1.3 extensions)
"pun_bbcode" is the ID of the extension, and "BBCode buttons" is just the "nice" title of the same extension.
56 2010-04-06 12:05
Re: Adding Ads on my forum header (7 replies, posted in PunBB 1.3 discussion)
Oh, sure, I meant "right"
You're welcome.
57 2010-04-06 10:03
Re: How do I integrate PunBB into MY SITES EXISTING registration and login (2 replies, posted in PunBB 1.3 additions)
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.
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.
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.
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 2010-04-06 09:25
Re: Adding Ads on my forum header (7 replies, posted in PunBB 1.3 discussion)
I've just given you an idea
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 2010-04-06 08:53
Re: Adding Ads on my forum header (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 2010-04-06 08:46
Re: Create a external form for login (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 2010-04-05 12:56
Re: Downgrade from v1.3 to v1.2 (2 replies, posted in PunBB 1.3 discussion)
Theoretically yes. But there is no automatic tool for this.
62 2010-04-05 12:40
Re: PHP warning for item in \include\functions.php (21 replies, posted in PunBB 1.3 bug reports)
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 2010-04-05 12:25
Re: logged in [solved] (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 2010-04-05 12:18
Re: Adding Ads on my forum header (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.
65 2010-04-05 09:55
Re: Does PunBB can post a new topic outside forum? (1 replies, posted in Discussions)
Yes, there is the add_post() function.
66 2010-04-05 09:51
Re: visible smilies / bbcode when posting? (1 replies, posted in PunBB 1.3 extensions)
It's the pun_bbcode extension.
67 2010-04-05 09:45
Re: Profile > Identity (3 replies, posted in PunBB 1.3 troubleshooting)
Only administrators can see IP addresses. Do you still want to remove it?
68 2010-04-05 09:42
Re: Attachment extension (98 replies, posted in PunBB 1.3 extensions)
What kind of help do you need?
69 2010-04-02 12:30
Re: Punbb w/ no cookies (1 replies, posted in PunBB 1.3 discussion)
Actually enabling cookies is required to use PunBB.
70 2010-04-02 10:32
Re: Bug in the parser (2 replies, posted in PunBB 1.3 bug reports)
Thanks for reporting, fixed.
71 2010-04-02 08:47
Re: Creating background (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 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 2010-04-02 08:37
Re: Signature (4 replies, posted in PunBB 1.3 troubleshooting)
Yes, pun_antispam.
73 2010-04-02 08:36
Re: Official styles (12 replies, posted in News)
I suggest adding just one alternative style to advertise the fact punBB can actually use them.
Which one? Informer? Or Web20?
74 2010-04-01 13:03
Topic: Official styles (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.
75 2010-04-01 10:57
Re: How to parse bbcodes outside forum? (8 replies, posted in PunBB 1.3 troubleshooting)
Seems like it should be like this:
'where' => 't.forum_id = 2',