News:

SMF 2.0.19 has been released! Please update. Read more.

Main Menu

SMF Articles

Started by SMFHacks.com Team, September 04, 2008, 04:03:00 PM

Previous topic - Next topic

Arantor

I know; actually I'm quite impressed how quickly it's been, since public release announcement, I count nearly 100 mods labelled as RC2 compatible.
No good deed goes unpunished / All helpful urges should be circumvented

I have something to say: it's better to burn out than to fade away. There can be only one.

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

gbsothere

Quote from: vbgamer45 on November 09, 2009, 08:05:17 PM
Updated with support for SMF 2.0 RC2!


Good news, since this is a mod I had decided to wait for before upgrading.

My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

Mick.


abelcarreto

hello guys! Do you know (if this has been solved before) or if it's easy to make a tinyportal block with the last articles from all the categories? I checked the other day the code that they use on their recent posts' block. It's like this.
global $scripturl;

echo '
                        <table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor">
                               <tr><td colspan="3" class="titlebg">Recent topics</td></tr> ';
       $what=ssi_recentTopics('8', NULL, 'array');


        foreach ($what as $topic)
        {
                echo '
                                <tr>
                                        <td class="windowbg" valign="middle">
                                                ', $topic['link'];

                // Is this topic new? (assuming they are logged in!)
                if (!$topic['new'] && $context['user']['is_logged'])
                        echo '
                                                <a href="', $scripturl, '?topic=', $topic['topic'], '.from', $topic['new_from'], '#new"><img src="', $settings['images_url'], '/', $context['user']['language'], '/new.gif" alt="', $txt[302], '" border="0" /></a>';

                echo '
                                        </td>
                                        <td class="windowbg2" valign="middle" width="20%">
                                                ', $topic['poster']['link'], '
                                        </td>
                                        <td class="windowbg2" valign="middle" width="35%">';
                if ($settings['images_url'] != $settings['theme_url'] . '/images' || file_exists($settings['theme_dir'] . '/images/icons/last_post.gif'))
                        echo '
                                        <a href="', $topic['href'], '"><img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt[111], '" title="', $txt[111], '" border="0" style="float: right;" /></a>';
                echo '
                                                <span class="smalltext">
                                                        ', $topic['time'], '
                                                </span>
                                        </td>
                                </tr>';
        }

        echo '
                        </table>';


Would anybody help me to change the code to make articles appear. I suppose there's something to do with SSI.
Thanks in advance for your time.  :)

wladymeer

Greetings

I'm using PortaMX portal and I would like to use this mod on its frontpage. I've been talking to creator of that portal and here is what she said:

QuoteI don't know that mod .. but if it have a defined DB interface (or own SSI functions) you can get the content with php blocks.

So, what part of code should I copy to php block then?

vbgamer45

Don't have any premade blocks to show an aritlce on a front page of a portal system yet.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

_sebas_


hi !

is possible, imports o make a promote of theme TO ARTICLE ?

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Arantor

I suspect the request is to be able to convert a regular topic into an article, with a button from the topic itself.
No good deed goes unpunished / All helpful urges should be circumvented

I have something to say: it's better to burn out than to fade away. There can be only one.

Liam.

SMFArticles and EzPortal integrate, don't they? If you do it right, it should work then. It's all plans, he wants you to use EzPortal ^_^

robinrobin

#431
I want to ask about something. When you've disallowed guests to browse the forum, they aren't allowed to view the articles section either even if the permission to view articles is set to allowed. Does anyone know how to override this independently from the forum-browsing-permission?

Edit: Wow, i just noticed that no pages are allowed, not even custom ones! Darn.. :( The SMF team should change this in the core.

Kindred

Why?    Access to the site is access to the site.
Слова
Украина

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

robinrobin

Well it's called "Allow guests browse the forum", so i presumed it meant the forum alone.

Arantor

That's just the standard wording of the forum itself, but generally covers everything relating to the forum, including mods.
No good deed goes unpunished / All helpful urges should be circumvented

I have something to say: it's better to burn out than to fade away. There can be only one.

RawDepth

I have this mod installed on smf 2.0 RC2 with the curves theme as default. Permissions have been set and members can view articles just fine.

Problem:
My attachments (images) do not display with the articles. When creating or editing an article, the attachment upload box seems to work for browsing and selecting files. The files even upload. I can see them in the articles folder on my server, (using FTP.) But no attachments show up in the articles.

MATTEK

Can someone link me to a forum that has this as an example. I'd like to see how it's used.
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

vbgamer45

Quote from: RawDepth on November 22, 2009, 08:47:36 PM
I have this mod installed on smf 2.0 RC2 with the curves theme as default. Permissions have been set and members can view articles just fine.

Problem:
My attachments (images) do not display with the articles. When creating or editing an article, the attachment upload box seems to work for browsing and selecting files. The files even upload. I can see them in the articles folder on my server, (using FTP.) But no attachments show up in the articles.
You have to drag and drop the images into the article in order for them to appear.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

RawDepth

Quote from: vbgamer45 on November 22, 2009, 09:00:10 PMYou have to drag and drop the images into the article in order for them to appear.

I tried this...

The function is not allowed from the upload (browse) window.

After the upload, when I drag and drop from the article edit window, it places the following text in my article.

javascript:void(0);

But, still no picture.

MATTEK

I am unablt to install this mod. It says it's imcompatible with my version of SMF. I've emulated all version with no success. Any ideas?
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

Advertisement: