Take a look at include/functions.php and you'll see exactly what it does. It does a call to setcookie using the various cookie settings in config.php along with the supplied data. And $user_id is the actual numeric user ID, not username.
1,426 2008-01-10 22:52
Re: Login integration: Logging in on an existing site and punBB (37 replies, posted in PunBB 1.2 modifications, plugins and integrations)
1,427 2008-01-10 22:35
Re: Issue with boolean search ? (3 replies, posted in PunBB 1.2 bug reports)
Nice find.
I'll investigate.
1,428 2008-01-10 22:14
Re: Login integration: Logging in on an existing site and punBB (37 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Take a look at pun_setcookie and how login.php uses it.
1,429 2008-01-10 11:55
Re: Breadcrumbs (3 replies, posted in PunBB 1.2 troubleshooting)
http://www.robsacc.nl/_ottens/lounge/style/style.css
DIV.linkst .conl, DIV.linksb .conl, DIV.postlinksb .conl {WIDTH:18em}
DIV.linkst .conr, DIV.linksb .conr, DIV.postlinksb .conr {WIDTH:16em}
Perhaps change those to percents?
1,430 2008-01-10 04:09
Re: Hmm.. beta? (4 replies, posted in PunBB 1.2 discussion)
"Give us a few more days and we should have 1.3 beta up for grabs."
To me a few more days means 3-4 days not over a week. I aint complaining as such but you can't tease me like this
...which is why it was a post in a New Years topic in General Discussion and not a News post or a blog entry. We're committed to making the beta the best it can be, and if that means holding off on releasing it for a few days so we can get everything in order, that's what we're going to do.
Plus, considering all the work we did around Christmas/New Years Eve, I think we deserve a little break
1,431 2008-01-10 02:48
Re: Hmm.. beta? (4 replies, posted in PunBB 1.2 discussion)
1,432 2008-01-10 02:00
Re: I get this error message, any ideas how to fix it (40 replies, posted in PunBB 1.2 troubleshooting)
Because it only shows up for moderators (I love reading this code)
My suggestion would be to upgrade and go from there.
1,433 2008-01-10 00:52
Re: Trying to inject accounts from a website into punbb. Howto? (17 replies, posted in PunBB 1.2 modifications, plugins and integrations)
No, your file looks fine from that end. The issue could always be a parse error if display_errors is off on your server: you wouldn't be able to echo the SQL in that case though.
1,434 2008-01-10 00:50
Re: I get this error message, any ideas how to fix it (40 replies, posted in PunBB 1.2 troubleshooting)
OK, what about the rest of my post?
1,435 2008-01-10 00:32
Re: Trying to inject accounts from a website into punbb. Howto? (17 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I don't know what to tell you, the problem has to be with the script if no row is being inserted.
Try echoing out the SQL query and then running it by hand. If it works, then you know the problem is not the query but with the connection. If it doesn't, then you'll be able to debug what's wrong with the query.
1,436 2008-01-10 00:12
Re: Trying to inject accounts from a website into punbb. Howto? (17 replies, posted in PunBB 1.2 modifications, plugins and integrations)
And the script runs fine without an error? But no row is inserted in the database?
1,437 2008-01-10 00:02
Re: Placing a menu(which uses php) on top of the first header block. (11 replies, posted in PunBB 1.2 modifications, plugins and integrations)
He doesn't mean literally a file with the name style_cs.css. Replace style with the name of the style you're using. So Oxygen would be Oxygen_cs.css
1,438 2008-01-10 00:02
Re: Trying to inject accounts from a website into punbb. Howto? (17 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I'll need to see your complete code to tell anything more
1,439 2008-01-10 00:00
Re: I get this error message, any ideas how to fix it (40 replies, posted in PunBB 1.2 troubleshooting)
Aha, so 1.0.1 had no sections!
Look at the bottom of the page when viewing a profile. You should be able to change a person's status. You should also be able to see the list of forums to set people as moderator in.
And, looking at the code, the column you need to edit to give yourself admin powers is status and the value should be 2 (since it was < 1 for Members, 1 for Moderators, 2 for Administrators).
1,440 2008-01-09 23:57
Re: I get this error message, any ideas how to fix it (40 replies, posted in PunBB 1.2 troubleshooting)
Just for you, I downloaded 1.0.1
I'll take a look at the code and see what I find.
1,441 2008-01-09 23:49
Re: Best forums (26 replies, posted in PunBB 1.2 discussion)
Again though, it's not about what we like but about what your members want. If your members don't care about attaching files, there's no need to install the attachment mod, for example.
If you're having trouble installing modifications, you should ask for help over at PunRes.
1,442 2008-01-09 23:47
Re: I get this error message, any ideas how to fix it (40 replies, posted in PunBB 1.2 troubleshooting)
http://punbb.org/docs/install.html
Upgrading from 1.0
In order to upgrade from PunBB 1.0.* to 1.2.16, you must first update your current installation to 1.1. Download PunBB 1.1 from the PunBB.org downloads page and follow the upgrade instructions in the included install.html.
Upgrading from 1.1
In order to upgrade from PunBB 1.1.* to 1.2.16, you must first update your current installation to 1.2. Download PunBB 1.2 from the PunBB.org downloads page and follow the upgrade instructions in the included install.html.
And the administration page I'm talking about, the one that you click a link on the sidebar (not the top!) to get to is profile.php?section=admin&id=#, where # is the user ID.
1,443 2008-01-09 23:26
Re: Best forums (26 replies, posted in PunBB 1.2 discussion)
That's really up to you and your users. You need to decide what other kinds of features you need.
1,444 2008-01-09 23:25
Re: I get this error message, any ideas how to fix it (40 replies, posted in PunBB 1.2 troubleshooting)
You're still clicking on the wrong link, please read my instructions
However, if that's really 1.0.1, I can't support it since it's two major versions out of date and I've never run it before. I don't know if the layout changed between 1.0 and 1.1 (although it might not have), which would be contributing to you clicking the wrong link consistantly
1,445 2008-01-09 23:17
Re: Trying to inject accounts from a website into punbb. Howto? (17 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Email verification is irrelevant with your example
"english" should be "English"
That's the only thing I notice, are the tables in the same database?
1,446 2008-01-09 14:54
Re: blog.punbb.org theme changed? (7 replies, posted in PunBB 1.2 discussion)
And back again
1,448 2008-01-09 04:10
Re: uploading files (5 replies, posted in PunBB 1.2 troubleshooting)
Make sure you uploaded the files to the right place and you're accessing the files from the correct URL
1,449 2008-01-09 04:09
Re: I get this error message, any ideas how to fix it (40 replies, posted in PunBB 1.2 troubleshooting)
Could you take a screenshot and post it?
1,450 2008-01-09 02:55
Re: I get this error message, any ideas how to fix it (40 replies, posted in PunBB 1.2 troubleshooting)
No, click on your profile. There's an administration option on the side there (not the top of the page).