1

(2 replies, posted in PunBB 1.3 additions)

I still have the problem... yes.

2

(2 replies, posted in PunBB 1.3 additions)

Hi one and all, I hope that someone out there can help me?

I'm trying to get PunBB to play nice with CakePHP. I want Cake to know if someone is logged in via Pun or not.

I've gone through all the threads in this forum, and so far I've got the following (within my app_controller's beforeFilter()):

define('FORUM_ROOT', 'C:/xampp/htdocs-unknowntales/punbb/'); // path to punbb install directory
require FORUM_ROOT.'include/common.php';

The problem I've now got is the following error:

Fatal error: Call to a member function escape() on a non-object in C:\xampp\htdocs-unknowntales\punbb\include\functions.php on line 1350

Which relates to this line:

'ON'            => 'o.ident=\''.$forum_db->escape($remote_addr).'\''

Which is making me think that for whatever reason, it can't find the $forum_db object.

Does anyone have any idea why this might be?

Thank you.

I can give you specifics, such as the code used to verify members, etc... but i'd rather that it not be public.

I'm not sure what you mean? I'm using PHP and MySQL... It's all self coded - no CMS or anything like that, 100% home grown.

Yup... MySQL - what else wink

Hello one and all, I hoping that one of the highly talented members of this forum can help me with something?

I've just launched a site called UnknownTales.net. The short description of the site is that it combines role play and writing to let members create interactive fiction. For a more full description, check out our First Time Here? page.

Anyway, the site has been developed from the ground up by myself with it's own member authentication sign-up/login system. For all purposes intent, I'm quite happy with what I have achieved with it, and so for both personal and professional reasons, I'd rather leave that as it is.

The problem I have, of course, is that I want to add a forum to the site (and I'm quite impressed with PunBB, it should suit me just fine), but I want to integrate it with my existing user login system. I could just install PunBB and get members to sign-up twice, but I don't think that would be the best move.

So what I'm looking for is someone to help me to modify PunBB so that it uses my login system (or at least my users database), so my members only need one account to access the whole site.

Is anyone here able to help me do that please?

Thank you smile

7

(3 replies, posted in Programming)

thank you guys smile

8

(3 replies, posted in Programming)

Hi guys, I'm looking to use PunBB as the basis for a site I'm developing for a client. They're after a basic portal with some extra features thrown in (i.e. a directory service - listing businesses that provide specific services, split into different categories).

Now I can do all of what they want, I just need a bit of a head start with regards to the PunBB side of things - i.e. I'm planning on using the scripts own user authentication system to block access to specific pages based on user group, as well as use PunBBs templates and such for the headers, etc..

Can someone point me in the right direction for the quick-start guide on how the user authentication works, and what code I'd need (the basic template, if you like) that I'll need to work from.

I'm sure all of this information must be readily available, and I have looked for it, but I guess I'm not very good at finding it. So if someone could help me out, it would be grand.

Thank you smile

9

(99 replies, posted in Programming)

I use http://www.pspad.com/

10

(2 replies, posted in PunBB 1.2 troubleshooting)

Ooohhhh, fantastic... this might be all I need.... lets see big_smile

11

(2 replies, posted in PunBB 1.2 troubleshooting)

Hi, a quick follow up to my other post about integration, only this one convers something else, so I'm starting a new thread for it.

As part of making this forum work with my site, I want to edit it so that it fits in with the design... the first bit of this will be changing the colours, which should be fairly easy using the SpinkBB site..

The second bit would be to remove the margins, and give it a fixed width of 768 (which will either be aligned center or to the left), and then add the title image and some basic html to the top of the page and bottom of the page.

How easy/hard would this be to do? Can someone give me some pointers please?

Thank you.

12

(3 replies, posted in PunBB 1.2 modifications, plugins and integrations)

aye, yup saw it big_smile

13

(3 replies, posted in PunBB 1.2 modifications, plugins and integrations)

Hi there, I'm looking to use PunBB for a site that I'm currently building (http://unknowntales.net/beta/).

The site itself, because of it's nature, has it's own user authentication system that I've built for it (and I'm not planning on changing it), but I want to give my users a forum they can use on the site as well, without them needing to sign-up for two different things.

Because of this, and the fact that I highly doubt I can edit PunBB to use my user database, I was thinking it might be a good idea to have a duel sign-up. I.e. when someone signs up for my site, they automatically get a forum account in the same name, with the same details.

Now I'm probably going to use my script for the purposes of getting users to sign up (and so disabling sign-ups on the forum), so what I was looking for is information on what I'm going to need to do, in the database, to complete the sign-up.

Actually, I don't think that itself is all that hard to find out myself, I just need to do some trial sign-ups on the forum and see what changes in the database, but I would be looking for some general advice and hints on what I'm trying to achieve... maybe from someone that's done something similar to this in the past?

Also, I'm kind of new to cookies... I use them, in addition to sessions, in my user sign-up system, but I kind of botched my way there without really understanding exactly what I've done, so if you could let me know what cookie variables the forum uses, that way I can make sure they match the ones my site uses, so users don't need to sign-in more than once.

Thank you

(Sorry for the long post, I hope you understand what information I'm looking for - I also hope that someone can provide that information)