I am looking at a new project that involves a 3 tier user base and a large file repository.

Basically, it's Admin -> Domain -> User

1. The admin has 6 levels of access and grants access to a domain (or list of domains) when they register (off-site for now).
2. The domain contact then informs all members of the domain they can register at the site.
3. The user registers and is tied for the life of their account to the Domain.
4. The user can only see certain content and most importantly only download certain files.

Has anyone ever seen a system like this, or better yet, know a good place to start to write a system like this? I'm open to using something like PunBB since I've used it elsewhere but I'm not sure if customizing it would be more trouble than it's worth since PunBB and most everything else is based on just users and users groups and I have this extra level hiding in there.

Any thoughts or suggestions on using PunBB as a base for this (or thoughts in general are welcome too!)

Thanks,
Andrew

I am looking for a mod to restrict/allow domains that are allowed during signup. For example, I would want to allow only @example.com and @demo.com email addresses to signup for a forum.

Is there anything like that out there anyone knows about?

Thx,
Andrew

One option is to start over. Go back and get the original footer.php and upload that over top of yours and see if that fixes it. If it does, then try adding the Google code again and see if it works on attempt #2. If the original doesn't fix it, then the file isn't getting uploaded/overwritten correctly for some reason I would guess. If that's the case delete footer.php for a moment and see if you get an error on the board. Then put the original footer.php back.

4

(25 replies, posted in General discussion)

lie2815 wrote:

How do you guys like cmsmadesimple?

I like cmsmadesimple pretty well.  I have it running at the moment at http://www.teg.name as a test as I'm trying to upgrade our church's website (http://www.belviewumc.org) and we need a good way to manage content pages (info on youth groups, sunday school classes, etc). The church site currently uses a custom hack of "Custom Pages" from http://www.punres.org/desc.php?pid=165 but it's not that flexible or user-friendly.

Getting a user-friendly, integrated way to add content is a challenge because everyone has a different idea of user friendly smile Right now I'm going back and forth between using CMS Made Simple for content and PunBB for the forum and user stuff (and maybe trying to integrate the two down the road) or doing up my own version of the CMS Made Simple pages functionality as an add-in for PunBB so there is only one user database and one set of stylesheets to worry about. The add-in is being tested at http://forum.andrewteg.com if you're curious.

So for me content wise it's coming down to http://www.teg.name with punBB added on or http://forum.andrewteg.com which needs admin work but the front end is getting there.

5

(6 replies, posted in PunBB 1.2 show off)

my first impression was "nice, very nice" so I wanted to pass that along. appreciate you sharing your thoughts as they are good things to consider when setting up a site and forums.

thx,
andrew

Installed with content pages at http://www.belviewumc.org and testing some more content-friendly menu applications at http://forum.andrewteg.com

Very nice... looks like they store the RSS data in the DB as a new forum post? That's a smart way to do it ... how does it update? Do you have to do that as an admin or can you set a cron job for it?

You could also try http://wiki.punres.org/Miniportal ... that'll work and give you a way to add a few things like a column with links. Then install a mod like Custom Pages: http://www.punres.org/desc.php?pid=165 ... Or add a Wiki if you like that way for content: http://www.punres.org/desc.php?pid=68 ... just depends on what you need so just search www.punres.org for it!

I did that for our church website and it's working well. http://www.belviewumc.org if you're curious. I'm working on some upgrades and if/when I finish I will try to package up instructions for it, but it starts with the MiniPortal and Custom Content Pages.

[Edit] See my website for what I'm working on but the admin is not yet complete.

9

(9 replies, posted in Feature requests)

There is a category feature in that mod. What exactly are you looking for?

I got Puntal to install ok at http://www.andrewteg.com if anyone wants to see a sorta default install with the modules all installed. I do think Puntal is pretty cool.

I've also been playing with my own Light CMS at http://www.teg.name ... guess it has a style more like quaker's dev site but I know it's not as advanced as his stuff as my goal with this one is to edit as few files in PunBB core as possible. [added] I've done a CMS style mod before to get http://www.belviewumc.org for my church but I hacked up so many files I know that updates or explaining myself to help others will be crazy for that site!

I realize Puntal doesn't modify any but it seems like you'll have to eventually modify something in order to get a consistent looking navigation between Puntal and Pun as Puntal has the sidebar (http://www.andrewteg.com/puntal) and Pun (http://www.andrewteg.com/forum) does not.  Please do correct me if I'm wrong as I often am smile

Great work on Puntal... Even though I haven't figured it out completely yet, I really am impressed by the blocks and all they have to offer! Very slick smile

11

(6 replies, posted in Programming)

http://www.webyog.com is a very nice GUI (graphical user interface) for working with your MySQL databases. It makes making a database and adding fields very easy. Mostly you can just right click and what you need will be an option, but if not there is extensive help and community support.

I would install PHP and MySQL and SQLyog on your local machine and begin to play around.

http://webmonkey.com/webmonkey/programm … index.html has a good tutorial on installing PHP and MySQL both in their PHP/MySQL Tutorial and PHP from the Ground Up  if you're new to PHP too.

do you mean you want to remove these links?

Profile menu
    * Essentials
    * Personal
    * Messaging
    * Personality
    * Display
    * Privacy


If so, a user won't be able to edit other parts of the profile, but you can do that on \profile.php by commenting out instances of generate_profile_menu ... if you want to edit the menu or just take out some of it, then you can edit the function generate_profile_menu in \include\functions.php

HTH,
Andrew

13

(9 replies, posted in Feature requests)

I think you may like punuploadextra at http://www.punres.org/desc.php?pid=188 a little better. Affected Files = 0 so you just upload the files, run the script (backup your DB if ya want as it does affect that but I had no issues on 1.2.12) and you're done. I did it on my church's site for bulletins and so forth at http://www.belviewumc.org if you want to take a look.

I did have to change the $punbb_versions array b/c the last update was after 1.2.11 so if you have 1.2.12 you'll have to edit that  into the array. It then throws all the files into one page if you want to advertise that to your users so they can get all the articles (in your case or whatever else in other's cases) in one spot.

14

(5 replies, posted in Feature requests)

Gamer,

Checkout http://www.punres.org/ too as they have an image in their header all with CSS (view sources to get ideas perhaps) and there are some image mods so just search for image... http://www.punres.org/desc.php?pid=202 should give you some idea too. You can also add your own header and footer with whatever HTML you want in it using pun_include. Hope that helps you searchin...

15

(4 replies, posted in PunBB 1.2 show off)

I'll second that. Nice integration and styling smile

16

(11 replies, posted in PunBB 1.2 show off)

I'd also just have the Guests forum instead of saying "Look here guests" have the content of that post so you don't annoy guests by making them click 3 times to read that they have to sign up. And put a link to register.php in there too. Can't have too many links to get people to register.

You say in the post "so sign up..." so you either have that be a link like I said above, change it to register, or change the lang file so register says "sign up" ... I'd change the language files around a bit because you obviously got a personality so why used the canned wording? That is boring yet if you read a few posts you can see you're a pretty colorful guy!

17

(12 replies, posted in Feature requests)

Thanks for this:) Great help!!!

Thanks, I really like FileZilla ... better than my current one I do believe smile

Does anyone have any opinions on the best freeware FTP? Or other good hosted file editing options?

I have a copy of LeapFTP I bought and like, but want to let some others edit the language files and what not on a few sites so they need a program that is preferably freeware smile

Thanks,
Andrew

2.0.7 is ok with 1.2.11 ... just open the install file you run and look for 1.2.10 and change that to 1.2.11 and it'll install just fine smile

So the automated registrations would still happen, just not as much.

True, I guess I just figured the flood of new registrations would all happen at once so they'd get stopped after one if that was your concern. I would guess 'Image Verification' would work if you were concerned about it.

1. I'm not sure so I'll let an author tell you!
2. Does http://www.punres.org/desc.php?pid=222 do the trick?
3. That's what Version 1.2.11 was for. Click 1.2.11 in the announcement for more info.

HTH,
Andrew

I'm using the 1.2.10 file from Calendar he's talking about for 1.2.11 and it works fine. 1.2.11 was a very small security update so 99.9% of the files from 1.2.10 are the same.

24

(15 replies, posted in PunBB 1.2 discussion)

zaher wrote:

As i understand, if i release a Style for punbb, i can not prevent some one to use it in his style.
in another way, if someone make a site with PunBB and have a new style, i can take this style to my site (with thanks surely).
Is that correct?

The problem is you've said two different situations.

In the first, you say "release" a Style. If you release it then it's been released under the GPL or whatever else and is therefore out there for use.

In the second, you say "take" which implies the author of the site has not released it, so therefore you cannot just take it.

The nice way to go about it is if it is released, go ahead and use it how it's been released. If it's not released then ask the author if you really want to use it!

25

(28 replies, posted in Programming)

Sounds like an error in order_fns.php where you setup the products and shipping arrays... go back to the default and try that and see if it works with the defaults. This is the default from the beginning of the file to the line "No need to edit below this line" if you need it.

<?php
// array elements: product code, product name, unit price
// product code should contain no spaces, only letters, numbers
// and underscores (first character should not be number)
$products = array (
  array ("wd_001", "Widget 001", 12.50),
  array ("wd_dx", "Widget DX", 18),
  array ("sp_wd_lx", "Super Widget LX", 24.99)
);

// optional: sales tax and shipping options, i.e., if you do not include the variables 
// the relevant portions of the form will not be generated and code will still work fine
$state = "California";
$cur_sales_tax = .075;    // state sales tax 

// shipping options: radio button text, value
// (quantity ordered not taken into account in this form)
$ship_options = array (
  array ("Pick up locally", 0),
  array ("UPS Ground", 5),
  array ("Fed Ex Overnight", 20)
);

// No need to edit below this line 
?>