Never mind.
Like most things I post here, I find my own solution before I get an answer. sad

I have set up two forums that share user information etc.. but different categories and posts.
I want to be able to have "show recent topics" link that shows the new topics from both boards.
I tried this out and it does show the recent topics from both,

<?php include 'http://www.myurl.com/forumA/search.php?action=show_24h'; ?>
  <br>
  <?php include 'http://www.myurl.com/forum/forumB/search.php?action=show_24h'; ?>

The problem is that when you click on the topics from forumB, it tries to take you to forumA.
Is there some small piece of code I can add to make the forumB topics actually lead to those topics on forumB

Yes I did that, and also changed the  $db->prefix.'online, and it works for showing users online and users registered; then I tried reversing that and changed everything else and changing the prefix in the code, either way seems to work in that regard, but I still have a problem.

Despite the fact that it will show "User1" on both sites as a registered user, and online, it still makes you log into each site individually.

These two forums are on their own server but the database is only on one of the servers and they are sharing it.

Both of the config.php files are identical at this point,
There must be a way for them to use the same cookie? Isn't there?


Thanks again

Solved problems associated with the "$db->prefix.'users
But I still haven't figured out how to make it so that people can log into both sites at the same time, or how to use the cookie feature to do this.

53 views and no response sad
Seems there are several people interested but no answers to this question?

I want to integrate two Punbb forums, on two separate urls, so that they both use the same userlist.
Preferably, this would include the ability to jump from one to the other without having to log in a second time.
Additionally, I would want the online users, to show on both sites, while on either board.
Is this possible?
I found this post
http://punbb.informer.com/forums/viewto … 879#p51879
But it doesn't really solve the issue, one of the suggestions about changing code on line 76, does not seem to be valid with my version of punbb, and as pointed out, there are problems created by using.
The "$db->prefix.'users
then change the prefixes"
Method does create problems, and changing the cookie seed does not work.

Thanks for all your help and expertise.

smile

Oops, I just posted a duplicate thread then saw this, yeah It's gone it seems.... any answers as to when where why?

7

(2 replies, posted in General discussion)

Interesting, I just got banned from prunes the same way, and guess what I was trying to find.... thats right, I was trying to find anti spam stuff for my punbb forum and in the process of trying to show someone the code I was using, I got banned.
Hows that for Irony.
Now I have bad code that I'm having trouble fixing, and I'm banned from prunes.
I hope someone there has the sense to unban me but so far my e-mail has gone unanswered.

For the record: I am a noob to this stuff.
People have to start somewhere.

Never mind, I figured it out.
Now onto making the smielys and stuff work.

How do I change the postion of the "Active Topics" on my main page.
It is above all my general categories and I want it at the bottom.

Thanks for putting up with my newness to all this.
I have done several searches and have yet to find the answer to this.

quaker wrote:

i use dreamweaver to edit with.



go to http://punres.org and look at the styles there.

play around editing some of the styles. that is a good start.
main.tpl u can open with dreamweaver.


also check out the wiki at punres lots of useful tips...


Q

I figured out what was wrong with that code: this part is not mentioned in all of the posts I have seen on this, and being new, it took me a while to figure it out
In the .css file, you need to change this line

/****************************************************************/
/* 1. IMPORTED STYLESHEETS */
/****************************************************************/

/* Import the basic setup styles */
@import url(imports/base.css);
/* Import the colour scheme */
@import url(imports/YOURSTYLE_cs.css);

Now I need to redo all the stuff I have been doing that had no effect, but at least I have that figured out.

My version of dreamwaver will not open .tpl files sad
"can't find a valid editer for this file extension"
Any other recomendations.. plugins for dreamweaver maybe?

Thanks for the responce smile

I installed the forum two days ago, since then I have spent hours trying to make some of the more simple Mods work.
The main one that I have been trying to get to work is the one below.
I have inserted that code in the right place a million times, created the proper folder and .gif pics, changed the YOURSTYLE to the name of my style, I can't get this to work.

I am useing the latest version of PunnBB.
I'm on windows XP useing dreamweaver to edit code.
I am running punnbb on a Lynux server.

Is there something else I need to do to tweak something before this will work?
Is there a better program that I can use to edit files?
What program can I use with .tpl files and .tar files?
I am new to php so , be gentle smile

in yourstyle.css:

/**************************************************/

/* 10. POST STATUS INDICATORS */

/**************************************************/

/* 10.1 These are the post status indicators which appear at the left of some tables.
.inew = new posts, .iredirect = redirect forums, .iclosed = closed topics and
.isticky = sticky topics. By default only .inew is different from the default.*/

DIV.icon {
    FLOAT: left;
    DISPLAY: block;
    width:16px;
    height:16px
}

DIV.searchposts DIV.icon {MARGIN-LEFT: 0}

/* 10.2 Class .tclcon is a div inside the first column of tables with post indicators. The
margin creates space for the post status indicator */

TD DIV.tclcon {MARGIN-LEFT: 1.7em}
TD.tcl {padding-left:3px;}



in yourstyle_cs.css:
/******************************************************/

/* 5. POST STATUS INDICATORS */

/******************************************************/


/* These are the post status indicators which appear at the left of some tables.
.inew = new posts, .iredirect = redirect forums, .iclosed = closed topics and
.isticky = sticky topics. The default is "icon". By default only .inew is different.*/

DIV.icon {background:url(../../img/YOURSTYLE/icon.gif)}
DIV.inew {background:url(../../img/YOURSTYLE/icon_new.gif)}
TR.isticky DIV.icon {background:url(../../img/YOURSTYLE/sticky.gif)}
TR.isticky DIV.inew {background:url(../../img/YOURSTYLE/sticky_new.gif)}
TR.iclosed DIV.icon {background:url(../../img/YOURSTYLE/closed.gif)}

TR.iredirect DIV.icon {background:url(../../img/YOURSTYLE/redirect.gif)}

12

(3 replies, posted in PunBB 1.2 troubleshooting)

Yes, I'm new... and yes, I am  noob.
Ive spent hours trying to copy and paste this code and make it work.
I have found several people who have posted their own versions of this and tried them all, tried changeing them slightly, nothing seems to work

All I end up with is no icon next to the noew or old posts.
I am useing the most recent version of punnbb and installed it for the first time yesterday.
Is there something else I need to install before I can use all the codes i'm finding?
so far the only one that I'v got to work, was the "Active post" one.

Thanks for the help