PostNuke

Flexible Content Management System

News


Tourism Review is PostNuked!

In trying to choose a destination for my honeymoon, I realised I didn't have a trusted source of information. What better than to have a site where people who have visited a certain resort, or travelled with a certain airline can post their experiences, in the hope that they may help others!?

Hope you find it useful and interesting. It's in its very early days, so obviously there is no content, and the theme is still being worked on. But please take a look and report and feedback.

Thanks!

The URL is

http://www.stodge.net/travel

<a href=http://www.stodge.net/travel>Tourism Review

Idea for automated newsletter


There could be more (maybe new forum posts, events for the next days and so on), but this is a problem, as not everybody has installed the same modules.

The user will be able to switch between a daily and a weekly newsletter (you then need two cron jobs).

There will be no html version - at least I won't code it - as I really dislike html emails.

I will create a new table, so there will be no modifications to the core and updates will be without hassles.

The table will include colums for username, email, weekly or daily subscription.

Only registered users will be allowed to subscribe to the newsletter.

Some may think now, that the frequency of the visitors will decrease - I don't think so - at least for the weekly newsletter.

The script which sends the newsletter has to be protected by htacess or at least be renamed, so abuse is not possible.

Another feature will be: The newsletter is sent automatically, but you will be able to write a custom introduction for each newsletter, which will be deleted after the newsletter is sent. If you don't write an introduction for a newsletter, a standard introduction will be used.

Features, which I won't implement in near future are:
Switch between html and text newsletter.
Select topics of interest.

So, before I start coding, what do you think about that idea?

Help is appreciated - code snippets, ideas....

bala
nuke-email at gmx dot de


Everyone.net Mail Integration

Not to belittle the folks over there, but I looked over the source code and was astounded at the level of code for something like Mainfile.php. They have almost 3000 lines of code in just that file alone. I noted it loaded a tad slower. :)


Board? need something to do?


then I started thinking this would be a nice tool for the weblinks, downlaods and autolink features as well what I'm thinking is...

add a javescript to the header.php
in each of the areas add a text box names "showurl" this is where to place the mouseover text. I'm not sure if this is even do-able but I think it would take new fields in the sql tables and a few other things I dont know how to do... :) so if your up to the challenge... LOL

Security Alert

This hole appears to affect all versions of PostNuke from the initial release up to .6.4. If you are running a older version, or would just perfer to patch your own, here is the simple fix:

In article.php somewhere around line 50, you should see this snip of code:

if ($save) {
cookiedecode($user);
mysql_query("update $pntable[users] set umode='$mode', uorder='$order', thold='$thold' where uid='$cookie[0]'");
getusrinfo($user);
$info = base64_encode("$userinfo[uid]:$userinfo[uname]:$userinfo[pass]:$userinfo[storynum]:$userinfo[umode]:$userinfo[uorder]:$userinfo[thold]:$userinfo[noscore]");
setcookie("user","$info",time()+$cookieusrtime);
}

in the very first line you will want to replace:

if ($save) {

with:

if (($save) && (is_user($user))) {

What this does is check to see if the user is actually logged in or is anonymous before the cookie. This fix has been verified on this site, along with the sub sites, before and after. This appears to plug the hole.

I believe this fix will work for PHPNuke users as well, in case a fix is not forthcoming.

Apologies on this one, I wish we had caught it before the release of .6.4, but better late than never.

Download the fix from SourceForge -- In the fix file packages.

Post Nuke Windows Developer Pack RC1 is available for download

This one batch file will start mysql, perl,php and apache without the need
for you the developer to edit any files and immediately you can load up http://localhost
and find a pre assembled version of 0.64 Postnuke running. You
need to be aware of the fact that this is the first release and there are bugs
to be sure. You can find the release at the following site

PostNuke Windows
Developer Pack


Please don't forget to submit any bugs you find so that they can be worked
out of this version.

First Page Previous Page Page 200 / 277 (1991 - 2000 of 2763 Total) Next Page Last Page