Advertisement:

Author Topic: SMF Articles  (Read 307589 times)

Offline KidCactus

  • Semi-Newbie
  • *
  • Posts: 74
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #580 on: February 23, 2010, 04:20:52 PM »
I think you would need to modify Sources/Articles.php and change the comment query to order by ID_COMMENT DESC if it is missing.
It actually had to be changed from DESC to ASC...

Offline qubbah

  • Full Member
  • ***
  • Posts: 556
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #581 on: February 24, 2010, 12:11:35 PM »
hope there is a code to show latest article in block for portal. tq

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #582 on: February 24, 2010, 12:34:43 PM »
hope there is a code to show latest article in block for portal. tq

Which portal? SimplePortal, TinyPortal, Ezportal, PortaMX, Dream Portal?
No good deed goes unpunished
All helpful urges should be circumvented

Offline ~DS~

  • SMF Hero
  • ******
  • Posts: 2,598
  • Gender: Male
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #583 on: February 25, 2010, 03:10:25 PM »
Does this article mod act like a review? Because I know there is no review mod. (Yes, it's for games reviews)
“There is no god, and that’s the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,469
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #584 on: February 25, 2010, 03:28:16 PM »
I think it it has ratings built in so I think you can use it that way.
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 KidCactus

  • Semi-Newbie
  • *
  • Posts: 74
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #585 on: March 04, 2010, 06:55:37 AM »
I think it it has ratings built in so I think you can use it that way.
I think the rating system is for users rating the actual article.

Would it be a big job to add an edit function to the comments section? As it is now, comments can only be deleted.
« Last Edit: March 04, 2010, 09:32:09 AM by KidCactus »

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,469
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #586 on: March 04, 2010, 11:48:16 AM »
Would require some work about a half hour to hour.
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 amko_sa

  • Semi-Newbie
  • *
  • Posts: 58
  • Gender: Male
  • Press any key to continue or any other key to quit
    • Newsapp IT support Portal
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #587 on: March 07, 2010, 08:10:10 AM »
Hallo

I have SMF simple portal.Every SMF portal sistem (Tiny, Simple or EZ) have "add custom html code or php code" feature.Can you write html code with next feature in the block:

-Submit article
-View article

or just preview one article in the list.
This is great mod but not enough visible for my visitors.

Sorry about my english and thanks

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 60,203
  • Gender: Male
    • Kindred-999 on GitHub
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #588 on: March 07, 2010, 09:27:13 AM »
well, submit article is not available in a module, but EZPortal (also written by vbgamer) has a recent articles block
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 amko_sa

  • Semi-Newbie
  • *
  • Posts: 58
  • Gender: Male
  • Press any key to continue or any other key to quit
    • Newsapp IT support Portal
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #589 on: March 07, 2010, 12:33:52 PM »
well, submit article is not available in a module, but EZPortal (also written by vbgamer) has a recent articles block

Sorry my mistake.I think about add article button and little preview.Simple portal also have a recent or random article block but I cant connect that options with SMF Articles.

I found this solution on one site:

global $smcFunc, $scripturl;
isAllowedTo('view_articles');
$dbresult = $smcFunc['db_query']('', "
SELECT a.ID_ARTICLE, a.title
FROM {db_prefix}articles AS a
WHERE a.approved = 1
ORDER BY RAND()
LIMIT 5
");

echo'
<div class="smalltext" style="text-align: center; color: #f9e9ac;">
   <strong>5 Random Articles</strong>
</div>
   <hr />';

echo'
<table>';
while ($row = $smcFunc['db_fetch_assoc']($dbresult))
{
echo '
<tr>
<td align="center">', sp_embed_image('topic'), ' </td>
<td><span class="smalltext"><a href="' . $scripturl . '?action=articles;sa=view;article=' . $row['ID_ARTICLE'] . '">' . $row['title'] . '</a></span></td>
</tr>';
}
$smcFunc['db_free_result']($dbresult);

echo'
</table><hr />
', sp_embed_image('dot'), ' <span class="smalltext"><font color="#000000"><b><a href="' . $scripturl . '?action=articles;sa=addarticle;cat=1">Add Articles</a></b></span>';


ant this is currently the best solution for me.If someone have better proposal please write it here.

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,469
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
« Reply #590 on: March 08, 2010, 07:52:59 PM »
Updated mod for SMF 2.0 RC3!

1.3
+Added SMF 2.0 RC3 Support
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 Sic0

  • Semi-Newbie
  • *
  • Posts: 33
Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
« Reply #591 on: March 10, 2010, 03:31:14 PM »
Hi there,

Once again a great mod VBGamer :D

I have one small problem...... when I upload an image it only shows as a thumbnail within my article as opposed to full size. There is no thumbnail showing beside the Article name.

Any ideas?

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,469
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
« Reply #592 on: March 12, 2010, 01:33:51 AM »
I belive that's what it does by default adds the thumbnail with a link to the larger image.
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 Sic0

  • Semi-Newbie
  • *
  • Posts: 33
Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
« Reply #593 on: March 12, 2010, 04:24:50 AM »
Thanks for the response.

I don't get a link to the larger image showing. The larger image has been uploaded into the folder on my server.

It is not a major deal as my users will have no problem linking to an external site for images and adding them to their articles.

I may remove the upload facility altogether.

Is there still no way that users can be informed that a new article has been submitted yet?

I am using SMF 1.1.11

Donated  :-*

Thanks for your time and your mods 8)
« Last Edit: March 12, 2010, 04:35:03 AM by Sic0 »

Offline BLueSS

  • Semi-Newbie
  • *
  • Posts: 39
Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
« Reply #594 on: March 13, 2010, 06:26:18 AM »
The other thing I see "missing" from the SMF articles mod is that the Sitemap mod does not appear to pick up the articles - but there are plenty of web workarounds for sitemap issues.
Is there any workaround to get SMF Articles into the sitemap mod?

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,469
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
« Reply #595 on: March 13, 2010, 11:36:09 AM »
The other thing I see "missing" from the SMF articles mod is that the Sitemap mod does not appear to pick up the articles - but there are plenty of web workarounds for sitemap issues.
Is there any workaround to get SMF Articles into the sitemap mod?
Not at this time.
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

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,469
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
« Reply #596 on: March 14, 2010, 12:32:03 AM »
Quote
Is there still no way that users can be informed that a new article has been submitted yet?
Not yet like an unread system? Or like a pm on new article?
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 Granular

  • Semi-Newbie
  • *
  • Posts: 69
Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
« Reply #597 on: March 22, 2010, 08:40:41 AM »
Hi,

Just trying this mod out on 2.0RC3 and I have created one category, made 3 articles and lal is great.

I created a sub-category (a child if you like) but I wish to move it (make it not a child) or delete it but there is not option for this.

Any suggestions appreciated, obviously I don't want to delete the parent.

Cheers

G

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,469
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
« Reply #598 on: March 22, 2010, 12:24:46 PM »
Go inside the parent category. The subcategories should be listed above and you can find the edit/delete links there.
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 Granular

  • Semi-Newbie
  • *
  • Posts: 69
Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
« Reply #599 on: March 22, 2010, 04:56:51 PM »
@vbgamer45

Thanks very much for the response...all sorted!

I'm so sure that wasn't there before when I looked.

It's a great mod by the way, works really well in conjunction with the redirect boards on 2.0RC3.

Cheers

G