Err, this is for old code
URL to your forum?
6,276 2006-01-22 04:05
Re: Login on Internet Explorer does not work... (13 replies, posted in PunBB 1.2 bug reports)
6,277 2006-01-21 18:51
Re: ERROR ON LINE 58 // LOST CONNECTION TO MYSQL SERVER DURING QUERY (2 replies, posted in PunBB 1.2 troubleshooting)
Netfirms has had a lot of issues with PunBB, since they use an old version of MySQL which seems to be buggy
http://punbb.org/forums/viewtopic.php?id=3342
6,278 2006-01-21 18:49
Re: login integration , weird problem [FIXED] (7 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Yup
6,279 2006-01-21 17:46
Re: login integration , weird problem [FIXED] (7 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Works fine for me (I tried logging into the site with the info you gave)
6,280 2006-01-20 11:38
Re: Private Message (10 replies, posted in PunBB 1.2 troubleshooting)
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 2006-01-20 11:37
Re: Users cant see guests posts! (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 2006-01-19 00:30
Re: MYSQL not working like before? (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
6,283 2006-01-18 17:50
Re: can I defrent color admin and members (6 replies, posted in PunBB 1.2 troubleshooting)
There is an array within install_mod.php
Add 1.2.10 to it
6,284 2006-01-18 11:41
Re: Language pack not recognized (4 replies, posted in PunBB 1.2 troubleshooting)
I'm not even sure where the language folder is there
What's the name of the folder you have the Hebrew in?
6,285 2006-01-18 11:26
Re: Language pack not recognized (4 replies, posted in PunBB 1.2 troubleshooting)
Link to your site?
6,286 2006-01-18 03:15
Re: Integrate PunBB with Community Builder (www.Joomlapolis.com) (2 replies, posted in Feature requests)
Can you link to the phpBB connector so I can see what the deal is?
6,287 2006-01-17 01:03
Re: Add New User Group (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
6,288 2006-01-15 17:19
Re: HTTP 406 Error on upgrading accounts to Moderator / Administrator (21 replies, posted in PunBB 1.2 troubleshooting)
Bah, I've solved that issue a couple times now
6,289 2006-01-15 13:17
Re: can't logg on to new forum (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
I'm not sure exactly what the problem is if it's a clean install
6,290 2006-01-14 15:32
Re: backup data files (5 replies, posted in PunBB 1.2 troubleshooting)
http://dev.mysql.com/doc/refman/4.1/en/ … ngine.html
It certainly is supported
However, if they insist, the online table can be another format as well (like MyISAM)
6,291 2006-01-14 03:48
Re: Google Talk (16 replies, posted in Feature requests)
I do
You could merge AIM/ICQ though, since they both use the same network
6,292 2006-01-12 16:10
Re: single site login trouble (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 2006-01-12 13:43
Re: Need help with MOd (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 2006-01-12 13:41
Re: single site login trouble (18 replies, posted in PunBB 1.2 troubleshooting)
OK then
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
6,295 2006-01-12 13:28
Re: single site login trouble (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
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
6,296 2006-01-12 11:36
Re: single site login trouble (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 2006-01-11 20:33
Re: single site login trouble (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 2006-01-11 15:37
Re: single site login trouble (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?
After all, linking registration and linking login are two different things (your idea links registration)
6,299 2006-01-11 14:24
Re: single site login trouble (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
6,300 2006-01-11 00:47
Re: Edit Header.php to integrate PunBB in site layout (10 replies, posted in PunBB 1.2 troubleshooting)
It's better than allowing arbitrary code execution to be possible