Advertisement:

Author Topic: SMF Articles  (Read 307494 times)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: SMF Articles (1.1 Released with SMF 2.0 support)
« Reply #420 on: November 09, 2009, 06:20:37 PM »
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

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,466
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
« Reply #421 on: November 09, 2009, 08:05:17 PM »
Updated with support for SMF 2.0 RC2!
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

Offline gbsothere

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,780
  • I'm a Pappy!
Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
« Reply #422 on: November 09, 2009, 08:15:28 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.

Offline Mick.

  • Customizer
  • SMF Hero
  • *
  • Posts: 5,440
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
« Reply #423 on: November 09, 2009, 08:50:12 PM »
Excellent.   Thank you.

Offline abelcarreto

  • Semi-Newbie
  • *
  • Posts: 11
Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
« Reply #424 on: November 10, 2009, 09:35:27 AM »
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.
Code: [Select]
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.  :)

Offline wladymeer

  • Jr. Member
  • **
  • Posts: 142
  • Gender: Male
Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
« Reply #425 on: November 12, 2009, 03:18:33 PM »
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:

Quote
I 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?

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,466
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
« Reply #426 on: November 12, 2009, 03:19:45 PM »
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

Offline _sebas_

  • Semi-Newbie
  • *
  • Posts: 94
Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
« Reply #427 on: November 14, 2009, 06:05:14 PM »

hi !

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

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,466
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
« Reply #428 on: November 14, 2009, 06:26:43 PM »
Please explain a little more
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

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
« Reply #429 on: November 14, 2009, 06:30:09 PM »
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

Offline Liam.

  • SMF Hero
  • ******
  • Posts: 2,239
  • Gender: Male
Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
« Reply #430 on: November 15, 2009, 08:15:14 AM »
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 ^_^

Offline robinrobin

  • Jr. Member
  • **
  • Posts: 297
Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
« Reply #431 on: November 17, 2009, 10:40:29 AM »
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.
« Last Edit: November 17, 2009, 10:44:27 AM by robinrobin »

Online Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 60,198
  • Gender: Male
    • Kindred-999 on GitHub
Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
« Reply #432 on: November 17, 2009, 05:53:05 PM »
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."

Offline robinrobin

  • Jr. Member
  • **
  • Posts: 297
Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
« Reply #433 on: November 17, 2009, 06:01:27 PM »
Well it's called "Allow guests browse the forum", so i presumed it meant the forum alone.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
« Reply #434 on: November 17, 2009, 06:02:49 PM »
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

Offline RawDepth

  • Semi-Newbie
  • *
  • Posts: 32
Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
« Reply #435 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.

Offline MATTEK

  • Sr. Member
  • ****
  • Posts: 977
  • Gender: Male
  • Tyrannical
    • The Unsung Heroes
Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
« Reply #436 on: November 22, 2009, 08:57:32 PM »
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!!

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,466
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
« Reply #437 on: November 22, 2009, 09:00:10 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

Offline RawDepth

  • Semi-Newbie
  • *
  • Posts: 32
Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
« Reply #438 on: November 22, 2009, 10:37:01 PM »
You 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.

Offline MATTEK

  • Sr. Member
  • ****
  • Posts: 977
  • Gender: Male
  • Tyrannical
    • The Unsung Heroes
Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
« Reply #439 on: November 24, 2009, 06:11:36 PM »
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!!