Simple Portal

Support => English Support => Topic started by: MultiformeIngegno on August 31, 2009, 07:57:18 AM

Title: Blog and Articles
Post by: MultiformeIngegno on August 31, 2009, 07:57:18 AM
Hello!! :)
I'm trying to create some users-blogs with SP... I've thought to create a new board called "BLOGS" and some subdir as the number of blogs I need..

Then I'd like to show them (as articles) also in another "action"... but I want the same "look" of these (activable - I think - only for the portal, not for custom actions):
(https://simpleportal.net/proxy.php?request=http%3A%2F%2Fimg16.imageshack.us%2Fimg16%2F3156%2Farticles1.png&hash=ad341329b755c3495d660d8bd0ae56bbe7a5a4e7)

...not these (selectable as a block):
(https://simpleportal.net/proxy.php?request=http%3A%2F%2Fimg14.imageshack.us%2Fimg14%2F8021%2Farticles2.png&hash=9e963d9b833a3fe708ee2c7bc26af5b5da3f8b14)

Can you help me?
Thanks in advance!!! ;)
Title: Re: Blog and Articles
Post by: Nathaniel on August 31, 2009, 05:32:54 PM
Is this the same issue as the topic below?
http://simpleportal.net/index.php?topic=3183

You seem to be using the Articles feature, not blogs here. I would recommend that you try out the blog mod first, to see if that fits your need, rather than using a whole bunch of subboards.
Title: Re: Blog and Articles
Post by: MultiformeIngegno on August 31, 2009, 06:14:48 PM
Quote from: Nathaniel on August 31, 2009, 05:32:54 PM
Is this the same issue as the topic below?
http://simpleportal.net/index.php?topic=3183

You seem to be using the Articles feature, not blogs here. I would recommend that you try out the blog mod first, to see if that fits your need, rather than using a whole bunch of subboards.
No, it's not the same thing... I've renounced to use the "Blog" block, I don't want to install another mod...

So I'm trying to use the built-in SP features... I thought to create a new Board called "Blog" and so many subdirs as the blogs I need...
Then I want to deny the access to all except the rispective blogger and show the topics as blog-posts with the "Articles" system...

The problem is that "Articles" works (if I'm not wrong) only for the portal home page (I can't - for example - integrate 'em in a custom ?action=blogs) and only for one board I have to select... I can't choose which boards for which articles "block"... don't know if I explained properly (and excuse me for my english...  :-[).
Title: Re: Blog and Articles
Post by: MultiformeIngegno on September 01, 2009, 06:35:31 AM
In a few words, I need to choose which articles show, not from ONE board. Is it possible?

And then I'd like also to show the Articles not only in the portal "home page", also in a custom action (as for "normal" blocks). But I can't see any option to do this... :(

Thanks in advance.. :)
Title: Re: Blog and Articles
Post by: Nathaniel on September 02, 2009, 12:53:37 AM
Okay, follow these steps:
1) Disable/Delete the Board News Block from your admin area.
2) Enable the Articles feature from the SimplePortal configuration area in your admin panel.
3) Add some topics as articles.
Title: Re: Blog and Articles
Post by: MultiformeIngegno on September 02, 2009, 06:41:40 AM
Quote from: Nathaniel on September 02, 2009, 12:53:37 AM
3) Add some topics as articles.
The problem is that I can't add topics only from one board, but I need to have some topics from one board and some from others...
Title: Re: Blog and Articles
Post by: Nathaniel on September 02, 2009, 06:43:49 AM
If you have followed those steps, then you can add any topics you like as articles.

If you want an entire board to be added as articles (as well as from other boards), then add them manually, or do it faster via the Add Articles area in the admin panel.
Title: Re: Blog and Articles
Post by: MultiformeIngegno on September 02, 2009, 12:08:06 PM
Quote from: Nathaniel on September 02, 2009, 06:43:49 AM
If you have followed those steps, then you can add any topics you like as articles.

If you want an entire board to be added as articles (as well as from other boards), then add them manually, or do it faster via the Add Articles area in the admin panel.
You're right!! Excuse me!! I'm blind!! :P

And, I've installed SP 2.3, is it possibile to have articles in a specific (new) page?
Title: Re: Blog and Articles
Post by: Nathaniel on September 03, 2009, 02:24:16 AM
Sure is. Put the code below into a Custom PHP page:
global $sourcedir, $modSettings;

require_once($sourcedir . '/PortalArticles.php');
$modSettings['articleactive'] = true;
sportal_articles();
template_articles();


You may want to set the body and title to not show.
Title: Re: Blog and Articles
Post by: MultiformeIngegno on September 03, 2009, 05:40:52 AM
Thanks!!!!!
I've clicked on the "Topic Solved" button! :)

Really, thanks again!! :D
EhPortal 1.39.8 © 2024, WebDev