After using punbb for a long time on one of my old sites, I made a new site was completely built around punbb.  I've changed a lot on this site:

- I made my main page the index.php of the current directory and updated all the links
- I made my own news display which displays posts directly from a moderators' forum
- I removed all the available styles but mercury
- I added new fields to the database for alternative messenging system (Xfire)
- I added new fields to the database for members to update and are displayed on the roster (Favorite Map, Favorite Weapon)
- The main page reads and XML script and determines all of my clan's rankings off of TWL (TeamWarfare)
- The main page also monitors our clan's server status (not finished with formatting)
- I installed the Calendar Mod for punbb which I edited to only be viewed by members of my group and can only be edited by moderators

In the future I plan to update the style, but I've been focussing on the code first.  I'm relying on punbb's AWESOME use of CSS to revamp it later.

Here is the site link:
http://www.drivenbyinsomnia.com
*note sometimes my provider has DNS problems and the site is not up... so if you're really interested and fails check back in 10 minutes

2

(5 replies, posted in PunBB 1.2 troubleshooting)

I had the same problem on my site, but after some work I finally just decided it's easier to just copy the header you have into the main.tpl file.  The only disadvantage is that I have to edit both the main.tpl and my header every time I want to change it but all I have to do is copy and paste.  .... not that bad

Hey ... if you want a members page for your website, here is a short and easy way to do it:

All you have to do is unzip members.zip in the forums folder and only registered members of the forum that you have designated as Moderators or Administrators can view the page.  Then you can just put whatever you don't want anyone else to see on the page.  If you're language is English, then you won't have to change anything, but you need to add an error message to match the 'Not Member' reference on line 73 of members.php (You would add the error message in the language file... just like I did on line 17 of en_common.php).

Here is the link to the mod:
members.zip

Hope this helps.....

Thanks jacobswell and cuteseal.....
I really appreciate all the help!

I have installed the Reply Only Mod and it works great.....

I'll give that code sample that Jacobswell submitted a try too...

Oh I finally got it to work .. and it was a stupid mistake... my news was not showing up because I made the news forum an "Admin/Mod" only forum....

I appreciate the comments though...

Thanks cuteseal...

I did try to use both extern.php and your original externnews.php.  I've also been trying to directly put the php code into my main page, but when I do that, nothing is showing up.  I have to edit the code to only display what I want ex (preset the action, show, fid variables).  It's kinda wierd ... I must be doing something wrong and I'm probably going to kick myself later, but since I'm not too affluent with php, I'm not sure what it is.

Once I get to a good spot I'll post my code....

Thanks

Hey,

     I think ya'll have done a great job with this mod; however, I am having trouble with what I want to do.  I am trying to make it so that I have a list of recent topics in the forum like in the regular extern.php and a section of news like on the externnews.php.  I want both of these segments on the main page of my site.  I don't know a lot about php, but I formatted the extern.php and the externnews.php to work with my site.  My intention is to allow admins in the forum to post to a certain admin only forum and that would be the news on the front page.  I am having trouble including extern and externnews becausee it says I can't call the same funcions in functions.php and etc.  I tried just taking out the functions include, but there are other things that get used twice as well.

Does anyone have any suggestions for me?
I would be most appreciative.

I am unable to open a URL fstream with php on my server or at least that's the error that it keeps telling me... is there any other way I can do this other than the include'fullpath' ?

As far as I know there is no way to change the fstream open setting since the server doesn't take kindly to requests....