Err, this is for old code tongue
URL to your forum?

Netfirms has had a lot of issues with PunBB, since they use an old version of MySQL which seems to be buggy tongue
http://punbb.org/forums/viewtopic.php?id=3342

Yup

Works fine for me (I tried logging into the site with the info you gave)

6,280

(10 replies, posted in PunBB 1.2 troubleshooting)

strogysh wrote:

but the post theme is "Private Message" so here mast be above Private Message?

So hav to do Private Message? (like in IPB)

It has to do with an issue they had installing the private message mod, or so I'd assume

6,281

(3 replies, posted in PunBB 1.2 troubleshooting)

I'm going to assume this is a modded board: did you install any mods that could have done this?

6,282

(9 replies, posted in PunBB 1.2 troubleshooting)

The issue is with MySQL: your username/pass for that (in config.php) isn't correct anymore

There is an array within install_mod.php
Add 1.2.10 to it

6,284

(4 replies, posted in PunBB 1.2 troubleshooting)

I'm not even sure where the language folder is there tongue
What's the name of the folder you have the Hebrew in?

6,285

(4 replies, posted in PunBB 1.2 troubleshooting)

Link to your site?

Can you link to the phpBB connector so I can see what the deal is?

6,287

(5 replies, posted in General discussion)

It has plenty of mods "for it"
Mod authors simply don't update their mods for every new version that comes out. If you edit the install_mod.php files for the current version and simply try and see if a mod works, it should

Bah, I've solved that issue a couple times now tongue

6,289

(4 replies, posted in PunBB 1.2 troubleshooting)

It's not a cookie-thing, I have no problem logging on to this forum.

It IS a cookie thing: your PunBB isn't setting a cookie tongue
I'm not sure exactly what the problem is if it's a clean install

6,290

(5 replies, posted in PunBB 1.2 troubleshooting)

http://dev.mysql.com/doc/refman/4.1/en/ … ngine.html
It certainly is supported wink
However, if they insist, the online table can be another format as well (like MyISAM)

6,291

(16 replies, posted in Feature requests)

I do wink
You could merge AIM/ICQ though, since they both use the same network

6,292

(18 replies, posted in PunBB 1.2 troubleshooting)

Without seeing the code, I can't really help you
Well, except to tell you that you should change usage of the DB abstraction class to mysql_query (assuming you're using MySQL) since that seems to be a problem with you for whatever reason (did you define $db somewhere in your code?)

6,293

(5 replies, posted in PunBB 1.2 troubleshooting)

That mod links coppermine to PunBB I think

Try this one:
http://www.punres.org/viewtopic.php?id=152

6,294

(18 replies, posted in PunBB 1.2 troubleshooting)

OK then smile
register.php
Assuming you already have all the proper checks in your PHP so that everything is in the right format from your form (and you're not relying on PunBB's email reports and you're not using PunBB's email verification), simply add the SQL query as a normal query and set the cookie: 3 lines of code (4 with the comment). You can add more/less depending on what you need from the register.php page

login.php
Look at the code: select the user data, check the password, insert the user into the online table, add a cookie (unless of course you're using the same login criteria, in which case just add the cookie)

Like I said, calling a page that expects a user through a PHP script is a sure way to cause an issue.

I can't do real code unless I see your code wink

6,295

(18 replies, posted in PunBB 1.2 troubleshooting)

Accessing it directly or including it on the accessed site is not a big difference

It is when it's supposed to redirect the user to a new page as opposed to giving a "normal" error wink

I read register.php an login.php, they include common.php and call functions from functions.php, i overflew all that stuff because i don't have the time to really analyize the code (would write a simple forum in that time), and i saw it's NOT that easy, because it's not structured by a known criteria (like model-view-controller or similar), so i tried to do it quick and dirty. Where's the problem admitting that punbb is not the universal super-forum for every concern (espacially not for my 'quick and dirty' need) ?

Because after I post this, I'm going to download a copy of PunBB and look at what would need to be added to a login/register page to make it work
I promise you, it will take < 1 hour wink

6,296

(18 replies, posted in PunBB 1.2 troubleshooting)

Yes, integration should be trivial, an because punbb doesn't use its own sessions, for me it seemed to be very suitable for integrating it into my session-based site. So, if it's that easy, why a simple require doesn't work

Because you're attempting to require a page that was expecting a user to be accessing it?
Seriously, you say you don't want it to take more than 2 hours: if you even bothered to read register.php and login.php you'd see that it's trivial to add the queries for PunBB to it

6,297

(18 replies, posted in PunBB 1.2 troubleshooting)

Err, why not simply look at the code and replicate what it does? All a function would do is help people who want to be lazy with the integration: integrating what's there is really trivial (assuming the only registration you care about is your own and the other is just so they're logged in within the forums)

6,298

(18 replies, posted in PunBB 1.2 troubleshooting)

Because i don't know what is happening before and after (cookies-setting etc.) and I don't want to follow all that code.

Then perhaps you shouldn't be trying to integrate the code? wink
After all, linking registration and linking login are two different things (your idea links registration)

6,299

(18 replies, posted in PunBB 1.2 troubleshooting)

riki: Why not simply do another insert statement to add the user to the PunBB database?
And as for why set_default_user is called, it's to allow forum permissions and such to be set for guest users

It's better than allowing arbitrary code execution to be possible wink

http://dev.punbb.org/changeset/208