This thread is a little all over the map. Here's what I see:
1) The graphic in this thread is not available as a module, but instead is a representation of a wish list item. It would be cool to do it this way. But sadly nobody has done it...
2) The Automatic Article Author is a module for PHPNuke, and is quite fragile, and is more useful as an example of how to create a custom module out of MyHeadlines pieces. The point of AAA is to add both new topics and new stories to the Nuke Database as if the site admin had posted them himself. Basically it leaches stories and re-posts them on the front page natively within PHPNuke. It was more about branding than it was about RSS Aggregation. The customer wanted Fark, and some other similar wacky news to be posed as if he had discovered it himself... SO we built some scrapers, and custom
DB inserts into the Nuke database, and... well... you get AAA.
3) MyHeadlines maintains users subscriptions based on cookie or account login depending on registered or anonymous. The user subscriptions are normally viewed in the Myheadlines module, but often people want the user subscriptions to appear on the front page (center bottom). I used to have a FAQ on my site with instructions on how to do this. I will post them again below, but first if someone is brave, please try the envolution download on your
PN site. It already includes PostNuke-like blocks that may work natively on you
PN sites. I've never tried it, but I have been meaning to port them over to
PN. I've let things slide too long.
PN and others have many new versions I've not tested with, but MyHeadlines is pretty robust and should work with
PN 7.x. This simply hasn't been a focus since donations dropped off, I figure people have moved on to other things, and there was no interest... Without further delay here's how we used to create User Subscription Blocks for the front page:
With version 4.0.5 the
API has much finer control over content segments... including the Stock Ticker table. I will assume that this application is for Post Nuke v7.1.x or v7.2.x sites
Step 1 - Install v4.x.x.
Step 2 - User Subs Block:
a) Enter the Blocks Administration for your PN71x site
b) Select "New Block"
c) Fill out the New Block Form:
Title = Subscriptions
Block = Core/PHP Script
Position = Left (you can choose center/right if you want)
Language = All (or restrict as you see fit)
d) Commit
e) New form appears with a new Text Area - "Content" Enter
the following code in the Content Box:
//-- Code Snippet Start
global $myhPath;
$myhPath= "modules/MyHeadlines/MyHeadlines";
global $myh_is_included;
if(!isset($myh_is_included)){
include_once("$myhPath/MyHeadlines.php");
}
list($trashcan_var_db_init) = pnDBGetConn();
$headlines = new MyHeadlines;
// Show information for logged in user
$uname = 0;
$uid = 0;
$myh_admin = 0;
if (pnSecAuthAction(0, 'MyHeadlines::', '::', ACCESS_EDIT)) {
$myh_admin=1;
}
if (pnUserLoggedIn()) {
$uname = pnUserGetVar("uname");
$uid = pnUserGetVar("uid");
}
$headlines->MYH_INIT(pnModURL('MyHeadlines', 'user', 'view'), pnConfigGetVar('prefix'), $myh_admin,$uid,$uname,0);
echo $headlines->userSubscriptionScreen();
//-- Code Snippet End
e) Commit. (you should see the user block now)
Cheers,
Mike Agar