af3,

  Do you have gd installed for php?

2

(6 replies, posted in PunBB 1.2 troubleshooting)

SpAZ,

  Nice....

I would agree, that way you can be sure what tables belong to what application..  It might save you some trouble in the future...

4

(6 replies, posted in PunBB 1.2 troubleshooting)

Hi,

  If you have ssh access to the box or some other means of modifying the database directly, you can change the "group_id" value in the "forumsusers" table for your "id" to "3".

Connorhd,

  I would agree, it could be done that way as well..  I did it this way because I wasn't sure if I would like it or not and I could just modify 2 important files slightly and be able to revert quickly.

  Can you post the method you propose with the define?

Ataxy,

I started out by completing the first portion of the this mod found on the wiki page  http://nupusi.net/punbb:tutorials:miniportal which is to create the new index.php.

Then I moved onto the second portion which was to create the sidebar.

Here is what I did in the sidebar section:

1.  Instead of modifying main.tpl, I created a new file called main_index.tpl and put the content from the wiki in that file.

2.  I made the changes to header.php as described in the wiki.

3.  I copied header.php to header_main.php, then changed line 43
     FROM: $tpl_main = file_get_contents(PUN_ROOT.'include/template/main.tpl');
     TO: $tpl_main = file_get_contents(PUN_ROOT.'include/template/main_index.tpl');

4.  In index.php, I changed line 9
     FROM: require PUN_ROOT.'header.php';
     TO: require PUN_ROOT.'header_index.php';

I believe that is everything..  Give it a shot and let me know if you run into problems.  If you do I will guide you through it...

All,

  I figured I would let you guys know that I modded this a little bit and actually have it show the sidebar on the "Portal" page and left the sidebar off in the actual forums.  If anyone is interested, I can post the changes, it is actually very easy..

hcgtv,

  Are you kidding me?  What do you think I run..  ;-)  I have 4 machines running Woody and Sid, depending on need..  It is also what forumpath.com runs on...   You can't beat Apt, or the ability to upgrade your dist without restarting!

Dr. Jeckyl,

  Thanks!  I found it necessary for my needs and figured someone else could use it to..  It is my first contribution to the "Open Source" movement in any way, makes me feel pretty good.. big_smile

Cailean,

  The change has been made.  Now when you are on the edit page, it gives you the option of changing the filename it gets saved as.  I haven't updated the screenshots yet, and probably won't until monday.

  The zip file is update and can be downloaded HERE

Cailean,

  I'm sure that could be done.  I will try to get it updated today....  I'll post when the change is made!

Zaher,

  You only need to give write permisions to the "style" directory, nothing else..  big_smile

Thanks everyone!

When you create a new stylesheet, it copies Cobalt.css by default since it is the default style for PunBB.  It doesn't take care of the exclamation point icon/image though.

I was lookingn for something I could let my users, or soon to be users modify the stylesheets without having ftp or shell access.

Thanks, I hope you like it..

Frank,

  I have setup some screenshots and added them to the zip file.  They are also viewable following the links below...

Screen Shot 1
Screen Shot 2

Frank,

  Nothing complex, it just loads the css file in a textarea for editing or allows you to create new stylesheets or delete existing ones.

  Let me see if I can get a screenshot for you...

##
##
##      Mod title:  Style Editing System (SES)
##
##      Mod version:  1.0
##      Works on PunBB:  1.1.5 (Others may work, but are not confirmed)
##      Release date:  2004-08-06
##      Author:  Robert 'rjg' Garcia (rjg@forumpath.com)
##
##      Description:  Web Based Stylesheet Editing System for PunBB
##
##      Affected files:  include/common_admin.php
##
##      Affects DB:  No
##
##      Notes:  Written with one change to the original PunBB-files.
##                 It is important that you set the style directory readable
##                 and writeable by the user or group your web server runs as.
##
##      DISCLAIMER:  Please note that "mods" are not officially supported by
##                          PunBB. Installation of this modification is done at your
##                          own risk. Backup your forum database and any and all
##                          applicable files before proceeding.
##

This mod adds the ability to modify your styles and create new ones through the admin interface.

I am by no means a php whiz, so if you have some suggestions, please let me know!

This mod is available from http://www.forumpath.com/mod/ses.zip

18

(7 replies, posted in PunBB 1.2 show off)

That will be great!

I would rather distribute the load among multiple servers rather than beating my database to death...

19

(7 replies, posted in PunBB 1.2 show off)

Chacmool wrote:

There's a mod for it already smile

Yeah, but I hear it isn't that stable and everything gets pumped into the database.  I'm not sure how good that would work out once I have several thousand forums running..  big_smile

20

(7 replies, posted in PunBB 1.2 show off)

hcgtv,

  Very satisfied I am!  Thanks for spreading the word, I think if we all get the word out, PunBB will become very popular!

  The only thing that I haven't found a solution for is file attachment, but I'm sure that will be here soon.. :-)

21

(7 replies, posted in PunBB 1.2 show off)

Hello,

  I have a new pet project and it is a free forum hosting service called Forum Path.  We have dedicated servers at "The Planet" in Dallas, TX and are now ready to accept community members.

  I am very much impressed with the ease of use and speed of PunBB so that is what our community is based on.

  Come take a look and if you need a place for your forum, let us know as we are happy to help!