Not sure what you are meaning?
1,076 2007-12-29 00:52
Re: what is the difference in a portal and cms? (9 replies, posted in General discussion)
1,077 2007-12-29 00:05
Re: Support for multiple group membership (11 replies, posted in Feature requests)
If I understand you correctly, just make a group for those users and give that group access to the required sections.
1,078 2007-12-28 20:40
Re: New topics instead of new posts (10 replies, posted in PunBB 1.2 modifications, plugins and integrations)
If you look in index.php. search for the parts with the icon.inew, (I believe that's the default new icon, but may be incorrect), and the relevant code which sets the new/old icon status.
Edit:
There are 2 things i can't work out (is that english??)
That is perfectly valid English, btw.
1,079 2007-12-28 20:38
Re: what is the difference in a portal and cms? (9 replies, posted in General discussion)
I've always thought of a portal as one page, dynamically generated or static, that is literally a link to all the important aspects, (or parts which the site owner considers important), of the site, as well as providing at a glance info on those sections. As the name implies, a portal to the site. The problem is that these days the term gets used for just about everything.
A C.M.S is exactly what the term infers. A content management system.
1,080 2007-12-27 14:46
Re: extern.php with rss 2.0 (8 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Have posted both the Atom and RSS generators up, so you have the choice of either/both:
http://forums.bauchan.org/unix/viewdownloads.php?dcid=1
There is a langfile to go in lang/English/, a feed_functions.php file to go in include/user/, and then the two atom.xml and rss.xml files to go in the root forum dir. The scripts are call via one of four parameters:
[path/to/forum/]atom.xml?cid=[category id]
[path/to/forum/]atom.xml?fid=[forum id]
[path/to/forum/]atom.xml?tid=[topic id]
The fourth one is for if you are running the sub-forum mod. It will generate a feed for all of the child forums of a parent forum:
[path/to/forum/]atom.xml?pfid=[parent forum id]
These are feeds on the test forum:
http://forums.bauchan.org/punbb/atom.xml?fid=1
http://forums.bauchan.org/punbb/rss.xml?fid=1
Edit: Obviously, change atom.xml to rss.xml above if you're using the RSS feeds.
1,081 2007-12-27 13:46
Re: Checking if fopen is enabled (7 replies, posted in Programming)
Cheers. Thanks again.
1,082 2007-12-27 11:44
Re: extern.php with rss 2.0 (8 replies, posted in PunBB 1.2 modifications, plugins and integrations)
If there isn't one knocking about, I'll try and backport the one I use for you. It has latest message/topic selectable display.
1,083 2007-12-27 10:53
Re: Checking if fopen is enabled (7 replies, posted in Programming)
if (function_exists('fopen'))
// bla blaHosts completely disabling fopen() is quite rare though. They generally just disable allow_url_fopen.
If fopen is enabled, but allow_url_fopen is disabled, will that enable the fopen function to access local files but not (remote/external to filesystem) files? If so, I've cocked up on my above question. It's the ability for fopen to connect to an external uri which I was wishing to check for.
My apologies if I have mis-phrased my question.
Many thanks again,
Matt
1,084 2007-12-24 23:16
Re: Checking if fopen is enabled (7 replies, posted in Programming)
The fopen function. It's one that I use in the download mod to check if a ftp server is accepting connections. Would I need to make it manually enabled/disabled within the script, or could I check via the script itself if fopen will work?
1,085 2007-12-24 23:12
Re: Toying with another useless mod idea (73 replies, posted in General discussion)
ok, but how do you overcome the issue with the download paths. Will it be placed in the admin area of does the suer have to add it themselves?
The links in the admin index have been added. All you need to do, (or do you want me to do it before I e-mail it over)?, is exchange the navlink 'uploads' for 'downloads'.
You lost me here:
btw, Mega Pun won't run happily on it.
on what?
Ahem:
With regards to PgSQL, btw, Mega Pun won't run happily on it.
1,086 2007-12-24 22:52
Topic: Checking if fopen is enabled (7 replies, posted in Programming)
Is there any check that can be made by a script to see if fopen is enabled on the server?
Cheers,
Matt
1,087 2007-12-24 22:50
Re: Toying with another useless mod idea (73 replies, posted in General discussion)
No probs. I've also altered the install.php so that passwords are asterisk'ed when entered, and http:// is suffixed to the base url. With regards to PgSQL, btw, Mega Pun won't run happily on it. I've managed t get the installation problems sorted so that I can test this download mod, but some of the mods are, to put it subtly, a bit shonky. Some of the code won't run with PgSQL in some of the mods, as it is.
The download mod is installed and inplace now though, with the installer for both PgSQL and MySQL included in install.php.
1,088 2007-12-24 21:29
Re: Toying with another useless mod idea (73 replies, posted in General discussion)
Christ, you do know how to cause me extra work. Finally, (apart from those two column names I mentioned earlier), got the thing to install on PgSQL. The download mod works fine on MegaPun. Uploaded two files, and both show straight away in the downloads section, no problem. It would appear the problem you had is local to your machine, because I can't replicate it here. Btw, do you want me to get that download mod plugged into the code for you, including the installer and admin_options?
1,089 2007-12-24 12:07
Re: Toying with another useless mod idea (73 replies, posted in General discussion)
Received it through fine, cheers. The installer needs some work for PgSQL. I've sorted most of the installer syntax, but just stuck on a couple of items. Two table entries. User and column. PgSQL refuses to let those be entered as column names, and they're used by a couple of the mods. Just trying to figure some way around it.
That's a bugger with the hosts, btw. Bet you must be well peeved by now.
1,090 2007-12-24 02:07
Re: Toying with another useless mod idea (73 replies, posted in General discussion)
I think it does actually. I know tinytim from soonotes.com designed the install exactly in the same way as punBB.
Nice. Any chance you could e-mail it over? I assume it is the up and coming 4.0 you're trying to plug it into? Oh, btw, your site's offline.
1,091 2007-12-24 01:59
Re: Toying with another useless mod idea (73 replies, posted in General discussion)
Does Mega Pun install on PgSQL db's? If so, I could give it a try and test run here.
1,092 2007-12-24 01:31
Re: Toying with another useless mod idea (73 replies, posted in General discussion)
That's only on the categories, and you can manually set it, so that's not causing the problem. Have you set the download directory name correctly? Have you altered the download names from the default? Do the directories you have created show in that 'select directory' drop down list in the admin_downloads section?
It installed and ran perfectly on the standard setup here first time, so I'm not quite sure where your problem may lay, offhand.
1,093 2007-12-24 01:22
Re: Toying with another useless mod idea (73 replies, posted in General discussion)
That shouldn't matter on a windows XP box. It should work.
Windoze and work are never two words I would picture in the same paragraph. I'm just wondering if having to lose that auto increment has affected things. I'll have a peek at the code and check. I never expected a db to have such a limitation.
1,094 2007-12-24 01:06
Re: Toying with another useless mod idea (73 replies, posted in General discussion)
Just thought. There's one other thing it may be. File permissions. It chmods directories/files permissions. I do tend to be a bit draconian on occasion, so you may need to alter these two, near the top of admin_donloads.php, to be less restrictive:
$dirperms = 0700;
$fileperms = 0400;
0777 on the dirperms will give all system accounts write access to the directories, 0444 will give all system accounts read access to the files.
1,095 2007-12-24 00:52
Re: Toying with another useless mod idea (73 replies, posted in General discussion)
Enter a name for the download. Until you change it from the default, it won't show up in the download section. It's a failsafe so that you can add multiple new downloads to the category, before you start editing them and uploading/linking to files. Until the name changes from the one created by default, they show in the category count, but aren't visible.
1,096 2007-12-23 23:51
Re: Toying with another useless mod idea (73 replies, posted in General discussion)
Also, it's just been mentioned that there can only be one auto increment per table in MySQL. ( Thanks for that info dmspilot00 ). So....., change this line:
disp_position INT AUTO_INCREMENT,
to:
disp_position INT NOT NULL DEFAULT 0,
1,097 2007-12-23 23:47
Re: MySQL help needed (2 replies, posted in Programming)
Cheers. That's a devil with the two auto increment bits ain't it. Thanks ever so much.
1,098 2007-12-23 23:43
Re: Toying with another useless mod idea (73 replies, posted in General discussion)
Give that new db update script I've just e-mailed you a try.
1,099 2007-12-23 23:02
Re: Toying with another useless mod idea (73 replies, posted in General discussion)
Just had a look at install.php, to try and get an idea of the syntax. Change those create table statements to this:
$db->query("CREATE TABLE ".$db_prefix."download_cats (
cid INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
cat_name VARCHAR(80) NOT NULL DEFAULT 'New Category',
cat_desc TEXT,
total_files INT NOT NULL DEFAULT 0,
disp_position INT AUTO_INCREMENT,
PRIMARY KEY (cid)
) TYPE=MyISAM;");
$db->query("CREATE TABLE ".$db_prefix."downloads (
download_id INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
download_name VARCHAR(80) NOT NULL DEFAULT 'New Download',
download_desc TEXT,
cat_id INT NOT NULL DEFAULT 0,
download_uri VARCHAR(150),
file_location VARCHAR(150),
download_count INT NOT NULL DEFAULT 0,
file_size VARCHAR(25),
file_version VARCHAR(25),
file_licence VARCHAR(100),
file_os_types VARCHAR(100),
date_added VARCHAR(25),
link_status VARCHAR(8),
PRIMARY KEY (download_id)
) TYPE=MyISAM;");
I haven't tested this, obviously, but I *think* that should work.
1,100 2007-12-23 22:11
Re: Toying with another useless mod idea (73 replies, posted in General discussion)
Bugger. Forgot to reset the PUN_ROOT on that update script. Apologies. Until the syntax is converted to MySQL rather than PgSQL syntax, the table creation won't work. I'll just repost the link to that dbupdate file if anyone is feeling in a kindhearted converting mood.