Topic: Integrate punBB to a community.

Hi. I've been playing around with punbb for some good 24 hours. A nice forum indeeed.
The thing I want to do is to make punbb work with my allready working community.
Belive me, I've read up on lot's of post here.
I've read:
http://punbb.org/forums/viewtopic.php?id=8786/
http://punbb.org/docs/dev.html#integration
and almost every topic containing *topic*.

So the problem isn't that I haven't read up. The problem is that I suck.
I sure enough would be able to make a separate login-window on my start-page,
letting the user login with his punbb-login, the be brought back to a specific page, letting
him/her surf around on the page and THEN press "forum" and be logged in.
The thing here is that I allready god a userdatabase for my users, so that
they can access their guestbooks, their presentations, aso.
So I really don't know what to do here. If it is possible for punbb to use the same
login/database as the rest of community, or if it is possible to login to both my community
and the forum - at the same time. One button, 2 functions. Same at the registerpage.
But if I would manage to get that working, what's next? My community uses sessions,
and punbb uses cookies.

Well I'm kinda lost here. If I started from scratch, building my community after my forum then there
wouldnt be any problem. But since I've allready got a working community that's not an option.

IF you know any link that I might have missed, that will describe better to me what has to be done -
please post it. I'm not all afraid of a little reading.

Thanks alot, and thanks for the great bb, and for the great tpl's.
Regards,
Robert.

2 (edited by twohawks 2006-10-13 18:03)

Re: Integrate punBB to a community.

Hi koltol,
Although I am fairly new here, and more than likely once the more experienced folks start to repsond you will be receiving better pinters... in the meantime I suggest you seach these forums (at punbb.org and punres.org)  using the word "prefix".  Maybe while you are waiting for the big guns to come walking in, this will help you get a little better prepared (I think its relevant ;^).
Cheers,

TwoHawks
Love is the Function
No Form is the Tool

Re: Integrate punBB to a community.

it would be easier to create a whole new community off punbb!
there are serveral ways doing it.
i gave twohawks a link to a site that got over 1694 css templates free . http://oswd.org
next all u need to modify the punbb to fit the css template is the main.tpl (include/templates/main.tpl file)
once you drop in the html code start placing the punbb sutff where you want the info to show up. im working on a site that i have totally designed my site around punbb for the memberships and rights part.
http://modelcrowd.com
http://bunpai.com
http://highschooljamz.org
here is my main.tpl from modelcrowd.com

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <title>ModelCrowd</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta http-equiv="Content-Language" content="en-us" />
    <meta http-equiv="imagetoolbar" content="no" />
    <meta name="MSSmartTagsPreventParsing" content="true" />
    <meta name="description" content="Model Crowd" />
    <meta name="keywords" content="art design,model,photography,studio " />
    <meta name="author" content="modelcrowd" />
    <style type="text/css" media="all">@import "images/style.css";</style>
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="rss/" />
</head>

<body>
<div class="content">

    <div class="rside">
        <div class="topmenu"></div>
        <div class="loginbox">
            <div class="padding">
                <pun_online>
            
            </div>
            <div class="clearer"></div>

        </div>
        
        <br />
        <div class="topmain"></div>
        <div class="menu">
            <div class="nav">
                <pun_sidelinks>
            </div>
            
            <pun_artcatbox>
        <pun_userbox>
        <pun_toppost>
        <pun_guest_information>
         <pun_information>
             <pun_status>
            

            <br />
            <pun_include "cal.php">
            <br />
            <h2></h2>
            <div class="links">
            <pun_include "link1.php">
            <pun_include "test.php">
          </div>
        </div>
    
    </div>
    
    <div class="lside">
        <div class="topmenu">
             <a href="about.php">About</a> | <a href="contact.php">Contact</a>
        
        </div>
        <div class="header">
            <div class="padding">
                <div class="citation"><pun_desc></div>
                <h1><span><pun_title></span></h1>
                
            </div>
        </div>
        <div class="main">
            <h2><a href="#">ModelCrowd</a></h2>
            I started with a dream of photo's as a child taken photos with anytype of camera that I could get my hands a hold of. I had tons of rolls of flim that needed to be developed. So, I spent my extra money at walmart getting photos developed. As the age of digital cameras came into the picture it is so much simplier to do anything with. I always took photos of my two son's Jacob and Bailey. They would say dad! put that up..... But as i started studying people and objects. Trying to understand the lighting and the reflections of light. I started to understand alot more than simple just point and shoot. 
            A while back I took Serveral Photoshop classes on editing and cleanup of photos. 
            
            <p class="date">Posted by Scott <img src="images/more.gif" alt="" /> <a href="about.php">Read more</a> <img src="images/comment.gif" alt="" /> <a href="#">Comments (3)</a> <img src="images/timeicon.gif" alt="" /> 21.02.</p><br />
        
        
            <pun_announcement>
            <pun_advertisement>
               
            <pun_main>
            
        </div>
        <div class="clearer"></div>

        <div class="infobox">
            <div class="r_sd">
            <h2>Last Articles</h2>
                <pun_include "test.php">
                
            </div>
            <div class="l_sd">
                <h2>Related Items</h2>
                <img src="images/arrow.gif" alt="" /> <a href="#">Integer euismod ante non diam adipiscing elit</a> <br />
                <img src="images/arrow.gif" alt="" /> <a href="#">consectetuer adipiscing elit dolor sit amet</a> <br />
                <img src="images/arrow.gif" alt="" /> <a href="#">Lorem ipsum dolor sit amet ipsum dolor</a><br />
                <img src="images/arrow.gif" alt="" /> <a href="#">Integer euismod ante non adipiscing elit </a><br />
                <img src="images/arrow.gif" alt="" /> <a href="#">Lorem ipsum dolor sit amet euismod ante</a><br />
            </div>
        </div>
    </div>
    
    <div class="footer">
        Copyright © 2006 ModelCrowd | modded by: <a href="http://modelcrowd.com">Model Crowd </a> |
                <a href="contact.php">Contact</a> | Powered By <a href="http://punbb.org">Punbb</a> © Copyright 2002–2005 Rickard Andersson | <a href="login.php">Login</a>
    
    </div>



</div>
    
    

</body>
</html>

you see the <pun_xxxx> that is where i want the code to show.
i hope that this helps in your beginnings......

good luck!


Q

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Re: Integrate punBB to a community.

In short, it is not possible to integrate PunBB with your existing user system without some programming on your part. You'd have to either modify PunBB to get all its user data from the existing users table and authentication data from the session or create a login form that logs in / authenticates for both user databases simultaneously.

Or you could do as quaker suggested, and modify your current system to run around PunBB.

Looking for a certain modification for your forum? Please take a look here before posting.