Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: SMFHacks.com Team on September 04, 2008, 04:03:00 PM

Title: SMF Articles
Post by: SMFHacks.com Team on September 04, 2008, 04:03:00 PM
Link to the mod (https://custom.simplemachines.org/index.php?mod=1354)



SMF Articles

By vbgamer45 (http://custom.simplemachines.org/mods/index.php?action=profile;u=24876)


Compatibility
Works with both SMF 2.0.x and SMF 1.1.x

Description
An SMF Article System for SMF
-Articles with bbcode
-Article categories
-Rating of articles
-Comments on articles
-Searching and my articles function
-Permissions for viewing,adding,editing,rating,deleting articles.
-Can import articles from Tiny Portal

Latest updates
3.1.1
!Fixed searching results for more than one page was displaying incorrect data if options on advanced search were uncheck

3.1
!Fixed bug with the manage categories link
!Removed google+ code
!Updated social sharing links to https for SMF 1.1.x

3.0.4
!Fixed importing new versions of TinyPortal article system
!Fixed some undefined errors for SMF 2.1.x

3.0.3b
+Added install support for SMF 2.1 RC1

3.0.3a
!Fixed install for SMF 2.1 Beta editions
!Fixed some https links for social media

3.0.2
!Delete invalid pictures when they fail to upload

3.0.1
!Better handling of utf8 characters for SMF 2.0.x

3.0
+Now works for SMF 2.1 Beta 1
+New manage articles area for SMF 2.0
+Improved styles for SMF 2.0
+Added new copyright removal system

2.5.1
!Fixed the Facebook like article to encode the full article url
!Fixed empty description field when editing category in SMF 2.0.x
!Cleaned up some more html/styles in SMF 2.0.x version

2.5
+Updated styling for SMF 2.0 for main areas for a better experience
+Updated admin areas with alternating row styles to make reading easier

2.0.2
!Fixed top articles bar layout issue in chrome for SMF 2.0

2.0.1
!Fixed possible undefined error on the search page
+Added future integration support for Badge Awards

2.0
+Added RSS feed icon/RSS feeds now support for the articles
+Added import from FAQ mod and Knowledge Base mod


1.4
+Added sharing icons: Facebook, Google +1, Twitter

1.3.3
!Improved search results for multiple pages.

1.3.2
!Fixed edit article bug for SMF 2.0 thanks to Arantor

1.3.1
+Updated style for articles system for SMF 2.0 RC3 to be more curve

1.2.2
!Fixed find members link on the search page

1.2.1
!Fixed issue with reserved characters in article description and summary for SMF 2.0

1.2a
+Added checking on view article if article no longer exists or not found
1.2.1
!Fixed issue with reserved characters in article description and summary for SMF 2.0


Version 1.1.2
!Fixed bbc editor for categories in SMF 2.0 not working in IE6/IE7


Version 1.1
+Added settings to allow attaching images to articles
+Added more display information on the person making the comment
!Fixed bug with importing tiny portal articles for SMF 2.0


Version 1.0.2
!Fixed duplicate linktree on some pages in SMF 2.0
+Added bbc editor for categories in SMF 2.0
+Added a comma separator for subcategories on SubCategories list.
!Fixed link tree to show subcategories of articles and added to the display article page to include categories
+Added Recount articles function found under Settings
!Improved the modification for better support with mod_security

Support Links
SMF Package Parser (https://sleepycode.com/PackageParser/)
Manual Installation Of Mods
How Do I Modify Files? (https://www.simplemachines.org/community/index.php?topic=24110.0)
Title: Re: SMF Articles
Post by: Rafferty on September 05, 2008, 05:00:13 AM
Despite placing in permissions per category, all users can view all categories.
Title: Re: SMF Articles
Post by: Bec on September 05, 2008, 06:53:52 AM
BEAUTIFUL!!! Ive been waiting ages for this one, thank you!!
Title: Re: SMF Articles
Post by: Bec on September 05, 2008, 07:31:54 AM
I just have one little suggestion and that is after you create a category and are putting articles into those categories, it would be nice if they were arranged in alphabetical order rather than the order they are put in... the irony is I just finished doing all my articles through Tp today so now im in the process of copying them all over lol thanks again!!
Title: Re: SMF Articles
Post by: Bec on September 05, 2008, 10:17:44 AM
I am trying to sort the categories (moving one down) and am getting this error message:-

Table 'buctai8_smf1.articles_cat' doesn't exist
File: /home/buctai8/public_html/Sources/Articles.php
Line: 862

any ideas?
Title: Re: SMF Articles
Post by: Spudgun on September 05, 2008, 02:57:35 PM
Nice mod ;)

I have a bug here, does anyone else?... when viewing a list of articles, the comments count registers views and the views count registers comments (stats)

Can anyone help with a fix?

Regards
Spudgun.

Title: Re: SMF Articles
Post by: kizer on September 05, 2008, 05:43:18 PM
Can you move existing topics? I have several topics written in a article fashion.
Title: Re: SMF Articles
Post by: vbgamer45 on September 05, 2008, 08:36:55 PM
Quote from: Spudgun on September 05, 2008, 02:57:35 PM
Nice mod ;)

I have a bug here, does anyone else?... when viewing a list of articles, the comments count registers views and the views count registers comments (stats)

Can anyone help with a fix?

Regards
Spudgun.


Fixed for next update
Title: Re: SMF Articles
Post by: vbgamer45 on September 05, 2008, 08:39:22 PM
Quote from: Rafferty on September 05, 2008, 05:00:13 AM
Despite placing in permissions per category, all users can view all categories.
Can't recreate on my test forum. I tried with guests and setting permissions for admin group to deny for all options under a category
Title: Re: SMF Articles
Post by: Hoochie Coochie Man on September 06, 2008, 07:59:53 AM
Thanks for this beautiful mod.
Here is Turkish language strings..


Modifications.turkish.php
// Begin SMF Articles Text Strings
$txt['smfarticles_menu'] = 'Makaleler';
$txt['smfarticles_admin'] = 'Makale Ayarları';

$txt['permissiongroup_smfarticles'] = 'SMF Makaleler';

$txt['permissionname_view_articles'] = 'Makaleleri Görüntüle';
$txt['permissionhelp_view_articles'] = 'Ayarlar, eğer üye makaleleri görebiliyorsa.';
$txt['cannot_view_articles'] = 'Makale sayfasını göremezsiniz.';

$txt['permissionname_add_articles'] = 'Makale Ekle';
$txt['permissionhelp_add_articles'] = 'Eğer üyenin makale göndermeye izni varsa';

$txt['cannot_add_articles'] = 'Makale Ekleyemezsiniz.';
$txt['permissionname_edit_articles'] = 'Kendi Makalelerini Düzeltme';
$txt['permissionhelp_edit_articles'] = 'Eğer üye kendi makalelerini düzeltmeye izni varsa';

$txt['cannot_edit_articles'] = 'Makaleleri Düzeltemezsiniz.';
$txt['permissionname_delete_articles'] = 'Kendi Makalelerini Silme';
$txt['permissionhelp_delete_articles'] = 'Eğer üye makaleleri silmeye izni varsa';
$txt['cannot_delete_articles'] = 'Makaleleri Silemezsiniz.';

$txt['permissionname_articles_comment'] = 'Yorum Yapma';
$txt['permissionhelp_articles_comment'] = 'Üyenin bir makaleye yorum yapmasna olanak sağlar.';
$txt['cannot_articles_comment'] = 'Yorum yapma izniniz yok.';


$txt['permissionname_articles_auto_approve'] = 'Otomatik Onaylanmış Makaleler';
$txt['permissionhelp_articles_auto_approve'] = 'Eğer üyenin makaleleri yüklediğinde otomatik onaylanıyorsa.';

$txt['permissionname_articles_autocomment'] = 'Otomatik Onaylanmış Yorumlar';
$txt['permissionhelp_articles_autocomment'] = 'Onaylama beklemeyen Yorumlar.';

$txt['permissionname_rate_articles'] = 'Makaleleri Oylama';
$txt['permissionhelp_rate_articles'] = 'Eğer üye makaleleri onaylamaya izni varsa';
$txt['cannot_rate_articles'] = 'Makale oylamaya izniniz yok.';

$txt['permissionname_articles_admin'] = 'Admin Modu';
$txt['permissionhelp_articles_admin'] = 'Üye Makaleleri Yönetebilir';
$txt['cannot_articles_admin'] = 'Makaleleri yönetme izniniz yok.';
// END SMF Articles Strings


Who.turkish.php
// Begin SMF Articles
$txt['whoall_articles'] = '<a href="' . $scripturl . '?action=articles">' . $txt['smfarticles_menu'] . '</a>\'e bakıyor.';
// END SMF Articles Strings
Title: Re: SMF Articles
Post by: Spudgun on September 06, 2008, 11:55:52 AM
Quote from: vbgamer45 on September 05, 2008, 08:36:55 PM
Quote from: Spudgun on September 05, 2008, 02:57:35 PM
Nice mod ;)

I have a bug here, does anyone else?... when viewing a list of articles, the comments count registers views and the views count registers comments (stats)

Can anyone help with a fix?

Regards
Spudgun.


Fixed for next update


Very detailed answer - I know you do this for free and I honestly respect that...but... do we all delete the mod or simply put it on hold until such a time that we may get support?

I know this sounds harsh as the issue in no way affects the functionality of the mod but I'm getting headaches from my forum members complaining. ;)

Regards
Spudgun.
Title: Re: SMF Articles
Post by: Nibogo on September 06, 2008, 01:31:20 PM
Awesome mod!!!

Great job i was waiting this mod
Title: Re: SMF Articles
Post by: vbgamer45 on September 06, 2008, 02:12:09 PM
Quote from: Spudgun on September 06, 2008, 11:55:52 AM
Quote from: vbgamer45 on September 05, 2008, 08:36:55 PM
Quote from: Spudgun on September 05, 2008, 02:57:35 PM
Nice mod ;)

I have a bug here, does anyone else?... when viewing a list of articles, the comments count registers views and the views count registers comments (stats)

Can anyone help with a fix?

Regards
Spudgun.


Fixed for next update


Very detailed answer - I know you do this for free and I honestly respect that...but... do we all delete the mod or simply put it on hold until such a time that we may get support?

I know this sounds harsh as the issue in no way affects the functionality of the mod but I'm getting headaches from my forum members complaining. ;)

Regards
Spudgun.

You have to wait for me to update. I rather fix things in one update then do many many updates.
Title: Re: SMF Articles
Post by: Nibogo on September 06, 2008, 06:47:41 PM
Any TinyPortal Block for the last articles??

Thanks
Title: Re: SMF Articles
Post by: Bec on September 06, 2008, 08:08:44 PM
Quote from: Bec on September 05, 2008, 10:17:44 AM
I am trying to sort the categories (moving one down) and am getting this error message:-

Table 'buctai8_smf1.articles_cat' doesn't exist
File: /home/buctai8/public_html/Sources/Articles.php
Line: 862

any ideas?

I hate bumping but I would appreciate an answer.... :)
Title: Re: SMF Articles
Post by: vbgamer45 on September 06, 2008, 08:27:28 PM
I might have that one fixed in the next update. Works ok for my forum might be a spacing issue in the query
Title: Re: SMF Articles
Post by: Bec on September 06, 2008, 09:21:29 PM
Cool thank you! Out of interest any eta on when the next update will be? Think I might uninstall and wait till then
Title: Re: SMF Articles
Post by: Nibogo on September 06, 2008, 09:22:23 PM
Maybe you can add a column in each category for the last article ;)
Title: Re: SMF Articles
Post by: vbgamer45 on September 07, 2008, 01:00:27 AM
Version 1.0.1 Released!
+Added feature to import articles from Tiny Portal if installed.
!Fixed bug with comments and views column out of order.
!Fixed bug moving category order.
Title: Re: SMF Articles (1.0.1 Released)
Post by: Spudgun on September 07, 2008, 10:05:15 AM
Despite my previous slightly negative post, I do appreciate your work and you are right, it is better to fix multiple bugs all in one go. Thanks for your prompt fix vbgamer45  8)

Regards
Tim.
Title: Re: SMF Articles (1.0.1 Released)
Post by: evil-angelist on September 07, 2008, 11:19:07 AM
Another fantastic mod by vbgamer45, just aquestion... Say I wanted to name it EVENTS in the MENU BAR how do I change it from ARTICLES ==> EVENTS?
Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on September 07, 2008, 01:44:09 PM
You need open up and modify themes/default/languages/modifications.english.php
Find and change the text of

$txt['smfarticles_menu'] = 'Articles';
Title: Re: SMF Articles (1.0.1 Released)
Post by: Nibogo on September 07, 2008, 02:10:46 PM
i will update the v1.0 version to the v1.01 , if i unistall the 1.0 for install the 1.01 i will lose my articles??
Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on September 07, 2008, 02:14:33 PM
No you will not
Title: Re: SMF Articles (1.0.1 Released)
Post by: Nibogo on September 07, 2008, 02:15:36 PM
Quote from: vbgamer45 on September 07, 2008, 02:14:33 PM
No you will not

Thanks i update and everything is right

But when i try to import the articles of TP i have this message:

Hacking attempt...
Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on September 07, 2008, 02:32:37 PM
Quote from: NIBOGO on September 07, 2008, 02:15:36 PM
Quote from: vbgamer45 on September 07, 2008, 02:14:33 PM
No you will not

Thanks i update and everything is right

But when i try to import the articles of TP i have this message:

Hacking attempt...
Redownload the latest version just added a fix that might fix that issue.
Title: Re: SMF Articles (1.0.1 Released)
Post by: Mert Öz on September 07, 2008, 02:36:55 PM
Nice mod! Ive waiting this mod.

And thanks to Hoochie Coochie Man for Turkish Strings
Title: Re: SMF Articles (1.0.1 Released)
Post by: Nibogo on September 07, 2008, 02:51:12 PM
Quote from: vbgamer45 on September 07, 2008, 02:32:37 PM
Quote from: NIBOGO on September 07, 2008, 02:15:36 PM
Quote from: vbgamer45 on September 07, 2008, 02:14:33 PM
No you will not

Thanks i update and everything is right

But when i try to import the articles of TP i have this message:

Hacking attempt...
Redownload the latest version just added a fix that might fix that issue.

Ok thanks , but i cant download any mod :(

You can attach the new version??
Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on September 07, 2008, 03:04:11 PM
I posted the new on the modsite
Title: Re: SMF Articles (1.0.1 Released)
Post by: Nibogo on September 07, 2008, 04:01:43 PM
Quote from: vbgamer45 on September 07, 2008, 03:04:11 PM
I posted the new on the modsite

Installed the new version , but I have an error importing the TP Articles:

' at line 3
Archivo: /homexxxxxxx/Sources/Articles.php
Líne: 2465
Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on September 07, 2008, 04:16:02 PM
Posted new update try that
Title: Re: SMF Articles (1.0.1 Released)
Post by: Nibogo on September 07, 2008, 06:28:34 PM
Quote from: vbgamer45 on September 07, 2008, 04:16:02 PM
Posted new update try that

I have the same error

EDIT: Works great the new version , thanks

Bug: When i move an article , dont update the total of articles in the categories
Title: Re: SMF Articles (1.0.1 Released)
Post by: jkrlvgn on September 07, 2008, 06:34:14 PM
Hey everyone...

I'm not sure if this is exceptionally relevant, but I found a similar mod that I'm using...it's kinda like this, but moreso toward a blog-ish format.

Link to SMFs mod page:
http://custom.simplemachines.org/mods/index.php?mod=1209 (http://custom.simplemachines.org/mods/index.php?mod=1209)

Link to developer:
http://degreesofzero.com/index.php?action=store;product=1 (http://degreesofzero.com/index.php?action=store;product=1)


Just in case something still isn't working with this one.

:)
Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on September 07, 2008, 06:53:09 PM
Quote from: NIBOGO on September 07, 2008, 06:28:34 PM
Quote from: vbgamer45 on September 07, 2008, 04:16:02 PM
Posted new update try that

I have the same error

EDIT: Works great the new version , thanks

Bug: When i move an article , dont update the total of articles in the categories
Fixed that bug in SMF Articles 1.0.1.3
Title: Re: SMF Articles (1.0.1 Released)
Post by: Nibogo on September 07, 2008, 06:59:26 PM
Fixed but now i lose the "Articles" in the linktree in the articles main page
Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on September 07, 2008, 07:12:07 PM
I don't think there was one on the main page since you are already on the main page no point to having the link tree.
Title: Re: SMF Articles (1.0.1 Released)
Post by: Nibogo on September 07, 2008, 07:50:03 PM
Quote from: vbgamer45 on September 07, 2008, 07:12:07 PM
I don't think there was one on the main page since you are already on the main page no point to having the link tree.

Ok Thanks

Now everything is working great

But maybe you can do something with the TP Articles

Import every single article to a different article category , not upload all to the same category
Title: Re: SMF Articles (1.0.1 Released)
Post by: darkblack323 on September 08, 2008, 07:18:58 AM
hi!

when I click "edit articles" opened this pages :

................./forum/index.php?action=articles;sa=editarticle;id=1

and not working "delete articles"

index.php?action=articles;sa=deletearticle;id=1

...

Not Acceptable

An appropriate representation of the requested resource /forum/index.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

and its not found

why?

Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on September 08, 2008, 08:08:06 AM
That's an issue with mod_security
http://www.simplemachines.org/community/index.php?topic=34270.0
Title: Re: SMF Articles (1.0.1 Released)
Post by: darkblack323 on September 08, 2008, 08:21:45 AM
my friend ı can do that but not change anythink ?

this is my .htaccess


<IfModule mod_security.c>
   # Turn off mod_security filtering.  SMF is a big boy, it doesn't need its hands held.
   SecFilterEngine Off

   # The below probably isn't needed, but better safe than sorry.
   SecFilterScanPOST Off
</IfModule>


where is problem
Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on September 08, 2008, 07:42:07 PM
I would contact your host then.
Title: Re: SMF Articles (1.0.1 Released)
Post by: Bec on September 09, 2008, 04:02:43 AM
can someone please tell me how i import my tp articles? thanks for the quick updates vbgamer45, love your work!
Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on September 09, 2008, 08:28:58 AM
Go to the admin section of the articles. Then click on the import tab. Then click import tiny portal articles!
Title: Re: SMF Articles (1.0.1 Released)
Post by: Bec on September 09, 2008, 09:41:12 AM
ahhh ok cool thank you :)
Title: Re: SMF Articles (1.0.1 Released)
Post by: Bec on September 10, 2008, 12:29:12 AM
just wondering if its possible to center the images for each category... or to move the actual title name over closer to the picture? You can see what I mean from the attached piccie  :)

Title: Re: SMF Articles (1.0.1 Released)
Post by: Spudgun on September 12, 2008, 12:53:35 PM
Quote from: Bec on September 10, 2008, 12:29:12 AM
just wondering if its possible to center the images for each category... or to move the actual title name over closer to the picture? You can see what I mean from the attached piccie  :)

Images centred would be nice and give a better feel to the page. ;)
Title: Re: SMF Articles (1.0.1 Released)
Post by: Spudgun on September 20, 2008, 08:19:55 AM
Does anyone know how to centre category images as talked about above?

Thanks for any help given...

Spudgun.
Title: Re: SMF Articles (1.0.1 Released)
Post by: Nibogo on September 24, 2008, 08:16:08 PM
Quote from: Spudgun on September 20, 2008, 08:19:55 AM
Does anyone know how to centre category images as talked about above?

Thanks for any help given...

Spudgun.
Articles.template.php:

Find:

Quote<td class="windowbg"><a href="', $scripturl, '?action=articles;cat=', $row['ID_CAT'], '"><img src="', $row['imageurl'], '" border="0" alt="" /></a></td>


Replace:
Quote<td class="windowbg" align="center"><a href="', $scripturl, '?action=articles;cat=', $row['ID_CAT'], '"><img src="', $row['imageurl'], '" border="0" alt="" /></a></td>
Title: Re: SMF Articles (1.0.1 Released)
Post by: kpac on September 25, 2008, 02:59:24 PM
I keep getting an error when I try to import my TP acticles...

Table 'xxxxxx_smf1.smf_tp_articles' doesn't exist
File: /home/xxxxxx/public_html/forum/Sources/Articles.php
Line: 2461

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.6, while your database is at version 1.1.5. The above error might possibly go away if you execute the latest version of upgrade.php.


It is the latest version: 1.0.1.3.

Any ideas?
Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on September 25, 2008, 07:44:40 PM
It says they don't exist. What table do they exist in the tiny portal articles and are they in the same database?
Title: Re: SMF Articles (1.0.1 Released)
Post by: kpac on September 26, 2008, 11:57:26 AM
Yea, I know it means they don't exist... But why don't they? Is it not in the script to create them if they don't exist? Or do I have to create them manually?

Quote from: vbgamer45 on September 25, 2008, 07:44:40 PM
are they in the same database?

Yes, they are.
Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on September 26, 2008, 08:05:35 PM
That import option is meant only if you have created articles in Tiny Portal and wish to import them. If they don't exist it will not work.
Title: Re: SMF Articles (1.0.1 Released)
Post by: kpac on September 27, 2008, 05:14:48 AM
Quote from: vbgamer45 on September 26, 2008, 08:05:35 PM
That import option is meant only if you have created articles in Tiny Portal and wish to import them. If they don't exist it will not work.

Oh yes. :D Thank you.

Nice mod BTW.... ;)
Title: Re: SMF Articles (1.0.1 Released)
Post by: AurielStone on September 29, 2008, 06:57:24 AM
This is an awesome mod. Any plans to update it for 2.0? I just upgraded and then discovered to my dismay that I could not reinstall the mod. Oh noes! ;D
Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on September 29, 2008, 08:43:49 AM
Yes in the coming weeks I will upgrade it to 2.0
Title: Re: SMF Articles (1.0.1 Released)
Post by: Bec on September 29, 2008, 10:38:14 PM
Quote from: NIBOGO on September 24, 2008, 08:16:08 PM
Quote from: Spudgun on September 20, 2008, 08:19:55 AM
Does anyone know how to centre category images as talked about above?

Thanks for any help given...

Spudgun.
Articles.template.php:

Find:

Quote<td class="windowbg"><a href="', $scripturl, '?action=articles;cat=', $row['ID_CAT'], '"><img src="', $row['imageurl'], '" border="0" alt="" /></a></td>


Replace:
Quote<td class="windowbg" align="center"><a href="', $scripturl, '?action=articles;cat=', $row['ID_CAT'], '"><img src="', $row['imageurl'], '" border="0" alt="" /></a></td>

hmmm tried the changes and got a parse error...  "syntax error, unexpected T_FUNCTION"

Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on September 29, 2008, 10:41:50 PM
Post the file so we can look.
Title: Re: SMF Articles (1.0.1 Released)
Post by: Bec on September 29, 2008, 10:44:44 PM
thanks :)
Title: Re: SMF Articles (1.0.1 Released)
Post by: AurielStone on September 30, 2008, 05:31:08 AM
Quote from: vbgamer45 on September 29, 2008, 08:43:49 AM
Yes in the coming weeks I will upgrade it to 2.0

\o/
Title: Re: SMF Articles (1.0.1 Released)
Post by: DistantJ on October 01, 2008, 06:09:23 PM
Can I set it so that I don't have to approve articles and comments? I want them to appear as soon as a user submits them.


I also wonder if maybe a Preview option could be added like when posting a topic?

Can we have the number of new articles displayed somewhere? Perhaps "Articles [2]" in the title bar or something? Otherwise you have an articles section which is quite separated from the forum...
Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on October 01, 2008, 07:49:51 PM
Quote from: DistantJ on October 01, 2008, 06:09:23 PM
Can I set it so that I don't have to approve articles and comments? I want them to appear as soon as a user submits them.


There should be permissions located in the permissions section of SMF that allows you to set those functions.
Title: Re: SMF Articles (1.0.1 Released)
Post by: The Saviour on October 06, 2008, 06:41:02 AM
Main category does not show totals of articles in subcategories...however, the subcategories display the number of articles.
Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on October 06, 2008, 08:36:52 AM
There is a settings in the settings section of the mod that allows you to count one level deep for sub categories
Title: Re: SMF Articles (1.0.1 Released)
Post by: The Saviour on October 06, 2008, 09:20:50 AM
Sorry...I missed that.

Thanks for the heads up...much appreciated.
Title: Re: SMF Articles (1.0.1 Released)
Post by: Angelotus on October 06, 2008, 10:55:24 AM
Great idea for integrating in smf 2.0!
Title: Re: SMF Articles (1.0.1 Released)
Post by: probablepossible on October 12, 2008, 08:56:06 PM
I would like to order my articles myself-- not in order they are posted and not in alphabetical order.

can we have an up/down function for articles themselves, the way we do for categories?

thank you!
Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on October 12, 2008, 09:09:47 PM
Nice idea added to my feature list for next updates.
Title: Re: SMF Articles (1.0.1 Released)
Post by: Nibogo on October 12, 2008, 09:14:17 PM
Maybe you add a row for categories with the last article ^^
Title: Re: SMF Articles (1.0.1 Released)
Post by: probablepossible on October 12, 2008, 09:17:12 PM
Quote from: vbgamer45 on October 12, 2008, 09:09:47 PM
Nice idea added to my feature list for next updates.
:)

What I am trying to do is make a multi- community fiction archive. There are two out there, one in perl and one in php-- the php one includes a helluvalot of queries that my groups don't need, and neither of them have forum functions.

Since we're piling up possible changes, another one I would like would be an admin function that would let me change the author--  although I can do that in phpmyadmin, I suppose... or the ability to create a few more fields for my users to fill in. We could use them for co--writers, or genre, or XXX ratings :D

Title: Re: SMF Articles (1.0.1 Released)
Post by: I AM Legend on October 14, 2008, 06:18:03 AM
Hi All,
I installed  SMF Articles, then uninstalled it, in the admin cp in the left hand panel it left behind Articles Configuration, where do I go to remove this?
Thanks as always
Title: Re: SMF Articles (1.0.1 Released)
Post by: I AM Legend on October 15, 2008, 04:33:54 PM
Hi all,
any answer to the above question I posted yesterday??
Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on October 15, 2008, 08:44:45 PM
Check out Sources/Subs.php
Title: Re: SMF Articles (1.0.1 Released)
Post by: I AM Legend on October 16, 2008, 11:57:05 AM
Cool, Ty
Title: Re: SMF Articles (1.0.1 Released)
Post by: Daymon on October 19, 2008, 09:11:11 PM
I've installed this module, am able to access it in the admin panel, but cannot see anywhere to actually write and post an article. Am I missing something here?
Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on October 19, 2008, 09:12:47 PM
Are you using the default theme? If not you will have to modify the index.template.php of the custom theme to include a link to the articles section such as

http://www.yourforum.com/index.php?action=articles
Title: Re: SMF Articles (1.0.1 Released)
Post by: Daymon on October 19, 2008, 09:37:38 PM
Quote from: vbgamer45 on October 19, 2008, 09:12:47 PM
Are you using the default theme? If not you will have to modify the index.template.php of the custom theme to include a link to the articles section such as

http://www.yourforum.com/index.php?action=articles

I did find the articles section with the url like you mentioned, and I modified index.template.php, but I must not have done it right. I just added a button a couple days ago so I should be good when I get this one in there. Very cool mod btw :)
Title: Re: SMF Articles (1.0.1 Released)
Post by: Snappo on October 20, 2008, 12:11:04 PM
This is the only reason I have not upgrade to 2.0 =p
Title: Re: SMF Articles (1.0.1 Released)
Post by: CG Icon on October 22, 2008, 01:15:31 AM
In the profile .. in the tiny portal section ( if you have TP installed) .. there is a link to all articles written by the user

is it possible to have this link show all articles written with SMF Articles instead of / or in addition to Tiny Portal?

as it is right now that link does not show any articles written while in SMF Article


thanks

Great MOD Vb


Title: Re: SMF Articles
Post by: Eleglin on October 27, 2008, 07:27:09 AM
Quote from: kizer on September 05, 2008, 05:43:18 PM
Can you move existing topics? I have several topics written in a article fashion.
Same question for me.
Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on October 27, 2008, 08:02:20 PM
Not yet
Title: Re: SMF Articles (1.0.1 Released)
Post by: Eleglin on October 28, 2008, 07:05:10 AM
Not yet ?
Si you don't say "no", I suppose that we can hope that it could be a new feature in a further release ? :) :)
Title: Re: SMF Articles (1.0.1 Released)
Post by: OneLung on October 28, 2008, 11:33:25 AM
When a visitor goes to my smf homepage, I would like to automatically redirect them to, or display, the list of article categories.

Is this possible?

Thx-
Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on October 28, 2008, 07:45:09 PM
Quote from: OneLung on October 28, 2008, 11:33:25 AM
When a visitor goes to my smf homepage, I would like to automatically redirect them to, or display, the list of article categories.

Is this possible?

Thx-
Possible to do requires custom code though
Title: Re: SMF Articles (1.0.1 Released)
Post by: Nibogo on November 14, 2008, 09:05:49 PM
vbgamer any update to smf 2.0?
Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on November 14, 2008, 09:29:32 PM
Going to be a little while for this one.
Title: Re: SMF Articles (1.0.1 Released)
Post by: The Saviour on November 24, 2008, 06:46:28 PM
vbgamer45...

I'm using 1.0.1.3 on SMF 1.1.7.  Everything seems to be working fine...except for when it comes to XHTML validation once an article is created.

Here's an example from my site:  What are the jumper settings for Seagate ATA hard drives? (http://www.saviourpc.com/forums/index.php?action=articles;sa=view;article=42)

If you follow the above link and then click the validation link at the bottom of the page...you'll see that it fails validation.

Has this been addressed in an update of which I'm not aware?  If so, and I need to download the latest release...do I need to uninstall/delete the previous release before I install it again?  One thing I'm worried about is losing any articles I may have already created.

Hope to hear from you soon...and thanks in advance.
Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on November 24, 2008, 08:19:33 PM
What erorr message does it say i need to see the html
Title: Re: SMF Articles (1.0.1 Released)
Post by: The Saviour on November 24, 2008, 08:52:40 PM
Here's the link to the validation page with the source included:

Validation of previous link (http://validator.w3.org/check?uri=http%3A%2F%2Fwww.saviourpc.com%2Fforums%2Findex.php%3Faction%3Darticles%3Bsa%3Dview%3Barticle%3D42&charset=(detect+automatically)&doctype=Inline&ss=1&group=0&user-agent=W3C_Validator%2F1.606)
Title: Re: SMF Articles (1.0.1 Released)
Post by: The Saviour on November 25, 2008, 03:34:29 PM
Your template:  Articles.template.php has to be modified.  find "sppan" and replace with "span".

After that...it's all good, my friend.
Title: Re: SMF Articles (1.0.1 Released)
Post by: vbgamer45 on November 25, 2008, 09:39:50 PM
Updated for SMF 2.0
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: Nibogo on November 25, 2008, 10:09:42 PM
Quote from: vbgamer45 on November 25, 2008, 09:39:50 PM
Updated for SMF 2.0
Didn work , for example I see the article tab in index.template not in Subs.php :sI check and the package manager is loading the smf 1.1.X version[/]

I modify the package-info.xml and everything is working right

Thanks for the mod
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: vbgamer45 on November 25, 2008, 10:17:12 PM
You sure i have it installed on my SMF 2.0 using the latest package from the modsite.
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: Nibogo on November 25, 2008, 10:18:27 PM
Quote from: vbgamer45 on November 25, 2008, 10:17:12 PM
You sure i have it installed on my SMF 2.0 using the latest package from the modsite.

I modify the package-info.xml and is working right , thanks
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: vbgamer45 on November 26, 2008, 12:14:24 AM
What did you change and why?
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: casp3r on November 26, 2008, 12:22:17 AM
Just installed this and it works perfect, many thanks. Just one very small error - in the control panel it says

Your Version: 1.0.1.4 Latest Version: 1.0.1.3 Your article system version is not up to date! 

:)
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: Özgür on November 26, 2008, 03:32:58 AM
im using smf 2.0 & 1.0.1.4

i added to article in wysing editor get this error "You need to enter article text!". if using normal editor work fine.

how can i fix this?
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: Nibogo on November 27, 2008, 09:52:19 PM
Quote from: vbgamer45 on November 26, 2008, 12:14:24 AM
What did you change and why?

Just a really stupid mistake , I forget of I was emulating SMF 1.1.7 :P

Quote from: ЯocKayseri on November 26, 2008, 03:32:58 AM
im using smf 2.0 & 1.0.1.4

i added to article in wysing editor get this error "You need to enter article text!". if using normal editor work fine.

how can i fix this?

I have the same error :s
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: sakura1998 on November 30, 2008, 06:52:43 AM
Hi,

I'm having the same issue with 'Links' and 'Articles'...

They are not even showing for guests or regular members (which is getting me a few mails from potential reciprocal link partners...   ::))

I'm running 1.15 (updates fail - I have a custom flash video recorder and it might be the reason why...)

From my admin account, links and articles work AOK (no issues noted on installation), however, guests and regular members don't see a links or articles button and get a 'password message' if they try to access directly from a link.

e.g.   http://www.besteikaiwa.com/forum/index.php?action=links;cat=10 

There's nothing wrong with the permissions (triple checked) - I'm not sure if moderators have the glitch or not...


Any ideas anyone?  (I'm really screwed here - I installed the links and went out hunting for reciprocal links - I have dozens of people who've been approached, but can't see a working link from me :()
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: Dazza0101 on November 30, 2008, 07:56:27 AM
Hi,

I have an electronic site with a project section, and I found this great mod that I will use for my article section.

It would be great if this mod could take care of both my projects and articles, not sure how to suggest a way to go about it.

Dazza0101. :)
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: sakura1998 on November 30, 2008, 06:11:17 PM
*bump*

$10US via PayPal to the person who can fix this for me (make links and articles both display and work properly for all users who have been given the appropriate permissions...)

Should only be 20 mins work for the 'smarties'  8)
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: vbgamer45 on November 30, 2008, 11:52:55 PM
Quote from: sakura1998 on November 30, 2008, 06:11:17 PM
*bump*

$10US via PayPal to the person who can fix this for me (make links and articles both display and work properly for all users who have been given the appropriate permissions...)

Should only be 20 mins work for the 'smarties'  8)
Easy fix by deafult only admin's have permissions to access those sections.

You can setup permissions. Under Admin -> Permissions you have to modify each group and add permissions for articles etc.
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: sakura1998 on December 01, 2008, 01:53:11 AM
QuoteEasy fix by deafult only admin's have permissions to access those sections.

Not quite so easy...  That's already done - the permissions are set (see the attached image and then have a look at my site - http://www.besteikaiwa.com/forum/ - and try to find the articles button or try to link directly to the articles page the permissions in the image supposedly allow - http://www.besteikaiwa.com/forum/index.php?action=articles;cat=2

The same problem exists with links (which is a very similar plugin)
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: vbgamer45 on December 01, 2008, 08:32:15 AM
That screenshot is for category level permissions which you can choose to enable or disable by default everyone has access to all categories.


You also need to setup global permissions inside SMF.

Which is found under SMF's Admin -> Permissions -> Modify each group
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: sakura1998 on December 01, 2008, 02:55:50 PM
Hey VB (Great Aussie beer VB, btw, you wouldn't be a drunken Aussie gamer by any chance would you  ;D)

I owe you a beer at any rate... (a deal's a deal and I'm the one who couldn't figure out how to use the mod...)


I have an idea for 'alternative payment', though...  (I can become a paying customer and purchase Newletter Pro - which looks a way nifty application)

The guys who make the mods deserve to get paid where they can (one of my big problems with the Open Source community is the lack of gratitude I often see expressed - I really do value the fact that you spent your own time trying to help a noob  :))

Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: Özgür on December 01, 2008, 04:11:02 PM
Quote from: Özgür | ЯocKayseri on November 26, 2008, 03:32:58 AM
im using smf 2.0 & 1.0.1.4

i added to article in wysing editor get this error "You need to enter article text!". if using normal editor work fine.

how can i fix this?
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: vbgamer45 on December 01, 2008, 11:36:35 PM
Quote from: sakura1998 on December 01, 2008, 02:55:50 PM
Hey VB (Great Aussie beer VB, btw, you wouldn't be a drunken Aussie gamer by any chance would you  ;D)

I owe you a beer at any rate... (a deal's a deal and I'm the one who couldn't figure out how to use the mod...)


I have an idea for 'alternative payment', though...  (I can become a paying customer and purchase Newletter Pro - which looks a way nifty application)

The guys who make the mods deserve to get paid where they can (one of my big problems with the Open Source community is the lack of gratitude I often see expressed - I really do value the fact that you spent your own time trying to help a noob  :))


Yeah gets kind of tough when you have so many mods that are large in themselves, other websites to work on, and then working fulltime.
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: ke4obt on December 02, 2008, 06:29:20 PM

Hey Mr. G,

Got a quick question, you wouldn't just happen to have a upgrade package for SMF Articles (version 1.0.1.3 to 1.0.1.4)like you did with EZ Portal
would ya. Because that would make life so much easier, sence I have so many mods installed that the only way I'll be able to do the upgrade is manualy and being a blind user it gets kind of tough sence the only way I can edit all these crazy php files is with note-pad, tried to use note-pad 2 but my screen reader will not work with it, e.g. will not read the line-numbers as well as several other things.

     Well thanks for any help you can offer.
     Flip - KE4obt
     The Blind Ham :-[
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: sakura1998 on December 02, 2008, 06:41:48 PM
QuoteI am a BLIND user!

I'm not blind (just not terribly smart  ;D)

Signing off on this topic - Just bought Newsletter Pro, so I'll go make trouble for VB elsewhere...
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: sakura1998 on December 04, 2008, 08:25:27 AM
QuoteAre you using the default theme? If not you will have to modify the index.template.php of the custom theme to include a link to the articles section such as

http://www.yourforum.com/index.php?action=articles

Hi,

Been reading back to try and find my answer - the above looked like it might be a place to start, but the link don't work no more...

(I'm trying out ezportal to allow users to switch between themes and am having trouble getting articles and links to work right - the 'most recent' still show through the ezblocks, but the full feature only lives on 'default')

I tried the 'manual install' instructions and modified everything that lived inside a 'theme' directory and left the others as-is, but wasn't getting this to work...


Any ideas folks? 
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: The Saviour on December 07, 2008, 09:01:17 AM
vbgamer45...

I currently use this mod on an SMF 1.1.7 board.  Love the mod, btw.

Anyway...my question is this:  Is there any way to cut back on the number of "queries" it creates?

Right now, I have two categories...each having a number of sub categories.  When navigating to the Articles page, it creates 38 queries.  When going to a category, it creates 84 queries...depending on how many subcategories for a particular category.  The more categories/subcategories added...the greater the number of queries.  This may be of some concern...if it is to be used as a knowledge base...which is how I'm using it.

Is this issue being addressed?
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: vbgamer45 on December 07, 2008, 09:18:43 AM
The main page that looks bad is
http://www.saviourpc.com/forums/index.php?action=articles;cat=26

And that is mostly caused by sub category totals features that counts subcategory totals. Which adds two queries to each category.
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: The Saviour on December 07, 2008, 09:37:25 AM
Well...

I've adjusted the Articles settings to remove counting the child categories, but the number of queries is still high...even though it removed 30+ queries.

Going back to that link...50+ queries...
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: vbgamer45 on December 07, 2008, 10:29:12 AM
Yeah it could be optimized a little bit. I think I see one query I can remove from that page.
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: ke4obt on December 07, 2008, 12:18:21 PM
I had my wife uninstall version 1.0.1.3 and install 1.0.1.4 because 1.4 is newer and the Articles settings section told me to upgrade. :)
However, I now get this when I go into the settings: Your Version: 1.0.1.4 Latest Version: 1.0.1.3 Your article system version is not up to date!

Isn't that kind of bass ackwards?? Is that just an error or does it not know what it's talkin about??
Other than that, it seems to be working fine, so I'm going to leave it alone.

Thanks,
Flip
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: vbgamer45 on December 07, 2008, 06:28:35 PM
Quote from: ke4obt on December 07, 2008, 12:18:21 PM
I had my wife uninstall version 1.0.1.3 and install 1.0.1.4 because 1.4 is newer and the Articles settings section told me to upgrade. :)
However, I now get this when I go into the settings: Your Version: 1.0.1.4 Latest Version: 1.0.1.3 Your article system version is not up to date!

Isn't that kind of bass ackwards?? Is that just an error or does it not know what it's talkin about??
Other than that, it seems to be working fine, so I'm going to leave it alone.

Thanks,
Flip
Fixed forgot to update the version number on myside.
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: Dazza0101 on December 08, 2008, 06:49:43 AM
Is there any way of installing an additional articles mod, and calling it projects?

Thank you for any help and your time.

Dazza0101. :)

Oh, regarding the previous message about version number, I noticed the same thing on another one of your mods I have installed, I will check which one it is and post back. ;)
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: ke4obt on December 08, 2008, 10:48:09 AM
Quote from: vbgamer45 on December 07, 2008, 06:28:35 PM
Quote from: ke4obt on December 07, 2008, 12:18:21 PM
I had my wife uninstall version 1.0.1.3 and install 1.0.1.4 because 1.4 is newer and the Articles settings section told me to upgrade. :)
However, I now get this when I go into the settings: Your Version: 1.0.1.4 Latest Version: 1.0.1.3 Your article system version is not up to date!

Isn't that kind of bass ackwards?? Is that just an error or does it not know what it's talkin about??
Other than that, it seems to be working fine, so I'm going to leave it alone.

Thanks,
Flip
Fixed forgot to update the version number on myside.

That worked!! Amazing! :D
Now I've got to go post 2 other questions, which you'll end up getting anyhow, so be forewarned. He He. one will be at ezp, the other at the hacks site for newsletterp.
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: raaaz on December 08, 2008, 10:54:12 PM
Awesome MOD but unfortunately it doesn't work for me. I am using SMF 1.1.7. Here's the link to me forum. www.theconfab.net/forums

When I install this MOD, I get the following message"

QuoteYour Version: 1.0.1.4 Latest Version: 1.0.1.3 Your article system version is not up to date!


How do I overcome this problem?

Thanks in advance.
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: italo_anonimo on December 11, 2008, 05:16:22 PM
hi, thanks for mod ...

1- there is any way to know if there is any new article published from forum (maybe as recent post) or always have to come to know??

2- the Articles written increment users post count?

thanks
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: TechPrince on December 14, 2008, 10:17:46 AM
Quote from: italo_anonimo on December 11, 2008, 05:16:22 PM
hi, thanks for mod ...

1- there is any way to know if there is any new article published from forum (maybe as recent post) or always have to come to know??

2- the Articles written increment users post count?

thanks

bump :)
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: dannbass on December 17, 2008, 08:46:22 PM
I want to increment the amount of letters in the description... I think is 255, but I don't see where to add that.  I was looking in the Articles.php but no place to be found... could you help me out.
Thanks!
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: vbgamer45 on December 17, 2008, 10:38:44 PM
The articles description column is text so the limit on that field is 65535 characters.
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: dannbass on December 17, 2008, 10:41:27 PM
Thanks! but is weird I only get 255 characters, after that the text is cut  even though I keep putting and putting text.

Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: dannbass on December 17, 2008, 10:47:33 PM
Oh I see, the description that I'm referring is not the article description, but the category description, on the main action=articles
Sorry for the double post!
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: vbgamer45 on December 17, 2008, 11:02:06 PM
Yeah the category description is tinytext you can change it to a text field inside the database to support large descriptions.
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: dannbass on December 17, 2008, 11:05:11 PM
Ok, great! Thanks a lot!
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: italo_anonimo on December 18, 2008, 02:40:35 PM
Quote from: italo_anonimo on December 11, 2008, 05:16:22 PM
hi, thanks for mod ...

1- there is any way to know if there is any new article published from forum (maybe as recent post) or always have to come to know??

2- the Articles written increment users post count?

thanks

3- its possible make a preview option???

thanks for mod
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: glennk on December 18, 2008, 05:10:18 PM
Got this mod installed and made a start with it. So far so good Im really impressed with what ive seen up to now.
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: glennk on December 19, 2008, 07:53:32 PM
Hi There.

U got my first bug. When I try to approve a comment I get this

QuoteFatal error: Call to undefined function ApproveComment() in /home/glennk/public_html/holderness-coast-fishing.co.uk/forum/Sources/Articles2.php on line 71

im using classic yabb theme with these mods

1.     Treasury      2.31       [ Uninstall ]  [ List Files ]  [ Delete ]
2.    Tagging System    2.1    [ Uninstall ] [ List Files ] [ Delete ]
3.    Aeva ~ Auto-Embed Video & Audio    5.0.21    [ Uninstall ] [ List Files ] [ Delete ]
4.    SMF Articles    1.0.1.4    [ Uninstall ] [ List Files ] [ Delete ]
5.    Ad Managment    2.3.4    [ Uninstall ] [ List Files ] [ Delete ]
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: LadyC on December 27, 2008, 12:59:20 PM
i have a very strange problem going on. i installed it on 2b4, and  it seemed to install properly. but when i go to add an article, i fill out the titile, the summary, and then type in the article where i'm supposed to, and i get an error telling me i need to enter some text!

any suggestions?
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: wickedstangs on January 01, 2009, 01:57:59 PM
Vb me again:) Problem with the Link Button again:)
www.modularfoxmustangs.com
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: vbgamer45 on January 01, 2009, 01:59:29 PM
Send me index.template.php
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: wickedstangs on January 01, 2009, 02:03:38 PM
here ya go..
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: vbgamer45 on January 01, 2009, 02:05:42 PM
Fixed file attached
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: wickedstangs on January 01, 2009, 02:07:49 PM
VB I don't think it worked...
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: vbgamer45 on January 01, 2009, 02:09:15 PM
Recheck that file I downloaded it has the new fix with new aritcle button code.
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: wickedstangs on January 01, 2009, 02:13:03 PM
I see the fix but, on my site Article tab is hiding under the logout tag..
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: italo_anonimo on January 02, 2009, 04:23:21 AM
Quote from: italo_anonimo on December 18, 2008, 02:40:35 PM

1- there is any way to know if there is any new article published from forum (maybe as recent post) or always have to come to know??

2- the Articles written increment users post count?

3- its possible make a preview option???

thanks for mod

Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: LadyC on January 02, 2009, 01:30:46 PM
in case anyone can come up with an explanation for me, i'm reposting the question i asked...

i have a very strange problem going on. i installed it on 2b4, and  it seemed to install properly. but when i go to add an article, i fill out the titile, the summary, and then type in the article where i'm supposed to, and i get an error telling me i need to enter some text!

any suggestions?
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: vbgamer45 on January 02, 2009, 01:32:34 PM
It is an issue wysiwyg editor will have a fix posted in the next hour
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: vbgamer45 on January 02, 2009, 02:04:26 PM
1.0.1.5 Released
!Fixed bugs with SMF 2.0 using the WYSIWYG editor

Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: Özgür on January 02, 2009, 02:25:32 PM
thanx vbgamer45 your great man. =)
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: LadyC on January 03, 2009, 04:06:49 PM
thanks! i'll try installing it shortly!
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: Genç Kalem on January 05, 2009, 01:54:34 PM
I want to include summary of the newest arcitles in my handmade portal homepage.

How can i do it?

Or can you give me source codes?
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: css_script_writer on January 11, 2009, 07:34:21 PM
SMF Articles MOD - "Comments" link does not appear

Hi

Anyway, my problem is that when I sign in under a test account the "Add Comment" link does not appear but it DOES when I sign in as the Admin. I have all of the permissions set properly, it's not a browser issues and it's not a post-count issue. I am just completely stumped at this point.

I'm using SMFArticles1.0.1.5 with SMF v1.1.7 and the "Add Comments" link won't even show up in the default theme. Any help would be much appreciated. It's a great script incidentally.

Thanks, CSS
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: willerby on January 12, 2009, 12:54:46 PM
Great mod, thanks.

I've installed on 2.0 b4 and all running very well except error log reporting following whenever users access articles...

Type of error: Undefined 
http://www..../forum/index.php?action=articles;sa=view;article=5 
8: Undefined variable: user_info
File: /home2/.../public_html/forum/cache/lang_Articles_english_Solihull.php (viewarticle sub template - eval?)
Line: 324

I've a fair few mods and running variant Theme 'Shadow People'. If I need to post a file, let me know which one and will attach.

Mods...

1. Show Joined, Location, Username In Topic View 1.0
2. Add Favicon.ico Support 1.0
3. ThemePermissions 1.0
4. Look But No Read 1.3
5. Ignore Board In New Posts 1.0   
6. Hide Info Center From Guests 1.0 
7. Bakers Dozen Pages 1.1 
8. Fix totalMembers undefined error 1.0 
9. Bookmarks 2.2.1
10. Global Headers Footers 2.0   
11. Images On Board 1.1 
12. Users Online Today 1.5.4


Any help really appreciated as this is a great mod and being used already by members.

Thanks

Willerby
Title: Re: SMF Articles (1.0.1.4 Released with SMF 2.0 support)
Post by: vbgamer45 on January 12, 2009, 08:06:32 PM
Fixed both above issues

Version 1.0.1.6
!Fixed undefined $user_info on view article page for SMF 2.0
!Fixed articles comment link permission issue showing on the view articles page.
Title: Re: SMF Articles (1.0.1.6 Released with SMF 2.0 support)
Post by: willerby on January 13, 2009, 03:02:54 PM
Thanks vbgamer - all fixed as far as I have been able to test...and no errors logged from users today.

I've had to disable the WYSIWYG editor though as its a nightmare when pasting articles in from other apps even when you run them through as plain text. I know this has caused others grief on 2.0b4 so nothing to do with your mod.

I'm getting another error that I am sure is related to this issue - its the same error I get logged on posting when someone uses the WYSIWYG editor heavily - and I've already posted on this issue at http://www.simplemachines.org/community/index.php?topic=283904.0 (http://www.simplemachines.org/community/index.php?topic=283904.0)

When I turn off the WYSIWYG everythings fine so I'm pretty sure its to do with the problems there.

Thanks for your fast response

W

Title: Re: SMF Articles (1.0.1.6 Released with SMF 2.0 support)
Post by: css_script_writer on January 14, 2009, 12:44:53 PM
Just wanted to add my thanks for your quick action of the SMF Articles script issues VBGamer. Works great!.

- CSS
Title: Re: SMF Articles (1.0.1.6 Released with SMF 2.0 support)
Post by: ferret on January 16, 2009, 09:04:47 AM
Hello,

This looks like a great mod - but I find it's truncing some of my longer articles.  Is there any way of increasing the allowable size for an article?
Title: Re: SMF Articles (1.0.1.6 Released with SMF 2.0 support)
Post by: Andree on January 18, 2009, 01:58:55 PM
in error log: Undefined index: ID_ARTCICLE.
in Articles.template.php, Articles2.template.php - ID_ARTCICLE, should be ID_ARTICLE
additional - I can't approve a separate comment, I can only approve all the comments.
When I click on the link ../index.php?action=articles;sa=apprcomment;id=4, I get a blank screen
Title: Re: SMF Articles (1.0.1.6 Released with SMF 2.0 support)
Post by: vbgamer45 on January 18, 2009, 03:17:38 PM
Quote from: ferret on January 16, 2009, 09:04:47 AM
Hello,

This looks like a great mod - but I find it's truncing some of my longer articles.  Is there any way of increasing the allowable size for an article?
How long is the article in the number of characters?
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on January 18, 2009, 03:39:01 PM
Quote from: Andree on January 18, 2009, 01:58:55 PM
in error log: Undefined index: ID_ARTCICLE.
in Articles.template.php, Articles2.template.php - ID_ARTCICLE, should be ID_ARTICLE
additional - I can't approve a separate comment, I can only approve all the comments.
When I click on the link ../index.php?action=articles;sa=apprcomment;id=4, I get a blank screen
Fixed both issues released update.


Version 1.0.1.7
!Fixed bug with undefined error when viewing comment approval list.
!Fixed approving single comment bug
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: willerby on January 19, 2009, 05:55:49 AM
Thanks vbgamer45, upgrade was a doddle.

W
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: willerby on January 21, 2009, 04:12:29 AM
One of my users has pointed out that when they rate an article nothing seems to happen. The rating system works but gives no indication that the article has been rated and leaves the user looking at the article just as they were before they clicked the rating button.

Maybe a message should be displayed to say that rating has been added, perhaps with a link back to the article category they were reviewing rather than the article itself?

Navigation from articles is limited too. There are no options when viewing an article other than using the back button or the main menu ARTICLES button/tab? On a category you have a couple of links at the bottom of the page, maybe these should also be on individual artciles?

Fussy I know, but that's the type of users I have!

W
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Minare on January 23, 2009, 12:08:59 PM
Hi

Thank you again for this great mod

I have this mod installed and I use 1.1.7 smf.

I have a question, when I update my smf to 2.0 , will I lose my articles ?

Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on January 23, 2009, 07:53:52 PM
Quote from: Minare on January 23, 2009, 12:08:59 PM
Hi

Thank you again for this great mod

I have this mod installed and I use 1.1.7 smf.

I have a question, when I update my smf to 2.0 , will I lose my articles ?


No you will not.
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Minare on January 24, 2009, 04:43:30 AM
Thank you for your response, good news :)
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: PerryM on January 26, 2009, 12:37:04 AM
Installed new 2.0 Beta 4 and Articles 1.0.1.7 - installation went fine.

Admin can see and create categories and articles and permissions - did that.

Gave type of user every kind of permission.

However, no one else can see any link to Articles - is there something I need to do so my users see them?

Thanks
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on January 26, 2009, 12:58:35 AM
Did you set the global SMF permissions under

Admin -> Permissions
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: PerryM on January 26, 2009, 01:05:23 AM
Quote from: vbgamer45 on January 26, 2009, 12:58:35 AM
Did you set the global SMF permissions under

Admin -> Permissions

No, I can't find anything to do with Articles
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on January 26, 2009, 01:07:24 AM
There should be a set of permissions on that page.  If you modify each group for each membergroup that controls who can see the articles button and other permissions such as adding articles, comments etc.
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: PerryM on January 26, 2009, 01:12:09 AM
Quote from: vbgamer45 on January 26, 2009, 01:07:24 AM
There should be a set of permissions on that page.  If you modify each group for each membergroup that controls who can see the articles button and other permissions such as adding articles, comments etc.

Thanks, I now see it and my users can use Articles.

Thanks so much guys.
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: PerryM on January 26, 2009, 01:40:48 AM
When I click "View Ratings" iI see the user but nstead of seeing stars I see [X] - the image of the star is not found.

Besides that I like this module!
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: fords8 on January 28, 2009, 09:51:17 PM
I wanted all my articles to be posted in a forum of my choice. Anyway that can be done? Or did I miss it somewhere?

BTW, I hit *add a article* in any topic, it returns me to the main page. Running SMF Beta 4 and Simple Portal. Shouldn't there be a *add a article* where it says *new topic* too?
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on January 28, 2009, 10:39:47 PM
Quote from: fords8 on January 28, 2009, 09:51:17 PM
I wanted all my articles to be posted in a forum of my choice. Anyway that can be done? Or did I miss it somewhere?

That is not built in at this time.
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: fords8 on January 29, 2009, 01:15:30 AM
QuoteThat is not built in at this time.

OK thanks!

QuoteBTW, I hit *add a article* in any topic, it returns me to the main page. Running SMF Beta 4 and Simple Portal. Shouldn't there be a *add a article* where it says *new topic* too?

Anything to add about this?
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Minare on January 29, 2009, 09:34:39 AM
Is it possible to make this mod available with seo4smf with some extra addings to .htaccess ?

Anybody did this or can ?

Thanks.
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on January 29, 2009, 10:41:32 PM
Probably not I might do pretty urls.

seo4smf is no longer updated.
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Minare on January 29, 2009, 11:03:54 PM
Quote from: vbgamer45 on January 29, 2009, 10:41:32 PM
Probably not I might do pretty urls.

seo4smf is no longer updated.

No it is.

Two weeks ago, it was updated. I think mod writer still cares for it or else he wouldn't update it upon a security issue.

am I wrong ?
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on January 29, 2009, 11:12:33 PM
I don't think so since that has been the update change was 10 lines of code in like over a year
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Minare on January 29, 2009, 11:16:17 PM
Yes actually you are right, it was just a security fix. But there are so many people using seo4smf

actually I tell this as an excuse not for them but just because I need it, that is why I may seem a bit egoist, sorry dude, never mind I am going crazy =)
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: seficar on January 31, 2009, 08:30:33 AM
hello, i have a little problem

i dont have

$current_action = 'admin';
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))


in my Themes/default/index.template.php

can i put

'articles',
after
$ca = 'admin';
}


i know "This operation isn't vital to the installation of this mod." but i realy want to install everything.

Thnx.  ;D
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on January 31, 2009, 07:30:28 PM
Maybe it for custom themes it may be different.
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: seficar on February 01, 2009, 05:15:16 AM
its amber by bloc

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi39.tinypic.com%2F214cdp0.jpg&hash=e72e43cefde006068bd5cb2fbea1421349b35b4c)

im only getting this,  already ask in "amber" topic how to fix this, still no answer  :-\
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on February 01, 2009, 09:22:35 AM
Need to see you index.template.php file
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Angelotus on February 03, 2009, 08:18:07 AM
Fantastic mod! Thanks for that!
One question: are there any SSI functions available for this mod? Like a list of recent articles etc?
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on February 03, 2009, 08:19:53 PM
Quote from: Angelotus on February 03, 2009, 08:18:07 AM
Fantastic mod! Thanks for that!
One question: are there any SSI functions available for this mod? Like a list of recent articles etc?
Not yet. Any other SSI functions you are looking for?
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Angelotus on February 04, 2009, 03:00:34 AM
Quote from: vbgamer45 on February 03, 2009, 08:19:53 PM
Quote from: Angelotus on February 03, 2009, 08:18:07 AM
Fantastic mod! Thanks for that!
One question: are there any SSI functions available for this mod? Like a list of recent articles etc?
Not yet. Any other SSI functions you are looking for?

Well, like a list of: recent comments in the article section, most rated articles, most commented articles, top submitters. But most of all I would like to see a list of recent articles (similar like the ssi function recent topics).
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: diamanda on February 05, 2009, 02:38:33 PM
I need this mod in spanish please :'(
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Dream12 on February 05, 2009, 04:37:05 PM
Hey Guys,

This may already have been asked but i installed this MOD but it isnt showing up when i use anything but the defult themes.

Any ideas????
I have installed 2 different themes and neither of them show the articles link.

Thanks Guys :D
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: ttuu on February 06, 2009, 08:29:25 AM
i have suggestion.
u can add function, Each forum will be articles on that category name?
and Have a link at the top of this forum to articles of the same forum.
This is an interesting addition.
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: diamanda on February 06, 2009, 12:05:59 PM
I uninstall this mod and later missing my Fckeditor (tinyportal) don't work.

Help me please!!!! 
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: coucnilhomeswap on February 06, 2009, 07:15:57 PM
when i try to add an article i get this error message. "Fatal error: Maximum execution time of 30 seconds exceeded in /home/easyfree/public_html/Sources/Subs-Editor.php on line 560" any idea what to do
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: SW2FL on February 10, 2009, 05:49:47 AM
Hello, I have the following problem with the smf article

if I want to edit, delete  or approve articles

the following mistake appears:

"501 Method Not Implemented

GET to /smf/articles/ not supported.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."



The same situation with view rating and Add Comment

I am using Pretty URLs mod, but if I remove it the same mistake appears again:

"501 Method Not Implemented

GET to /smf/index.php not supported.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."


This is the address of the forum using smf article mod:

http://www.ruseonline.info/smf/index.php?action=articles;cat=4 (http://www.ruseonline.info/smf/index.php?action=articles;cat=4)
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on February 10, 2009, 08:27:17 PM
Issue with mod_security read
www.simplemachines.org/community/index.php?topic=34270
Title: http 406 error when trying to add a comment to articles
Post by: movingmagic on February 14, 2009, 11:16:03 AM
Hi,

I am using SMF2.0 RC1
I installed Articles and everything works fine except for the - add comment -

What I get is a blank screen with a http 406 error

This is what it says in the address line of the browser window:

http://89.105.192.22/~id90522/katzenforum/index.php?action=articles;sa=comment;id=21

Any thoughts on what might cause this?
I had a similar problem with Gallery Light. The solution was there to replace ;id=a with &id=a
in the gallery template
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on February 14, 2009, 11:47:55 AM
same issue caused by mod_security
Title: OK, but how do I solve this?
Post by: movingmagic on February 14, 2009, 12:53:45 PM
Thanks for your quick reply, but I am just a beginner with SMF and mods.
What to do?

Thanks in advance,

Pieter
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on February 14, 2009, 01:03:09 PM
Read this topic
www.simplemachines.org/community/index.php?topic=34270
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Kindred on February 14, 2009, 01:29:14 PM
VBGammer...

I love this mod. :)   Now I just have to figur eout how to transfer 200 articles out of a mambo database and into the smf articles tables.
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on February 14, 2009, 01:44:07 PM
Quote from: Kindred on February 14, 2009, 01:29:14 PM
VBGammer...

I love this mod. :)   Now I just have to figur eout how to transfer 200 articles out of a mambo database and into the smf articles tables.
Thanks!

I have built in support for TinyPortal converting you can probably modify them to do mambo as well.
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: ttuu on February 14, 2009, 02:17:26 PM
Quote from: ttuu on February 06, 2009, 08:29:25 AM
i have suggestion.
u can add function, Each forum will be articles on that category name?
and Have a link at the top of this forum to articles of the same forum.
This is an interesting addition.
bump!
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on February 14, 2009, 02:51:17 PM
i don't think i will do that don't understand
Title: Still no luck with my problem in Articles
Post by: movingmagic on February 15, 2009, 05:03:06 AM
Hi,

I tried the .htaccess mod secutiry suggestions, but to no avail.
This is what I get when trying to edit articles:
I am using smf 2.0 rc1

A blank screen with this message:

Not Acceptable

An appropriate representation of the requested resource /~id90522/kattenforum/index.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

While the address bar of the browser displays:
http://89.105.192.22/~id90522/kattenforum/index.php?action=articles;sa=editarticle;id=5

Help is appreciated.

Thanks

Pieter
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: willerby on February 18, 2009, 03:13:35 PM
I have a user set with Edit own Article permission and Articles Admin permission but he cannot edit articles? He's not an admin on the forum just a normal member but has a category of his own with these permissions.

Following error recorded each time he tries:

Fatal error: Maximum execution time of 30 seconds exceeded in /home.../public_html/forum/Sources/Subs-Editor.php on line 560


any ideas?
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Ramón Cutanda on February 21, 2009, 01:46:10 PM
First of all THANKS for this great mod. I hope I can contribute somehow with my translation :)

NOTE: As this language file is aimed at Spanish speakers I allow myself to write the instructions in Spanish. I hope you won't mind.

Adjunto versión en español en UFT-8 para Articles 1.0.1.7

INSTRUCCIONES

1. Descomprime SMFArticles1.0.1.7.zip
2. Añade el fichero de idioma adjunto a este mensaje
3. Abre el archivo package-info.xml
4. Si, como yo, no usas el inglés haz un "Buscar y reemplazar" Busca english-utf8.php y reemplázalo por spanish_es-uft8.php. Si quieres mantener el inglés busca todos los lugares en los que aparezca english-utf8.php y añade justo debajo una línea idéntica, pero cambiando english por spanish_es.
5. Para SMF 1.x:
Abre el archivo articles.xml
Añade lo siguiente:
<file name="$languagedir/Modifications.spanish_es-utf8.php">
    <operation error="ignore">
        <search position="after"><![CDATA[?>]]></search>
        <add><![CDATA[
// Begin SMF Articles Text Strings
$txt['smfarticles_menu'] = 'Artículos';
$txt['smfarticles_admin'] = 'Configuración de los artículos';

$txt['permissiongroup_smfarticles'] = 'Artículos SMF';

$txt['permissionname_view_articles'] = 'Ver Artículos';
$txt['permissionhelp_view_articles'] = 'Define si los usuarios pueden ver los artículos.';
$txt['cannot_view_articles'] = 'No puedes ver esta página.';

$txt['permissionname_add_articles'] = 'Añadir artículo';
$txt['permissionhelp_add_articles'] = 'Si el usuario puede enviar artículos';

$txt['cannot_add_articles'] = 'No puedes añadir artículos.';
$txt['permissionname_edit_articles'] = 'Editar propios artículos';
$txt['permissionhelp_edit_articles'] = 'Si el usuario puede editar artículos';

$txt['cannot_edit_articles'] = 'No puedes editar artículos.';
$txt['permissionname_delete_articles'] = 'Borrar propios artículos';
$txt['permissionhelp_delete_articles'] = 'Si el usuario puede borrar artículos';
$txt['cannot_delete_articles'] = 'No puedes borrar artículos.';

$txt['permissionname_articles_comment'] = 'Dejar comentarios';
$txt['permissionhelp_articles_comment'] = 'Permite al usuario comentar artículos.';
$txt['cannot_articles_comment'] = 'No puedes escribir comentarios.';


$txt['permissionname_articles_auto_approve'] = 'Auto-aprobación de artículos';
$txt['permissionhelp_articles_auto_approve'] = 'Si los artículos so automáticamente aprobados al enviarlos.';

$txt['permissionname_articles_autocomment'] = 'Auto-aprobación de comentarios';
$txt['permissionhelp_articles_autocomment'] = 'Los comentarios no necesitan espera para ser aprobados.';

$txt['permissionname_rate_articles'] = 'Valorar artículos';
$txt['permissionhelp_rate_articles'] = 'Si el usuario puede valorar artículos';
$txt['cannot_rate_articles'] = 'No tienes permiso para valorar artículos.';

$txt['permissionname_articles_admin'] = 'Administrar artículos';
$txt['permissionhelp_articles_admin'] = 'El usuario pude administrar artículos';
$txt['cannot_articles_admin'] = 'No tienes permiso para administrar artículos.';
// END SMF Articles Strings           
]]></add>
    </operation>
</file>

<file name="$languagedir/Who.spanish_es-utf8.php">
    <operation error="ignore">
        <search position="after"><![CDATA[?>]]></search>
        <add><![CDATA[
// Begin SMF Articles
$txt['whoall_articles'] = 'Viendo <a href="' . $scripturl . '?action=articles">' . $txt['smfarticles_menu'] . '</a>';
// END SMF Articles Strings           
]]></add>
    </operation>
</file>

5.1 Para SMF 2.x
Abre el archivo articles2.xml
Añade lo siguiente:
<file name="$languagedir/Modifications.english.php">
    <operation error="ignore">
        <search position="after"><![CDATA[?>]]></search>
        <add><![CDATA[
// Begin SMF Articles Text Strings
$txt['smfarticles_menu'] = 'Artículis';
$txt['smfarticles_admin'] = 'Configuración de los artículos';

$txt['smfarticles_articlessettings'] = 'Ajustes';
$txt['smfarticles_approvearticles'] = 'Aprobar artículos';
$txt['smfarticles_form_approvecomments'] = 'Aprobar comentarios';
$txt['smfarticles_catpermlist'] = 'Lista de Permisos por Categorías';
$txt['smfarticles_txt_import'] = 'Importar';

$txt['permissiongroup_smfarticles'] = 'Artículos SMF';

$txt['permissionname_view_articles'] = 'Ver Artículos';
$txt['permissionhelp_view_articles'] = 'Define si los usuarios pueden ver los artículos.';
$txt['cannot_view_articles'] = 'No puedes ver esta página.';

$txt['permissionname_add_articles'] = 'Añadir artículo';
$txt['permissionhelp_add_articles'] = 'Si el usuario puede enviar artículos';

$txt['cannot_add_articles'] = 'No puedes añadir artículos.';
$txt['permissionname_edit_articles'] = 'Editar propios artículos';
$txt['permissionhelp_edit_articles'] = 'Si el usuario puede editar artículos';

$txt['cannot_edit_articles'] = 'No puedes editar artículos.';
$txt['permissionname_delete_articles'] = 'Borrar propios artículos';
$txt['permissionhelp_delete_articles'] = 'Si el usuario puede borrar artículos';
$txt['cannot_delete_articles'] = 'No puedes borrar artículos.';

$txt['permissionname_articles_comment'] = 'Dejar comentarios';
$txt['permissionhelp_articles_comment'] = 'Permite al usuario comentar artículos.';
$txt['cannot_articles_comment'] = 'No puedes escribir comentarios.';


$txt['permissionname_articles_auto_approve'] = 'Auto-aprobación de artículos';
$txt['permissionhelp_articles_auto_approve'] = 'Si los artículos so automáticamente aprobados al enviarlos.';

$txt['permissionname_articles_autocomment'] = 'Auto-aprobación de comentarios';
$txt['permissionhelp_articles_autocomment'] = 'Los comentarios no necesitan espera para ser aprobados.';

$txt['permissionname_rate_articles'] = 'Valorar artículos';
$txt['permissionhelp_rate_articles'] = 'Si el usuario puede valorar artículos';
$txt['cannot_rate_articles'] = 'No tienes permiso para valorar artículos.';

$txt['permissionname_articles_admin'] = 'Administrar artículos';
$txt['permissionhelp_articles_admin'] = 'El usuario pude administrar artículos';
$txt['cannot_articles_admin'] = 'No tienes permiso para administrar artículos.';
// END SMF Articles Strings       
]]></add>
    </operation>
</file>
<file name="$languagedir/Modifications.english-utf8.php" error="skip">
    <operation error="ignore">
        <search position="after"><![CDATA[?>]]></search>
        <add><![CDATA[
// Begin SMF Articles Text Strings
$txt['smfarticles_menu'] = 'Articles';
$txt['smfarticles_admin'] = 'Articles Configuration';

$txt['smfarticles_articlessettings'] = 'Settings';
$txt['smfarticles_approvearticles'] = 'Approve Articles';
$txt['smfarticles_form_approvecomments'] = 'Approve Comments';
$txt['smfarticles_catpermlist'] = 'Category Permission List';
$txt['smfarticles_txt_import'] = 'Import';

$txt['permissiongroup_smfarticles'] = 'SMF Articles';

$txt['permissionname_view_articles'] = 'View Articles';
$txt['permissionhelp_view_articles'] = 'Sets if the user can view the articles.';
$txt['cannot_view_articles'] = 'You can not view the articles page.';

$txt['permissionname_add_articles'] = 'Add Article';
$txt['permissionhelp_add_articles'] = 'If the user is allowed to submit articles';

$txt['cannot_add_articles'] = 'You can not add articles.';
$txt['permissionname_edit_articles'] = 'Edit own Articles';
$txt['permissionhelp_edit_articles'] = 'If the user is allowed to edit articles';

$txt['cannot_edit_articles'] = 'You can not edit articles.';
$txt['permissionname_delete_articles'] = 'Delete own Articles';
$txt['permissionhelp_delete_articles'] = 'If the user is allowed to delete articles';
$txt['cannot_delete_articles'] = 'You can not delete articles.';

$txt['permissionname_articles_comment'] = 'Leave Comments';
$txt['permissionhelp_articles_comment'] = 'Allows the user to leave comments on an article.';
$txt['cannot_articles_comment'] = 'You are not allowed to leave comments.';


$txt['permissionname_articles_auto_approve'] = 'Articles Auto Approved';
$txt['permissionhelp_articles_auto_approve'] = 'If the users articles are auto approved when submitted.';

$txt['permissionname_articles_autocomment'] = 'Auto Approve Comments';
$txt['permissionhelp_articles_autocomment'] = 'Comments do not need to wait for approval.';

$txt['permissionname_rate_articles'] = 'Rate Articles';
$txt['permissionhelp_rate_articles'] = 'If the user is allowed to rate articles';
$txt['cannot_rate_articles'] = 'You are not allowed to rate articles.';

$txt['permissionname_articles_admin'] = 'Admin Articles';
$txt['permissionhelp_articles_admin'] = 'User can manage the articles';
$txt['cannot_articles_admin'] = 'You are not allowed to manage the articles.';
// END SMF Articles Strings       
]]></add>
    </operation>
</file>
<file name="$languagedir/Who.spanish_es-utf8.php">
    <operation error="ignore">
        <search position="after"><![CDATA[?>]]></search>
        <add><![CDATA[
// Begin SMF Articles
$txt['whoall_articles'] = 'Viendo <a href="' . $scripturl . '?action=articles">' . $txt['smfarticles_menu'] . '</a>';
// END SMF Articles Strings           
]]></add>
    </operation>
</file>

6. Vuelve a comprimir todo en un ZIP e instala como de costumbre
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on February 22, 2009, 10:40:18 AM
!Fixed minor bug in SMF 2.0 not showing the title of permissions under simple permissions in SMF.
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: SeloCani on February 22, 2009, 11:28:42 AM
Is there any information about http 501 - 505 error in Turkish language?
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on February 22, 2009, 02:06:37 PM
No check webserver permissions
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: willerby on February 22, 2009, 04:44:36 PM
Quote from: vbgamer45 on February 22, 2009, 10:40:18 AM
!Fixed minor bug in SMF 2.0 not showing the title of permissions under simple permissions in SMF.

vbg...

Was this related to my earlier post above?
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on February 22, 2009, 05:00:09 PM
No most likely due to a bad bbc code inside the mesage that is causing it to loop
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: SeloCani on February 23, 2009, 04:08:16 PM
Quote from: vbgamer45 on February 22, 2009, 02:06:37 PM
No check webserver permissions

I read the title you have wrote about mod_security . I added that code in my .htacces file. But I still can't see comments etc. pages.

Quote
<IfModule mod_security.c>
   # Turn off mod_security filtering.  SMF is a big boy, it doesn't need its hands held.
   SecFilterEngine Off

   # The below probably isn't needed, but better safe than sorry.
   SecFilterScanPOST Off
</IfModule>

Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on February 23, 2009, 07:40:49 PM
Please contact your host to disable mod_security for your site
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: SeloCani on February 24, 2009, 03:09:38 AM
I fixed my http error;

I changed the link tree

for example if the older link is articles;edit, I did it articles&edit. So I changed ; to & ...

But how can I do a last or recent articles block for my index?

Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: LadyC on February 28, 2009, 12:35:01 PM
is there a way that the articles waiting for submission could be seen in the moderating panel? maybe in the next update or something?
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on February 28, 2009, 01:12:54 PM
Quote from: LadyC on February 28, 2009, 12:35:01 PM
is there a way that the articles waiting for submission could be seen in the moderating panel? maybe in the next update or something?
Not yet haven't looked at doing any SMF 2.0 specific features yet.
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: munty on March 01, 2009, 06:48:35 AM
I was wondering if it is possible to change the menu button name from articles to something else.

I am running a techie type site, and want to change it to the word tutorials instead?

Is this possible.... ( i am fairly new to SMF, so dont want to break anything by "fiddling")

thanks
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Kindred on March 01, 2009, 07:54:53 AM
yes... change the word in the text strings (modifications.english.php)
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: oistarbwoy on March 01, 2009, 05:12:21 PM
my website is very complicated so instead of having large amounts of links/pages i am trying to keep things down to a minimum.

I am using Simple portal... which has articles but they just arent as good as this actual mod. Which means i have 2 sets of articles hanging around. not good. i want them to be kept as boards aswell as articles

i was wondering if there is any way to do ANY 1 of the following. (In order of which i would prefer)

1.) have them share  database tables so they can both display articles that are the same. so if you replied to a post in the forum version it would display as a comment and vice versa.

2.) change the add article link that apears in topics from my simple portals article system to post into both tables.

3.) when posting a topic click a checkbox to have it also submit to article

if anyone can help me that would be brilliant ... thanks :) x
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Kindred on March 01, 2009, 06:31:41 PM
The whole point of this mod is to SEPARATE the articles from normal posts...
(And you could use EZportal which links to this mod if you want a portal and articles system)

Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: oistarbwoy on March 02, 2009, 08:37:37 AM
right erm ok... i understand the point of the mod - i was trying to find out if i can change that.

As you quite patronising just pointed out it keeps them SEPERATE i obviously know that which is why I'm trying to find a way to edit that. Is'nt that the whole point of adding modifications and adjustments to your smf to get it to function in the way you want for your websites needs.

You didnt actually answer my question at all.

seeing as how my question was never "what is the point of this mod?"

ive obviously looked at all the portal systems long before i posted this, to look for an alternative. ez portal doesnt have enough flexibility to have the blocks showing on the specific actions i need.

tiny portal would obviousy be the best but its not available for SMF 2.0 RC1. the portal mx doesnt have articles and so i would have to use the article mod and simple portals article layout and template look rubish... just like posts. I want them to be posts but look like articles!

but anyway can anybody answer my ACTUAL question, which was is it possible to do any of these things?
Quote from: oistarbwoy on March 01, 2009, 05:12:21 PM

1.) have them share  database tables so they can both display articles that are the same. so if you replied to a post in the forum version it would display as a comment and vice versa.

2.) change the add article link that apears in topics from my simple portals article system to post into both tables.

3.) when posting a topic click a checkbox to have it also submit to article

if anyone can help me that would be brilliant ... thanks :) x

Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Kindred on March 02, 2009, 09:01:25 AM
I actually did answer your question, albeit indeirectly.
to answer your question more directly...  not at all easily.

This mod stores the articles in a completely different format and table(s) from the post messages.

You would have to re-write the mod...
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: munty on March 03, 2009, 06:16:05 AM
kindred - many thanks for that m8
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Filipina on March 08, 2009, 11:09:37 AM
My forum is turning into vbgamer45 MOD central so please don't disappear :)

Love the MOD and I was wondering if two things might be included in a future update that I miss from my old blog mod

1) Option to show user avatar in the category and article view?
2) Add "most recent articles" link at the top of the forum?

Thanks
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Mick. on March 08, 2009, 01:17:02 PM
VBGamer.....

Im trying to apply manually the "addthis social bookmarking" mod to the articles in the article.template.php


"addthis social bookmarking" code

<!-- AddThis Bookmark Button BEGIN -->
        <td align="right" valign="middle" style="padding-right: 6px;">
          <script language="JavaScript" type="text/javascript"><!-- // -->
            addthis_url    = location.href;   
            addthis_title  = document.title; 
            addthis_pub    = \'\';     
          // ]]></script>
          <script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
        </td>
        <!-- AddThis Bookmark Button END -->


into article.template.php

// Show the title
echo '<tr class="titlebg">
<td align="center">', $context['article']['title'], '</td>
</tr>';

echo '<tr class="windowbg">
<td><span class="smalltext"><b>',$txt['smfarticles_submittedby2'],'</b>', '
<a href="',$scripturl, '?action=profile;u=',$context['article']['ID_MEMBER'],'">', $context['article']['realName'], '</a>
<b>',$txt['smfarticles_date2'],'</b> ',

timeformat($context['article']['date']), '

<b>',$txt['smfarticles_views2'],'</b> ',

$context['article']['views'], '

</span>
</td>
</tr>';


// Show Summary
if (!empty( $context['article']['description']))
echo '<tr class="windowbg">
<td><b>',$txt['smfarticles_summary2'],'</b>',
$context['article']['description'], '</td>
</tr>';

// Show article
echo '<tr class="windowbg">
<td><hr />
',parse_bbc($context['article_page']['pagetext']),'
</td>
</tr>';


My problem is,no matter where i add the social bookmark code,it shows crooked or out of place.

Any ideas?
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on March 08, 2009, 01:36:13 PM
I would try before summary

echo '
<!-- AddThis Bookmark Button BEGIN -->
        <td align="center" style="padding-right: 6px;">
            <script language="JavaScript" type="text/javascript"><!-- // -->
            addthis_url    = location.href;   
            addthis_title  = document.title;
            addthis_pub    = \'\';     
          // ]]></script>
          <script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
        </td>
        <!-- AddThis Bookmark Button END -->';

Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Mick. on March 08, 2009, 01:42:06 PM
Quote from: vbgamer45 on March 08, 2009, 01:36:13 PM
I would try before summary

echo '
<!-- AddThis Bookmark Button BEGIN -->
        <td align="center" style="padding-right: 6px;">
            <script language="JavaScript" type="text/javascript"><!-- // -->
            addthis_url    = location.href;  
            addthis_title  = document.title;
            addthis_pub    = \'\';    
          // ]]></script>
          <script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
        </td>
        <!-- AddThis Bookmark Button END -->';



Excellent!  Thank you.   That was one place i didnt try as i was trying to add it to show after the total of "views".   But this works just fine.
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on March 08, 2009, 01:44:17 PM
Quote from: Filipina on March 08, 2009, 11:09:37 AM
My forum is turning into vbgamer45 MOD central so please don't disappear :)

Love the MOD and I was wondering if two things might be included in a future update that I miss from my old blog mod

1) Option to show user avatar in the category and article view?
2) Add "most recent articles" link at the top of the forum?

Thanks
Article view on the article page itself? Or on the article listing page?
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Mick. on March 08, 2009, 01:52:06 PM
Quote from: vbgamer45 on March 08, 2009, 01:44:17 PM
Quote from: Filipina on March 08, 2009, 11:09:37 AM
My forum is turning into vbgamer45 MOD central so please don't disappear :)

Love the MOD and I was wondering if two things might be included in a future update that I miss from my old blog mod

1) Option to show user avatar in the category and article view?
2) Add "most recent articles" link at the top of the forum?

Thanks
Article view on the article page itself? Or on the article listing page?

article view.    I guess where users and guests read the actual article.   It shows the posters name,views,etc.   I figured the bookmarks could fit right in after it.

Like this:

Submitted By:  MoAv Date:  November 16, 2008, 02:12:04 PM Views:  95 {bookmarks here}

Here one of my articles...

http://www.chevyavalancheclub.com/index.php?action=articles;sa=view;article=34

Notice where the bookmarks ended up to?   Right in the center.
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Mick. on March 08, 2009, 02:01:06 PM
Even better if you can implement this to the right of the titlebg or so shown in this pic in your next release.

Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Filipina on March 08, 2009, 03:40:23 PM
Quote from: vbgamer45 on March 08, 2009, 01:44:17 PM
Article view on the article page itself? Or on the article listing page?

Examples would be these two pages to show the avatar... and the "most recent articles" link on the main forum would also be great :)

http://www.melindaspenpals.com/penpal-community/index.php?action=articles;cat=2 

http://www.melindaspenpals.com/penpal-community/index.php?action=articles;sa=view;article=2
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: davieb on March 10, 2009, 03:55:01 PM
Tell you what would be a great addition to SMF Articles, (for me anyway) and that would be the ability to add attachements to the articles. The mod seems to use just the standard posting system for SMF but without the "Additional Options" bit at the bottom. On our site we are trying to use SMF Articles to create "How To" guides, location information and techniques for photographers so being able to add images as attachments would be a godsend. We already have the "Inline Attachments" mod in the forum which allows us to put images in particular places in forum posts and the "inline" dropdown actually appears on the screen when writing aticles but the attachment browse field at the bottom doesn't.

Is there anyway the attachment bit could be added.
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: willerby on March 10, 2009, 04:59:14 PM
I wanted the same thing as some articles were better presented with .pdf or .xls file supplements as attachments. Rather than wait for a mod I just ftp the doc to my host then link to it from within the article...

eg.

[url=http://www.forumname.com/.../filename.pdf]Click here for example x[/url]

Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: willerby on March 11, 2009, 10:04:55 AM
vbg,

Re permissions on SMF Articles, is there an easy way to allow certain membergroups to view a list of articles within a category but not see the article itself? Happy to manually edit code if you can suggest something?

I have a load of technical articles that only paid up members can view but want non-members to see the depth of the resource by alowing them to view the headings

Thanks

W
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Filipina on March 11, 2009, 11:54:54 PM
One more thing vbgamer45.... when i go in and view ratings as an admin (to see who rated what) on that page the star images are showing as red x's ... When you look at the properties it shows as default/images/star,gif instead of Themes/default/images/star.gif ...   
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Bec on March 13, 2009, 11:11:12 AM
Just wondering if anyone knows if there is a code floating around to display the latest articles in a tp block?? 

and I dont know if Im going blind or what but is it possible to use html in the articles?
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: MMcGrad2 on March 19, 2009, 12:27:31 AM
How can I make everyone view the articles page, I know how to let everyone view the tab, but how can i let people view http://www.mybeautifulwebsitethatyoudontgettoknowitsname.com/index.php?action=articles ?
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on March 19, 2009, 01:11:57 AM
You need to setup the permissions

Under Admin -> Permissions
Modify a group then find the SMF Articles permissions.
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: MMcGrad2 on March 19, 2009, 08:44:52 PM
Quote from: vbgamer45 on March 19, 2009, 01:11:57 AM
You need to setup the permissions

Under Admin -> Permissions
Modify a group then find the SMF Articles permissions.
Still doesn't work.  Is there anyway I can manually override the mod's files so anyone can view the articles?  I want to make use of the articles like a blog.
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Özgür on April 04, 2009, 05:42:48 PM


Smf Articles Little Pretty Url Support


Find in PrettyUrls-Filters.php
?>
Add Before:
function pretty_articles_filter($urls)
{
    global $boardurl, $scripturl;
   
// categories
    $pattern = '~' . $scripturl . '(.*)action=articles;cat=([^;]+)~S';
    $replacement = $boardurl . '/articles/category/$2/';
    $replacement .= (strpos($replacement, '?') === false ? '?' : ';') . (isset($PHPSESSID[0]) ? $PHPSESSID[0] : '') . ';' . (isset($sesc[0]) ? $sesc[0] : '') . (isset($fragment[0]) ? $fragment[0] : '');
    foreach ($urls as $url_id => $url)
        if (!isset($url['replacement']))
            if (preg_match($pattern, $url['url']))
                $urls[$url_id]['replacement'] = preg_replace($pattern, $replacement, $url['url']);

   
    // articles
    $pattern = '~' . $scripturl . '(.*)sa=view;article=([^;]+)~S';
    $replacement = $boardurl . '/articles/$2/';
    $replacement .= (strpos($replacement, '?') === false ? '?' : ';') . (isset($PHPSESSID[0]) ? $PHPSESSID[0] : '') . ';' . (isset($sesc[0]) ? $sesc[0] : '') . (isset($fragment[0]) ? $fragment[0] : '');
    foreach ($urls as $url_id => $url)
        if (!isset($url['replacement']))
            if (preg_match($pattern, $url['url']))
                $urls[$url_id]['replacement'] = preg_replace($pattern, $replacement, $url['url']);
   
    return $urls;
}

You go to your site.com/forum/index.php?action=admin;area=pretty;sa=filters and find this code     }
}
from last line.
And add between these line for this
(ex :     } code code code....
}
)

,
    "articles": {
        "description": "articles",
        "enabled": 0,
        "filter": {
            "priority": 4,
            "callback": "pretty_articles_filter"
        },
        "rewrite": {
            "priority": 4,
            "rule": [
                "RewriteRule ^articles/([^/]+)/?$ index.php?action=articles;sa=view;article=$1 [L,QSA]",
                "RewriteRule ^articles/category/([^/]+)/?$ index.php?action=articles;cat=$1 [L,QSA]"
            ]
        },
        "title": "Articles pretty support"
    }


And go to pretty settings and enable this filter and run pretty maintenance.
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: robinrobin on April 06, 2009, 01:14:06 PM
1.0.1.7
2.0 RC1

Spell-checking articles while editing them actually removes all text from the text-field when the spell-checking tab/window closes and returns to the edit tab/window!

Solution: Copy the code for the spell-checking feature from the Post.template.php file in your theme(s) folder(s) and replace the code in the Articles2.template.php file with it.

A preview function is needed.

The text-field when editing articles could be wider.

Solution: Search for "// Showing BBC?" in Articles2.template.php and add a width to the table tag just above it.
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Kindred on April 26, 2009, 12:00:14 AM
Ok...

I just finished importing a boatload of articles form my old Joomla/Mambo installation into the SMF articles tables.

I now have two problems.
1- none of the categories have a count... they all still say "0" as the number of articles.
2- the SUB categories do not properly fill the breadcrumbs...   If I click on Cat1 the breadcrumbs say: forum > articles > Cat1, but if I then go to SubCatA, the breadcrumbs say: forum > articles > subcatA
there is no way to get back to the category... only to the articles root or the subcat.

side note- mambo allows HTML... If I do not EDIT the articles, then everything is fine... but once I edit an article, it displays all of the html. :(

Question: What are the "roworder" and "sectiontitles" column for in the smf_articles_page database tables?
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on April 26, 2009, 12:33:18 AM
1. Check that Count Sub Categories total is checked under article systems
2. Will add a fix for this issue.

Quote
Question: What are the "roworder" and "sectiontitles" column for in the smf_articles_page database tables?
Currently they are not used yet. The plan was for a way to store long articles or to allow articles to be split into multiple pages.
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: Kindred on April 26, 2009, 01:24:31 AM
nope...    the problem appears to be that the system does not recognize the imported articles....

UNTIL I add or delete an article in that specific category, at which point, it recounts and fills in the correct number.
There should be a "force recount" option in the admin...
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on April 26, 2009, 02:00:34 AM


Quote from: robinrobin on April 06, 2009, 01:14:06 PM


Spell-checking articles while editing them actually removes all text from the text-field when the spell-checking tab/window closes and returns to the edit tab/window!

Solution: Copy the code for the spell-checking feature from the Post.template.php file in your theme(s) folder(s) and replace the code in the Articles2.template.php file with it.


How did you get spell check to work? I haven't been able to get it to work correctly with wywsig editor..
Quote from: Kindred on April 26, 2009, 01:24:31 AM
nope...    the problem appears to be that the system does not recognize the imported articles....

UNTIL I add or delete an article in that specific category, at which point, it recounts and fills in the correct number.
There should be a "force recount" option in the admin...
Good idea will add it.
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: vbgamer45 on April 26, 2009, 02:15:49 AM
Released a new update!

Version 1.0.2
!Fixed duplicate linktree on some pages in SMF 2.0
+Added bbc editor for categories in SMF 2.0
+Added a comma separator for subcategories on SubCategories list.
!Fixed link tree to show subcategories of articles and added to the display article page to include categories
+Added Recount articles function found under Settings
!Improved the modification for better support with mod_security
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Kindred on April 26, 2009, 09:15:04 AM
WOOT!  this works like a charm...
Title: Re: SMF Articles (1.0.1.7 Released with SMF 2.0 support)
Post by: robinrobin on April 26, 2009, 01:12:19 PM
Quote from: vbgamer45 on April 26, 2009, 02:00:34 AM
How did you get spell check to work? I haven't been able to get it to work correctly with wywsig editor..

I just replaced all your spellchecking code with the one from my theme. I was surprised that no further configuration was needed. It worked just fine.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: jwladi on April 27, 2009, 03:41:55 PM
I'm thinking about make a TP block to show an introduction to last article in main page.  It would be fine a field where you can add an introduction to the article with bbcodes/html tags in order to format this introduction, or something like this.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: btbio on April 29, 2009, 10:44:55 AM
Thanks for this mod!!

Does anyone know the code to add this into a profile (2.0RC1)?

Something underneath "show posts" etc in that side bar like:

Show My Articles (links to all the articles user has posted - the /index.php?action=articles;sa=myarticles;u=1 page)

and then into posts as well- in the display.template- above the avatar picture-- a "My Articles" link??

thanks so much for any help!!!
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Lilith70 on April 29, 2009, 12:24:15 PM
* gurgle-snarf *

Maybe it's too early in the morning for me, but I think I'm having an issue with the articles mod playing well with certain skins.  (Or, to be more snippy, only the skins *I* want to use...)  At least, I suspect that's the issue.  I have it installed on two different forums.  They're both SMF 1.1.8, they both have other mods installed, but neither of them displays anything that allows a person to actually access or submit an article.

One site has SMF Articles 1.0.1.7 and is using "Ancient and Rusted" by m3talc0re.  The other site (not even 24 hours old) has the latest 1.0.2 version of SMF Articles and is using NaturaLesa Theme By FriedeKind.

Unfortunately, after installing it, there are NO options ANYWHERE to access articles!  From any profile, there is no tab, no options in the profile page, nothing anywhere.  In the admin panel, there are configuration options, but that's it.


You don't happen to have a "Make everything work perfectly" checkmark I could activate, do you?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Kindred on April 29, 2009, 02:02:45 PM
on SMF 1.1.x, you will have to manually add articles into the topnav menu for any themes other than the default.

This is true for ALL mods on 1.1.x
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Lilith70 on April 29, 2009, 02:36:05 PM
Quote from: Kindred on April 29, 2009, 02:02:45 PM
on SMF 1.1.x, you will have to manually add articles into the topnav menu for any themes other than the default.

This is true for ALL mods on 1.1.x

I... wha...  ?

:(

Okay, I have no idea how to do that.  Is there a tutorial, preferably written for someone who only has very limited experience with php?  "Dammit, Jim, I'm an admin, not a programmer!"


ETA: Okay, in some fairness, I can follow instructions very well and know how to close tags, so I'm not a complete newbie, but I'm pretty close.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Kindred on April 29, 2009, 06:39:56 PM
each mod has manual install instructions on the mod page...
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Özgür on April 29, 2009, 06:46:16 PM
What the "tiny_mce" folder in mod package?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: vbgamer45 on April 29, 2009, 07:50:50 PM
Quote from: Özgür´ on April 29, 2009, 06:46:16 PM
What the "tiny_mce" folder in mod package?
I was planning to add that an option at one point. But so far decided to stick with SMF's editor.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Özgür on April 29, 2009, 07:53:14 PM
This is great news (:
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Kindred on April 30, 2009, 12:19:13 AM
personally, I like keeping things slim and sticking with the stuff already built into SMF.   Why re=invent the wheel when we can have vbgamer spend his time on more additions. :)
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Lilith70 on April 30, 2009, 08:06:05 PM
Quote from: Kindred on April 29, 2009, 06:39:56 PM
each mod has manual install instructions on the mod page...

Now, see, this would have been good to know when I started using it.  I'm wondering how much of my hair-pulling frustration could've been handled by just knowing this one little thing.  See?  Not a programmer.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Angelotus on May 05, 2009, 09:48:39 AM
VBgamer, is it possible so that if a guest leaves a comment on an article he can give a screenname that shows up on his comment?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: vbgamer45 on May 05, 2009, 08:22:36 PM
Possible to do not sure If i will do it though requires another column in the table struture and another thing for me to check
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Angelotus on May 06, 2009, 03:30:13 AM
Quote from: vbgamer45 on May 05, 2009, 08:22:36 PM
Possible to do not sure If i will do it though requires another column in the table struture and another thing for me to check

What's the point then to let guests comment on articles if they can't fill in their name? Maybe you can add it in a new update?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Angelotus on May 06, 2009, 05:24:24 AM
Something else. In the view article template, how can I get the article ID?
I need it for social bookmark.

I tried this, but no luck:
<a href="http://nujij.nl/jij.lynkx?t=', $context['article']['title'], '&u=' , $scripturl , '?action=articles;sa=view;article=' , $context['article_id'] , '" target="_blank"><img src="http://nujij.nl/nu-jij-icon-16x16.gif" border="0" /></a>
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: mattchewone on May 11, 2009, 05:09:46 PM
Is it possible to change the name of the Tab? If so how?

Also can the the articles be displayed under the category on the main article index page?

Matt
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: vbgamer45 on May 11, 2009, 07:35:13 PM
1. check under themes/default/languages/modifications.english.php

2. Not at this time
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Kindred on May 11, 2009, 08:39:40 PM
actually, you could create a redirect board that points to the articles...
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: mattchewone on May 12, 2009, 05:36:23 AM
I will take a look later when i get a chance what should i be looking for to change the tab name?

Also how could i link the Article titles and a brief summary with a link on to the front page of PortaMX?

Many Thanks

Matt
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Kindred on May 12, 2009, 09:15:34 AM
look at the EZportla articles block...   you should be able to modify the code to work with other portals.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: mattchewone on May 12, 2009, 11:01:37 AM
Thank you Kindred.

Is it possible for someone to help with finding the part of themes/default/languages/modifications.english.php
That i would need to edit to change the name of the Tab.

Many Thanks

Matt
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: willerby on May 12, 2009, 11:51:39 AM
Quote from: mattchewone on May 12, 2009, 11:01:37 AM
Thank you Kindred.

Is it possible for someone to help with finding the part of themes/default/languages/modifications.english.php
That i would need to edit to change the name of the Tab.

$txt['smfarticles_menu'] = 'Articles';
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: mattchewone on May 12, 2009, 12:47:36 PM
Quote from: willerby on May 12, 2009, 11:51:39 AM
Quote from: mattchewone on May 12, 2009, 11:01:37 AM
Thank you Kindred.

Is it possible for someone to help with finding the part of themes/default/languages/modifications.english.php
That i would need to edit to change the name of the Tab.

$txt['smfarticles_menu'] = 'Articles';

I just did this and it didnt work. I tested on 3 different browsers. Any reason why?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: willerby on May 12, 2009, 02:39:26 PM
All language files load in cache memory so when you change them you have to clear the cahce so that the new language file is forced to load.

Go to ADMIN>MAINTENANCE>Forum Maintenance>Routine and last option is Empty the File Cache... click Run Task Now

When you go back to your forum home page click refresh on your browser and the tab will change

W
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: mattchewone on May 12, 2009, 02:43:12 PM
Thank you very much that worked a treat.

Can i ask is it possible to have more than one article tab? Is it going to be possible also to have the article links and brief description under the category?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: willerby on May 12, 2009, 04:20:46 PM
Which version of SMF? 2.0RC1?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: mattchewone on May 12, 2009, 04:24:45 PM
Yes RC1 2.0
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Kindred on May 12, 2009, 08:34:57 PM
you can technically create as many tabs as you want (subs.php) however, you can only install articles once...   why do you want more than one tab?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: mattchewone on May 13, 2009, 03:21:40 AM
Quote from: Kindred on May 12, 2009, 08:34:57 PM
you can technically create as many tabs as you want (subs.php) however, you can only install articles once...   why do you want more than one tab?

My forum is dedicated to Photoshop & Photography and i wanted a tab with articles for each. So they both had one category each and the articles listed below.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: willerby on May 13, 2009, 06:02:06 AM
Try this

Open Sources/Subs.php

Find:

// [Articles] button
'articles' => array(
'title' => $txt['smfarticles_menu'],
'href' => $scripturl . '?action=articles',
'show' => $context['allow_view_smfarticles'],
'icon' => '',
'sub_buttons' => array(
),
),


(or similar as I may have amended this slightly!)

Replace it with something similar to this...


// [Articles1] button
'articles1' => array(
'title' => "Photography Articles",
'href' => $scripturl . '?action=articles;cat=x ',
'show' => $context['allow_view_smfarticles'],
'icon' => '',
'sub_buttons' => array(
),
),
// [Articles2] button
'articles2' => array(
'title' => "PhotoShop Articles",
'href' => $scripturl . '?action=articles;cat=x ',
'show' => $context['allow_view_smfarticles'],
'icon' => '',
'sub_buttons' => array(
),
),


Change the text for whatever you want and change the cat=x to the number of the articles category/ies (go to each category and the id will appear in your browser url bar)

I think that will work

W
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: mattchewone on May 13, 2009, 11:09:10 AM
Thank you i will give that a go as soon as i get home from work. Thank you
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: mattchewone on May 13, 2009, 03:22:38 PM
I tried this and i got both tabs, but i miss read the part about the cat=x and now i cannot view the articles at all. I deleted all the edits not sure where it has gone funny.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: willerby on May 13, 2009, 04:10:31 PM
Try again - it needs a number for the article category in each case.

To avoid editing files back to their original state, save a copy on your server with a tild (~) on the end of the file name, upload your new amended file, check to see what's working and if there are errors just delete the uploaded file and take the tild off the original. That way you can experiment and always get back to where you were.

Go to the pages you want the tabs to link to and look at the url in the browser bar. It will say something like 'http://www.yourforum.com/forum/index.php?action=articles;cat=1'

Change the x in my code (both tabs) to the category number. You can delete the space after that and before the ' apostrophe.

This should work - does for me and I can't see anything on your site that would change this
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: mattchewone on May 13, 2009, 04:15:35 PM
I cannot view the categories so i cannot tell what number they are,

Now i have gone back to the normal Subs.php (how it was before the edit) i cannot access the articles at all by clicking on the tab!

Thanks for the tip with adding the ~ (although i need to learn how to make a copy and add this)
Title: How to make links live with the articles
Post by: Ann Anderson on May 14, 2009, 04:19:34 AM
I am on 1.18 and need to know how to make links live. All of my links are dead links in the area. I've used the bb code with the [url] but that have failed to work. thanks for your help.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: vbgamer45 on May 14, 2009, 10:06:05 AM
Where are you adding the links? In the article body?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: willerby on May 14, 2009, 11:51:18 AM
Quote from: mattchewone on May 13, 2009, 04:15:35 PM
I cannot view the categories so i cannot tell what number they are,

Now i have gone back to the normal Subs.php (how it was before the edit) i cannot access the articles at all by clicking on the tab!

Thanks for the tip with adding the ~ (although i need to learn how to make a copy and add this)

You will need to get your .../Sources/Subs.php file back to the normal state that has articles in the menu. As you're unsure what edits have taken place best way is to go to the mod page (http://custom.simplemachines.org/mods/index.php?mod=1354), click on the Parse button and it shows you the following edits need to have taken place in your Subs.php file

Find:


$context['allow_calendar'] = allowedTo('calendar_view') && !empty($modSettings['cal_enabled']);


Add After:


$context['allow_view_smfarticles'] = allowedTo('view_articles');
      


Find:


'mlist' => array(
'title' => $txt['members_title'],
'href' => $scripturl . '?action=mlist',
'show' => $context['allow_memberlist'],
'sub_buttons' => array(
'mlist_view' => array(
'title' => $txt['mlist_menu_view'],
'href' => $scripturl . '?action=mlist',
'show' => true,
),
'mlist_search' => array(
'title' => $txt['mlist_search'],
'href' => $scripturl . '?action=mlist;sa=search',
'show' => true,
),
),
),


Add After:


// [Articles] button
'articles' => array(
'title' => $txt['smfarticles_menu'],
'href' => $scripturl . '?action=articles',
'show' => $context['allow_view_smfarticles'],
'icon' => '',
),



Once you get back to a steady state by checking you have all of these edits exactly as they are above in your subs.php file, you will be able to change the last edit above to the code I have given you.

Hope it works for you.

Always keep a copy of a file you are about to edit so you can go back to it...

W
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: mattchewone on May 14, 2009, 01:01:30 PM
Thank you Willerby,

The code is all correct i checked that, when i click on the link for the articles, it comes up with the correct code in the URL bar - index.php?action=articles.php

What happens is the articles button gets highlighted as if it is on that page, then it just reloads the forum.

Matt
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Kindred on May 14, 2009, 04:16:40 PM
there is an extra .php in that url...
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: willerby on May 14, 2009, 05:10:41 PM
As kindred says url link should be action=articles not articles.php

Check the subs.php again...
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: willerby on May 14, 2009, 05:13:13 PM
vbgamer,

Does this mod support secondary membergroups eg. where a member belongs to more than one member group?

I have just set up an articles section for which only one member group can see. If that's their primary member group they can view but if its not (ie. its an additional group that they belong to) they cannot view...

I've checked member group permission and article permissions and all is correct.

Bug?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Kindred on May 14, 2009, 07:03:03 PM
what version of SMF are you using?   The mod supports that standard SMF permissions...   if a user belongs to ANY group with "allow" and NO group with "deny" then they should be able to access the articles.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: willerby on May 15, 2009, 02:40:15 AM
2.0RC1
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: mattchewone on May 15, 2009, 03:46:47 AM
If i post up my subs.php when i get home can you please take a look at it.

Many Thanks

Matt
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: willerby on May 15, 2009, 05:15:03 PM
Sure
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: mattchewone on May 16, 2009, 10:00:24 AM
Sorry about the delay here is the subs.php

Thanks
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: willerby on May 16, 2009, 03:27:21 PM
mattchewone,

Subs.php attached is correct for standard SMF Articles install. Try upoloading it and checking that you have a simgle Articles tab on your menu that takes you to http:///(forumurl).../index.php?action=articles.

Let me know if that works then we'll get the category id's of photography and photoshop and set up the tabs as you want them

If that subs.php doesn't work, I would uninstall and reinstall SMF Articles as another php file is the cause and it will take too long to find. On uninstall you may get an error on a file - if so, stop the uninstall process, make a note of the error and post that file here.

W
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: mattchewone on May 16, 2009, 04:19:48 PM
Thanks Willerby,

Here is there error when uninstalling -

4.   Execute Modification   ./index.php   Test failed
   1.   Replace   ./index.php   Test failed

I have attached the index.php also.

Matt
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: willerby on May 16, 2009, 04:46:18 PM
Ok Matt, there's your error. The index.php file changes for Articles aren't there. I've added them manually in this version attached.

Upload this file. Check to see if articles working. If so, let me know the category id's of the articles sections you want on your tabs and what you want them called and I'll amend subs.php for you.

If articles still not working correctly, uninstall the articles mod (again if an error let me know and post the file but should uninstall ok now). Then reinstall articles completely.

We're nearly there now...

Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: mattchewone on May 16, 2009, 05:04:13 PM
Fantastic, just uploaded it and it works fine again, what was it that changed?

Here is the URL for the photoshop -  index.php?action=articles;cat=1
Here is the URL for the Photography - index.php?action=articles;cat=2

Thanks so much Willerby

Matt

Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: willerby on May 16, 2009, 05:21:40 PM
Good.

If you go to the mod page and click on the PARSE button it shows you the changes to each file. The index.php file has an articles array action edit - a simple addition of the line

'articles' => array('Articles2.php', 'ArticlesMain'),

That wasn't in your index.php file hence why articles wouldn't work. It's also why the mod wouldn't uninstall - it couldn't find that line to delete it. The error on uninstall therefore tells you where the error is likely to be.

Here's the amended subs.php which will create two tabs - "Photoshop Articles" which points to category 1 and "Photography Articles" which points to category 2.

Upload this to the Sources directory (remember to keep a ~ tild copy of the now working version first) and check it works. If you want to change the tab labels edit the file in Notepad searching for those two tab labels and replacing them with whatever text you want.

{This edit does not use language files but hard codes the "labels" into the file. If your forum uses multiple languages come back to me as we will need to edit modifications.english.php and any other language files and change the subs.php code to refer to the relevant text references.}
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: mattchewone on May 16, 2009, 05:33:22 PM
Thank you Willerby! I will get on and do this now!

Are you able to tell me how i ca add the ~ tilde to the original subs.php please i am still new to this.

Also i dont suppose you know if there is way to edit the articles display template so that it displays the articles under the category title for example, when you click the photoshop articles tab, it displays all the articles rather than a category link.

Thank you again!
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: willerby on May 16, 2009, 06:18:41 PM
If you are using ftp to upload files, go to the Sources directory and rename the original subs.php files as subs.php~  (tild symbol is above # key on my keyboard).

Then upload new subs.php.  If an error occurs when you check your site,  delete the new subs.php you uploaded and rename the original file back to subs.php by taking off the tild.


Re the articles display, thats what the code does I think... It will result in a list of all articles in that category. Let me know if that's not what you wanted...
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: mattchewone on May 17, 2009, 07:33:53 AM
Thank you Willerby,

I have just put in the newly edited Subs.php and it works wonderfully! Its fantastic, now i will build them up with wonderful articles before i allow people to view them.

Thank you once again.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: willerby on May 19, 2009, 05:22:25 PM
Quote from: willerby on May 14, 2009, 05:13:13 PM
vbgamer,

Does this mod support secondary membergroups eg. where a member belongs to more than one member group?

I have just set up an articles section for which only one member group can see. If that's their primary member group they can view but if its not (ie. its an additional group that they belong to) they cannot view...

I've checked member group permission and article permissions and all is correct.

Bug?

Still don't know if this is a bug. I think it is as all permissions ok. If I change the order of two member groups that a member belongs to (so that the one that was primary becomes secondary and vice versa) they can see articles one way but not the other. As that is just an order change not a change in  permissions I'd say this mod does not support secondary member groups...

If you agree, how do I fix?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: vbgamer45 on May 20, 2009, 09:48:06 PM
It is a bug with secondary membergroups.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Angelotus on May 28, 2009, 05:41:51 AM
Quote from: Angelotus on May 06, 2009, 05:24:24 AM
Something else. In the view article template, how can I get the article ID?
I need it for social bookmark.

I tried this, but no luck:
<a href="http://nujij.nl/jij.lynkx?t=', $context['article']['title'], '&u=' , $scripturl , '?action=articles;sa=view;article=' , $context['article_id'] , '" target="_blank"><img src="http://nujij.nl/nu-jij-icon-16x16.gif" border="0" /></a>

Can I get some help with this please?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: SimonSays on June 01, 2009, 09:07:52 PM
I've been looking at using SMF Articles as a replacement for TinyPortal's news system, which still isn't close to readiness for SMF 2.0.

I've got a fresh install of SMF 2.0 RC1-1; along with the latest SMF Articles mod. The database is a copy of one which I'd used for TP .98 ('cause 1.0beta is flaky) -- which has been upgraded to SMF2.0RC1-1.  I've confirmed that TP articles are in the database

Whenever I try to use the SMF Article "Import TinyPortal" option, I get the following error:
Quote
Database Error
Table 'xxx_smf3.Arraytp_articles' doesn't exist
File: /home1/xxx/public_html/xxx/Sources/Articles2.php
Line: 2630
Line 2630 is
SELECT authorID ID_MEMBER, subject title, intro description, views, approved, date FROM {$tp_prefix}articles ");
Looking at the code, the trouble may be at line 2582 which defines the tp_prefix variable as:
$tp_prefix = $smcFunc.'tp_';
Unfortunately, I'm a php-neophyte, so I'm not sure what it should be doing. In reading this message about changes to database functions (http://www.simplemachines.org/community/index.php?topic=224166.msg1435927#msg1435927) in SMF2, it appears that the code needs to be updated?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: SimonSays on June 01, 2009, 11:06:34 PM
Quick follow-up. After playing with the code a bit, I figured out that the variable $tp_prefix was unneeded so  I commented out line 2582 (to keep the line numbering the same), and simply changed line 2630 to

SELECT authorID ID_MEMBER, subject title, intro description, views, approved, date FROM {db_prefix}tp_articles ");

and line 2635 to

FROM {db_prefix}articles AS a, {db_prefix}tp_articles AS t

Now all the TP articles are able to be imported into a single SMF Article category -- which isn't ideal, but I can eventually reassign them by hand. However another problem shows up: TP articles are in HTML; and do not seem to want to display as such in SMF Articles. Am I missing something-- such as a setting somewhere to turn on HTML in the articles?

Finally, it would be ideal for a proper import that the comments also be imported... they are stored in the table "tp_variables" (as are the actual TP categories) -- anyone able to take a stab at a way to copy these to the correct articles? (it should be similar to importing the TP articles themselves, right?)

Thanks ever so much!
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Kindred on June 02, 2009, 08:28:36 AM
Articles does not allow HTML, for security...   just like forum posts, the articles need to have the HTML removed and/or converted to BBC.

(Yes, I have the same issue with 900 articles imported from a former joomla installation, but some of the work I did by exporting the articles table in a text file and then performing global replaces before dropping the table and importing the revised table.)
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: SimonSays on June 03, 2009, 02:02:11 AM
Quote from: Kindred on June 02, 2009, 08:28:36 AM
Articles does not allow HTML, for security...   just like forum posts, the articles need to have the HTML removed and/or converted to BBC.
I'm not clear what the security concern would be in removing HTML from the imported articles -- forum posts can be set to allow limited HTML. Does that mean that TP's implementation (Using FCKeditor) in its own article system is insecure?

It also makes this import quite a bit less useful, if the text has to then be re- (or pre)-edited. While I don't have 900, I do have about 300 articles; and I'm not looking forward to re-writing the articles in BB codes.

Unless Articles has a means to allow even a limited subset of HTML (as in forum posts), I'd be include towards looking at other options, such as using a WordPress front-end.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: vbgamer45 on June 03, 2009, 04:54:20 PM
The article import only imports as it is. Might be possible with SMF 2.0 to convert the html to bbcode I think they do that with the WYWSIG editor.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Kindred on June 03, 2009, 09:09:36 PM
well, HTML in the articles WILL work, so long as you don't ever open them for editing again...   (i.e. of the 900 that I imported, I only had to edit the HTML out after we re-saved the record.)

and yes...    allowing HTML *IS* insecure... that's one reason that forums use BBC in the first place.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: willerby on June 04, 2009, 03:29:46 PM
Can't find a way to get a list of recently added articles across all categories and subcategories...

I thought I might get search to do it but no wild card characters and no order function. I can make a simple portal block that does it but is there any way I can create a simple function to use the articles display template to just list the most recent articles?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: SimonSays on June 04, 2009, 11:05:07 PM
Quote from: Kindred on June 03, 2009, 09:09:36 PM
well, HTML in the articles WILL work, so long as you don't ever open them for editing again...   (i.e. of the 900 that I imported, I only had to edit the HTML out after we re-saved the record.)

and yes...    allowing HTML *IS* insecure... that's one reason that forums use BBC in the first place.
I don't believe this is correct, on either point.

After importing, SMF articles displays the HTML code as though it were typed into a BBCode field. (i.e. the formatting is visible) Unless you used some alternate means of import-- all I'm seeing is garbled articles.

BBCode isn't necessarily helpful for security, but is easier for users to use than standard HTML entities. However, a simple HTML filter would remove any supposed XSS/javascript vulnerabilities.

Further, as in my case, the only people able to author articles are already admin-level, there should be no added security concerns over having HTML articles.

As mentioned, SMF already allows "basic HTML" in forum posts (See the Posts and Topics setting)
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Kindred on June 05, 2009, 10:16:11 PM
well, MY installations of SMF do not allow any HTML...
And at my company, we just recently removed ALL capability for HTML, including even basic HTML ....


And I just realized the difference in imports. I imported directly into the database in a SQL statement merging the former mambo data into the smf database
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: ttuu on June 08, 2009, 05:09:13 AM
i try add new article and i get this error:
"You need to enter article text"
This is weird Because I enter text in article.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Skhilled on June 13, 2009, 05:36:33 AM
Is there a way to set the order of the articles? I have a number of articles and would like to put them in a particular order. This would also be a nice feature for categories.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Kindred on June 13, 2009, 08:27:21 AM
nope...   articles are sorted by date, just like posts in the forum


Categories can be moved in the list (use the up/down) links
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: willerby on June 13, 2009, 05:22:29 PM
Quote from: willerby on June 04, 2009, 03:29:46 PM
Can't find a way to get a list of recently added articles across all categories and subcategories...

I thought I might get search to do it but no wild card characters and no order function. I can make a simple portal block that does it but is there any way I can create a simple function to use the articles display template to just list the most recent articles?

Any helpers?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Kindred on June 13, 2009, 11:00:50 PM
well, EZportal is also cretased by vbGamer and has the recent articles as an EZblock....
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: willerby on June 14, 2009, 06:28:31 AM
I can do the same with Simpleportal, just would like to link from the SP block to a list of all articles in reverse date order, regardless of category, similar to the way MyArticles displays but for all users/articles...
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Skhilled on June 16, 2009, 09:38:43 AM
Quote from: Kindred on June 13, 2009, 08:27:21 AM
nope...   articles are sorted by date, just like posts in the forum


Categories can be moved in the list (use the up/down) links

Thanks, Kindred. :)
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Nameless? on June 17, 2009, 07:08:17 AM
This Mod is just Bugged for 2.0 RC1 !! The Index.Template is Still There When the Package is Uninstalled!  >:( >:( >:( >:( >:( >:( >:( >:(

GIVE ME A GOOD EXPLANATION FOR THIS !
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: vbgamer45 on June 17, 2009, 09:07:14 AM
Bad permissions on your files
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: ttuu on June 17, 2009, 09:26:45 AM
Planning has an option to add attachments to articles?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: vbgamer45 on June 17, 2009, 02:33:52 PM
Not planned at this but I could do any custom additions for a small fee
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: ttuu on June 18, 2009, 07:35:03 AM
How much you want pay for this option?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: vbgamer45 on June 20, 2009, 11:33:52 AM
Just let me know how you would want it to work and I can give you a quote
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: ttuu on June 21, 2009, 06:32:59 AM
I want that users can attach a photo article.
And were able to define where the image will appear in the article.
And the files will be saved in a folder separate Attachments folder of the forum.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: vbgamer45 on June 23, 2009, 11:18:34 AM
Possible to do about $25 to get it added.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: ttuu on June 24, 2009, 09:56:41 AM
How can I pay you?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: vbgamer45 on June 24, 2009, 09:06:40 PM
Check out the link on http://www.smfhacks.com there is a donation link probably will work on it over the weekend
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: ttuu on June 25, 2009, 04:37:37 AM
ok to answer tonight, I know if I approve the budget.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: ttuu on June 25, 2009, 04:38:00 AM
Possible that if there is no permission to see some articles in the category is also not see the category in the list of categories?
Title: Spell Check?
Post by: kaamaru on June 25, 2009, 06:14:33 AM
The spell check is not working all i see is a blank white screen.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: vbgamer45 on June 25, 2009, 09:07:56 AM
Quote from: ttuu on June 25, 2009, 04:38:00 AM
Possible that if there is no permission to see some articles in the category is also not see the category in the list of categories?
Possible to do.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: ttuu on June 25, 2009, 05:12:47 PM
How?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: willerby on June 25, 2009, 05:49:20 PM
Quote from: vbgamer45 on June 25, 2009, 09:07:56 AM
Quote from: ttuu on June 25, 2009, 04:38:00 AM
Possible that if there is no permission to see some articles in the category is also not see the category in the list of categories?
Possible to do.

Why would you do it? Surely if a user has permission to see some articles but can't see the category because he doesn;t have permission for others you may as well give not give that user permission to see any articles in that category?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: ttuu on June 26, 2009, 01:36:25 AM
Because it just raises curiosity annoying.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: AM Woody3 on June 26, 2009, 11:07:16 AM
I'm using the mod with easy portal.  I post and article and click on home to view it.  There is only a link there.  What I want to be able to do is just see the whole article on the front page.  Is there a way to do that?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: kaamaru on June 26, 2009, 01:51:05 PM
Can anyone help me with my problem?
Quote from: calumks on June 25, 2009, 06:14:33 AM
The spell check is not working all i see is a blank white screen.

Thanks
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Özgür on June 26, 2009, 02:02:12 PM
vbgamer can you add article link to linktree in new version ?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Kindred on June 26, 2009, 03:51:56 PM
Woody,

I suggest you ask in the EZPortal thread... but, simply put... not without coding a custom php block in EZPortal.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: ttuu on June 28, 2009, 06:53:49 AM
Quote from: vbgamer45 on June 24, 2009, 09:06:40 PM
Check out the link on http://www.smfhacks.com there is a donation link probably will work on it over the weekend

ok. i did it.
check If you receive.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: vbgamer45 on June 28, 2009, 09:57:33 AM
Quote from: ttuu on June 28, 2009, 06:53:49 AM
Quote from: vbgamer45 on June 24, 2009, 09:06:40 PM
Check out the link on http://www.smfhacks.com there is a donation link probably will work on it over the weekend

ok. i did it.
check If you receive.
Yup just got it.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: ttuu on June 28, 2009, 02:53:10 PM
Quote from: vbgamer45 on June 28, 2009, 09:57:33 AM
Quote from: ttuu on June 28, 2009, 06:53:49 AM
Quote from: vbgamer45 on June 24, 2009, 09:06:40 PM
Check out the link on http://www.smfhacks.com there is a donation link probably will work on it over the weekend

ok. i did it.
check If you receive.
Yup just got it.

o.k. Enjoy

When you think you've finished your work?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: vbgamer45 on June 28, 2009, 03:09:05 PM
Will let you know when I am.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: ttuu on June 28, 2009, 03:58:24 PM
ok. i Waiting patiently.
send me PM.

what abaut this:
Quote from: ttuu on June 25, 2009, 04:38:00 AM
Possible that if there is no permission to see some articles in the category is also not see the category in the list of categories?
? its possible?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Angelotus on June 30, 2009, 02:57:03 AM
Hey VBgamer, I use this for SSI output, but it gets all latest articles. I just want to select those articles from a specific category ID:

function ssi_articleslist($limit = null, $output_method = 'echo')
{
global $context, $mbname, $txt, $smcFunc, $modSettings, $user_info, $scripturl, $user_info;

if ($limit === null)
                  $limit = isset($_GET['limit']) ? (int) $_GET['limit'] : 5;
                  else
                  $limit = (int) $limit;


        $context['start'] = (int) $_REQUEST['start'];

$dbresult = $smcFunc['db_query']('', "
SELECT a.ID_ARTICLE, a.title, a.date, a.rating, a.totalratings, m.real_name, a.ID_MEMBER, a.description, a.views, a.commenttotal 
FROM {db_prefix}articles AS a
LEFT JOIN {db_prefix}members AS m ON (a.ID_MEMBER = m.ID_MEMBER)
WHERE a.approved = 1 ORDER BY ID_ARTICLE DESC LIMIT $context[start]," . $limit);
$context['articles_listing'] = array();
while ($row = $smcFunc['db_fetch_assoc']($dbresult))
          $context['articles_listing'][] = $row;
$smcFunc['db_free_result']($dbresult);


foreach($context['articles_listing'] as $row)
{

echo '', timeformat($row['date'], '%d-%m'), '&nbsp;<a href="' , $scripturl , '?action=articles;sa=view;article=', $row['ID_ARTICLE'], '">', $row['title'], '</a><br /><span style="font-size: 9px; font-family: Tahoma; color: #777777;">Geschreven door ', $row['real_name'], ' en is ', $row['views'], ' keer gelezen en heeft ', $row['commenttotal'], ' reactie(s).</span><br />', $row['description'], '<br /><hr />';


}



}


Can you help me with this?
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: vbgamer45 on June 30, 2009, 02:00:36 PM
Quote from: ttuu on June 28, 2009, 03:58:24 PM
ok. i Waiting patiently.
send me PM.

what abaut this:
Quote from: ttuu on June 25, 2009, 04:38:00 AM
Possible that if there is no permission to see some articles in the category is also not see the category in the list of categories?
? its possible?
Will do. Going to be a couple days as I get the updates added.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Özgür on June 30, 2009, 02:12:43 PM
Quote from: [Daydreamer] on June 26, 2009, 02:02:12 PM
vbgamer can you add "article link" to linktree in new version ?


bump!
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: ttuu on June 30, 2009, 07:04:43 PM
Quote from: vbgamer45 on June 30, 2009, 02:00:36 PM
Quote from: ttuu on June 28, 2009, 03:58:24 PM
ok. i Waiting patiently.
send me PM.

what abaut this:
Quote from: ttuu on June 25, 2009, 04:38:00 AM
Possible that if there is no permission to see some articles in the category is also not see the category in the list of categories?
? its possible?
Will do. Going to be a couple days as I get the updates added.

ok thanks
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: vbgamer45 on July 01, 2009, 08:10:59 PM
Quote from: [Daydreamer] on June 30, 2009, 02:12:43 PM
Quote from: [Daydreamer] on June 26, 2009, 02:02:12 PM
vbgamer can you add "article link" to linktree in new version ?


bump!
Not sure what you mean there is a linktree in it
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Özgür on July 01, 2009, 08:30:22 PM
Quote from: vbgamer45 on July 01, 2009, 08:10:59 PM
Quote from: [Daydreamer] on June 30, 2009, 02:12:43 PM
Quote from: [Daydreamer] on June 26, 2009, 02:02:12 PM
vbgamer can you add "article link" to linktree in new version ?
bump!
Not sure what you mean there is a linktree in it

Hmm :) Look at this
http://www.rockayseri.net/rk/articles/?sa=view;article=25

Linktree is
"ЯocKayseri » Forum » Makaleler » Metal Müzik"
But actually linktree should be
"ЯocKayseri » Forum » Makaleler » Metal Müzik » Tolkien'in Orta Dünyası"
So "article link" meaning http://www.rockayseri.net/rk/articles/?sa=view;article=25 should be included linktree. This url should linked article title. (Tolkien'in Orta Dünyası)
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: vbgamer45 on July 01, 2009, 08:47:36 PM
Not sure if I want to repeat it. I could will think about it. It is kind of dead link.
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: Özgür on July 01, 2009, 09:00:50 PM
Quote from: vbgamer45 on July 01, 2009, 08:47:36 PM
Not sure if I want to repeat it. I could will think about it. It is kind of dead link.

Why dead ? Smf already use this style, am i wrong? O_o
"Simple Machines Community Forum > Customizing SMF > Modifications and Packages > SMF Articles"

Article page not have to any "current article link".
Title: Re: SMF Articles (1.0.2 Released with SMF 2.0 support)
Post by: vbgamer45 on July 01, 2009, 09:12:20 PM
Yeah its ok. I just don't get the point since you are already on that page you are adding a link back to the same page
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: vbgamer45 on July 06, 2009, 11:13:04 PM
New update

Version 1.1
+Added settings to allow attaching images to articles
+Added more display information on the person making the comment
!Fixed bug with importing tiny portal articles for SMF 2.0
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: Angelotus on July 07, 2009, 05:02:31 AM
Thanks vbgamer45 for the update. I have to do it manually though. What are the database changes for the attachments?

Oh, and where does it call the attachment in the view function???

function ViewArticle()
{
    global $txt, $context, $user_info, $scripturl, $smcFunc, $mbname, $user_info;
   
    // Check if the current user can view the articles list
    isAllowedTo('view_articles');
   
    $m_cats = allowedTo('articles_admin');
    $context['m_cats'] = $m_cats;
   
    if (!isset($_REQUEST['article']))
        fatal_error($txt['smfarticles_noarticleselected']);
       
    $article = (int) $_REQUEST['article'];
   
    if ($context['user']['is_guest'])
        $groupid = -1;
    else
        $groupid =  $user_info['groups'][0];
   
    // Show the articles in that category
    $dbresult = $smcFunc['db_query']('', "
        SELECT
            a.ID_ARTICLE, a.title, a.date, p.view, a.approved, a.rating, a.totalratings, m.real_name, a.ID_MEMBER,
             a.description, a.views, a.commenttotal, a.ID_CAT 
        FROM {db_prefix}articles AS a
        LEFT JOIN {db_prefix}members AS m  ON (a.ID_MEMBER = m.ID_MEMBER)
        LEFT JOIN {db_prefix}articles_catperm AS p ON (p.ID_GROUP = $groupid AND a.ID_CAT = p.ID_CAT) 
    WHERE a.ID_ARTICLE = $article LIMIT 1");
    $row = $smcFunc['db_fetch_assoc']($dbresult);
    $context['article'] = $row;
    $smcFunc['db_free_result']($dbresult);
       

    // Check Approval
    if ($row['approved'] == 0 && $m_cats == false && $row['ID_MEMBER'] != $user_info['id'])
        fatal_error($txt['smfarticles_err_articlenotapproved'],false);
   
    // Check if article is allowed to be viewed
    if ($row['view'] == '0' && ($m_cats == false && $row['ID_MEMBER'] != $user_info['id']))
        fatal_error($txt['smfarticles_perm_no_view_article'],false);


    $addarticle = allowedTo('add_articles');
   
    // MyArticles
    if ($addarticle && !($context['user']['is_guest']))   
        $context['articles']['buttons']['mylisting'] =  array(
        'text' => 'smfarticles_myarticles',
        'url' =>$scripturl . '?action=articles;sa=myarticles;u=' . $user_info['id'],
        'lang' => true,

    );

    // Search
    $context['articles']['buttons']['search'] =  array(
        'text' => 'smfarticles_search',
        'url' => $scripturl . '?action=articles;sa=search',
        'lang' => true,

    );
   
   
    // View Article Buttons
   
    // Edit Article
    if ($m_cats == true  || $row['ID_MEMBER'] == $user_info['id'])
        $context['articles']['view_article']['edit'] =  array(
        'text' => 'smfarticles_txtedit3',
        'url' =>$scripturl . '?action=articles;sa=editarticle&id=' . $article,
        'lang' => true,

    );

    // Delete Article
    if ($m_cats == true  || $row['ID_MEMBER'] == $user_info['id'])
        $context['articles']['view_article']['delete'] =  array(
        'text' => 'smfarticles_txtdel3',
        'url' => $scripturl . '?action=articles;sa=deletearticle&id=' . $article,
        'lang' => true,

    );
   
    // Link Tree
    $context['linktree'][] = array(
            'url' => $scripturl . '?action=articles',
            'name' => $txt['smfarticles_title']
        );
       
    GetParentLink($context['article']['ID_CAT']);
   
   
    $dbresult = $smcFunc['db_query']('', "
    SELECT
        pagetext
    FROM {db_prefix}articles_page
    WHERE ID_ARTICLE = $article LIMIT 1");
    $row2 = $smcFunc['db_fetch_assoc']($dbresult);
    $context['article_page'] = $row2;
    $smcFunc['db_free_result']($dbresult);
   
    // Display all user comments
    $dbresult = $smcFunc['db_query']('', "
        SELECT
            c.ID_ARTICLE, c.ID_COMMENT, c.date, c.comment, c.ID_MEMBER, c.lastmodified,
            c.modified_ID_MEMBER, m.posts, m.real_name, c.approved
        FROM ({db_prefix}articles_comment as c)
        LEFT JOIN {db_prefix}members AS m ON (c.ID_MEMBER = m.ID_MEMBER)
        WHERE c.ID_ARTICLE = " . $context['article']['ID_ARTICLE'] . " AND c.approved = 1   ORDER BY c.ID_COMMENT DESC");
    $comment_count = $smcFunc['db_affected_rows']();   
    $context['article_comments'] = array();
    while($row3 = $smcFunc['db_fetch_assoc']($dbresult))
        $context['article_comments'][] = $row3;
       
    $smcFunc['db_free_result']($dbresult);
   
    $context['article_comment_count'] = $comment_count;
       
    // Update Views
     $dbresult = $smcFunc['db_query']('', "UPDATE {db_prefix}articles
        SET views = views + 1 WHERE ID_ARTICLE = $article LIMIT 1");
   
    $context['page_title'] = $mbname . ' - ' . $txt['smfarticles_title'] . ' - ' . $row['title'];
   
    $context['sub_template']  = 'viewarticle';
}
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: vbgamer45 on July 07, 2009, 08:41:23 AM
There is no attachments in the view page. You have the option to upload images. Then can click/drag the image into the article.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: Angelotus on July 07, 2009, 10:31:43 AM
Quote from: vbgamer45 on July 07, 2009, 08:41:23 AM
There is no attachments in the view page. You have the option to upload images. Then can click/drag the image into the article.

Ok, cool. But where can I drag the uploaded image, is that in the add article template, or edit article template? Is that done with a javascript or something? I have to do it manually, that is why I ask.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: vbgamer45 on July 07, 2009, 11:32:27 AM
When you edit the article that is where it is done. For SMF 1.1.x you just click on the image and it adds. For SMF 2.0 you need to drag it to the editor.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: Angelotus on July 08, 2009, 07:32:31 AM
Ok, that is clear. Have tried that out, but I see nothing, only the size and [delete] link. In the source I see the javascript is there, but there is no output.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: spaceboy on July 08, 2009, 09:45:48 AM
Hello again.  Excellent mod here too.  Here are a couple things I wonder if are possible:

1. Sort on Last Edit - it's a nice option to sort on Date since the dates don't change with updates/edits
2. A report that shows all of the article links (urls I guess) along with the member name that created them.  Preferably a "downloadable report" like a delimited text file
3. Ability to "subscribe" to a members articles, perhaps a notification sent via email when new articles or edits are done
4. Ability to bookmark a specific article within the software (of course you could always bookmark it in your browser)

I apologize if any of this has been previously discussed.
Thanks.

Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: Baloch on July 17, 2009, 09:15:16 AM
where is its updated version?
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: vbgamer45 on July 19, 2009, 11:35:00 AM
Quote from: Baloch on July 17, 2009, 09:15:16 AM
where is its updated version?
You can download the update on the modsite
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: Mick. on July 19, 2009, 05:26:37 PM
I use this mod a lot.  Its a must have in my forum genre.

I guess i can showcase it..

http://www.chevyavalancheclub.com/index.php?action=articles


I use the PDF mod as well so the "Here you will find some of the mods done & submitted by CAC members.
Help us grow our library!,submit your own How-To.

Adobe Reader® Required
"  was added in the article.template.php
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: MaryLouW on July 21, 2009, 05:24:02 AM
I just installed SMF Articles - I think it would be the perfect module for a forum that has a lot of tutorials and such.

However, after installing it, there is no button on my links bar.  What must I do in order to get a button to show up?

Thank you in advance
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: Kindred on July 21, 2009, 08:12:37 AM
If you are running 1.1.x series of SMF and you are using a theme other than the default....   just like any other mod, you will have to manually apply theme changes to your custom theme.   This includes adding the articles button to the topnav.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: MaryLouW on July 21, 2009, 05:15:06 PM
Thanks....  I think I will have to pass on that. I'm not very good at those manual things. 

Appreciate the fast response.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: Minare on July 21, 2009, 05:32:32 PM
vbgamer, how will we update it? ( without losing existing db )
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: vbgamer45 on July 22, 2009, 08:53:40 AM
Just upgrade to the latest release. Uninstalling does not delete database entries
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: ttuu on July 22, 2009, 12:42:13 PM
i try to attach image in article i cannot see the image in the article view.
if i try to edit article i see in bottum page X in image place.
i see the "function ViewArticle" code:

function ViewArticle()
{
global $txt, $context, $ID_MEMBER, $scripturl, $db_prefix, $mbname, $user_info;

// Check if the current user can view the articles list
isAllowedTo('view_articles');

$m_cats = allowedTo('articles_admin');
$context['m_cats'] = $m_cats;

if (!isset($_REQUEST['article']))
fatal_error($txt['smfarticles_noarticleselected']);

$article = (int) $_REQUEST['article'];

if ($context['user']['is_guest'])
$groupid = -1;
else
$groupid =  $user_info['groups'][0];

// Show the articles in that category
$dbresult = db_query("
SELECT
a.ID_ARTICLE, a.title, a.date, p.view, a.approved, a.rating, a.totalratings, m.realName, a.ID_MEMBER,
a.description, a.views, a.commenttotal, a.ID_CAT 
FROM {$db_prefix}articles AS a
LEFT JOIN {$db_prefix}members AS m  ON (a.ID_MEMBER = m.ID_MEMBER)
LEFT JOIN {$db_prefix}articles_catperm AS p ON (p.ID_GROUP = $groupid AND a.ID_CAT = p.ID_CAT) 
WHERE a.ID_ARTICLE = $article LIMIT 1", __FILE__, __LINE__);
$row = mysql_fetch_assoc($dbresult);
$context['article'] = $row;
mysql_free_result($dbresult);

// Check Approval
if ($row['approved'] == 0 && $m_cats == false && $row['ID_MEMBER'] != $ID_MEMBER)
fatal_error($txt['smfarticles_err_articlenotapproved'],false);

// Check if article is allowed to be viewed
if ($row['view'] == '0' && ($m_cats == false && $row['ID_MEMBER'] != $ID_MEMBER))
fatal_error($txt['smfarticles_perm_no_view_article'],false);

$addarticle = allowedTo('add_articles');

// MyArticles
if ($addarticle && !($context['user']['is_guest']))
$context['articles']['buttons']['mylisting'] =  array(
'text' => 'smfarticles_myarticles',
'url' =>$scripturl . '?action=articles;sa=myarticles;u=' . $ID_MEMBER,
'lang' => true,

);

// Search
$context['articles']['buttons']['search'] =  array(
'text' => 'smfarticles_search',
'url' => $scripturl . '?action=articles;sa=search',
'lang' => true,

);


// View Article Buttons

// Edit Article
if ($m_cats == true  || $row['ID_MEMBER'] == $ID_MEMBER)
$context['articles']['view_article']['edit'] =  array(
'text' => 'smfarticles_txtedit3',
'url' =>$scripturl . '?action=articles;sa=editarticle&id=' . $article,
'lang' => true,

);

// Delete Article
if ($m_cats == true  || $row['ID_MEMBER'] == $ID_MEMBER)
$context['articles']['view_article']['delete'] =  array(
'text' => 'smfarticles_txtdel3',
'url' => $scripturl . '?action=articles;sa=deletearticle&id=' . $article,
'lang' => true,

);

// Link Tree
$context['linktree'][] = array(
'url' => $scripturl . '?action=articles',
'name' => $txt['smfarticles_title']
);

GetParentLink($context['article']['ID_CAT']);


$dbresult = db_query("
SELECT
pagetext
FROM {$db_prefix}articles_page
WHERE ID_ARTICLE = $article LIMIT 1", __FILE__, __LINE__);
$row2 = mysql_fetch_assoc($dbresult);
$context['article_page'] = $row2;
mysql_free_result($dbresult);

// Display all user comments
$dbresult = db_query("
SELECT
c.ID_ARTICLE, c.ID_COMMENT, c.date, c.comment, c.ID_MEMBER, c.lastmodified,
c.modified_ID_MEMBER, m.posts, m.realName, c.approved
FROM ({$db_prefix}articles_comment as c)
LEFT JOIN {$db_prefix}members AS m ON (c.ID_MEMBER = m.ID_MEMBER)
WHERE c.ID_ARTICLE = " . $context['article']['ID_ARTICLE'] . " AND c.approved = 1   ORDER BY c.ID_COMMENT DESC", __FILE__, __LINE__);
$comment_count = db_affected_rows();
$context['article_comments'] = array();
while($row3 = mysql_fetch_assoc($dbresult))
$context['article_comments'][] = $row3;

mysql_free_result($dbresult);

$context['article_comment_count'] = $comment_count;

// Update Views
$dbresult = db_query("UPDATE {$db_prefix}articles
SET views = views + 1 WHERE ID_ARTICLE = $article LIMIT 1", __FILE__, __LINE__);

$context['page_title'] = $mbname . ' - ' . $txt['smfarticles_title'] . ' - ' . $row['title'];

$context['sub_template']  = 'viewarticle';
}


i cannot see relevant code for attachment.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: vbgamer45 on July 22, 2009, 01:54:23 PM
There is no code on the view article page for that.  On the edit article page. You have the option to insert a link to the attachment image in the article description editor.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: ttuu on July 22, 2009, 02:04:39 PM
sorry. I do not understand you
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: vbgamer45 on July 22, 2009, 02:13:40 PM
On the edit article page you have the option to attach images to the article.
To get the images to appear in the article after they are attached you can double click the image and it will be added to the article text where your cursor is at. For SMF 2.0 you have to drag and drop the image.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: ttuu on July 22, 2009, 03:56:04 PM
Quote from: vbgamer45 on July 22, 2009, 02:13:40 PM
On the edit article page you have the option to attach images to the article.
To get the images to appear in the article after they are attached you can double click the image and it will be added to the article text where your cursor is at. For SMF 2.0 you have to drag and drop the image.

in the image place i see X.
in the article folder i cannot see the file.
How do I get the image to appear as part of the article?
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: vbgamer45 on July 22, 2009, 04:41:05 PM
What settings do you have. Admin -> Articles Configuration -> Settings
For the Articles path and Articles url
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: ttuu on July 23, 2009, 03:44:27 AM
http://ladaat.net/forum/articles/

&

/hsphere/local/home/ladaatne/ladaat.net/forum/articles/
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: vbgamer45 on July 23, 2009, 03:02:51 PM
That looks right. Any errors in the error log?
What do the links of the broken images look like.
Also what version of SMF
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: ttuu on July 23, 2009, 05:56:32 PM
Quote from: vbgamer45 on July 23, 2009, 03:02:51 PM
That looks right. Any errors in the error log?
What do the links of the broken images look like.
Also what version of SMF
ok
in log i see this errores:

http://ladaat.net/forum/index.php?action=articles;sa=editarticle2 
2: rename(/hsphere/local/home/ladaatne/ladaat.net/forum/articles/3080_24_07_09_12_50_55.jpeg_thumb,/hsphere/local/home/ladaatne/ladaat.net/forum/articles/thumb_3080_24_07_09_12_50_55.jpeg): No such file or directory
Files: /hsphere/local/home/ladaatne/ladaat.net/forum/Sources/Articles.php
Line: 883
2: getimagesize(/hsphere/local/home/ladaatne/ladaat.net/forum/articles/3080_24_07_09_12_50_55.jpeg): failed to open stream: No such file or directory
Files: /hsphere/local/home/ladaatne/ladaat.net/forum/Sources/Subs-Graphics.php
Line: 269
2: move_uploaded_file(): Unable to move '/tmp/phpwG9XJF' to '/hsphere/local/home/ladaatne/ladaat.net/forum/articles/3080_24_07_09_12_50_55.jpeg'
Files: /hsphere/local/home/ladaatne/ladaat.net/forum/Sources/Articles.php
Line: 879
2: move_uploaded_file(/hsphere/local/home/ladaatne/ladaat.net/forum/articles/3080_24_07_09_12_50_55.jpeg): failed to open stream: Permission denied
Files: /hsphere/local/home/ladaatne/ladaat.net/forum/Sources/Articles.php
Line: 879

in the edit article page the broken link is:
http://ladaat.net/forum/articles/thumb_3080_24_07_09_12_50_55.jpeg

i using SMF v.1.1.10

thanks for your help
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: vbgamer45 on July 23, 2009, 09:28:13 PM
Make sure the permissions on the articles folder are writable i think either 755 or 777 will work
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: willerby on July 27, 2009, 04:23:21 PM
Latest verison of this mod installed on SMF 2.0 RC1.2 - member just tried a search using MemberName and got this error...

Unknown column 'memberName' in 'where clause'
File: /home2/.../public_html/forum/Sources/Articles2.php
Line: 2130

One for next release or is it something wrong with my install?

W
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: vbgamer45 on July 27, 2009, 04:39:53 PM
Will fix for next release. Should be member_name instead of MemberName for SMF 2.0
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: willerby on July 27, 2009, 04:43:40 PM
Thanks vbgamer...
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: vbgamer45 on July 27, 2009, 08:08:07 PM
Quote from: willerby on July 27, 2009, 04:43:40 PM
Thanks vbgamer...
Version 1.1.1
!Fixed search for SMF 2.0
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: willerby on July 28, 2009, 05:22:48 PM
Fast response... thanks
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: S.Nieves on July 30, 2009, 01:23:35 AM
Quick question.  Can I add HTML type text here so that my google ads come up? I imported articles from Tiny portal and they all look incorrect.

Sam
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: vbgamer45 on July 30, 2009, 08:58:35 AM
No only supports BBC articles
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: Kindred on July 30, 2009, 10:08:12 AM
actually, if you have direct database access, you can put HTML directly in the article contents field...   as long as you do not edit the article in the future, it will work

(all of my imported mambo articles used html)
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: S.Nieves on July 30, 2009, 01:49:52 PM
Ok, so how exactly do I do it. I have direct access to the database.

THANKS!

Sam

ps.. could this be a suggestion for the next release of your great mod? HTML compatible ;)
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: Kindred on July 30, 2009, 03:30:20 PM
you would have to enter the html directly into the field...   using proper escaped SQL.

Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: S.Nieves on July 30, 2009, 05:14:47 PM
I think this could be way out of my league.

if I enter mysql database for my smf I would just find the articles add my html and whala?! is what your saying?

Thanks for all your help.

Sam
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: Kindred on July 30, 2009, 06:49:09 PM
no.... it has to be encoded and escaped characters....      if you try to enter javascript or html by just pasting you will mess up the database table.

It sounds like the answer to your question, in this case is... no.

I'd suggest checking out the ad management mod.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: chrishicks on July 30, 2009, 08:21:39 PM
This is a great mod. I was wondering where I would look to rename the references to  "myarticles" shown in this pic:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg364.imageshack.us%2Fimg364%2F8035%2F6461cc864a9ec9ebc803ed5.jpg&hash=86352a3da08cff2332c039b9749238fe543c1595) (http://img364.imageshack.us/i/6461cc864a9ec9ebc803ed5.jpg/)

I would either like to rename that tab or at the least add a space so it shows at "my articles". Of course this isn't vital, I'm just curious if its possible.

and also, how can I fix this in the admin section:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg364.imageshack.us%2Fimg364%2F9527%2F0353dd7122e932a7c847745.jpg&hash=2683a9841a00de84921e88be387510ae8892f759) (http://img364.imageshack.us/i/0353dd7122e932a7c847745.jpg/)
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: vbgamer45 on July 31, 2009, 08:24:15 PM
MyArticles text is most likely located in themes/default/languages/modificiations.english.php

Will fix the version number that is something I need to fix on myside.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: chrishicks on August 01, 2009, 04:18:30 AM
Quote from: vbgamer45 on July 31, 2009, 08:24:15 PM
MyArticles text is most likely located in themes/default/languages/modificiations.english.php

Will fix the version number that is something I need to fix on myside.

Thanks for the reply. I did a full on search and I found "MyArticles" in Articles.english.php in case anyone else wanted to change the text or whatever.

$txt['smfarticles_myarticles'] = 'MyArticles';
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: chaky! on August 01, 2009, 01:10:49 PM
How can I limit the amount of comments to show?


thanks
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: vbgamer45 on August 01, 2009, 01:34:39 PM
There is currently no setting for that.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: vbgamer45 on August 23, 2009, 12:01:09 AM
Quick fix update
Version 1.1.2
!Fixed bbc editor for categories in SMF 2.0 not working in IE6/IE7
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: spaceboy on August 26, 2009, 12:39:50 AM
It seems the "Total Articles" column only sums up 2 levels down to the first sub-category.  Is there a fix for this so it adds all sub-categories? 

I had a main category (ie. Racing Games) and then a sub-category (FUEL), and then two more sub-categories under FUEL.  Although there were articles in the last two sub-cats, the Racing Games "Total Articles" on the main Articles page still showed zero.  Once I moved the articles from the lowest sub-cats so they all resided in FUEL, then the main articles page showed the summation of the articles next to the main category (Racing Games).

I hope that makes sense.

Thanks.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: vbgamer45 on August 26, 2009, 01:11:34 AM
No fix at this time only does one sub level  deep.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: spaceboy on August 27, 2009, 12:34:19 AM
Hey it's me again...

Is there anyway to create a link to "My Articles" that other members or guests can see the results?  If I copy the code by right clicking the My Articles link I'll get the link that ends in myarticles;u=1.  But if another member clicks it they get their articles (even though they are not user 1)  If a guest clicks it it says login or register (because of course they have no articles).

It's being requested of me to offer this functionality, so someone can post a link to "their articles".

Thanks.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: willerby on August 31, 2009, 01:54:13 PM
Couple of issues with images...

Firstly, image attachment does not seem to work correctly? I have a browse button and when I post a new article with an image specified in the field the article does not display it. When I go back to EDIT the article it is there on the edit screen but doesn't show on article display? Thought it might be theme related but no theme templates used...

Secondly, I use this 'Simple Image Upload' (http://custom.simplemachines.org/mods/index.php?mod=1669) mod on my forum. The link to it appears to my users when creating articles as its part of the WYSIWYG editing dialogue from the general settings. Unfortunately, it posts the link to images created by this mod in the Summary field and not the main Article field. I've tried to see why this is happeneing but can't work out how that mod functions in relation to SMF Articles...

Any help (even if its hard coding to turn off the 'Add Image to Post' link for aerticles) appreciated...

W
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: willerby on September 07, 2009, 10:46:43 AM
Cough! help?
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: willerby on September 13, 2009, 04:52:56 PM
Cough cough...

No support for the image attachment function?
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: vbgamer45 on September 13, 2009, 07:29:58 PM
1. You should be able to click on the image itself inside the edit page to insert the bbc code into the article text. For SMF 2.0 you need to drag the image to the editor.


2. Could be possible to add that bbc code to disallow list will need to look into that.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: willerby on September 14, 2009, 04:54:49 PM
? Not sure I understand

I upload using the browse button (drag and drop does not work at this point). Nothing appears in the article so I go back to edit (where it is showing for some reason) and then I drag and drop it into the article?

When I do this I get javascript(void) posted...

Using SMF 2.0 RC1.2
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: robinrobin on September 25, 2009, 01:49:02 AM
SMF 2.0 RC1.2
SMF Articles 1.1.1

Images added to articles (via the Browse function when writing them) doesn't appear anywhere. They are supposed to appear in the article-list, just like the images for categories are shown on the main Articles page, are they not?

The description text of categories turns completely blank in the text field when i click to edit it.

I sure hope the permissions system at least works as it should...
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: vbgamer45 on September 25, 2009, 09:19:07 PM
You have to insert the images into the article themselves in order to have them to appear.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: robinrobin on September 28, 2009, 12:19:04 AM
Well thank you, but that doesn't really make up for having an "Add image"-field that doesn't add images. Causes a lot of unnecessary confusion amongst users.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: tommybishop on October 24, 2009, 05:05:22 PM
i just installed this, but my members can't see the article section.  I see it just fine the users of my forum can't.  any ideas for fixing whatever i've done?
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: vbgamer45 on October 24, 2009, 05:50:40 PM
Quote from: tommybishop on October 24, 2009, 05:05:22 PM
i just installed this, but my members can't see the article section.  I see it just fine the users of my forum can't.  any ideas for fixing whatever i've done?
You need to setup permissions under
Admin -> Permissions -> Modify each Group -> Then check the SMF Articles permissions needed
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: dracomiconia on October 26, 2009, 12:11:39 PM
I think it is not implemented, but this is a suggestion....

In my web, SMF Articles is used for stories, poetry, and sagas....

It would be nice to have "chapters" implemented, just for those large and long srticles/sagas....
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: Kindred on October 26, 2009, 01:48:16 PM
You're stepping beyond "Articles" at that point and into the realm of the eFiction fucntionality...

I think, if you want chapters, etc, you should request a separate mod for writing rather than articles. :)
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: dracomiconia on October 26, 2009, 04:40:50 PM
Yes, I'm migrating from efiction.... I like a more integrated thing, and thats the reason I have installed articles mod
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: Kindred on October 26, 2009, 04:58:06 PM
but, I think you missed my point.

eFiction is a whole story based system.
SMF Articles is an articles system (similar to articles in a CMS).

You are trying to make SMF articles into something completely different.  Instead of using something and trying to turn it into something else, you should request that someone write a system to do  it the right way straight out.

What you are asking is like someone coming to me and saying "Well, I know that SMF is a forum, but I really want to use it like a photo gallery....
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: mpglivecarlo on October 26, 2009, 05:27:19 PM
just wondering two things, and as i have read maybe its not only me :P

1. The image uploader works perfect for my smf 2.0 installation, but since the image name and thumb are stored in database, can the "main" image be set to show in the template on top and centered? how could this be done? i know dont how difficult this would be.

2. If the first is possible, there could be a "select" primary article image to be the one that displays on top, and then have the multiple image attachment from smf to include more images (if needed) and then added using bbcode as needed.

EDIT:
3. the html bbcode seems not supported by articles.

Thx for the article mod, im planing to use it as not only articles, but for guides as well and multiple images are very case sensitive. thx again for your help.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: dracomiconia on October 27, 2009, 01:42:28 AM
Well, I'm really thinking not in a thing just like eFiction.... but yes a multi-page article system, as it could be this....

http://www.motherboards.org/reviews/motherboards/1959_1.html

But I know that this is a major change in tables, code, etc.... that's because I told about it as a suggestion, not asking for it. Mod creator is the only one that can see if it fits in the mod.

Thanks anyway.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: gbsothere on October 28, 2009, 01:00:31 PM
I have a question, vbgamer, but first, let me just say that the mod installed beautifully on my 1.1.10 forum and, even more importantly, doesn't generate one single error.  (I can't tell you how glad I am of that.)

I hope I'm not guilty of not searching adequately, but I'm not seeing this:  my posters are asking me how to tell if there are new articles (since you can't tell simply by looking up at the button on the nav bar).  This is where I realize that I don't fully understand how to implement the mod.  Must one designate specific boards (or create them) in order for posters to be aware of new articles?  If I were to create specific boards as "article boards" wouldn't they just become part of the main page's category listings (just regular posting boards) and the posters wouldn't even need to access the articles button?

As you can see, I'm quite at a loss as how to set up the Articles mod to its best advantage or how to achieve "new" articles to be made apparent.   :)


Note:  I use this tip on my forum and it works beautifully.  It would be great if it could be modified for the Articles button; that would pretty much solve the problem.  Would you mind taking a look at it?

http://www.simplemachines.org/community/index.php?topic=9017.msg132527#msg132527 (http://www.simplemachines.org/community/index.php?topic=9017.msg132527#msg132527)
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: vbgamer45 on October 28, 2009, 07:44:20 PM
At this time there is no way to tell for new articles.

Categories need to be created first on the main articles page. Then articles can be submitted to a category
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: gbsothere on October 28, 2009, 07:48:02 PM
Thanks!   :)

I went ahead and installed it on one of my test boards as well, so I'll just play around with it.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: eyeseven on November 04, 2009, 06:02:16 AM
Hi! My can i put recent atricles to my portal? Thank you!
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: ttuu on November 04, 2009, 10:08:03 AM
I have an idea useful addition.
option to print articels like print topic.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: vbgamer45 on November 04, 2009, 07:55:18 PM
Quote from: eyeseven on November 04, 2009, 06:02:16 AM
Hi! My can i put recent atricles to my portal? Thank you!
Bulilt into ezportal
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: Mick. on November 09, 2009, 06:02:43 PM
I dloaded the latest version and tried to install.

It says:

QuoteThe package you are trying to download or install is either corrupt or not compatible with this version of SMF.

Im using RC2 2.0
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: Arantor on November 09, 2009, 06:07:34 PM
Quote from: BlueDevil on November 09, 2009, 06:02:43 PM
I dloaded the latest version and tried to install.
Im using RC2 2.0

The mod page doesn't say it's compatible with 2.0 RC2 at this time.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: Mick. on November 09, 2009, 06:09:12 PM
Quote from: Arantor on November 09, 2009, 06:07:34 PM
Quote from: BlueDevil on November 09, 2009, 06:02:43 PM
I dloaded the latest version and tried to install.
Im using RC2 2.0

The mod page doesn't say it's compatible with 2.0 RC2 at this time.

oh snap,   lol.....  i didnt notice it.     

Bummer.

I thought he updated his mods.    I use several mods of his.   Hope he gets them updated.
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: Arantor on November 09, 2009, 06:10:21 PM
A number of his mods are updated, but considering it's been less than 24 hours since the release announcement, we've done fairly well I'd say with the number of mods that did get updated :)

I'm sure vbgamer45 will add support soon for 2.0 RC2 for this mod :)
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: Mick. on November 09, 2009, 06:18:16 PM
Quote from: Arantor on November 09, 2009, 06:10:21 PM
A number of his mods are updated, but considering it's been less than 24 hours since the release announcement, we've done fairly well I'd say with the number of mods that did get updated :)

I'm sure vbgamer45 will add support soon for 2.0 RC2 for this mod :)

Oh no, dont get me wrong.  Im not pushing at all.   :)
Title: Re: SMF Articles (1.1 Released with SMF 2.0 support)
Post by: Arantor 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.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on November 09, 2009, 08:05:17 PM
Updated with support for SMF 2.0 RC2!
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: gbsothere on November 09, 2009, 08:15:28 PM
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.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwhereitestmystuff.com%2Fimages%2Fthumb.gif&hash=fbe057efff6d88bc8293617d752cf12a98abaa09)
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: Mick. on November 09, 2009, 08:50:12 PM
Excellent.   Thank you.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: abelcarreto 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.
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.  :)
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: wladymeer 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:

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?
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 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.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: _sebas_ on November 14, 2009, 06:05:14 PM

hi !

is possible, imports o make a promote of theme TO ARTICLE ?
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on November 14, 2009, 06:26:43 PM
Please explain a little more
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: Arantor 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.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: Liam. 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 ^_^
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: robinrobin 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.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: Kindred on November 17, 2009, 05:53:05 PM
Why?    Access to the site is access to the site.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: robinrobin 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.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: Arantor 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.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: 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.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: MATTEK 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.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on November 22, 2009, 09:00:10 PM
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.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: RawDepth on November 22, 2009, 10:37:01 PM
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.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: MATTEK 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?
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: Arantor on November 24, 2009, 06:26:11 PM
MATTEK: Might be useful if you stated what version of SMF you're using and what exactly you're doing to emulate versions.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: MATTEK on November 24, 2009, 06:28:32 PM
Quote from: MATTEK 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?

At the request of Arantor : I'm using SMF 2.0 RC2. To Emulate I'm clicking the advanced option in the package manager.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: Xarcell on November 24, 2009, 06:40:27 PM
Does this allow php articles?
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: Arantor on November 24, 2009, 06:50:30 PM
MATTEK: And what are you putting in that box?
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: MATTEK on November 24, 2009, 07:04:19 PM
Quote from: Arantor on November 24, 2009, 06:50:30 PM
MATTEK: And what are you putting in that box?
I'm entering SMF 2.0 RC1.2
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: Arantor on November 24, 2009, 07:06:08 PM
The mod package itself has instructions to install on 2.0 RC2. From the Advanced, select Revert, and then install the mod.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: MATTEK on November 24, 2009, 07:28:12 PM
I have it installed by emulating RC2?. Odd. Anyway, the article permission options are all messed up.

Ideas?
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: Arantor on November 24, 2009, 07:29:19 PM
No, in RC2 you don't emulate anything, you use the natural version check, though I can see how it could be 'emulating' RC2.

As for that, you'll have to take that up with the mod's author, I don't know nearly enough about it, sorry.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: MATTEK on November 24, 2009, 07:35:27 PM
Quote from: Arantor on November 24, 2009, 07:29:19 PM
No, in RC2 you don't emulate anything, you use the natural version check, though I can see how it could be 'emulating' RC2.

As for that, you'll have to take that up with the mod's author, I don't know nearly enough about it, sorry.

No no. I mean when I emulated I entered RC2 instead of the RC1.2 and it worked. The question mark in my sentence was because I'm confused as to how it worked.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: Arantor on November 24, 2009, 07:39:46 PM
Yes, because you're no longer emulating a different version but using the master version identity of the forum software. The mod has in its code a list of versions it supports, one of which that it has listed is 2.0 RC2 explicitly, which is why it worked.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: MATTEK on November 24, 2009, 07:51:44 PM
Ah. I see. Thanks man.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on November 24, 2009, 08:08:42 PM
Quote from: MATTEK on November 24, 2009, 07:28:12 PM
I have it installed by emulating RC2?. Odd. Anyway, the article permission options are all messed up.

Ideas?
They should still work just the style settings have been fixed yet for curve
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: MATTEK on November 24, 2009, 08:26:58 PM
Quote from: vbgamer45 on November 24, 2009, 08:08:42 PM
Quote from: MATTEK on November 24, 2009, 07:28:12 PM
I have it installed by emulating RC2?. Odd. Anyway, the article permission options are all messed up.

Ideas?
They should still work just the style settings have been fixed yet for curve

I have no options in my Articles Permission section. I can't set any permissions.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on November 24, 2009, 08:48:50 PM
That is category level permissions. You need to set normal permissions which are found under

Admin -> Permissions -> Modify each group and give them the articles permissions needed.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: MATTEK on November 24, 2009, 09:05:04 PM
Ah. I see. Thanks man.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: RawDepth on November 25, 2009, 05:38:51 AM
Quote from: RawDepth on November 22, 2009, 10:37:01 PM
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.
Anyone else having this problem with attachments not showing?
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: llyon on November 30, 2009, 02:41:39 PM
Quote from: RawDepth on November 25, 2009, 05:38:51 AM
Quote from: RawDepth on November 22, 2009, 10:37:01 PM
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 get this as well - no pictures display, however when you edit an article you can see  athumbnail of the picture.
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.
Anyone else having this problem with attachments not showing?
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: GohighVoltage on December 16, 2009, 01:19:19 PM
When I upload a picture to the article,  it does not show,  but it's there if you go into Edit.

Any ideas?
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on December 16, 2009, 02:11:58 PM
Yes you have to drag and drop the picture into the editor for SMF2 or SMF.1.1.x you click the picture to go into the editor
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: GohighVoltage on December 16, 2009, 02:36:27 PM
That does not work.       Why is the Upload image prompt there, if it doesn't work?


It uploads fine,  shows it under edit,  but not visible once you save the article.       I tried dragging dropping the picture from my desktop to the open article edit window and it doesn't work.


Any ideas?
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on December 16, 2009, 02:39:44 PM
You have to drag it from the edit screen after the picture is uploaded. This was added since someone paid for this feature to work this way.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: RawDepth on December 16, 2009, 03:12:26 PM
I complained about this not working before but never got a satisfactory response. That drag and drop fix doesn't work either. (see above posts) Besides, how would I ever get all of my members to understand that special method.

Since most of our articles are "how to" type, I figured they were worthless without images, so I uninstalled the mod. Now we post articles through other methods.

What browser do you use? Mine was Firefox 3.0.15.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: GohighVoltage on December 16, 2009, 03:26:59 PM
Ok,  I uploaded, it,  and it won't drag.   Please explain.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on December 16, 2009, 03:30:00 PM
Will remove the upload feature for next update.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: GohighVoltage on December 16, 2009, 03:31:46 PM
If it works and I am doing it wrong,   just tell me how to do it?   Can you try yourself and see if it works?
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on December 16, 2009, 03:42:56 PM
I have used in 1.1.x and SMF 2.0.
1.1.x you have to click the image and it is added to the editor box.
2.0 the only way I could get it to work was to drag and drop and that was using firefox and wywsig editor for SMF 2.0


I might just change to display the images just on the articles page on an area to the side or bottom instead.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: GohighVoltage on December 16, 2009, 03:45:00 PM
Ok, let me try firefox.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: GohighVoltage on December 16, 2009, 03:49:37 PM
I will try firefox and install wywsig  and then try.    Don't remove it,  cause it is a good feature.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: GohighVoltage on December 16, 2009, 04:00:18 PM
Where do I get the WYSIWYG  for SMF 2.0 RC2?
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on December 16, 2009, 04:14:25 PM
I think you have to enable it under -> Profile -> Layout options
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: GohighVoltage on December 16, 2009, 04:38:12 PM
Ok, It is enabled,  but weird,   it doesn't work.   It still uses the BBC codes.  Any idea?
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on December 16, 2009, 04:55:09 PM
Probably at this point will scrap it and just make the pictures appear at the side or bottom of the article.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: GohighVoltage on December 16, 2009, 05:06:13 PM
No no,  I am talking about the WYSIWYG,   how is that suppose to work.   

When you are posting,  does it display the bold, etc, right away,  or just add BBC codes?  Mine just shows BBC codes.  And my WYSIWYG is enabled.
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: Arantor on December 16, 2009, 05:08:23 PM
WYSIWYG by definition is that you're supposed to see text in bold and so on.

So it's enabled in the master configuration and turned on in your profile?
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: GohighVoltage on December 16, 2009, 05:18:13 PM
Ok, it was turned off in my profile.   Let me try your mod again.

ALso,  how can I make it auto enabled for all users,  rather then making them have to adjust their profiles?  Or is this not wise to do?
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: GohighVoltage on December 16, 2009, 06:23:00 PM
Ok,   your mod does work with firefox,  and WYSIWYG enabled.       Only thing after I dragged and dropped it,  you have to erase the formatting on picture itself.    Then everything works great.

Thanks!
Title: Re: SMF Articles (1.1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on December 16, 2009, 09:33:46 PM
1.2
+Added setting to control if images are shown at the end of the view article that are attached
+Better category dropdown struture in various areas
+Added bbc box to add/edit category SMF 1.1.x
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: qubbah on December 19, 2009, 11:22:31 AM
is there any code to show latest article added in tinyportal block?
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: WhiteFly on December 19, 2009, 11:31:40 AM
Hi VBG45!

I've just installed the latest release (1.2) in my new forum with SMF 2 RC2 & SimplePortal 2.3.1 and all seem works great...

The only problem is the visualization of "Category Permission List" that don't show all permissions.

I'd like to have an italian version!

Are you interested if I offer my help for a translation?  :)

Bye!

Graziano
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on December 19, 2009, 11:39:20 AM
Category permission list only shows categories that you have defined custom permissions for.

Otherwise all permissions are shown on Admin -> Permissions -> Modify each group

Yes I would welcome any translation!
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: WhiteFly on December 19, 2009, 12:00:15 PM
Quote from: vbgamer45 on December 19, 2009, 11:39:20 AM
Category permission list only shows categories that you have defined custom permissions for.

Category Permission - Coniglio F.A.Q.
Membergroup      View             Add Article      Edit own Article Delete own Article Options
Administrator    Allowed          Allowed          Allowed          Allowed           [Delete]
Ospiti           Denied           Denied           Denied           Denied            [Delete]

Category Permission - Articoli sul Coniglio
Membergroup      View             Add Article      Edit own Article Delete own Article Options
Administrator    Allowed          Allowed          Allowed          Allowed           [Delete]
Ospiti           Denied           Denied           Denied           Denied            [Delete]


but here...

Category Permission List
Membergroup      Category         View             Add Article      Edit own Article Delete own Article Options
Administrator    Coniglio F.A.Q.  Allowed          Allowed          Allowed          Allowed          [Delete]
Administrator    Articoli sul Con Allowed          Allowed          Allowed          Allowed          [Delete]
Ospiti           Coniglio F.A.Q.  Allowed          Denied           Denied           Denied           [Delete]


The second "Ospiti" is missing... or not?

Quote from: vbgamer45 on December 19, 2009, 11:39:20 AM
Otherwise all permissions are shown on Admin -> Permissions -> Modify each group

Yes, I know.

Quote from: vbgamer45 on December 19, 2009, 11:39:20 AM
Yes I would welcome any translation!

OK, I work on it during this WE...

Where I can send the translations?

Ciao!

Graziano
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Vyache on December 29, 2009, 09:10:18 PM
I get a message that the 1.2 release is out of date...
I have the newest version...
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on December 29, 2009, 09:13:21 PM
Fixed. Safe to ignore should fix itself in about 24 hours
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Xarcell on January 01, 2010, 09:02:44 PM
I'm interested in using this mod on one of my sites, but have a few issues with it.

1.| I don't understand the purpose of the "summary" section. Can you explain?

2.| User's other than the admin cannot view articles, even if I give permissions to every membergroup to the category.

3.| Also, I getting these errors in my log:

8: Undefined index: titleFile: /home/xxxxxx/xxxxxx.com/cache/lang_Articles_english_default.php (generic_menu_dropdown_above sub template - eval?)
Line: 256 


and

8: Undefined index: descriptionFile: /home/xxxxxx/xxxxxx.com/cache/lang_Articles_english_default.php (generic_menu_dropdown_above sub template - eval?)
Line: 264


Thanks...
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on January 01, 2010, 09:32:24 PM
1. Summary is short description of the artcile

2. You have to give them global permissions under Admin -> Permissions to view articles
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: WhiteFly on January 03, 2010, 01:13:33 PM
I have a feature request.

I'd like to print the articles, is possible to add the smf standard print tab?

So I can print only the text/pictures without the header.

Thanks.

Graziano

P.S.  The translation proceed... slowly!  :(
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: ~DS~ on January 03, 2010, 01:25:17 PM
Is this simliar to blogs or replace blogs? Would be great for blogger user.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Kindred on January 03, 2010, 03:06:30 PM
no... articles really are not blogs.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: gbsothere on January 03, 2010, 03:25:27 PM
We use it that way, though, on our forums:  blogs.  The blog mod found on this site was literally taking over the forums with errors and, after not being able to resolve it, I uninstalled it and installed Articles.  It works beautifully and generates no errors, although I agree: technically, articles aren't blogs. 

:)
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: nexxuscorp on January 05, 2010, 05:05:03 PM
hello everybody !!!

Just one question : Is it possible to put last article on index? Or somewhere else (like on article index) ?
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Kindred on January 05, 2010, 07:00:34 PM
If you use EZportal, it has an article block built in...
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: nexxuscorp on January 06, 2010, 02:17:26 PM
hello and thanks for your response !!!

But i don't use ezportal ....
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on January 06, 2010, 08:01:20 PM
Possible but you would have to code it.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on January 08, 2010, 11:10:34 AM
I don't think that is an issue with the Articles mod more of an issue with SMF itself so kind of bug with the curve theme
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: dbailey on January 13, 2010, 04:44:09 AM
Here's a dumb question, How do I insert images into an article?
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on January 13, 2010, 08:46:44 AM
You would have to have them uploaded on a website then use the BBC code editor to link/insert them
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: dbailey on January 14, 2010, 02:23:54 AM
That means I would need the link to the image right? Doesn't sound user friendly to me. I would like my members to add articles to my site. Most of them are not computer savy. Any way to get a better editor for this?
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Kindred on January 14, 2010, 08:24:05 AM
you can't dump images into forum posts either....    the articles uses the same IMG BBC code that the forum uses.

Upload your pics to some location
add your article and include the URL of the image in IMG tags.

how hard is that?
IOf you want to keep it all on your site, then install one of the gallery mods.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on January 14, 2010, 08:55:52 AM
Well the articles mod you can attach images to an articles page as well just they show up at the bottom of the articles page.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: GohighVoltage on January 15, 2010, 04:16:12 PM
When I deleted an article,  got this error:

http://www.gohighvoltage.com/forum/index.php?action=articles;sa=view;article=1

Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND c.approved = 1 ORDER BY c.ID_COMMENT DESC' at line 6File: /forum/Sources/Articles2.php
Line: 2443
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on January 15, 2010, 05:07:07 PM
Did an update that should fix that error

1.2a
+Added checking on view article if article no longer exists or not found
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: GohighVoltage on January 15, 2010, 06:08:09 PM
awesome thanks!!
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: dbailey on January 15, 2010, 08:23:21 PM
Quote from: Kindred on January 14, 2010, 08:24:05 AM
you can't dump images into forum posts either....    the articles uses the same IMG BBC code that the forum uses.

Upload your pics to some location
add your article and include the URL of the image in IMG tags.

how hard is that?
IOf you want to keep it all on your site, then install one of the gallery mods.

Not hard for the likes of us. It's just that some of my members are used to a tiny mce style interface.

One question though, is there a way to make the image word wrap the text around it rather than sit in line with the text? Perhaps a default setting?
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: NoobDeveloper on January 16, 2010, 01:15:40 AM
awesome. thanks
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: qubbah on January 16, 2010, 07:24:51 PM
how to show latest article in block for tinyportal?
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on January 16, 2010, 07:27:50 PM
Don't have SSI yet for this mod have a block in ezportal that probably could be ported to Tp
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: qubbah on January 16, 2010, 07:35:07 PM
Quote from: vbgamer45 on January 16, 2010, 07:27:50 PM
Don't have SSI yet for this mod have a block in ezportal that probably could be ported to Tp
where can i find thats code?
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Afro on January 18, 2010, 08:55:34 AM
got this error after installation

Unknown column 'approved' in 'where clause'
File: /var/www/vhosts/afrowall.com/httpdocs/Sources/Articles2.php
Line: 1717

i am suspecting the package manager didnt do its work properly as i had to add the codes to the files manually.
what do i do next ?
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Kindred on January 18, 2010, 08:59:12 AM
re-run the database installation part of the mod manually.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Afro on January 18, 2010, 09:05:52 AM
Quote from: Kindred on January 18, 2010, 08:59:12 AM
re-run the database installation part of the mod manually.

thanks.. how do i do that exactly ?
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on January 18, 2010, 09:10:42 AM
Download the package copy the installer to the root directory of your forum and run it via the browser
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Afro on January 18, 2010, 09:17:34 AM
Quote from: vbgamer45 on January 18, 2010, 09:10:42 AM
Download the package copy the installer to the root directory of your forum and run it via the browser

yea, i searched for that but didnt see installer.

I saw unistall
articlessql2
readme
package info
changelog
redirect

which one is supposed to be the installer here ?

Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Kindred on January 18, 2010, 10:03:05 AM
articlessql2.php
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Afro on January 18, 2010, 10:14:33 AM
Quote from: Kindred on January 18, 2010, 10:03:05 AM
articlessql2.php

ok, the mistake was that i created the articles tables manually in the database . i might have missed something.
I drooped the table and ran the sql2 file again and it worked. Thanks
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on January 18, 2010, 07:23:14 PM
Glad you got it working!
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Afro on January 19, 2010, 06:32:15 AM
i posted an article and got this error

'Invalid value inserted or no type specified.'

http://www.afrowall.com/index.php?action=articles;sa=editarticle2
Invalid value inserted or no type specified.
Function: EditArticle2File: /var/www/vhosts/xxxxxxx/httpdocs/Sources/Articles2.php
Line: 1020

the article did not show up ..
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on January 19, 2010, 10:38:12 AM
What was the post that you were trying to add?

Does this happen no matter what you enter in for the article text?
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Afro on January 19, 2010, 10:49:00 AM
Quote from: vbgamer45 on January 19, 2010, 10:38:12 AM
What was the post that you were trying to add?

Does this happen no matter what you enter in for the article text?

NOPE, there is this one particular article i wrote that is doing that. i added another article as a guest and it got posted.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on January 19, 2010, 10:49:34 AM
There most be something odd with that article look for {} characters
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Afro on January 19, 2010, 10:50:53 AM
Quote from: vbgamer45 on January 19, 2010, 10:49:34 AM
There most be something odd with that article look for {} characters

sure, there is that on the article, hmm...why would it be a problem ?
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on January 19, 2010, 10:52:45 AM
{} are somewhat reserved in SMF 2.0
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Afro on January 19, 2010, 10:54:46 AM
Quote from: vbgamer45 on January 19, 2010, 10:52:45 AM
{} are somewhat reserved in SMF 2.0

well after removing it, i tried resubmitting the article and got this

http://www.afrowall.com/index.php?action=articles;sa=editarticle;id=32: assert() [<a href='function.assert'>function.assert</a>]: Assertion failedFile: /var/www/vhosts/xxxxxx/httpdocs/Sources/Subs-Editor.php
Line: 1434
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on January 19, 2010, 10:55:30 AM
Can you post a sample of the article if possible?
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Afro on January 19, 2010, 10:58:06 AM
PM sent to you

for some reasons..thanks
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on January 19, 2010, 11:18:05 AM
Thanks fixed and posted an update

1.2.1
!Fixed issue with reserved characters in article description and summary for SMF 2.0
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Afro on January 19, 2010, 11:23:20 AM
Quote from: vbgamer45 on January 19, 2010, 11:18:05 AM
Thanks fixed and posted an update

1.2.1
!Fixed issue with reserved characters in article description and summary for SMF 2.0


what does that mean exactly ?

reinstalling mod or what ?
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on January 19, 2010, 11:49:47 AM
Just download and install the mod should autoupgrade
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Afro on January 19, 2010, 11:55:19 AM
Quote from: vbgamer45 on January 19, 2010, 11:49:47 AM
Just download and install the mod should autoupgrade

my host is somehow not allowing package manager to auto do anything. whenever i install a mod,

the whole included files goes empty, that means i have to add the whole codes manually to make sure everything goes well.
so if you can give me the edits, to add on the modified file, i will be ok. thanks
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on January 19, 2010, 12:03:21 PM
Just copy Articles2.php from the zip to the Sources folder and your set
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Afro on January 19, 2010, 12:05:32 PM
Ok cool..thanks
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: GohighVoltage on January 20, 2010, 01:23:33 AM
When you uninstall your mod,  it does not uninstall from Modifications.english.php

So, if you reinstall an upgrade, etc,  or even decide to reinstall,  it adds another entry in Modifications.english.php,   so then you have duplicate content.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on January 20, 2010, 12:21:42 PM
Quote from: GohighVoltage on January 20, 2010, 01:23:33 AM
When you uninstall your mod,  it does not uninstall from Modifications.english.php

So, if you reinstall an upgrade, etc,  or even decide to reinstall,  it adds another entry in Modifications.english.php,   so then you have duplicate content.
It should but depends if you have other mods that write to that file in the end as well. This is a known issue with SMF if multiple mods write to the same file it will not uninstall correctly but is safe to ignore.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: qubbah on January 20, 2010, 07:40:54 PM
Quote from: vbgamer45 on January 16, 2010, 07:27:50 PM
Don't have SSI yet for this mod have a block in ezportal that probably could be ported to Tp

Where is the sample code for ezportal?
tq
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on January 20, 2010, 07:48:41 PM
It's inside the core of ezportal itself under Sources/Subs-Ezportal.php
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: dbailey on January 25, 2010, 03:53:24 AM
When I upload an image into an article and it shows beneath the upload box. Am I suposed to be able to click on it to view full size and copy the image location?

Because  I can only view the thumbnail. 
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Marsh on January 29, 2010, 08:37:24 PM
How would i go about changing the text in this mod? for example i want to change all the article text to Code Base. I removed all the article text in modifications.english.php i removed all the text in articles.english.php and articles.english-utf8.php and somehow text is showing up still. Where exactly does it get its info from?
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on January 29, 2010, 08:41:54 PM
In SMF 2.0 go under Forum Maintenance and clear the cache it will then reload the cache and the text should be changed.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Marsh on January 29, 2010, 08:49:41 PM
That did the trick thank you for the fast response.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on January 29, 2010, 08:58:34 PM
np Glad you got it working!
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Theatre Publicity on February 01, 2010, 09:07:43 PM
Has anyone successfully setup SMF articles to produce an RSS feed?
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on February 01, 2010, 09:22:07 PM
To produce a feed of articles? Or you looking for something else?
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Theatre Publicity on February 02, 2010, 03:07:28 PM
Yes, I was looking to be able to take the articles I've posted to my SMF articles site and turn them into an RSS feed.

I'm reasonably good at wonking around inside the code, but I was hoping someone had already done this and I just needed to be pointed to the solution.  I do have the RSS feed for boards MOD (which I think you also wrote).

Thanks
Barry
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on February 02, 2010, 03:09:24 PM
Nothing has been built yet for that but would be a good feature request.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Theatre Publicity on February 02, 2010, 03:24:39 PM
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.

Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Theatre Publicity on February 02, 2010, 03:29:34 PM
I should add... awesome mod.  I've really only just begun trying to work with it but has worked nicely so far.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on February 02, 2010, 03:55:14 PM
Thanks there is still a lot i want to do for the mod.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Bugo on February 04, 2010, 09:47:51 AM
Small inaccuracy -> file Articles2.template.php
<a href="', $scripturl, '?action=findmember;input=pic_postername;quote=1;sesc=', $context['session_id'], '" onclick="return reqWin(this,href, 350, 400);"><img src="', $settings['images_url'], '/icons/assist.gif" alt="', $txt['find_members'], '" /></a>
  <a href="', $scripturl, '?action=findmember;input=pic_postername;quote=1;sesc=', $context['session_id'], '" onclick="return reqWin(this,href, 350, 400);">', $txt['find_members'], '</a>


It would be better to use a comma instead of point? "reqWin(this,href, 350, 400)" => "reqWin(this.href, 350, 400)"
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Arantor on February 04, 2010, 09:55:41 AM
No, it should be a point, since href is a property of "this".
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on February 04, 2010, 09:57:08 AM
this.href is a property so it needs to be a period in other for that function to work

Edit Arantor got glad your still around. Don't archive your mods either  ;)
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Bugo on February 04, 2010, 03:57:25 PM
Quote from: Arantor on February 04, 2010, 09:55:41 AM
No, it should be a point, since href is a property of "this".
I know that it should be a point, but now in file Articles2.template.php is comma: "reqWin(this,href, 350, 400)"
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on February 04, 2010, 05:35:17 PM
Thanks released an update to fix that issue!
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: ~DS~ on February 04, 2010, 10:17:11 PM
Quote from: vbgamer45 on February 04, 2010, 05:35:17 PM
Thanks released an update to fix that issue!
Damn, vbgamer45, I am impressive, you have update many mods lately like Nao. What makes you?  :P

BTW...I have used this mod but I am curious...the SMFblog and this mod serves the same purpose, no?
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on February 04, 2010, 10:19:13 PM
SMF Blog right now is based on smf boards not ideal if you want to have many many categories. SMF Articles little better updated at this time.

Updating mods to help the community I took over and bought couple for around $2500 in jan as well to make sure they stay updated.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: ~DS~ on February 04, 2010, 10:29:58 PM
Quote from: vbgamer45 on February 04, 2010, 10:19:13 PM
SMF Blog right now is based on smf boards not ideal if you want to have many many categories. SMF Articles little better updated at this time.

Updating mods to help the community I took over and bought couple for around $2500 in jan as well to make sure they stay updated.
So basically SMF Blog is no use to the user at all if they were to create their own blogs which will turn into many categories...but only if you can revamp into something different like the blog at vBullentin, our own blogs in our profile. 
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on February 04, 2010, 10:31:11 PM
Yeah a revamp will be needed. I don't think having a board for every user or a board for each blog is realistic.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: ~DS~ on February 04, 2010, 10:33:07 PM
Quote from: vbgamer45 on February 04, 2010, 10:31:11 PM
Yeah a revamp will be needed. I don't think having a board for every user or a board for each blog is realistic.
There you go.  ;D
Hope it's gonna be a great mod after the revamp, then I would use it.
Glad I suggested.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Kindred on February 04, 2010, 10:46:01 PM
I really like the zCommunity implementation of blogs.... unfortunately, the author decided he had a good thing and made it stand along with a very simplistic forum... and never backported back to smf. :(

VB...   if you could make the smfBlogs something like zCommunity, it would be coolness! See 40konline for a currently working implemention of zCommunity.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on February 04, 2010, 10:50:54 PM
zCommunity was awesome that was a great mod maybe a new project for me for early this year added to my list heh
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: ~DS~ on February 04, 2010, 11:00:28 PM
Quote from: Kindred on February 04, 2010, 10:46:01 PM
VB...   if you could make the smfBlogs something like zCommunity, it would be coolness! See 40konline for a currently working implemention of zCommunity.
Just took a peek at their blog system, damn it's hot...maybe better than vBullentin. That's what I am talking about. A revamp would do with the same title. "SMFBlogs
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: pittu on February 04, 2010, 11:02:02 PM
This mod converts boards that already have threads into articles?

Each thread is changed to article.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: ~DS~ on February 04, 2010, 11:05:38 PM
Quote from: pittu on February 04, 2010, 11:02:02 PM
This mod converts boards that already have threads into articles?

Each thread is changed to article.
No, that would be SMFBlog
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on February 04, 2010, 11:09:01 PM
No sorry about that we discussing a different mod SMFBlogs
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Kindred on February 12, 2010, 08:30:03 AM
hmmm....   I have an issue with the permissions

I have a number of users marked as "Project Editors".
They have been granted permission, in the permissions profile, to administrate articles, approve articles, comments, etc.
However, the administration seems to be hidden in the smf admin-only section, which means that the users (who do not have normal board-admin access) are told they can not get to the article approval section.

I know I am missing something simple...  but it's anoying.

Any idea vbgamer?
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on February 14, 2010, 12:06:17 AM
Busy this week but are you using SMF 2.0 with the Articles Mod? I think I know what the issue is.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Kindred on February 14, 2010, 06:23:12 AM
I am indeed...I am using the dev version from mid-January.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on February 19, 2010, 12:03:06 AM
Quote from: Kindred on February 12, 2010, 08:30:03 AM
hmmm....   I have an issue with the permissions

I have a number of users marked as "Project Editors".
They have been granted permission, in the permissions profile, to administrate articles, approve articles, comments, etc.
However, the administration seems to be hidden in the smf admin-only section, which means that the users (who do not have normal board-admin access) are told they can not get to the article approval section.

I know I am missing something simple...  but it's anoying.

Any idea vbgamer?
Fixed!

Posted a new version of SMF Articles uninstall the old version and install the new versoin.

Adds a seperate Articles Configuration area.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Jave on February 21, 2010, 12:07:05 AM
I was just wondering, I have your articles modification added, how do I switch the tab name? It has the tab name articles, but I am using the modification for something else and need to change what the tab says.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Kindred on February 21, 2010, 12:24:56 AM
modifications.english.php
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on February 21, 2010, 02:39:59 AM
Thanks Kinderd for the support. Did that change help you that I made to articles for moderators?
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Kindred on February 21, 2010, 08:11:34 AM
I have not done the upgrade yet...   I am running a dev version, so I am going to re-install all the mods in a week or so when there is a good stable RC3 version available. :)
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: wiciu on February 22, 2010, 12:35:50 AM
Great MOD !

I have small feature..
Ussualy link to the article .. look like this:

http://xxx.pl/forum/index.php?action=articles;sa=view;article=3 (http://xxx.pl/forum/index.php?action=articles;sa=view;article=3)

What about this, that in article link colapse title ?

Something like this:

http://xxx.pl/forum/index.php?action=articles;sa=view;article=3;title=this_is_article_title (http://xxx.pl/forum/index.php?action=articles;sa=view;article=3;title=this_is_article_title)

I thing that this solution will be more user friendly.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on February 22, 2010, 12:49:13 AM
I think I have a pretty urls filter for this. Check out the pretty urls mod and the extras package with it.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: wiciu on February 22, 2010, 01:20:47 AM
Quote from: vbgamer45 on February 22, 2010, 12:49:13 AM
I think I have a pretty urls filter for this. Check out the pretty urls mod and the extras package with it.
Whoa.. i have pretty URLs mod but without extra pack. Now.. all is working fine  !
Thanx !
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on February 22, 2010, 01:21:23 AM
Glad it helps :)
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: KidCactus on February 22, 2010, 02:59:32 PM
I've installed the mod, created a category (with viewing/posting permissions for registered members) and a test article, but unless I log in with my admin account instead of my test account as a normal user, I get an "An Error Has Occurred! You can not view the articles page." error when I try to access the article page or the article itself. I even tried giving registered members all permissions, but I still can't view the page. Any ideas?

I'm using it in SMF 1.1.111.

Edit: Never mind, didn't know I had to apply permissions in the SMF admin interface too, on the correct member group.  :)
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on February 22, 2010, 03:09:33 PM
Glad you got it working!
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: KidCactus on February 22, 2010, 03:39:35 PM
Yes, me too.  :) I'm trying to adapt this article mod on my forum to be more of a blog mod.

By the way, I just realized the comments on the articles show the most recent on top, is there an easy way to have it the other way, like in the forums?
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on February 22, 2010, 03:52:15 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.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: KidCactus on February 22, 2010, 03:58:12 PM
Thanks, I'll look into that.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: KidCactus on February 23, 2010, 02:38:36 PM
I'm trying to insert a link tree on the first page of this mod (the categories page), but for some reason it doesn't look like I expect it to. I'm using the default div tag for this, in the same way as in the other template files:

<div style="padding: 3px;">', theme_linktree(), '</div>

It's inserted into the template_articlesmain function, after the global.

On the category page, the link tree only shows the forum name and not the actual categories page name. If I click one of my two categories though, it looks like it should, showing Forum -> Categories page -> Category.

Got any ideas why this is happening?

Edit: Color me surpised! I managed to fix it myself, by editing Article.php. I moved this:

// Setup the Link Tree

$context['linktree'][] = array(

'url' => $scripturl . '?action=articles',

'name' => $txt['smfarticles_title']

);

GetParentLink($cat);


And inserted it after:

      // Set page title

$context['page_title'] = $txt['smfarticles_title'];


Edit 2: Well, apparently that didn't solve the issue after all.  :( Now I got the categories page in the link tree, but not the categories.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: KidCactus on February 23, 2010, 04:20:52 PM
Quote from: vbgamer45 on February 22, 2010, 03:52:15 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...
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: qubbah on February 24, 2010, 12:11:35 PM
hope there is a code to show latest article in block for portal. tq
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Arantor on February 24, 2010, 12:34:43 PM
Quote from: qubbah on February 24, 2010, 12:11:35 PM
hope there is a code to show latest article in block for portal. tq

Which portal? SimplePortal, TinyPortal, Ezportal, PortaMX, Dream Portal?
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: ~DS~ 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)
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 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.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: KidCactus on March 04, 2010, 06:55:37 AM
Quote from: vbgamer45 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.
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.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: vbgamer45 on March 04, 2010, 11:48:16 AM
Would require some work about a half hour to hour.
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: amko_sa 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
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: Kindred 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
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: amko_sa on March 07, 2010, 12:33:52 PM
Quote from: Kindred 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

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.
Title: Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on March 08, 2010, 07:52:59 PM
Updated mod for SMF 2.0 RC3!

1.3
+Added SMF 2.0 RC3 Support
Title: Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
Post by: Sic0 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?
Title: Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 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.
Title: Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
Post by: Sic0 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)
Title: Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
Post by: BLueSS on March 13, 2010, 06:26:18 AM
Quote from: new2PHP on February 02, 2010, 03:24:39 PM
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?
Title: Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on March 13, 2010, 11:36:09 AM
Quote from: BLueSS on March 13, 2010, 06:26:18 AM
Quote from: new2PHP on February 02, 2010, 03:24:39 PM
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.
Title: Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 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?
Title: Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
Post by: Granular 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
Title: Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 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.
Title: Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
Post by: Granular 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
Title: Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
Post by: qubbah on March 28, 2010, 09:35:28 PM
hope there is a code for tinyportal block. tq
Title: Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
Post by: Ramón Cutanda on April 01, 2010, 07:24:22 PM
Hi,

Attached you will find Articles.spanish_es-utf8.php and  and Articles.spanish_es.php for SMF Articles 1.3:

And here are the language strings for articles.xml and articles2.xml

spanish_es-utf8

<file name="$languagedir/Modifications.spanish_es-utf8.php" error="skip">
    <operation error="ignore">
        <search position="after"><![CDATA[?>]]></search>
        <add><![CDATA[
// Begin SMF Articles Text Strings
$txt['smfarticles_menu'] = 'Artículos';
$txt['smfarticles_admin'] = 'Configuración de Artículos';

$txt['permissiongroup_smfarticles'] = 'Artículos SMF';

$txt['permissionname_view_articles'] = 'Ver Artículos';
$txt['permissionhelp_view_articles'] = 'Define si el usuario puede ver los artículos.';
$txt['cannot_view_articles'] = 'No puedes ver la página de artículos.';

$txt['permissionname_add_articles'] = 'Añadir Artículo';
$txt['permissionhelp_add_articles'] = 'Si el usuario puede enviar artículos';

$txt['cannot_add_articles'] = 'No puedes añadir artículos.';
$txt['permissionname_edit_articles'] = 'Editar Artículos propios';
$txt['permissionhelp_edit_articles'] = 'Si el usuario puede editar sus propios artículos';

$txt['cannot_edit_articles'] = 'No puedes editar artículos.';
$txt['permissionname_delete_articles'] = 'Borrar Artículos propios';
$txt['permissionhelp_delete_articles'] = 'Si el usuario puede borrar sus propios artículos';
$txt['cannot_delete_articles'] = 'No puedes borrar artículos.';

$txt['permissionname_articles_comment'] = 'Dejar Comentarios';
$txt['permissionhelp_articles_comment'] = 'Permite al usuario comentar los artículos.';
$txt['cannot_articles_comment'] = 'No puedes dejar comentarios.';


$txt['permissionname_articles_auto_approve'] = 'Auto-Aprobación de Artículos';
$txt['permissionhelp_articles_auto_approve'] = 'Si los artículos de este usuario se aprueban de forma automática cuando los envía';

$txt['permissionname_articles_autocomment'] = 'Auto-Aprobación de Comentarios';
$txt['permissionhelp_articles_autocomment'] = 'Comentarios que no necesitan ser revisados para aprobación.';

$txt['permissionname_rate_articles'] = 'Valorar Artículos';
$txt['permissionhelp_rate_articles'] = 'Si el usuario puede valorar artículos';
$txt['cannot_rate_articles'] = 'No puedes valorar artículos.';

$txt['permissionname_articles_admin'] = 'Administrar Artículos';
$txt['permissionhelp_articles_admin'] = 'El usuario podrá administrar los artículos';
$txt['cannot_articles_admin'] = 'No puedes administrar los artículos.';
// END SMF Articles Strings       
]]></add>
    </operation>
</file>
<file name="$languagedir/Who.spanish_es-utf8.php">
    <operation error="ignore">
        <search position="after"><![CDATA[?>]]></search>
        <add><![CDATA[
// Begin SMF Articles
$txt['whoall_articles'] = 'Viendo <a href="' . $scripturl . '?action=articles">' . $txt['smfarticles_menu'] . '</a>';
// END SMF Articles Strings           
]]></add>
    </operation>
</file>


spanish_es

<file name="$languagedir/Modifications.spanish_es.php" error="skip">
    <operation error="ignore">
        <search position="after"><![CDATA[?>]]></search>
        <add><![CDATA[
// Begin SMF Articles Text Strings
$txt['smfarticles_menu'] = 'Art&iacute;culos';
$txt['smfarticles_admin'] = 'Configuraci&oacute;n de Art&iacute;culos';

$txt['permissiongroup_smfarticles'] = 'Art&iacute;culos SMF';

$txt['permissionname_view_articles'] = 'Ver Art&iacute;culos';
$txt['permissionhelp_view_articles'] = 'Define si el usuario puede ver los art&iacute;culos.';
$txt['cannot_view_articles'] = 'No puedes ver la p&aacute;gina de art&iacute;culos.';

$txt['permissionname_add_articles'] = 'A&ntilde;adir Art&iacute;culo';
$txt['permissionhelp_add_articles'] = 'Si el usuario puede enviar art&iacute;culos';

$txt['cannot_add_articles'] = 'No puedes a&ntilde;adir art&iacute;culos.';
$txt['permissionname_edit_articles'] = 'Editar Art&iacute;culos propios';
$txt['permissionhelp_edit_articles'] = 'Si el usuario puede editar sus propios art&iacute;culos';

$txt['cannot_edit_articles'] = 'No puedes editar art&iacute;culos.';
$txt['permissionname_delete_articles'] = 'Borrar Art&iacute;culos propios';
$txt['permissionhelp_delete_articles'] = 'Si el usuario puede borrar sus propios art&iacute;culos';
$txt['cannot_delete_articles'] = 'No puedes borrar art&iacute;culos.';

$txt['permissionname_articles_comment'] = 'Dejar Comentarios';
$txt['permissionhelp_articles_comment'] = 'Permite al usuario comentar los art&iacute;culos.';
$txt['cannot_articles_comment'] = 'No puedes dejar comentarios.';


$txt['permissionname_articles_auto_approve'] = 'Auto-Aprobaci&oacute;n de Art&iacute;culos';
$txt['permissionhelp_articles_auto_approve'] = 'Si los art&iacute;culos de este usuario se aprueban de forma autom&aacute;tica cuando los env&iacute;a';

$txt['permissionname_articles_autocomment'] = 'Auto-Aprobaci&oacute;n de Comentarios';
$txt['permissionhelp_articles_autocomment'] = 'Comentarios que no necesitan ser revisados para aprobaci&oacute;n.';

$txt['permissionname_rate_articles'] = 'Valorar Art&iacute;culos';
$txt['permissionhelp_rate_articles'] = 'Si el usuario puede valorar art&iacute;culos';
$txt['cannot_rate_articles'] = 'No puedes valorar art&iacute;culos.';

$txt['permissionname_articles_admin'] = 'Administrar Art&iacute;culos';
$txt['permissionhelp_articles_admin'] = 'El usuario podr&aacute; administrar los art&iacute;culos';
$txt['cannot_articles_admin'] = 'No puedes administrar los art&iacute;culos.';
// END SMF Articles Strings       
]]></add>
    </operation>
</file>
<file name="$languagedir/Who.spanish_es.php">
    <operation error="ignore">
        <search position="after"><![CDATA[?>]]></search>
        <add><![CDATA[
// Begin SMF Articles
$txt['whoall_articles'] = 'Viendo <a href="' . $scripturl . '?action=articles">' . $txt['smfarticles_menu'] . '</a>';
// END SMF Articles Strings           
]]></add>
    </operation>
</file>
Title: Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on April 01, 2010, 07:26:34 PM
Thank you very much your translation!
Title: Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
Post by: Ramón Cutanda on April 02, 2010, 06:17:21 AM
Hi,

I'm having problems with SMF Articles 1.3 for SMF 2.0 RC3

The "Article" link takes me to the path "public_html/smf/article". The index.php file there has got just one line "Access Denied", which is what I see when I try to use the "Article" link in the menu.

http://www.videoedicion.org/foro/articles/

Besides, I cannot find where should I create new categories and articles. The only options I see are  "Settings - Approve Articles (0) - Approve Comments (0) - Category Permission List - Import

Any help?

Thanks in advance.

Regards
Title: Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on April 02, 2010, 09:24:09 AM
The article link should point to
http://www.videoedicion.org/foro/index.php?action=articles

And on that page there should be a place to add categories.
Title: Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
Post by: Ramón Cutanda on April 02, 2010, 09:38:20 AM
Quote from: vbgamer45 on April 02, 2010, 09:24:09 AM
The article link should point to
http://www.videoedicion.org/foro/index.php?action=articles (http://www.videoedicion.org/foro/index.php?action=articles)

And on that page there should be a place to add categories.

Thanks so much for replying.

The link you provide just redirectos to http://www.videoedicion.org/foro/articles/ and shows the "Access Denied" message.

Besides, I have just installed the Download System and I have the same issue. The link http://www.videoedicion.org/foro/download/ just takes me nowhere.

Please, have a look at the menus of both modules and tell me if they look like the should.

Thanks a lot for taking the trouble.

Regards,
Title: Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on April 02, 2010, 09:55:15 AM
Admin menus look fine.
I think you have some kind of url rewriting system enabled that is not working correctly with any mod that ads an action.
Title: Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
Post by: Ramón Cutanda on April 02, 2010, 10:56:30 AM
And... bingo!

Thanks for the tip!
Title: Re: SMF Articles (1.3 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on April 02, 2010, 10:57:52 AM
Glad you got it figured out.
Title: Re: SMF Articles (1.3.1 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on April 03, 2010, 01:45:59 AM
New update for SMF 2.0

1.3.1
+Updated style for articles system for SMF 2.0 RC3 to be more curve
Title: Re: SMF Articles (1.3.1 Released with SMF 2.0 RC3 support!)
Post by: gevv on April 03, 2010, 06:42:57 AM
Thanks vbgamer45


problem  edit articles ?

1: articles published  no problem

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi44.tinypic.com%2F2qc06fo.png&hash=e87f417a0554faeb00fbfb5d33ece4cfaea7e6e4)

2: articles edit  problem <br>  </br> <br>  </br>.......


(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi41.tinypic.com%2Fj96lv4.png&hash=76167216ced5672e6b1d1d1171e2efe49da6c66e)


3: articles edit and save  big problem  <br>  </br> <br>  </br>.......

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi41.tinypic.com%2Fbgryj8.png&hash=2df44fbb84d43adb07aba172374e8ff49d50a6ae)

Title: Re: SMF Articles (1.3.1 Released with SMF 2.0 RC3 support!)
Post by: Arantor on April 03, 2010, 06:46:39 AM
Looks to me like a missing un_preparsecode when regenerating the form.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on April 03, 2010, 11:20:17 AM
New update to fix edit article issue
1.3.2
!Fixed edit article bug for SMF 2.0 thanks to Arantor
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: gevv on April 03, 2010, 12:00:06 PM
my articles v1.3.1   

how to manually update ?   v1.3.2
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on April 03, 2010, 12:06:42 PM
Just install the latest version it includes an auto update function.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: GohighVoltage on April 03, 2010, 12:54:15 PM
When I uploaded the 1.3.2 version,  in the Packages screen,  it still shows it at 1.3.1  how can I fix this?
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on April 03, 2010, 12:55:29 PM
You can't fix it but it is ok to ignore.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: GohighVoltage on April 03, 2010, 01:00:15 PM
Is this a problem within my forum,  or just the package didn't have the new version?
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on April 03, 2010, 01:06:58 PM
Just package i forget to have new version.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: GohighVoltage on April 03, 2010, 01:12:59 PM
Ok, will you fix and re-upload?   just want to make sure it shows correct so I don't go and update it later if I forget
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: GohighVoltage on April 03, 2010, 01:37:42 PM
Hi, thank yoU!!

Are you going to upgrade the curves look on LINKS, Contact Mod, and Ad seller PRO?

Great work!
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on April 03, 2010, 01:41:10 PM
I just did links
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: GohighVoltage on April 03, 2010, 01:44:58 PM
AWESOME!  Thanks!   
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: gevv on April 03, 2010, 01:57:33 PM
articles v1.3.2 reupload   update ok

articles view no problem

articles edit  problem error ?

Fatal error: Call to undefined function un_preparsecode() in /-----/-----/public_html/Sources/Articles2.php on line 859
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on April 03, 2010, 01:59:55 PM
Sorry fixed now redownload again from mod site.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: gevv on April 03, 2010, 02:08:23 PM
Thanks vbgamer45 

update new version no problem
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: GohighVoltage on April 03, 2010, 02:21:11 PM
Are you working on Contact Mod?   Also,  Ad Seller Pro?

Your Mods are great, thank you so much.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on April 03, 2010, 02:24:08 PM
Yes slowly one by one doing classifieds now.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: GohighVoltage on April 03, 2010, 02:28:25 PM
Ok, great! Thank you!   Classifieds PRo is the next one I want to buy from you, when I get some cash soon.  I like that mod too!
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: gevv on April 04, 2010, 05:02:23 PM
I have a question

allow edit own articles user

published, own articles user   not want the user to make edits

how to make ?


Thanks.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: Mick. on April 14, 2010, 10:11:07 AM
vB,...

I have a question regarding the articles database with user ID's.

I created a membergroup called "editor" and appointed a member i created in which the member ID is #295.   Me as admin member #1, wrote most articles.   I dont want these articles to show under my name anymore.  I want to swap user ID's in the database to these articles.


While looking at the articles database, i looked at "browse" and found it.  Can i go ahead edit the user ID there from #1 to #295?  Is there somewhere else i need to also go?
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on April 14, 2010, 10:17:54 AM
That's it. That will change the ownership of the article over to that person.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: Mick. on April 14, 2010, 10:19:08 AM
Quote from: vbgamer45 on April 14, 2010, 10:17:54 AM
That's it. That will change the ownership of the article over to that person.

That's what i thought.   You rock man, thanx.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: kizer on May 06, 2010, 02:21:16 PM
Is there a way to list the articles by Alphabetical vs date? I didn't see a setting anywhere and a project I'm working would require the default listing to alphabetical listing opposed to the default of by date posted.

I'm guessing you could hard code it, but well I'm not that bright to know what or where to change.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on May 06, 2010, 03:59:25 PM
Yeah you would have to edit Sources/Articles.php to change it from ID_ARTICLE DESC to date instead
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: kizer on May 06, 2010, 04:55:11 PM
Thank you, I'll give it a try.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: kizer on May 06, 2010, 06:29:57 PM
I think I confused myself or maybe you. I found ID_ARTICLE DESC ,but I'm confused exactly what to change. I'm trying to change it to list be alpha and you mentioned time.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on May 06, 2010, 06:47:20 PM
Yeah you need to change it to the date column of the article.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: ProfDrDenis on May 10, 2010, 09:17:48 AM
I use this mod.

But I have one question, I use the "description" for the price. Is there any way to change this that people only put numbers inside? Sorry for my english

Thanks for helping
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: Kindred on May 10, 2010, 09:35:55 AM
you would have to edit the source....
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: ProfDrDenis on May 10, 2010, 10:13:43 AM
Quote from: Kindred on May 10, 2010, 09:35:55 AM
you would have to edit the source....

I am laughing I was thinking I edit what...

I know that I have to edit the source. But I do what?
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: dmacleo on May 10, 2010, 10:56:07 AM
ok, foolish question time.

due to restoration issue I need to reinstall. I manually deleted all sql tables (6 iirc) articles_ cleared cache and deleted package off server. when I reinstall old categories are still listed when I try to move a post to article.
did I miss something when uninstalling?

thanks.

edit: when I go directly to articles and add from there its correct, its just when trying to add a post to article that the old category is shown and any new ones are not shown.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on May 10, 2010, 11:42:33 AM
Probably missed removing the articles_cat sql table
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: dmacleo on May 10, 2010, 11:47:54 AM
I specifically made sure that one was removed, twice actually.
I'm at a loss :)
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on May 10, 2010, 11:51:18 AM
That's the only place that I store data only in the database tables not in any files.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: dmacleo on May 10, 2010, 11:58:03 AM
would there be a table not named in same convention as others?

attached is screenshot of ones I dropped.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on May 10, 2010, 11:59:44 AM
No.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: dmacleo on May 10, 2010, 12:16:51 PM
even odder is that after removing it the add to article button shows up under all themes and points to the non-existent category.
going to try looking at all templates and manually removing any reference to article and see what happens.

I like the mod so want to make sure its working here, I appreciate the input and work you've done.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: dmacleo on May 10, 2010, 01:16:06 PM
boy I feel foolish, the add to article showing under topics was for simple portal article system and not for this mod.
As far as I can tell this mod is working correctly.

for some reason I had thought this one added the add as article buttons under topics, sorry for the confusion.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on May 10, 2010, 01:16:40 PM
Ah makes sense glad you found out what it was.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: dmacleo on May 10, 2010, 01:18:45 PM
did a database search for the errant category and found it in sp_ table...knew then I was an idiot :)
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: Pippolo72 on May 21, 2010, 11:41:17 PM
Hi, I am running SMF1.1.11 and the Babylon theme and have installed this mod. I can see the article conf panel under CONFIGURATION but no button linking to articles. If I switch to the default theme I can see the button. What do I need to do to see the button in Babylon please? Thanks.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on May 21, 2010, 11:47:08 PM
You would need to edit the index.template.php of the babylon theme to include a link/button for the articles
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: Pippolo72 on May 21, 2010, 11:51:12 PM
Thanks VBGamer. Is there any script already written that I can copy and add to the index.template.php that you know of? I have no idea what to write and where to put it...
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on May 21, 2010, 11:53:07 PM
No because for 1.1.x of SMF you have to do it manually
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: Pippolo72 on May 22, 2010, 01:11:37 AM
http://docs.simplemachines.org/index.php?topic=1032.0

I used this script and it works, just need to make a button as similar to the existing ones as possible.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: PurpleCrow on May 22, 2010, 01:47:40 PM
I'm using SMF 2.0 RC3 and when I try to add a category I get a 403 Forbidden Error... Any ideas how I can fix this? (I'm Admin so permissions shouldnt be the issue).
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on May 22, 2010, 01:52:13 PM
403 error sounds like either a webserver permissions issue or an issue with mod_security that has to be disabled by the host.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: PurpleCrow on May 22, 2010, 01:55:04 PM
Quote from: vbgamer45 on May 22, 2010, 01:52:13 PM
403 error sounds like either a webserver permissions issue or an issue with mod_security that has to be disabled by the host.

Neither of those mean anything to me - any idea how I can fix it?
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: PurpleCrow on May 22, 2010, 01:56:31 PM
Actually dont worry, I wont be using the mod, wasnt a fan of it when I used it last time and I dont want to go faffing about in some settings that could cause more issues than they solve.

Thanks anyway!
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: Ataru Moroboshi on May 28, 2010, 06:10:23 PM
is there any way to give a single category permission to a single user?
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on May 28, 2010, 06:12:23 PM
No only membergroups.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: RCC_SaMiaM on June 07, 2010, 02:38:56 PM
Not sure if this has been asked already, but it would be cool to be able to add a thumbnail to the articles in the article list.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on June 07, 2010, 03:05:32 PM
Nice idea maybe one day
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: irwin on June 17, 2010, 05:29:20 AM
good morning,
I'm having problems with SMF Articles 1.3.2.a -SMF 2.0 RC3 - Simple portal: www.irwin.it is free to check for the moment.

the problem is this i an see the article inside the right page:
http://www.irwin.it/index.php?action=articles;sa=view;article=1

But not in the home page "Articles blocks":
on the home page you find the title " articoli e spunti "

do u have  any idea please :-)
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on June 17, 2010, 11:32:52 AM
I don't know how Simple Portal articles block works sorry
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: More-to-life on June 22, 2010, 02:08:14 PM
Hi Guys

Just installed the mod & it looks good ;D

One question though in the summary box I'm putting a brief description & business address but need it to section these off with line breaks & paragraphs

Ive tried HTML break & paragraphs codes but it wont work

Any ideas

Thanks in advance
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: Kindred on June 22, 2010, 02:16:33 PM
I do not believe that the summary box allows that..
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: More-to-life on June 22, 2010, 03:31:01 PM
Quote from: Kindred on June 22, 2010, 02:16:33 PM
I do not believe that the summary box allows that..

Ah!

Maybe an idea for an updated version then?

Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on June 26, 2010, 10:46:05 AM
Minor Bugfix
!Fixed issue with MySQL 5.5 since it no longer supports the Type for create tables uses Engine instead
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: improv on June 27, 2010, 08:01:59 PM
Hmm.. I noticed people can only upload 1 image meanwhile I changed my settings to 10.
Is this a "bug"?
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on June 27, 2010, 08:51:56 PM
Maybe what SMF version?
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: improv on June 28, 2010, 11:08:57 AM
I'm using it at SMF 2.0 RC3.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: qubbah on June 28, 2010, 01:38:19 PM
Quote from: Arantor on February 24, 2010, 12:34:43 PM
Quote from: qubbah on February 24, 2010, 12:11:35 PM
hope there is a code to show latest article in block for portal. tq

Which portal? SimplePortal, TinyPortal, Ezportal, PortaMX, Dream Portal?

for tinyportal
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on June 28, 2010, 01:55:17 PM
You would have to code one or analyze the block code from ezPortal don't have one that is standalone yet.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: improv on June 29, 2010, 06:00:12 AM
Did you already check on the "bug"? :)
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on June 29, 2010, 02:41:17 PM
No. I think there is only one upload field shown at a time.
But if you edit you can add more files.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: improv on June 30, 2010, 06:56:38 AM
Aw.. Are you planning to update so you can upload more images?
It would be nice.

And thanks for your awesome mods and support :)
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: improv on July 06, 2010, 08:02:51 AM
*bump*
Even when editing you still can't upload more images..

And you can't even use it properly..
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: irwin on July 14, 2010, 05:03:01 AM
hello again , anybody knows how can i recal SSI function for SMF articles?
thank you in advance
irwin
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: Kindred on July 14, 2010, 07:25:36 AM
you would have to write the script....   this mod does not come with any SSI scripts written
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on July 14, 2010, 12:09:46 PM
Easy to do though just a couple queries to smf_articles database tables and you can get the articles.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: irwin on July 15, 2010, 02:56:06 AM
it's ok vbgamer45, u love too much the database query :-P
but isn't so easy for me... can u give me a little script to do this please.
so i can use for links and for article.. thank you in advance.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: rock8mail on July 30, 2010, 05:24:07 AM
Please seriously consider multi-language (utf8) support as so far doesn't work. thanks!!!
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: eyeseven on August 16, 2010, 06:40:59 PM
hi! any idea how to add fshare button to articles? I already installed SA-Facebook integration, and i'm thinking if i can modify the articles area to have fshare button..

thanks..
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on August 16, 2010, 06:43:00 PM
I think you just need to add it to the articles.template.php and that should be it under view article
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: Kindred on August 18, 2010, 06:29:36 PM
hmmm.... problem.

It appears that the notice "your article must be approved before it is visible" uses the fatal_error command/template.

This is very confusing to the user because the box has the heading "An Error Has Occurred"
IMO the display should not be using the error message template for this screen.... I like the "box display" but I do nto see an easy way to remove the "error" message in the heading.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on August 18, 2010, 06:36:01 PM
Yeah what I do some of my mods is use a modified version of that box for the error display since then I can set the box title/page title.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: Kindred on September 16, 2010, 03:30:24 PM
you would have to change the CODE in the source and template files that looks for contents under that path.  Probably have to re-configure the url code as well
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: Danpotter on November 15, 2010, 06:42:18 AM
will this give any boost to SEO of our forums???
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: Kindred on November 15, 2010, 07:31:47 AM
this has nothing to do with seo
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: mcmedal001 on November 23, 2010, 03:33:28 AM
This is a really great mod. I plan to try something with it. I have a referral system on and i already promised to compensate anyone that refers 25 people to submit articles for free with their ads and backlinks inside but the article system in simpleportal is not working as i want. Now i want to use this article mod, is there a way to add an adsense code into it?
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on November 23, 2010, 08:44:44 AM
You can add adsense by editing the article.template.php and just put the code where you want it show up.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: great nuvi on November 24, 2010, 04:23:06 AM
HI, great mod and im trying it.

Installed ok, but can not see any "Article" tab (im not sure what you call it) at the top among "Home", Help, Search, Logout, etc. Im using Headline as my theme.
I tried to see if the "article" tab will show on other theme and it showed on SMF Default Theme -core.

Is there any coding I need in order for it to show? Please help me on this.

Thanks

Edit:  I figured it out how to put the Article button on top but the problem is the link give me an ERROR 500. the link is http://.........../forum/articles as what in article setting says its URL.

It also says:
Common reasons for this error are:

Incorrect file/directory permissions: Above 755. In order files to be processed by the webserver, their permissions have to be equal or below 755. You can update file permissions with a FTP client or through cPanel's File Manager.
Incorrect Apache directives inside .htaccess file. Make sure you have not specified unsupported directives inside the local .htaccess file. Such include PHP settings and Apache module settings.

Now I dont know what to do? Help me please. thanks
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: vbgamer45 on November 24, 2010, 10:38:34 AM
The article url is http://www.yourforum.com/index.php?action=articles
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: great nuvi on November 24, 2010, 03:17:07 PM
Got it thanks.

But I didnt put the whole URL only the "?action=articles". If I put the whole it just browse on the forum index.

Thanks vbgamer45
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: henrik1782 on December 07, 2010, 05:51:06 AM
Thanks for this mod...

Here is the danish translation

Best regards
Henrik Poulsen


Articles.danish.php

<?php
/*
SMF Article System
Version 1.1
by:vbgamer45
http://www.smfhacks.com
*/
$txt['smfarticles_title'] = 'Artikler';
$txt['smfarticles_indextitle'] = 'Artikler';
$txt['smfarticles_editarticle'] = 'Rediger artikel';

$txt['smfarticles_nocatabove'] = 'Der er ingen kategori over den nuværende.';
$txt['smfarticles_nocatbelow'] = 'Der er ingen kategori under den nuværende.';

$txt['smfarticles_noarticletitle'] = 'Du skal indtaste en artikel titel';
$txt['smfarticles_articleneedsapproval'] = 'Bemærk: Din artikel skal godkendes før den bliver vist.';
$txt['smfarticles_noarticletext'] = 'Du skal indtaste artikel tekst!';

$txt['smfarticles_setarticlessperpage'] = 'Artikler pr. side ';
$txt['smfarticles_listingdisplay'] = 'Article Listings Display';
$txt['smfarticles_countsubcats'] = 'Medtæl Sub kategorier i antal artikler. <br />(Uses more queries)';
$txt['smfarticles_enableratings'] = 'Aktiver bedømmelse';
$txt['smfarticles_enablecomments'] = 'Aktiver kommentarer';


$txt['smfarticles_disp_description'] = 'Vis beskrivelse';
$txt['smfarticles_disp_views'] = 'Vis antal visninger';
$txt['smfarticles_disp_rating'] = 'Vis bedømmelse';
$txt['smfarticles_disp_membername'] = 'Vis medlemsnavn';
$txt['smfarticles_disp_date'] = 'Vis dato';
$txt['smfarticles_disp_totalcomment'] = 'Vis kommentar antal';

$txt['smfarticles_settings_save'] = 'Gem indstillinger';

$txt['smfarticles_txtguest'] = 'Gæst';
$txt['smfarticles_pages'] = 'Sider: ';
$txt['smfarticles_approvearticles'] = 'Godkend artikel';
$txt['smfarticles_ctitle'] = 'Titel ';
$txt['smfarticles_text_catnone'] = '(Ingen)';

$txt['smfarticles_noarticleselected'] = 'Ingen artikel valgt';
$txt['smfarticles_err_no_rating_selected'] = 'Ingen bedømmelse valgt';

$txt['smfarticles_submittedby'] = 'Indsendt af';
$txt['smfarticles_category'] = 'Kategori ';
$txt['smfarticles_parentcategory'] = 'Ovenstående kategori';
$txt['smfarticles_articlesconfig'] = 'Indstillinger';
$txt['smfarticles_text_reorder'] = 'Flyt';
$txt['smfarticles_options'] = 'Valgmuligheder';
$txt['smfarticles_description'] = 'Beskrivelse';

$txt['smfarticles_totalarticles'] = 'Antal artikler';
$txt['smfarticles_articlespanel'] = 'Artikel Admin Panel';
$txt['smfarticles_articlessettings'] = 'Indstillinger';
$txt['smfarticles_addcat'] = 'Tilføj kategori';
$txt['smfarticles_addarticle'] = 'Tilføj artikel';
$txt['smfarticles_waitingapproval'] = ' artikler afventer godkendelse';
$txt['smfarticles_thereare'] = 'Der er ';


// Category permission strings
$txt['smfarticles_catpermlist'] = 'Kategori rettighedsliste';
$txt['smfarticles_text_catperm'] = 'Kategori rettighed';
$txt['smfarticles_text_addperm'] = 'Tilføj rettighed';
$txt['smfarticles_groupname'] = 'Medlemsgruppe';
$txt['smfarticles_perm_view'] = 'Vis';
$txt['smfarticles_perm_add'] = 'Tilføj aktikel';
$txt['smfarticles_perm_edit'] = 'Rediger egen artikel';
$txt['smfarticles_perm_delete'] = 'Slet egen artikel';
$txt['smfarticles_perm_addcomment'] = 'Tilføj kommentar';

$txt['smfarticles_permerr_permexist'] = 'En rettighed eksisterer allerede for denne gruppe og kategori. Slet venligst denne først.';

$txt['smfarticles_perm_allowed'] = 'Tilladt';
$txt['smfarticles_perm_denied'] = 'Afvist';


$txt['smfarticles_form_viewratings'] = 'Vis bedømmelse';
$txt['smfarticles_error_already_rated'] = 'Du har allerede bedøt denne artikel.';
$txt['smfarticles_error_norate_own'] = 'Du kan ikke bedømme egne artikler.';
$txt['smfarticles_error_no_rating_selected'] = 'Ingen bedømmelse valgt.';

// Latest Version:
$txt['smfarticles_txt_latestversion'] = 'Seneste version: ';
$txt['smfarticles_txt_yourversion'] = 'Din version: ';
$txt['smfarticles_txt_version_outofdate'] = 'Dit artikel system er ikke seneste version!';


$txt['smfarticles_nofirstcat'] = 'Du skal oprette en kategori før du kan tilføje en arktikel';
$txt['smfarticles_image'] = 'Billede URL';
$txt['smfarticles_txtup'] = '[Op]';
$txt['smfarticles_txtdown'] = '[Ned]';
$txt['smfarticles_txt_perm'] = '[Rettigheder]';
$txt['smfarticles_txtedit'] = '[Rediger]';
$txt['smfarticles_txtdel'] = '[Slet]';
$txt['smfarticles_txtunapprove'] = '[Afvist]';
$txt['smfarticles_txtapprove'] = '[Godkend]';

$txt['smfarticles_sub_cats'] = 'Sub kategorier: ';
$txt['smfarticles_editcat'] = 'Rediger kategori';
$txt['smfarticles_deltcat'] = 'Slet kategori';
$txt['smfarticles_warndel2'] = 'Advarsel - Dette vil <b>SLETTE</b> alle artikler i denne kategori!';

$txt['smfarticles_myarticles'] = 'Mine artikler';
$txt['smfarticles_search'] = 'Søg';

$txt['smfarticles_text_addsubcat'] = 'Tilføj Sub kategori';
$txt['smfarticles_returnindex'] = 'Returner til artikel indeks';
$txt['smfarticles_returnart'] = 'Retur til artikel';

$txt['smfarticles_comwaitapproval'] = ' kommentarer afventer godkendelse: ';
$txt['smfarticles_articlecheckapproval'] = 'Kontroller artikel godkendelsesliste';
$txt['smfarticles_comcheckapproval'] = 'Kontroller kommentar godkendelsesliste';
$txt['smfarticles_form_approvecomments'] = 'Godkend kommentarer';

$txt['smfarticles_cviews'] = 'Visninger';
$txt['smfarticles_crating'] = 'Bedømmelse';
$txt['smfarticles_cusername'] = 'Indsendt af';
$txt['smfarticles_cdate'] = 'Dato';

$txt['smfarticles_articletext'] = 'Artikel tekst';
$txt['smfarticles_txt_comments'] = 'Kommentarer';


// Permissions
$txt['smfarticles_perm_no_view'] = 'Du har ikke rettigheder til at se denne kategori.';
$txt['smfarticles_perm_no_add'] = 'Du har ikke rettigheder til at tilføje en artikel i denne kategori.';
$txt['smfarticles_perm_no_edit'] = 'Du har ikke rettigheder til at redigere en artikel i denne kategori.';
$txt['smfarticles_perm_no_delete'] = 'Du har ikke rettigheder til at slette en artikel  i denne kategori.';
$txt['smfarticles_perm_no_rate'] = 'Du har ikke rettigheder til at bedømme en artikel i denne kategori.';
$txt['smfarticles_perm_no_editcomment'] = 'Du har ikke rettigheder til at redigere kommentarer i denne kategori.';
$txt['smfarticles_perm_no_addcomment'] = 'Du har ikke rettigheder til at tilføje kommentarer i denne kategori.';
$txt['smfarticles_perm_no_report'] = 'Du har ikke rettigheder til at rapportere indhold i denne kategori.';


//Search Page
$txt['smfarticles_search_article'] = 'Søg efter artikler';
$txt['smfarticles_search_for'] = 'Søg efter:';
$txt['smfarticles_search_title'] = 'Søg artikel titel';
$txt['smfarticles_search_description'] = 'Søg artikel resume';

$txt['smfarticles_search'] = 'Søg';

$txt['smfarticles_search_days30']  = 'Sidste 30 dage';
$txt['smfarticles_search_days60']  = 'Sidste 60 dage';
$txt['smfarticles_search_days90']  = 'Sidste 90 dage';
$txt['smfarticles_search_days180']  = 'Sidste 180 dage';
$txt['smfarticles_search_days365']  = 'Sidste 365 dage';
$txt['smfarticles_search_alltime']  = 'Alle dage';
$txt['smfarticles_search_daterange'] = 'Dato område: ';

$txt['smfarticles_search_membername'] = 'Indsendt af (medlemsnavn): ';
$txt['smfarticles_search_advsearch'] = 'Avancerede søge muligheder';


$txt['smfarticles_searchresults'] = 'Søge resultater';


$txt['smfarticles_commentlist'] = 'Kommentarliste';
$txt['smfarticles_summary'] = 'Resume ';
$txt['smfarticles_summary2'] = 'Resume: ';

$txt['smfarticles_submittedby2'] = 'Indsendt af : ';
$txt['smfarticles_date2'] = 'Dato: ';
$txt['smfarticles_views2'] = 'Visninger: ';

$txt['smfarticles_err_articlenotapproved'] = 'Denne artikel er ikke godkendt endnu.';
$txt['smfarticles_perm_no_view_article'] = 'Du har ikke rettigheder til at se denne artikel.';

$txt['smfarticles_delarticle'] = 'Slet artikel';
$txt['smfarticles_warndel'] = 'Advarsel - Dette vil slette artiklen og du har ikke mulighed for at gendanne den!';

$txt['smfarticles_err_articleedit'] = 'Du har ikke rettigheder til at redigere denne artikel.';
$txt['smfarticles_err_articledelete'] = 'Du har ikke rettigheder til at slette denne artikel.';

$txt['smfarticles_comment_link'] = 'Kommentar link';
$txt['smfarticles_view_comment'] = 'Vis kommentar';

$txt['smfarticles_approveallcomments'] = 'Godkendt alle kommentarer';
$txt['smfarticles_error_no_search'] = 'Du har ikke indtastet noget i søgefeltet...';

$txt['smfarticles_error_ratingsdisabled'] = 'Bedømmelse er deaktiveret';
$txt['smfarticles_error_no_com_selected'] = 'Ingen kommentar valgt';


$txt['smfarticles_form_viewratings'] = 'Vis bedømmelse';
$txt['smfarticles_form_ratearticle'] = 'Bedøm artikel';
$txt['smfarticles_form_norating'] = 'Denne artikel er ikke blevet bedømt endnu.';
$txt['smfarticles_form_rating'] = 'Bedømmelse';
$txt['smfarticles_form_ratingby'] = ' af ';
$txt['smfarticles_form_ratingmembers'] = '  medlemmer.';
$txt['smfarticles_text_rating'] = 'Bedømmelse';

$txt['smfarticles_txtedit3'] = 'Rediger';
$txt['smfarticles_txtdel3'] = 'Slet';

$txt['smfarticles_text_comments'] = 'Kommentarer';
$txt['smfarticles_text_addcomment'] = 'Tilføj kommentar';

$txt['smfarticles_error_no_comment'] = 'Ingen kommentar indtastet';

$txt['smfarticles_text_commentwait'] = 'Din kommentar vil ikke blive vist før det er blevet godkendt.';

$txt['smfarticles_posts'] = 'Posts: ';
$txt['smfarticles_text_delcomment'] = '[Slet]';

$txt['smfarticles_nocattitle'] = 'Du har ikke indtastet en kategory titel';
$txt['smfarticles_nocatselected'] = 'Ingen kategori valgt';
$txt['smfarticles_error_search_small'] = 'Søgetekst er for lille. Skal være længere end 3 karakterer.';

$txt['smfarticles_txt_import'] = 'Importer';
$txt['smfarticles_txt_importtparticles'] = 'Importer TinyPortal artikler';
$txt['smfarticles_txt_importedarticles'] = 'Importerede artikler';

$txt['smfarticles_txt_recount_article_totals'] = 'Genoptæl antal artikler';


$txt['smfarticles_txt_image_settings'] = 'Billede indstillinger';
$txt['smfarticles_allow_attached_images'] = 'Tillad vedhæftelse af billeder';
$txt['smfarticles_max_num_attached'] = 'Antal af tilladte billeder pr. artikel';
$txt['smfarticles_max_filesize'] = 'Max filstørrelse for vedhæftede billede';
$txt['articles_url'] = 'Artikel URL';
$txt['articles_path'] = 'Artikel sti';

$txt['smfarticles_txt_upload_image'] = 'Upload billede';
$txt['smfarticles_error_invalid_picture'] = 'Ikke et godkendt billede filformat';
$txt['smfarticles_error_img_filesize'] = 'Billede overstiger mas filstørrelse på ';
$txt['smfarticles_error_max_attached_images'] = 'Overstiger max antal vedhæftede billeder for denne artikel. Denne begrænsning er ';
$txt['smfarticles_images_view_article'] = 'Vis billeder på vis artikel side';

$txt['smfarticles_err_article_not_found'] = 'Artikel ikke fundet';
?>




Articles.danish-utf8.php


<?php
/*
SMF Article System
Version 1.1
by:vbgamer45
http://www.smfhacks.com
*/
$txt['smfarticles_title'] = 'Artikler';
$txt['smfarticles_indextitle'] = 'Artikler';
$txt['smfarticles_editarticle'] = 'Rediger artikel';

$txt['smfarticles_nocatabove'] = 'Der er ingen kategori over den nuværende.';
$txt['smfarticles_nocatbelow'] = 'Der er ingen kategori under den nuværende.';

$txt['smfarticles_noarticletitle'] = 'Du skal indtaste en artikel titel';
$txt['smfarticles_articleneedsapproval'] = 'Bemærk: Din artikel skal godkendes før den bliver vist.';
$txt['smfarticles_noarticletext'] = 'Du skal indtaste artikel tekst!';

$txt['smfarticles_setarticlessperpage'] = 'Artikler pr. side ';
$txt['smfarticles_listingdisplay'] = 'Article Listings Display';
$txt['smfarticles_countsubcats'] = 'Medtæl Sub kategorier i antal artikler. <br />(Uses more queries)';
$txt['smfarticles_enableratings'] = 'Aktiver bedømmelse';
$txt['smfarticles_enablecomments'] = 'Aktiver kommentarer';


$txt['smfarticles_disp_description'] = 'Vis beskrivelse';
$txt['smfarticles_disp_views'] = 'Vis antal visninger';
$txt['smfarticles_disp_rating'] = 'Vis bedømmelse';
$txt['smfarticles_disp_membername'] = 'Vis medlemsnavn';
$txt['smfarticles_disp_date'] = 'Vis dato';
$txt['smfarticles_disp_totalcomment'] = 'Vis kommentar antal';

$txt['smfarticles_settings_save'] = 'Gem indstillinger';

$txt['smfarticles_txtguest'] = 'Gæst';
$txt['smfarticles_pages'] = 'Sider: ';
$txt['smfarticles_approvearticles'] = 'Godkend artikel';
$txt['smfarticles_ctitle'] = 'Titel ';
$txt['smfarticles_text_catnone'] = '(Ingen)';

$txt['smfarticles_noarticleselected'] = 'Ingen artikel valgt';
$txt['smfarticles_err_no_rating_selected'] = 'Ingen bedømmelse valgt';

$txt['smfarticles_submittedby'] = 'Indsendt af';
$txt['smfarticles_category'] = 'Kategori ';
$txt['smfarticles_parentcategory'] = 'OvenstÃ¥ende kategori';
$txt['smfarticles_articlesconfig'] = 'Indstillinger';
$txt['smfarticles_text_reorder'] = 'Flyt';
$txt['smfarticles_options'] = 'Valgmuligheder';
$txt['smfarticles_description'] = 'Beskrivelse';

$txt['smfarticles_totalarticles'] = 'Antal artikler';
$txt['smfarticles_articlespanel'] = 'Artikel Admin Panel';
$txt['smfarticles_articlessettings'] = 'Indstillinger';
$txt['smfarticles_addcat'] = 'Tilføj kategori';
$txt['smfarticles_addarticle'] = 'Tilføj artikel';
$txt['smfarticles_waitingapproval'] = ' artikler afventer godkendelse';
$txt['smfarticles_thereare'] = 'Der er ';


// Category permission strings
$txt['smfarticles_catpermlist'] = 'Kategori rettighedsliste';
$txt['smfarticles_text_catperm'] = 'Kategori rettighed';
$txt['smfarticles_text_addperm'] = 'Tilføj rettighed';
$txt['smfarticles_groupname'] = 'Medlemsgruppe';
$txt['smfarticles_perm_view'] = 'Vis';
$txt['smfarticles_perm_add'] = 'Tilføj aktikel';
$txt['smfarticles_perm_edit'] = 'Rediger egen artikel';
$txt['smfarticles_perm_delete'] = 'Slet egen artikel';
$txt['smfarticles_perm_addcomment'] = 'Tilføj kommentar';

$txt['smfarticles_permerr_permexist'] = 'En rettighed eksisterer allerede for denne gruppe og kategori. Slet venligst denne først.';

$txt['smfarticles_perm_allowed'] = 'Tilladt';
$txt['smfarticles_perm_denied'] = 'Afvist';


$txt['smfarticles_form_viewratings'] = 'Vis bedømmelse';
$txt['smfarticles_error_already_rated'] = 'Du har allerede bedøt denne artikel.';
$txt['smfarticles_error_norate_own'] = 'Du kan ikke bedømme egne artikler.';
$txt['smfarticles_error_no_rating_selected'] = 'Ingen bedømmelse valgt.';

// Latest Version:
$txt['smfarticles_txt_latestversion'] = 'Seneste version: ';
$txt['smfarticles_txt_yourversion'] = 'Din version: ';
$txt['smfarticles_txt_version_outofdate'] = 'Dit artikel system er ikke seneste version!';


$txt['smfarticles_nofirstcat'] = 'Du skal oprette en kategori før du kan tilføje en arktikel';
$txt['smfarticles_image'] = 'Billede URL';
$txt['smfarticles_txtup'] = '[Op]';
$txt['smfarticles_txtdown'] = '[Ned]';
$txt['smfarticles_txt_perm'] = '[Rettigheder]';
$txt['smfarticles_txtedit'] = '[Rediger]';
$txt['smfarticles_txtdel'] = '[Slet]';
$txt['smfarticles_txtunapprove'] = '[Afvist]';
$txt['smfarticles_txtapprove'] = '[Godkend]';

$txt['smfarticles_sub_cats'] = 'Sub kategorier: ';
$txt['smfarticles_editcat'] = 'Rediger kategori';
$txt['smfarticles_deltcat'] = 'Slet kategori';
$txt['smfarticles_warndel2'] = 'Advarsel - Dette vil <b>SLETTE</b> alle artikler i denne kategori!';

$txt['smfarticles_myarticles'] = 'Mine artikler';
$txt['smfarticles_search'] = 'Søg';

$txt['smfarticles_text_addsubcat'] = 'Tilføj Sub kategori';
$txt['smfarticles_returnindex'] = 'Returner til artikel indeks';
$txt['smfarticles_returnart'] = 'Retur til artikel';

$txt['smfarticles_comwaitapproval'] = ' kommentarer afventer godkendelse: ';
$txt['smfarticles_articlecheckapproval'] = 'Kontroller artikel godkendelsesliste';
$txt['smfarticles_comcheckapproval'] = 'Kontroller kommentar godkendelsesliste';
$txt['smfarticles_form_approvecomments'] = 'Godkend kommentarer';

$txt['smfarticles_cviews'] = 'Visninger';
$txt['smfarticles_crating'] = 'Bedømmelse';
$txt['smfarticles_cusername'] = 'Indsendt af';
$txt['smfarticles_cdate'] = 'Dato';

$txt['smfarticles_articletext'] = 'Artikel tekst';
$txt['smfarticles_txt_comments'] = 'Kommentarer';


// Permissions
$txt['smfarticles_perm_no_view'] = 'Du har ikke rettigheder til at se denne kategori.';
$txt['smfarticles_perm_no_add'] = 'Du har ikke rettigheder til at tilføje en artikel i denne kategori.';
$txt['smfarticles_perm_no_edit'] = 'Du har ikke rettigheder til at redigere en artikel i denne kategori.';
$txt['smfarticles_perm_no_delete'] = 'Du har ikke rettigheder til at slette en artikel  i denne kategori.';
$txt['smfarticles_perm_no_rate'] = 'Du har ikke rettigheder til at bedømme en artikel i denne kategori.';
$txt['smfarticles_perm_no_editcomment'] = 'Du har ikke rettigheder til at redigere kommentarer i denne kategori.';
$txt['smfarticles_perm_no_addcomment'] = 'Du har ikke rettigheder til at tilføje kommentarer i denne kategori.';
$txt['smfarticles_perm_no_report'] = 'Du har ikke rettigheder til at rapportere indhold i denne kategori.';


//Search Page
$txt['smfarticles_search_article'] = 'Søg efter artikler';
$txt['smfarticles_search_for'] = 'Søg efter:';
$txt['smfarticles_search_title'] = 'Søg artikel titel';
$txt['smfarticles_search_description'] = 'Søg artikel resume';

$txt['smfarticles_search'] = 'Søg';

$txt['smfarticles_search_days30']  = 'Sidste 30 dage';
$txt['smfarticles_search_days60']  = 'Sidste 60 dage';
$txt['smfarticles_search_days90']  = 'Sidste 90 dage';
$txt['smfarticles_search_days180']  = 'Sidste 180 dage';
$txt['smfarticles_search_days365']  = 'Sidste 365 dage';
$txt['smfarticles_search_alltime']  = 'Alle dage';
$txt['smfarticles_search_daterange'] = 'Dato omrÃ¥de: ';

$txt['smfarticles_search_membername'] = 'Indsendt af (medlemsnavn): ';
$txt['smfarticles_search_advsearch'] = 'Avancerede søge muligheder';


$txt['smfarticles_searchresults'] = 'Søge resultater';


$txt['smfarticles_commentlist'] = 'Kommentarliste';
$txt['smfarticles_summary'] = 'Resume ';
$txt['smfarticles_summary2'] = 'Resume: ';

$txt['smfarticles_submittedby2'] = 'Indsendt af : ';
$txt['smfarticles_date2'] = 'Dato: ';
$txt['smfarticles_views2'] = 'Visninger: ';

$txt['smfarticles_err_articlenotapproved'] = 'Denne artikel er ikke godkendt endnu.';
$txt['smfarticles_perm_no_view_article'] = 'Du har ikke rettigheder til at se denne artikel.';

$txt['smfarticles_delarticle'] = 'Slet artikel';
$txt['smfarticles_warndel'] = 'Advarsel - Dette vil slette artiklen og du har ikke mulighed for at gendanne den!';

$txt['smfarticles_err_articleedit'] = 'Du har ikke rettigheder til at redigere denne artikel.';
$txt['smfarticles_err_articledelete'] = 'Du har ikke rettigheder til at slette denne artikel.';

$txt['smfarticles_comment_link'] = 'Kommentar link';
$txt['smfarticles_view_comment'] = 'Vis kommentar';

$txt['smfarticles_approveallcomments'] = 'Godkendt alle kommentarer';
$txt['smfarticles_error_no_search'] = 'Du har ikke indtastet noget i søgefeltet...';

$txt['smfarticles_error_ratingsdisabled'] = 'Bedømmelse er deaktiveret';
$txt['smfarticles_error_no_com_selected'] = 'Ingen kommentar valgt';


$txt['smfarticles_form_viewratings'] = 'Vis bedømmelse';
$txt['smfarticles_form_ratearticle'] = 'Bedøm artikel';
$txt['smfarticles_form_norating'] = 'Denne artikel er ikke blevet bedømt endnu.';
$txt['smfarticles_form_rating'] = 'Bedømmelse';
$txt['smfarticles_form_ratingby'] = ' af ';
$txt['smfarticles_form_ratingmembers'] = '  medlemmer.';
$txt['smfarticles_text_rating'] = 'Bedømmelse';

$txt['smfarticles_txtedit3'] = 'Rediger';
$txt['smfarticles_txtdel3'] = 'Slet';

$txt['smfarticles_text_comments'] = 'Kommentarer';
$txt['smfarticles_text_addcomment'] = 'Tilføj kommentar';

$txt['smfarticles_error_no_comment'] = 'Ingen kommentar indtastet';

$txt['smfarticles_text_commentwait'] = 'Din kommentar vil ikke blive vist før det er blevet godkendt.';

$txt['smfarticles_posts'] = 'Posts: ';
$txt['smfarticles_text_delcomment'] = '[Slet]';

$txt['smfarticles_nocattitle'] = 'Du har ikke indtastet en kategory titel';
$txt['smfarticles_nocatselected'] = 'Ingen kategori valgt';
$txt['smfarticles_error_search_small'] = 'Søgetekst er for lille. Skal være længere end 3 karakterer.';

$txt['smfarticles_txt_import'] = 'Importer';
$txt['smfarticles_txt_importtparticles'] = 'Importer TinyPortal artikler';
$txt['smfarticles_txt_importedarticles'] = 'Importerede artikler';

$txt['smfarticles_txt_recount_article_totals'] = 'Genoptæl antal artikler';


$txt['smfarticles_txt_image_settings'] = 'Billede indstillinger';
$txt['smfarticles_allow_attached_images'] = 'Tillad vedhæftelse af billeder';
$txt['smfarticles_max_num_attached'] = 'Antal af tilladte billeder pr. artikel';
$txt['smfarticles_max_filesize'] = 'Max filstørrelse for vedhæftede billede';
$txt['articles_url'] = 'Artikel URL';
$txt['articles_path'] = 'Artikel sti';

$txt['smfarticles_txt_upload_image'] = 'Upload billede';
$txt['smfarticles_error_invalid_picture'] = 'Ikke et godkendt billede filformat';
$txt['smfarticles_error_img_filesize'] = 'Billede overstiger mas filstørrelse pÃ¥ ';
$txt['smfarticles_error_max_attached_images'] = 'Overstiger max antal vedhæftede billeder for denne artikel. Denne begrænsning er ';
$txt['smfarticles_images_view_article'] = 'Vis billeder pÃ¥ vis artikel side';

$txt['smfarticles_err_article_not_found'] = 'Artikel ikke fundet';
?>



articles2.xml

<file name="$languagedir/Modifications.danish.php">
<operation error="ignore">
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
// Begin SMF Articles Text Strings
$txt['smfarticles_menu'] = 'Artikler';
$txt['smfarticles_admin'] = 'Artikel konfiguration';

$txt['permissiongroup_smfarticles'] = 'SMF Articles';

$txt['permissionname_view_articles'] = 'Vis artikler';
$txt['permissionhelp_view_articles'] = 'Bestemmer om brugeren kan se artikler.';
$txt['cannot_view_articles'] = 'Du har ikke rettigheder til at se artikel siden.';

$txt['permissionname_add_articles'] = 'Tilføj artikel';
$txt['permissionhelp_add_articles'] = 'Bestemmer om brugeren kan tilføje artikler';

$txt['cannot_add_articles'] = 'Du har ikke rettigheder til at tilføje artikler.';
$txt['permissionname_edit_articles'] = 'Rediger egne artikler';
$txt['permissionhelp_edit_articles'] = 'Bestemmer om brugeren kan redigere artikler';

$txt['cannot_edit_articles'] = 'Du har ikke rettigheder til at redigere artikler.';
$txt['permissionname_delete_articles'] = 'Slet egne artikler';
$txt['permissionhelp_delete_articles'] = 'Bestemmer om brugeren kan slette artikler';
$txt['cannot_delete_articles'] = 'Du har ikke rettigheder til at slette artikler.';

$txt['permissionname_articles_comment'] = 'Tilføj kommentar';
$txt['permissionhelp_articles_comment'] = 'Bestemmer om brugeren kan tilføje en kommentar til en artikel.';
$txt['cannot_articles_comment'] = 'Du har ikke rettigheder til at tilføje en kommentar.';


$txt['permissionname_articles_auto_approve'] = 'Aumatisk godkendelse af artikel';
$txt['permissionhelp_articles_auto_approve'] = 'Bestemmer om brugeren artikel skal auto godkendes når den tilføjes.';

$txt['permissionname_articles_autocomment'] = 'Automatisk godkendelse af kommentarer';
$txt['permissionhelp_articles_autocomment'] = 'Bestemmer om brugerens kommentarer skal auto godkendes når den tilføjes.';

$txt['permissionname_rate_articles'] = 'Bedøm artikel';
$txt['permissionhelp_rate_articles'] = 'Bestemmer om bruger kan bedømme artikler';
$txt['cannot_rate_articles'] = 'Du har ikke rettigheder til at bedømme artikler.';

$txt['permissionname_articles_admin'] = 'Administrer artikler';
$txt['permissionhelp_articles_admin'] = 'Bestemmer om brugeren kan administrere artikler';
$txt['cannot_articles_admin'] = 'Du har ikke rettigheder til at administrere artikler.';
// END SMF Articles Strings
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.danish.php">
<operation error="ignore">
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
// Begin SMF Articles Text Strings
$txt['smfarticles_menu'] = 'Artikler';
$txt['smfarticles_admin'] = 'Artikel konfiguration';

$txt['permissiongroup_smfarticles'] = 'SMF Articles';

$txt['permissionname_view_articles'] = 'Vis artikler';
$txt['permissionhelp_view_articles'] = 'Bestemmer om brugeren kan se artikler.';
$txt['cannot_view_articles'] = 'Du har ikke rettigheder til at se artikel siden.';

$txt['permissionname_add_articles'] = 'Tilføj artikel';
$txt['permissionhelp_add_articles'] = 'Bestemmer om brugeren kan tilføje artikler';

$txt['cannot_add_articles'] = 'Du har ikke rettigheder til at tilføje artikler.';
$txt['permissionname_edit_articles'] = 'Rediger egne artikler';
$txt['permissionhelp_edit_articles'] = 'Bestemmer om brugeren kan redigere artikler';

$txt['cannot_edit_articles'] = 'Du har ikke rettigheder til at redigere artikler.';
$txt['permissionname_delete_articles'] = 'Slet egne artikler';
$txt['permissionhelp_delete_articles'] = 'Bestemmer om brugeren kan slette artikler';
$txt['cannot_delete_articles'] = 'Du har ikke rettigheder til at slette artikler.';

$txt['permissionname_articles_comment'] = 'Tilføj kommentar';
$txt['permissionhelp_articles_comment'] = 'Bestemmer om brugeren kan tilføje en kommentar til en artikel.';
$txt['cannot_articles_comment'] = 'Du har ikke rettigheder til at tilføje en kommentar.';


$txt['permissionname_articles_auto_approve'] = 'Aumatisk godkendelse af artikel';
$txt['permissionhelp_articles_auto_approve'] = 'Bestemmer om brugeren artikel skal auto godkendes når den tilføjes.';

$txt['permissionname_articles_autocomment'] = 'Automatisk godkendelse af kommentarer';
$txt['permissionhelp_articles_autocomment'] = 'Bestemmer om brugerens kommentarer skal auto godkendes når den tilføjes.';

$txt['permissionname_rate_articles'] = 'Bedøm artikel';
$txt['permissionhelp_rate_articles'] = 'Bestemmer om bruger kan bedømme artikler';
$txt['cannot_rate_articles'] = 'Du har ikke rettigheder til at bedømme artikler.';

$txt['permissionname_articles_admin'] = 'Administrer artikler';
$txt['permissionhelp_articles_admin'] = 'Bestemmer om brugeren kan administrere artikler';
$txt['cannot_articles_admin'] = 'Du har ikke rettigheder til at administrere artikler.';
// END SMF Articles Strings
]]></add>
</operation>
</file>
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: henrik1782 on December 07, 2010, 05:54:10 AM
Hi...

When I uninstall articles the Title still remains in the forum menu bar and when I install with the danish translation everything is translation correct but the menu title is still Articles.

How can I correct this...

Best regards
Henrik Poulsen
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: mcmedal001 on December 09, 2010, 06:34:07 PM
Thank you Vbgamer45 so far for your responses. They've worked for me.
I use simpleportal on my forum as well as this article mod and download system. I'd like to create a block on the forum index where the latest articles will be displayed. Can i get a code for this? Creating the block is not the problem but how to make the recent articles show in the block. Thanks
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: BLueSS on December 10, 2010, 01:34:31 PM
My forum's breadcrumbs for articles are not working correctly. The breadcrumbs for a category will also pull the Forum category that matches the same number.

Normally the breadcrumbs for the forums are
[Site Index -> Forum -> Forum Category -> Topic]

The breadcrumbs when viewing an article are
[Site Index -> index.php?cat=# (Forum category for number #) -> Articles Home -> Article category -> Article subcategory (With number #) -> Article
This format only appears when I'm in a sub-category. If i'm in a normal category, replace index.php?cat=# with a link to the forum via index.php.


So if I'm in Article category #10, the forum category that corresponds to #10 will also appear in the breadcrumbs.

Does anyone know how to fix this?

PS: A preview function would be great to have added to this mod. :)
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: mcmedal001 on December 15, 2010, 11:04:35 AM
Good day, i'd like to add adsense to the top of every article but below the summary. That is the ads will be between the summary and the main article. I don't know much about coding. Please, where do i edit in the article template? Thank you
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: Kindred on December 15, 2010, 11:24:01 AM
for smf 2, you would edit articles2.template.php
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: mcmedal001 on December 15, 2010, 11:39:35 AM
I use smf 1.1.11 and i'd like to know which part of the code to edit. I know which template i'd edit. I need that line of the code to insert adsense code.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: PLAYBOY on December 22, 2010, 07:57:49 PM
Whatever mod i look for in this site, comes out as your creation.
You are the best!
I really appreciate your work! Thank you.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: ben sisko on January 18, 2011, 05:32:07 AM
awsome mod!

also, let me suggest an improvement for the next release(s):
add the option to automatically create a post in a selected thread if a new article is approved (just like you did for the 'download system' mod). i suppose you'll have most of the coding done for this. ..and maybe, add the summary of the article to the body of the generated post.
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC4 support!)
Post by: vbgamer45 on January 18, 2011, 09:54:55 PM
Minor update
1.3.3
!Improved search results for multiple pages
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC4 support!)
Post by: henrik1782 on January 19, 2011, 03:46:22 AM
Hi...

Attached Danish Translation.
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC4 support!)
Post by: PLAYBOY on January 19, 2011, 08:19:42 AM
Well i got a wierd question. I was about to install this mod in 1.1.12 but then i started thinking, what is gonna happen all of those articles when i switched to 2.0?
Will i be able to transfer/keep/convert them without any problems?
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC4 support!)
Post by: vbgamer45 on January 19, 2011, 08:46:42 AM
All data works with SMF 1.1.x and SMF 2.0 upgrading SMF causes no issues.
Title: Re: SMF Articles (1.3.2 Released with SMF 2.0 RC3 support!)
Post by: ben sisko on January 19, 2011, 09:24:58 AM
Quote from: ben sisko on January 18, 2011, 05:32:07 AM
also, let me suggest an improvement for the next release(s):
add the option to automatically create a post in a selected thread if a new article is approved (just like you did for the 'download system' mod). i suppose you'll have most of the coding done for this. ..and maybe, add the summary of the article to the body of the generated post.

@vbgamer45: yes / no / considering.. ?
thx.
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC4 support!)
Post by: vbgamer45 on January 19, 2011, 09:31:28 AM
Maybe in the future
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC4 support!)
Post by: PLAYBOY on February 08, 2011, 03:23:49 AM
It cant find the background images for these buttons.
It searches themes/pdx-dx/images/   <<< It doesnt look for the image but it looks for the directory only.

When i view it in default theme it looks and finds themes/default/images/maintab_back.gif
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC4 support!)
Post by: ben sisko on February 14, 2011, 04:58:28 AM
i get this on installing v1.3.3:

QuoteThe package you are trying to download or install is either corrupt or not compatible with this version of SMF.

i'm using SMF 2.0 RC5
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC4 support!)
Post by: vbgamer45 on February 14, 2011, 10:06:21 AM
Quote from: ben sisko on February 14, 2011, 04:58:28 AM
i get this on installing v1.3.3:

QuoteThe package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Fixed

i'm using SMF 2.0 RC5
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC4 support!)
Post by: Mick. on February 19, 2011, 12:22:40 PM
vb,  you know what i noticed?

I have a facebook fan page, when i try to attach a link to an article in my forum, facebook doesnt recognize the link.  It attaches the main domain to my forum instead.

Have this been discussed?
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC4 support!)
Post by: vbgamer45 on February 19, 2011, 12:43:12 PM
There has been issues with SMF's url structure with the semi colons i think someone started a topic here on SMF.org and submitted the bug to facebook.
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC4 support!)
Post by: Mick. on February 19, 2011, 12:44:36 PM
Quote from: vbgamer45 on February 19, 2011, 12:43:12 PM
There has been issues with SMF's url structure with the semi colons i think someone started a topic here on SMF.org and submitted the bug to facebook.

Thanx bro. 
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC4 support!)
Post by: 4b11l on March 09, 2011, 11:45:14 AM
Can a notify feature be easily implemented in the articles? Notify of comments in articles. I think it'd be a great new feature if it can be easily done.
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC4 support!)
Post by: vbgamer45 on March 09, 2011, 12:39:25 PM
Possible in the future when ever I get free time which does not seem like anytime soon.
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC4 support!)
Post by: MrGrumpy on March 31, 2011, 08:11:23 AM
@vbgamer45

Had to fix the ShowArticlesBar on this mod in Sources/Articles2.php - (similar issue as with ezportal)

Current Code


<table class="table_list">
         <tbody class="header">

<tr  class="catbg">
<td align="center" colspan="4" class="catbg"><span class="left"></span>', $title, '
</td>
</tr>
</tbody>
</table>


Needed changing to


<table class="table_list">
         <tbody class="header">

<tr  class="catbg">
<td align="center" colspan="4">
<div class="cat_bar">
<h3 class="catbg">', $title, '</h3>
</div>
</td>
</tr>
</tbody>
</table>


I've attached the edited file to make life easy
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC4 support!)
Post by: vbgamer45 on March 31, 2011, 09:23:53 AM
Thanks will make the changes tonight.
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC4 support!)
Post by: vbgamer45 on March 31, 2011, 07:57:21 PM
Update!

1.3.3a
!Fixed style issue with ShowArticlesBar style for SMF 2.0 RC5 thanks to MrGrumpy
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC5 support!)
Post by: mrday on April 04, 2011, 01:12:52 PM
Hi all, i would like to show the main article page in the index page, after the boards, is this possible? Where I have to call the article function and how it have to be called? Thanks
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC5 support!)
Post by: sbranky on April 10, 2011, 12:59:24 PM
Hi use smf 2_RC5 SMFArticles1.3.3a and I'm trying this mod but I found this little problem. When I go to edit a category does not return the text of the description. know how to fix?

Thanks
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC5 support!)
Post by: vbgamer45 on April 10, 2011, 01:46:56 PM
Editing doesn't change it or are you putting in a very large description?
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC5 support!)
Post by: sbranky on April 10, 2011, 01:50:07 PM
Quote from: vbgamer45 on April 10, 2011, 01:46:56 PM
Editing doesn't change it or are you putting in a very large description?

The description is very short, but it reappears every time I write the editor and over again. But then saves it properly because it is visible
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC5 support!)
Post by: vbgamer45 on April 10, 2011, 01:50:59 PM
The text isn't visible? When you go to the editor?
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC5 support!)
Post by: sbranky on April 10, 2011, 01:52:27 PM
Then the text is saved correctly, but not the editor ... The problem is that not only is reloaded in the editor and I have to rewrite it from scratch
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC5 support!)
Post by: jackregan on May 14, 2011, 05:09:39 PM
Hi...

I love this mod, but I can't use the HTML BBCode tags in articles.

How do I fix this?

Thanks ;D
Title: Re: SMF Articles (1.3.3 Released with SMF 2.0 RC5 support!)
Post by: jackregan on May 16, 2011, 05:49:23 AM
I would love to be able to add new articles to the RSS stream along with posts.

Any ideas??
Title: Re: SMF Articles (1.4 Released with SMF 2.0 RC5 support!)
Post by: vbgamer45 on June 04, 2011, 10:03:47 PM
New update:
1.4
+Added sharing icons: Facebook, Google +1, Twitter
Title: Re: SMF Articles (1.4 Released with SMF 2.0 RC5 support!)
Post by: Sci-Fi_Fan on August 12, 2011, 07:10:40 PM
Quote from: vbgamer45 on June 04, 2011, 10:03:47 PM
New update:
1.4
+Added sharing icons: Facebook, Google +1, Twitter

Just want to say this is a great mod and to keep up the good work!

If I may make a couple of suggestions for future updates?

1. It would be great if you would possibly include a "preview" button on the article submission page. A lot of my users have expressed a desire to preview their article before submitting it. However, this is not a major problem as they can use the normal post screen to preview it first. Simply a minor inconvenience.

2. Would it be possible to have some kind of "recent articles" list on the articles screen just below where the categories are listed, and with the option to also display on the home page next to/below the "recent posts" list? Just so everyone can see there's been some new additions.

Aside from those two minor suggestions, this is an excellent mod and my users are having a fun time writing articles for it.
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: Mick. on August 15, 2011, 05:28:09 PM
Vb, it seems that when 'liking' an article and pasting an article link on facebook, it does not take you to the article itself, it posts the home page link instead.
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: vbgamer45 on August 15, 2011, 05:35:28 PM
Yeah bug with Facebook they don't like ; in the url will fix to use &
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: ghostop on September 14, 2011, 03:23:06 PM
Hi, How can ı change to pictures' size in article.
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: saw on September 15, 2011, 04:03:10 AM
Great mod - thank you!

I'd like to remove the date and views from the actual article header (but keep the 'Submitted By'). Is that possible? Which code should I remove or alter?
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: vbgamer45 on September 15, 2011, 09:07:26 AM
It would be in themes/default/Articles.template.php
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: saw on September 15, 2011, 09:57:50 AM
Thanks, I found that, but unfortunately I'm not a coder; I need to be pointed to the actual code to remove.
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: Account Abandoned on September 19, 2011, 08:11:26 PM
I am planning on using this modification but for something other than articles. What file do I edit to change the "Articles" title to something else on my main navigation bar? I have already modified the Articles language files and that didn't change that one.
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: vbgamer45 on September 19, 2011, 08:19:01 PM
Themes/default/languages/modifications.english.php
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: Account Abandoned on September 19, 2011, 08:23:50 PM
Thank you for the quick response, that is EXACTLY what I wanted :)
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: JMantis on September 29, 2011, 09:09:35 AM
Hello, let me start by saying thanks for this great mod, it's one of my favorites!

I have a question though, in some of my articles I'd like to add some HTML, specifically tables so I can make some of the layout a bit more interesting and less cluttered, however for some reason HTML doesn't seem to work in posts. Is there any way to enable it?

(Btw. HTML does seem to work in regular posts on my forum).
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: vbgamer45 on September 29, 2011, 11:02:41 AM
HTML was disabled for security reasons. Youcan remove the calls to htmlspecialcharacters which would allow the content to go though but not recommended.
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: JMantis on September 29, 2011, 12:21:50 PM
Well only a handful of selected people I trust can submit articles right now so I suppose that would be safe enough right?

Which file would I need to edit in order to allow the HTML content?

I just don't know of any other way to format these articles properly without it.
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: vbgamer45 on September 29, 2011, 12:50:20 PM
Articles2.php the addarticle2 and editarticle2 function
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: JMantis on September 30, 2011, 06:51:31 AM
Thanks!
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: david090366 on October 09, 2011, 07:19:14 AM
Right now I'm running SMF 1.1.x bridged to joomla. I want to upgrade to 2.0, add a portal, and ditch joomla. Is there any way I can import my joomla articles to this without doing a lot of copying and pasting?
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: Kindred on October 09, 2011, 07:50:07 AM
I did that...   but I had to write a custom SQL script to do the import, and then have all my editorial staff manually correct anything else.
Unfortunately, before you ask, I no longer have the script that I used - I wrote it on the fly and never saved it.
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: Xavi-Nena on October 11, 2011, 06:43:57 AM
I searched this thread and although I found links to sites using the mod I could not find info about the copyright links. I was wondering if there was a way to remove the creataforum link and just keep the SMF Articles link or are they both required to run this mod?

Thanks in advance.
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: vbgamer45 on October 11, 2011, 10:01:27 AM
Have option to remove at
http://www.smfhacks.com/copyright_removal.php
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: mageguild on October 18, 2011, 01:56:40 AM
Is there anyway to include the Article content in an RSS output or in a sitemap XML?
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: vbgamer45 on October 18, 2011, 08:23:45 AM
Quote from: mageguild on October 18, 2011, 01:56:40 AM
Is there anyway to include the Article content in an RSS output or in a sitemap XML?
Not at the moment.
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: an_revival on October 27, 2011, 08:42:49 PM
How do I set promessions?  when I use the add promission in the promissions thing, and go back to the promissions settings in the articles settings, it doesn't list the member group/s who can edit/add articles.
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: vbgamer45 on October 27, 2011, 08:55:22 PM
Permissions are found under Admin -> Permissions -> Modify each group and choose SMF Articles
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: żεχเ๏ภ on October 28, 2011, 02:43:31 PM
How come there's no "Preview" button when posting articles? This would definitely come in handy in my opinion.
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: vbgamer45 on October 28, 2011, 04:16:12 PM
Don't have it built yet.
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: żεχเ๏ภ on October 28, 2011, 07:21:48 PM
Then do you think you could please add a Preview button in the next release? It would be greatly appreciated.  :)


Jason
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: vbgamer45 on October 28, 2011, 08:11:20 PM
Maybe but unlikely not really adding new features to mods at this time.
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: apnart on October 30, 2011, 08:47:44 AM
Hello,

Thank you for this very good mod.

I have que question : is it possible to remplace "Articles" in the menu by an other world (I would like to use "Tutoriaux" for my forum) ?

Many thanks
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: vbgamer45 on October 30, 2011, 10:50:27 AM
Yes modify themes/default/languages/modifications.english.php
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: apnart on October 30, 2011, 12:20:35 PM
Many thanks vbgamer  8)

I still have a pb, my board is in french, I have done what you said, and it's working for SFM default theme, but not for an other  :-\

Any ideas ?
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: vbgamer45 on October 30, 2011, 01:02:46 PM
Modify themes/customtheme/languages/modificaitions.english.php
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: apnart on October 30, 2011, 03:27:33 PM
Thank you for your answer, sorry for my questions, I am a "beginner" in smf  :-[

It works, but not for all my tests... nevermind, I will try again  ;)
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: tbombaci on November 07, 2011, 12:45:45 PM
Not sure if it is in this thread or not (I tried a search) but, If you want to reverse the order of comments on an article, simply remove "DESC" from the line:

WHERE c.ID_ARTICLE = " . $context['article']['ID_ARTICLE'] . " AND c.approved = 1   ORDER BY c.ID_COMMENT DESC");

it is in .sources/Articles2.php line 2459

Tom
Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: vbgamer45 on November 07, 2011, 12:46:38 PM
Thanks for the tip should be helpful for people who need different orders
Title: what am i doing wrong?
Post by: cnywrestling on January 03, 2012, 09:36:10 PM
I've been administering the articles for a while.  Now I'd like to hand this off to another user. I added a new membergroup called "articles", added my user to the membergroup, and added the full permission set in the articles configuration for that membergroup.  However, when the user logs in, he sees nothing different than any guest sees - none of the admin functions are there.  Seems straightforward enough, leading me to believe I've missed something obvious.
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: vbgamer45 on January 28, 2012, 03:23:00 PM
New Update:
2.0
+Added RSS feed icon/RSS feeds now support for the articles
+Added import from FAQ mod and Knowledge Base mod
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: Kindred on January 30, 2012, 01:42:36 AM
hmmm.....

Ok, just installed a test forum with a ton of mods to see what I could break....

The Article System with SimpleSEF breaks....   500 error on the server.
(BTW: Same thing happens with the downloads system)

essentially, default or basic configuration of all mods....
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: vbgamer45 on January 30, 2012, 09:32:13 AM
Any specific url? And anything in the error log?
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: Kindred on January 30, 2012, 11:57:38 AM
http://test.turtleshellprod.com/

nothing in the SMF error logs... I have not checked the server logs yet
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: natzy24 on February 09, 2012, 03:29:34 AM
I'm not sure if this has been answered, but on the article display page (in the categories where you get the list of articles) is there any way it could show as

[title]
First 255 words
[Read More]

for the article set up please?
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: medstorez on February 16, 2012, 01:57:08 PM
hi, thanks for mod ...

1- there is any way to know if there is any new article published from forum (maybe as recent post) or always have to come to know??

2- the Articles written increment users post count?

thanks
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: vbgamer45 on February 16, 2012, 03:09:22 PM
1. Currently just have to look at the articles section.
2. Not at the moment.
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: MomentsGoneBy on April 02, 2012, 02:44:03 AM
Quote from: Kindred on January 30, 2012, 01:42:36 AM
hmmm.....

Ok, just installed a test forum with a ton of mods to see what I could break....

The Article System with SimpleSEF breaks....   500 error on the server.
(BTW: Same thing happens with the downloads system)

essentially, default or basic configuration of all mods....

Any Fix for this yet. I end up with a 500 on the server as well.
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: vbgamer45 on April 02, 2012, 08:24:54 AM
Check your apache error logs should say what is going on for the 500 error.
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: MomentsGoneBy on April 04, 2012, 12:49:27 PM
So sorry, it turned out to be unrelated. Just bad luck it happened at same time.
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: FrizzleFried on April 18, 2012, 10:10:01 PM
Hi.  Great mod! 

I have three questions:

(1) I am using the inline attachments mod (the mod that allows you to embed the attachments in message)... any way to get it to work with the articles editor?

(2) I am using the Advanded Reputation mod... when making comments to an article it shows the +Karma / -Karma of the stock system not the advanced rep options... and if you use +KARMA/-KARMA a database error pops up.  Any way to completely REMOVE the "KARMA" options from the comments.

(3) Any way to incorporate a re-order option (like with categories) but for articles themselves?

Thanks!

Title: Problem - Please Help
Post by: forfun on April 21, 2012, 09:48:08 PM
I am running PortaMX 1.45 with PortaMX-SEF enabled, and SMF articles 1.4x.  Everything has been working fine, until I updated to SMF Articles 2, and I got 500 error.
If I turn the the PortaMX-SEF to "off", then everything is work fine.
What is the problem? Please help
The worst case scenario, can I uninstall SMD articel 2, and re-install version 1.4x
Thanks much in advance
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: vbgamer45 on April 21, 2012, 10:24:00 PM
Anything in the error logs for the forum. Or apache server logs?
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: forfun on April 21, 2012, 10:48:35 PM
Nope! I didn't see any error that's related to Articles.
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: ApplianceJunk on May 06, 2012, 09:08:17 AM
Quote from: saw on September 15, 2011, 04:03:10 AM
Great mod - thank you!

I'd like to remove the date and views from the actual article header (but keep the 'Submitted By'). Is that possible? Which code should I remove or alter?

Quote from: vbgamer45 on September 15, 2011, 09:07:26 AM
It would be in themes/default/Articles.template.php

Quote from: saw on September 15, 2011, 09:57:50 AM
Thanks, I found that, but unfortunately I'm not a coder; I need to be pointed to the actual code to remove.

I wanted to do the same thing.
I found and removed this code in themes/default/Articles.template.php


echo '<tr class="windowbg">
<td><span class="smalltext"><b>',$txt['smfarticles_submittedby2'],'</b>', '
<a href="',$scripturl, '?action=profile;u=',$context['article']['ID_MEMBER'],'">', $context['article']['real_name'], '</a>
<b>',$txt['smfarticles_date2'],'</b> ',

timeformat($context['article']['date']), '

<b>',$txt['smfarticles_views2'],'</b> ',

$context['article']['views'], '

</span>
</td>
</tr>';
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: ApplianceJunk on May 06, 2012, 10:10:00 AM
I'm trying to learn how to remove the link tree and search button shown on the article page in the attachment.

I'm looking in themes/default/Articles2.template.php but can't seem to find the right code.

Any help would be greatly appreciated.

Thanks,
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: vbgamer45 on May 06, 2012, 01:52:56 PM
In the sources folder in articles.php
This code controls the linktree

// Setup the Link Tree
$context['linktree'][] = array(
'url' => $scripturl . '?action=articles',
'name' => $txt['smfarticles_title']
);

GetParentLink($cat);



For the top bar with search controlled by this call
ShowArticlesBar();
In the articles2.template.php in themes/default folder
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: ApplianceJunk on May 06, 2012, 06:07:46 PM
To remove the link tree I found this code instead in Sources/articles.php


// Link Tree

$context['linktree'][] = array(
'url' => $scripturl . '?action=articles',
'name' => $txt['smfarticles_title']
);

GetParentLink($context['article']['ID_CAT']);



$dbresult = $smcFunc['db_query']('', "
SELECT
pagetext
FROM {db_prefix}articles_page
WHERE ID_ARTICLE = $article LIMIT 1");
$row2 = $smcFunc['db_fetch_assoc']($dbresult);
$context['article_page'] = $row2;
$smcFunc['db_free_result']($dbresult);


and commented out this part.


/*
$context['linktree'][] = array(
'url' => $scripturl . '?action=articles',
'name' => $txt['smfarticles_title']
);

GetParentLink($context['article']['ID_CAT']);

*/


I tried first playing around with the code you posted, but I could not seem to get the link tree removed by removing any of that code.
Should what I did above effect anything other then removing the article link tree?

Thanks for the help,

Edited to add:

Quote
For the top bar with search controlled by this call
ShowArticlesBar();
In the articles2.template.php in themes/default folder

That worked perfect for me.

Thanks again.
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: SMFHacks.com Team on June 09, 2012, 04:16:44 PM
Update
2.0.1
!Fixed possible undefined error on the search page
+Added future integration support for Badge Awards
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: Manicred on August 04, 2012, 05:49:21 AM
How do you publish articles to the front page of the site? I am using Simpleportal. Thanks.
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: vbgamer45 on August 04, 2012, 12:09:40 PM
Would require a custom php block to fetch article information.
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: mageguild on August 12, 2012, 07:52:06 PM
I would like to uninstall this mod from my site.  When I do, I get no errors.  However, the Articles Configuration link in the admin remains behind and all articles errors start giving fatal errors (EG:  http://www.thetennisbulletin.com/forums/articles/sa=view;article=13)

Fatal error: require_once() [function.require]: Failed opening required '/home/tbassett/webapps/thetennisbulletin/forums/Sources/Articles2.php' (include_path='.:/usr/local/lib/php') in /home/tbassett/webapps/thetennisbulletin/forums/index.php on line 371

Can anyone suggest anything to resolve this?
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: mageguild on August 12, 2012, 07:54:14 PM
Quote from: mageguild on August 12, 2012, 07:52:06 PM
I would like to uninstall this mod from my site.  When I do, I get no errors.  However, the Articles Configuration link in the admin remains behind and all articles errors start giving fatal errors (EG:  http://www.thetennisbulletin.com/forums/articles/sa=view;article=13)

Fatal error: require_once() [function.require]: Failed opening required '/home/tbassett/webapps/thetennisbulletin/forums/Sources/Articles2.php' (include_path='.:/usr/local/lib/php') in /home/tbassett/webapps/thetennisbulletin/forums/index.php on line 371

Can anyone suggest anything to resolve this?

I have had to re-install this mod to resolve all these fatal errors which is why my example link above now works.  I have attached a screenshot of the error. 
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: Kindred on August 12, 2012, 08:35:46 PM
looks like ti's not completely uninstalling, obviously. :P

you'll have to manually check files to confirm removal of the code
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: SMFHacks.com Team on August 25, 2012, 12:12:43 PM
2.0.2
!Fixed top articles bar layout issue in chrome for SMF 2.0
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: Apllicmz on October 08, 2012, 01:29:07 PM
Thanks
when Update dont forget portuguese file

<file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
    <operation error="ignore">
        <search position="after"><![CDATA[?>]]></search>
        <add><![CDATA[
// Begin SMF Articles Text Strings translate by Candidosa2
$txt['smfarticles_menu'] = 'Artigos';
$txt['smfarticles_admin'] = 'Configura&ccedil;&atilde;o dos artigos';

$txt['smfarticles_articlessettings'] = 'Defini&ccedil;&otilde;es';
$txt['smfarticles_approvearticles'] = 'Aprovar artigos';
$txt['smfarticles_form_approvecomments'] = 'Aprovar Coment&aacute;rios';
$txt['smfarticles_catpermlist'] = 'Lista de Permiss&atilde;o da categoria';
$txt['smfarticles_txt_import'] = 'Importar';

$txt['permissiongroup_smfarticles'] = 'SMF Artigos';
$txt['permissiongroup_simple_smfarticles'] = 'SMF Artigoss';

$txt['permissionname_view_articles'] = 'Ver artigos';
$txt['permissionhelp_view_articles'] = 'Define se o utilizador pode visualizar os artigos.';
$txt['cannot_view_articles'] = 'Voc&ecirc; n&atilde;o pode exibir a p&aacute;gina de Os artigos.';

$txt['permissionname_add_articles'] = 'Adicionar artigo';
$txt['permissionhelp_add_articles'] = 'Se o utilizador pode enviar artigos';

$txt['cannot_add_articles'] = 'Voc&ecirc; n&atilde;o pode adicionar artigos.';
$txt['permissionname_edit_articles'] = 'Editar artigos pr&oacute;prios';
$txt['permissionhelp_edit_articles'] = 'Se o utilizador pode parar de editar os artigos';

$txt['cannot_edit_articles'] = 'Voc&ecirc; n&atilde;o pode editar Os artigos.';
$txt['permissionname_delete_articles'] = 'Apagar artigos pr&oacute;prios';
$txt['permissionhelp_delete_articles'] = 'Se o utilizador pode apagar artigos';
$txt['cannot_delete_articles'] = 'N&atilde;o &eacute; poss&iacute;vel apagar Os artigos.';

$txt['permissionname_articles_comment'] = 'Deixe coment&aacute;rios';
$txt['permissionhelp_articles_comment'] = 'Permite ao utilizador deixar coment&aacute;rios em um artigo.';
$txt['cannot_articles_comment'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para deixar coment&aacute;rios.';


$txt['permissionname_articles_auto_approve'] = 'Aprovados os artigos automaticamente';
$txt['permissionhelp_articles_auto_approve'] = 'Se os artigos dos utilizadores s&atilde;o auto aprovado quando submetidas.';

$txt['permissionname_articles_autocomment'] = 'Auto aprovar os coment&aacute;rios';
$txt['permissionhelp_articles_autocomment'] = 'Coment&aacute;rios n&atilde;o precisa esperar pela aprova&ccedil;&atilde;o.';

$txt['permissionname_rate_articles'] = 'Artigos Classifique';
$txt['permissionhelp_rate_articles'] = 'Se o utilizador pode clasifcar Os artigos';
$txt['cannot_rate_articles'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para classificar os artigos.';

$txt['permissionname_articles_admin'] = 'Administra&ccedil;&atilde;o de artigos';
$txt['permissionhelp_articles_admin'] = 'Utilizador pode gerir os artigos';
$txt['cannot_articles_admin'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir os artigos.';
// END SMF Articles Strings     Support PT SMFPT   
]]></add>
    </operation>
</file>
<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
    <operation error="ignore">
        <search position="after"><![CDATA[?>]]></search>
        <add><![CDATA[
// Begin SMF Articles Text Strings translate by Candidosa2
$txt['smfarticles_menu'] = 'Artigos';
$txt['smfarticles_admin'] = 'Configura&ccedil;&atilde;o dos artigos';

$txt['smfarticles_articlessettings'] = 'Defini&ccedil;&otilde;es';
$txt['smfarticles_approvearticles'] = 'Aprovar artigos';
$txt['smfarticles_form_approvecomments'] = 'Aprovar Coment&aacute;rios';
$txt['smfarticles_catpermlist'] = 'Lista de Permiss&atilde;o da categoria';
$txt['smfarticles_txt_import'] = 'Importar';

$txt['permissiongroup_smfarticles'] = 'SMF Artigos';
$txt['permissiongroup_simple_smfarticles'] = 'SMF Artigoss';

$txt['permissionname_view_articles'] = 'Ver artigos';
$txt['permissionhelp_view_articles'] = 'Define se o utilizador pode visualizar os artigos.';
$txt['cannot_view_articles'] = 'Voc&ecirc; n&atilde;o pode exibir a p&aacute;gina de Os artigos.';

$txt['permissionname_add_articles'] = 'Adicionar artigo';
$txt['permissionhelp_add_articles'] = 'Se o utilizador pode enviar artigos';

$txt['cannot_add_articles'] = 'Voc&ecirc; n&atilde;o pode adicionar artigos.';
$txt['permissionname_edit_articles'] = 'Editar artigos pr&oacute;prios';
$txt['permissionhelp_edit_articles'] = 'Se o utilizador pode parar de editar os artigos';

$txt['cannot_edit_articles'] = 'Voc&ecirc; n&atilde;o pode editar Os artigos.';
$txt['permissionname_delete_articles'] = 'Apagar artigos pr&oacute;prios';
$txt['permissionhelp_delete_articles'] = 'Se o utilizador pode apagar artigos';
$txt['cannot_delete_articles'] = 'N&atilde;o &eacute; poss&iacute;vel apagar Os artigos.';

$txt['permissionname_articles_comment'] = 'Deixe coment&aacute;rios';
$txt['permissionhelp_articles_comment'] = 'Permite ao utilizador deixar coment&aacute;rios em um artigo.';
$txt['cannot_articles_comment'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para deixar coment&aacute;rios.';


$txt['permissionname_articles_auto_approve'] = 'Aprovados os artigos automaticamente';
$txt['permissionhelp_articles_auto_approve'] = 'Se os artigos dos utilizadores s&atilde;o auto aprovado quando submetidas.';

$txt['permissionname_articles_autocomment'] = 'Auto aprovar os coment&aacute;rios';
$txt['permissionhelp_articles_autocomment'] = 'Coment&aacute;rios n&atilde;o precisa esperar pela aprova&ccedil;&atilde;o.';

$txt['permissionname_rate_articles'] = 'Artigos Classifique';
$txt['permissionhelp_rate_articles'] = 'Se o utilizador pode clasifcar Os artigos';
$txt['cannot_rate_articles'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para classificar os artigos.';

$txt['permissionname_articles_admin'] = 'Administra&ccedil;&atilde;o de artigos';
$txt['permissionhelp_articles_admin'] = 'Utilizador pode gerir os artigos';
$txt['cannot_articles_admin'] = 'Voc&ecirc; n&atilde;o tem permiss&atilde;o para gerir os artigos.';
// END SMF Articles Strings     Support PT SMFPT   
]]></add>
    </operation>
</file>
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: vbgamer45 on October 08, 2012, 02:26:12 PM
Thanks translation will include it in next one.
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: ollybaba on October 10, 2012, 12:56:38 AM
Hi, I'd like to allow users to have permission to post and edit articles based on post-count-based membergroups, not regular membergroups. Is there a way to do that? The only groups showing up in my permissions settings for this plugin are the regular membergroups.
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: vbgamer45 on October 10, 2012, 12:57:53 AM
Not at the moment.
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: ollybaba on October 10, 2012, 03:10:04 AM
So then, there's no way to automatically allow anyone to add or edit articles? An administrator has to add them to a membergroup manually before they can have that ability?
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: vbgamer45 on October 10, 2012, 07:48:08 AM
You would use the regular members permissions in the membergroup settings to setup the permissions for adding/editing articles etc.
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: Vincent Volmer on February 12, 2013, 09:16:32 AM
Hello SMF Hacks,

Could you please fix the 'share on Facebook' button? It's not working correct (same issue as there was in the Gallery??).
It likes the website, not the article.

Thanks,
Vincent
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: vbgamer45 on February 12, 2013, 12:45:42 PM
Quote from: Vincent Volmer on February 12, 2013, 09:16:32 AM
Hello SMF Hacks,

Could you please fix the 'share on Facebook' button? It's not working correct (same issue as there was in the Gallery??).
It likes the website, not the article.

Thanks,
Vincent
What error are you getting?

I am not using the share button in the articles system but instead the like code.
Title: Re: SMF Articles (2.0 Released with SMF 2.0 support!)
Post by: Vincent Volmer on February 12, 2013, 01:26:28 PM
Quote from: vbgamer45 on February 12, 2013, 12:45:42 PM
What error are you getting?

I am not using the share button in the articles system but instead the like code.

You are right (of course ;) ) it is the "Like" button.

Issue is, when I 'Like' an article it does not 'Like' the article ( in our case: digiscrap.nl/articles/overig-digitaal-scrappen/digiscrap-dutch-choice/65 ) but it Likes the website only (digiscrap.nl) on Facebook, not the article. Tweet on Twitter works OK!

Maybe you can change the Like button into the Share button? ....

Title: Re: SMF Articles (2.5 Released with SMF 2.0 support!)
Post by: SMFHacks.com Team on March 19, 2013, 05:34:07 PM
Update!

2.5
+Updated styling for SMF 2.0 for main areas for a better experience
+Updated admin areas with alternating row styles to make reading easier
Title: Re: SMF Articles (2.5 Released with SMF 2.0 support!)
Post by: Vincent Volmer on March 19, 2013, 06:30:12 PM
Great! Thanks for the update. I'll look at it tomorrow.

Title: Re: SMF Articles (2.5 Released with SMF 2.0 support!)
Post by: Vincent Volmer on March 25, 2013, 06:15:46 AM
Thanks for the update.

I found 2 things not working correct.
(1) old issue;
Quote from: Vincent Volmer on February 12, 2013, 01:26:28 PM
Issue is, when I 'Like' an article it does not 'Like' the article ( in our case: digiscrap.nl/articles/overig-digitaal-scrappen/digiscrap-dutch-choice/65 ) but it Likes the website only (digiscrap.nl) on Facebook, not the article. Tweet on Twitter works OK!

Can this been fixed?


And the other issue;

I add an category description and save it. When I edit the category again the description disappears. This issue was also present in the previous version of SMF Articles. Sorry, didn't told you that.

I hope you can fix this too.

Thanks, Vincent
Title: Re: SMF Articles (2.5 Released with SMF 2.0 support!)
Post by: Kindred on March 25, 2013, 07:30:24 AM
do note....  the category description is in the database.   It just does not get read out to the edit page
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: SMFHacks.com Team on March 25, 2013, 12:21:05 PM
Updated new release

2.5.1
!Fixed the Facebook like article to encode the full article url
!Fixed empty description field when editing category in SMF 2.0.x
!Cleaned up some more html/styles in SMF 2.0.x version
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: Vincent Volmer on March 25, 2013, 02:36:14 PM
Quote from: SMFHacks.com Team on March 25, 2013, 12:21:05 PM
Updated new release

2.5.1
!Fixed the Facebook like article to encode the full article url
!Fixed empty description field when editing category in SMF 2.0.x
!Cleaned up some more html/styles in SMF 2.0.x version


Thanks for the update and fixing. The like button is still not working correct. It "likes" the URL of the website instead of the article URL.
btw... I'm using pretty url's. I don't know if that is important in this case.
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: JMantis on May 08, 2013, 05:19:43 AM
It appears I'm running an outdated version of the mod and I'd like to upgrade.

Can I just install the new version on top of the old one or will I need to uninstall the old version first? Also will I lose any of my articles in the process?
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: Kindred on May 08, 2013, 07:30:50 AM
you need to uninstall first.
no, you will not lose existing articles
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: JMantis on May 08, 2013, 07:32:40 AM
Thanks!
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: jeanineh on July 21, 2013, 06:47:26 PM
I have a problem that I'm trying to figure out with this mod (please excuse the 'repeat' if this has already been brought up). I can't seem to get the ratings to show for everyone. It will be there for me (admin) but won't show for regular members to be able to rate the article? I have the enable ratings box checked off and permission set for everyone so not sure what is going on. I did upgrade to the latest version also. Any suggestions? I might just be overlooking something simple........Thanks
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: vbgamer45 on July 21, 2013, 09:51:22 PM
Under Admin -> Permissions -> Modify the membergroup then find the SMF Articles permission section and modify it there.
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: jeanineh on July 22, 2013, 09:59:34 AM
Thank you for your reply. I checked my permissions and group category and it all seems to be ok but I still can't get the rating boxes to show for anyone but me? As I mentioned I do have 'enable ratings' checked in the settings and have the latest version. Do you think uninstalling and then reinstalling might help?
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: Theatre Publicity on August 23, 2013, 09:44:55 AM
I think I was a little behind in applying updates for this! I was still using 1.2.1!

Nice to see the RSS feed added, That's a great feature.
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: vbgamer45 on August 23, 2013, 10:18:02 AM
Quote from: Theatre Publicity on August 23, 2013, 09:44:55 AM
I think I was a little behind in applying updates for this! I was still using 1.2.1!

Nice to see the RSS feed added, That's a great feature.
Glad you enjoy it!
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: iaccountant on August 31, 2013, 10:40:39 AM
Hi VbGamer

I run 1.1.18, and on my test forum, Articles installed beautifully, and administration was intuitive...plus it added a feature that makes great sense....so congrats

I'm beginning to learn more about the plumbing of SMF, so I would like to know exactly how this mod affects the "plain vanilla" coding of SMF.

I know little php, so a "high level understanding is what I am looking for. ie, what SMF files are modified and what files are added and where.

Also, what happens when the mod is uninstalled, does it remove the coding that was initially modified and the files originally installed?

I expect the design principles would be the same for all mods, so any kind of insight you might be able to provide me with would help me on the road

The answers are important to me before I start rolling the mod out to another live forum because I don't want to wreck it and I want to know how to reverse it should I want to
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: vbgamer45 on August 31, 2013, 10:48:42 AM
On the mod page itself you can see the exact files the mod edits and code it changes.

Or you can upload the file to my package parser to file the files it edits
www.smfhacks.com/smf-package-parser.html
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: iaccountant on August 31, 2013, 11:02:33 AM
Sorry VB, I must be dense or something

on the mod page itself  http://custom.simplemachines.org/mods/index.php?mod=1354  I do not see it the files it mods ot codes it changes, and I cannot find it on any Articles page from a menu at SMFhacks.com
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: vbgamer45 on August 31, 2013, 12:30:37 PM
By downloads you would click the "Manual Install Instructions for SMF "
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: iaccountant on August 31, 2013, 01:47:43 PM
Ahhhh, thanks. Another new thing learned
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: iaccountant on August 31, 2013, 01:55:47 PM
Thanks VB because it sent me to check out my server files where I decided I should manually delete the articles folder

Now when you uninstall the mod,  does it actually reverse the changes to the files made on the install, comment them out etc?

I see (from going onto my server) that, for example, the first file ./Themes/default/languages/Modifications.english.php, was modified today when I uninstalled

Am I to assume that I can simply delete the backup version because it held the code used by Articles...and the same for the utf backup, and I guess all those shown in the parser?
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: vbgamer45 on August 31, 2013, 02:00:22 PM
It reverses the changes to the files made. But leaves copied files/folders/database tables/settings intact
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: iaccountant on August 31, 2013, 02:05:29 PM
I think I answered the "uninstall" part of my question because when I uninstalled the root index.php backup file created today, nothing broke :)

Guess that makes sense, even to a newbie

I presume to that I can go to all the files indicated by the parser and delete the backup copies, and it would "look" like a totally clean install except fro some changed dates

Thanks for the help VB....much appreciated
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: vbgamer45 on August 31, 2013, 02:17:51 PM
Yes you can glad to help
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: brynn on October 04, 2013, 11:24:22 PM
Hi Friends,
I don't have time to read all the 42 pages in this topic, but a search for "approval" did not turn up anything helpful.

I'm using SMF 2.0.5 with Tiny Portal 1.107, and SMF Articles 2.5.1.

When a member writes and submits an article, it goes into the approval queue.  However, I can't seem to find any way to read the article before I approve it (except by opening it up for editing).

Is that how it's supposed to work?  Or have I just not found the right buttons?

Thanks for your help  :)
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: brynn on October 07, 2013, 05:32:51 PM
3 days later.....

No one knows?  I really apologize if this has been asked a million times before.  But I searched, and didn't find anything that answers it.

I just don't understand why there's an approval feature, if the admins or mods can't read it before approving or denying it.  Is the approval feature broken?  Or I'm supposed to review it by opening for editing?  Or have I just not found the right controls?

Thanks   :)
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: vbgamer45 on October 07, 2013, 05:35:00 PM
Was a really basic mod when made haven't had time to update it so that is the only way to see it at the moment.
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: brynn on October 07, 2013, 09:26:20 PM
Ok   :)

Just wanted to make sure it wasn't broken, or I couldn't find controls.   ;)

Thank you very much!
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: seelie on December 21, 2013, 04:30:11 PM
Hi there

I've installed SMF Articles as part of the ezPortal suite.  When I attempt to import TinyPortal Articles (TP version 1.104), I get the following error:

Unknown column 'authorID' in 'field list'
File: /home/neroatl/public_html/forums/Sources/Articles2.php
Line: 2858

Any particular guidance on how to resolve?
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: seelie on December 21, 2013, 06:13:37 PM
Quote from: seelie on December 21, 2013, 04:30:11 PM
Hi there

I've installed SMF Articles as part of the ezPortal suite.  When I attempt to import TinyPortal Articles (TP version 1.104), I get the following error:

Unknown column 'authorID' in 'field list'
File: /home/neroatl/public_html/forums/Sources/Articles2.php
Line: 2858

Any particular guidance on how to resolve?

Figured it out :)

For that version of TP, it is author_id not authorID ... just replaced it in Articles2.php and all imported fine :)
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: brynn on March 01, 2014, 04:21:25 PM
Hi Friends,
Another question.  I want to know if it's possible, how to move articles which were submitted into the wrong category, into the correct category.  I can't seem to find a way to do that.  It seems like a vital feature for admins.

Thanks for your help!   :)

PS -- I'd be willing to make a small donation, if it could make this and my previous request possible (admin able to read articles before approving).  TA
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: vbgamer45 on March 01, 2014, 05:02:07 PM
You should be able to edit a category then change the category the article was placed under.
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: brynn on March 02, 2014, 01:45:30 AM
Oooh, ok!  Yes, I've got it working now.

Thank you very much   :)
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: Hondo on March 27, 2014, 01:54:42 PM
What I'am missing is the posibility to add Permissions to Categories. And because I'm missing it I have done for me. ist is quite simple, just a Selection for the Category and a submit Button. It looks now so:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.access-o-mania.de%2Fimages%2Fpermissions.png&hash=4af5fb747e705812cdf96cb0ebb8db917aa32824)

In articles2.php Function ArticlesAdminPerm() I just added this after the AdminTabs:

$dbresult = $smcFunc['db_query']('', "
SELECT
ID_CAT, title, roworder, ID_PARENT
FROM {db_prefix}articles_cat ORDER BY title ASC");
$context['news_cat'] = array();
while ($row = $smcFunc['db_fetch_assoc']($dbresult))
$context['articles_cat'][] = $row;
$smcFunc['db_free_result']($dbresult);

CreateArticlesPrettryCategory();


And in Template catpermlist after the table:
<form method="post" action="' , $scripturl , '?action=articles;sa=addPermission">
<table border="0" width="80%" cellspacing="0" align="center" cellpadding="4" class="tborder">
<tr>
<td align="right" style="vertical-align: top">', $txt['smfarticles_category'] ,':&nbsp;<select name="cat">';
foreach ($context['articles_cat'] as $cat)
echo '<option value="', $cat['ID_CAT'], '">', $cat['title'], '</option>';
echo '</select></td>
<td align="left"><input type="submit" value="' , $txt['smfarticles_text_addperm'] , '" name="submit" /><br /><br /></td>
</tr>
</table>
</form>


That's it. It would be great if you would update you Mod in this way. Also Mod Downloads etc.
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: vbgamer45 on March 27, 2014, 02:40:37 PM
There is more code behind category level permissions then just the display links. You would also need to modify the queries to show items based on permissions.

I have it downloads pro,gallery pro etc
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: Hondo on March 27, 2014, 03:07:32 PM
It works for me.
I can set permissions for each Category.
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: Hondo on March 28, 2014, 06:11:30 AM
OK I see, I have fogotton to post the rest:
in articles2 in Array Subactions you have to insert: 'addPermission' => 'AddPermission',
And insert the function maybe at the End of File:
Function AddPermission()
{
$cat = $_REQUEST['cat'];
if(isset($cat))
redirectexit('action=articles;sa=catperm;cat=' . $cat);
else
redirectexit('action=admin;area=articles;sa=adminperm');
}

Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: Impsat-1 on April 25, 2014, 03:47:34 PM
Quote from: Bec on September 10, 2008, 12:29:12 AM
just wondering if its possible to center the images for each category... or to move the actual title name over closer to the picture? You can see what I mean from the attached piccie  :)

Mmm... Hi Guys, I have the same problem..., please how I can center or centered images in category?.... the MOD works fine in SMF 2.0.7, but the image is right... and I need centered, Thanks.... & Regards.... ;)

Have a Great Time 8)
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: Impsat-1 on April 25, 2014, 04:00:54 PM
Mmm... If Somebody need for SMF 2.XX or wants here My translation for "spanish_latin-utf8.php"

In file package-info.xml find
<install for="2.0 - 2.0.99, 2.0 RC2, 2.0 RC3, 2.0 RC4, 2.0 RC5">
<redirect url="?action=admin;area=articles;sa=admin">redirect.txt</redirect>
<readme>ReadMe.txt</readme>
<modification type="file">articles2.xml</modification>
<require-file name="Articles2.php" destination="$sourcedir" />
<require-file name="Articles2.template.php" destination="$themedir" />
<require-file name="Articles.english.php" destination="$themedir/languages" />
<require-file name="Articles.english-utf8.php" destination="$themedir/languages" />
<require-dir name="articles" destination="$boarddir" />
<code>articlessql2.php</code>


And replace with
<install for="2.0 - 2.0.99, 2.0 RC2, 2.0 RC3, 2.0 RC4, 2.0 RC5">
<redirect url="?action=admin;area=articles;sa=admin">redirect.txt</redirect>
<readme>ReadMe.txt</readme>
<modification type="file">articles2.xml</modification>
<require-file name="Articles2.php" destination="$sourcedir" />
<require-file name="Articles2.template.php" destination="$themedir" />
<require-file name="Articles.english.php" destination="$themedir/languages" />
<require-file name="Articles.english-utf8.php" destination="$themedir/languages" />
<require-file name="Articles.spanish_latin-utf8.php" destination="$themedir/languages" />
<require-dir name="articles" destination="$boarddir" />
<code>articlessql2.php</code>


Find
<upgrade for="2.0 - 2.0.99, 2.0 RC2, 2.0 RC3, 2.0 RC4, 2.0 RC5">
<redirect url="?action=admin;area=articles;sa=admin">redirect.txt</redirect>
<readme>ReadMe.txt</readme>
<require-file name="Articles2.php" destination="$sourcedir" />
<require-file name="Articles2.template.php" destination="$themedir" />
<require-file name="Articles.english.php" destination="$themedir/languages" />
<require-file name="Articles.english-utf8.php" destination="$themedir/languages" />
<require-dir name="articles" destination="$boarddir" />
<code>articlessql2.php</code>


Replace with
<upgrade for="2.0 - 2.0.99, 2.0 RC2, 2.0 RC3, 2.0 RC4, 2.0 RC5">
<redirect url="?action=admin;area=articles;sa=admin">redirect.txt</redirect>
<readme>ReadMe.txt</readme>
<require-file name="Articles2.php" destination="$sourcedir" />
<require-file name="Articles2.template.php" destination="$themedir" />
<require-file name="Articles.english.php" destination="$themedir/languages" />
<require-file name="Articles.english-utf8.php" destination="$themedir/languages" />
<require-file name="Articles.spanish_latin-utf8.php" destination="$themedir/languages" />
<require-dir name="articles" destination="$boarddir" />
<code>articlessql2.php</code>


Find
<uninstall for="2.0 - 2.0.99, 2.0 RC2, 2.0 RC3, 2.0 RC4, 2.0 RC5">
<modification type="file" reverse="true">articles2.xml</modification>
<remove-file name="$sourcedir/Articles2.php" />
<remove-file name="$themedir/Articles2.template.php" />
<remove-file name="$themedir/languages/Articles.english.php" />
<remove-file name="$themedir/languages/Articles.english-utf8.php" />
<code>UnInstall.php</code>
</uninstall>


Replace with
<uninstall for="2.0 - 2.0.99, 2.0 RC2, 2.0 RC3, 2.0 RC4, 2.0 RC5">
<modification type="file" reverse="true">articles2.xml</modification>
<remove-file name="$sourcedir/Articles2.php" />
<remove-file name="$themedir/Articles2.template.php" />
<remove-file name="$themedir/languages/Articles.english.php" />
<remove-file name="$themedir/languages/Articles.english-utf8.php" />
<remove-file name="$themedir/languages/Articles.spanish_latin-utf8.php" />
<code>UnInstall.php</code>
</uninstall>


In file articles2.xml Add 1 line before "<file name="$languagedir/Who.english.php">" this code
<file name="$languagedir/Modifications.spanish_latin-utf8.php" error="skip">
<operation error="ignore">
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
// Begin SMF Articles Text Strings
$txt['smfarticles_menu'] = 'Art&iacute;culos';
$txt['smfarticles_admin'] = 'Configuraci&oacute;n de Art&iacute;culos';

$txt['smfarticles_articlessettings'] = 'Ajustes';
$txt['smfarticles_approvearticles'] = 'Aprobar Art&iacute;culos';
$txt['smfarticles_form_approvecomments'] = 'Aprobar comentarios';
$txt['smfarticles_catpermlist'] = 'Lista de Permisos por Categor&iacute;as';
$txt['smfarticles_txt_import'] = 'Importar';

$txt['permissiongroup_smfarticles'] = 'SMF Art&iacute;culos';

$txt['permissionname_view_articles'] = 'Ver Art&iacute;culos';
$txt['permissionhelp_view_articles'] = 'Define si los usuarios pueden ver los Art&iacute;culos.';
$txt['cannot_view_articles'] = 'No puedes ver esta página.';

$txt['permissionname_add_articles'] = 'Añadir Art&iacute;culos';
$txt['permissionhelp_add_articles'] = 'Si el usuario puede enviar Art&iacute;culos';

$txt['cannot_add_articles'] = 'No puedes añadir Art&iacute;culos.';
$txt['permissionname_edit_articles'] = 'Editar Art&iacute;culos propios';
$txt['permissionhelp_edit_articles'] = 'Si el usuario puede editar Art&iacute;culos';

$txt['cannot_edit_articles'] = 'No puedes editar Art&iacute;culos.';
$txt['permissionname_delete_articles'] = 'Borrar Art&iacute;culos propios';
$txt['permissionhelp_delete_articles'] = 'Si el usuario puede borrar Art&iacute;culos';
$txt['cannot_delete_articles'] = 'No puedes borrar Art&iacute;culos.';

$txt['permissionname_articles_comment'] = 'Dejar comentarios';
$txt['permissionhelp_articles_comment'] = 'Permite al usuario comentar Art&iacute;culos.';
$txt['cannot_articles_comment'] = 'No puedes escribir comentarios.';


$txt['permissionname_articles_auto_approve'] = 'Auto-aprobaci&oacute;n Art&iacute;culos';
$txt['permissionhelp_articles_auto_approve'] = 'Si los Art&iacute;culos son automáticamente aprobados al enviarlos.';

$txt['permissionname_articles_autocomment'] = 'Auto-aprobación de comentarios';
$txt['permissionhelp_articles_autocomment'] = 'Los comentarios no necesitan esperar Aprobaci&oacute;n.';

$txt['permissionname_rate_articles'] = 'Valorar Art&iacute;culos';
$txt['permissionhelp_rate_articles'] = 'Si el usuario puede valorar Art&iacute;culos';
$txt['cannot_rate_articles'] = 'No tienes permiso para valorar Art&iacute;culos.';

$txt['permissionname_articles_admin'] = 'Administrar Art&iacute;culos';
$txt['permissionhelp_articles_admin'] = 'El usuario puede administrar Art&iacute;culos';
$txt['cannot_articles_admin'] = 'No tienes permiso para administrar Art&iacute;culos.';
// END SMF Articles Strings       
]]></add>
    </operation>
</file>


And Add To Folder the file "Articles.spanish_latin-utf8.php"
Download here

Please... seee or tell me what about the "center" or "centered" images in category, Thanks & Regards.... Great MOD, but I can't center or centered images in category, pleaseee :'(

Thaaanks!!!, Hace a Great Time 8).-
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: Impsat-1 on April 26, 2014, 12:39:21 AM
Mmm... hey Guys, please... how I can center the image in category

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs27.postimg.org%2Fq8nhla4yr%2Fimge_para_centrar_en_categorias_2.jpg&hash=e50214fe60c2d50bb1bf9bd9a54fab202ee338c6)

Pleaseee....

Thanks & Regards 8).-
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: vbgamer45 on April 26, 2014, 12:55:31 AM
change td tag to td align="center"
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: Impsat-1 on April 27, 2014, 08:03:31 PM
Quote from: vbgamer45 on April 26, 2014, 12:55:31 AM
change td tag to td align="center"

Ufff!!!... Thanks vbgamer45 please where... what file ::)

Ok..., I will search, but please in what file I have to do the change...

This tip don't work
Articles.template.php:

Find:
<td class="windowbg"><a href="', $scripturl, '?action=articles;cat=', $row['ID_CAT'], '"><img src="', $row['imageurl'], '" border="0" alt="" /></a></td>

Replace:
<td class="windowbg" align="center"><a href="', $scripturl, '?action=articles;cat=', $row['ID_CAT'], '"><img src="', $row['imageurl'], '" border="0" alt="" /></a></td>

Please!!!...
Thanks & Regards 8)
Have a Great Time.-
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: Kindred on April 27, 2014, 09:28:32 PM
Please  do not delete the original post and then repost the identical content...

I have noticed you doing this several times in several threads here and in the Spanish section.  Doing that is the SAME THING as "double posting" and will get you marked for spam.
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: Impsat-1 on April 28, 2014, 04:32:24 PM
Mmm...

Quote from: Kindred on April 27, 2014, 09:28:32 PM
Please not note delete the original post and then repost the identical content...

I have noticed you doing this several times in several threads here and in the Spanish section.  Doing that is the SAME THING as "double posting" and will get you marked for spam.

Hey Please give to me a solution, I need a solution not advice... Thanks ;)

Thanks & Regards 8).-
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: Kindred on April 28, 2014, 06:56:42 PM
and yet... You will be getting that advice from me - because - if you continue that sort of behavior, you will get marked as a spammer.
This is not my mod... and the mod author will (probably) respond at some point... but reposting content to "bump" the post is more likely to piss people off than to get an answer.
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: Impsat-1 on April 29, 2014, 02:20:39 AM
Quote from: Kindred on April 28, 2014, 06:56:42 PM
and yet... You will be getting that advice from me - because - if you continue that sort of behavior, you will get marked as a spammer.
This is not my mod... and the mod author will (probably) respond at some point... but reposting content to "bump" the post is more likely to piss people off than to get an answer.

Mmm... sorry, but you have nothing more important to do?, in the worst case the spammer is that Ref as me, I Need a Solution....

Thanks & Regards 8).-
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: Impsat-1 on May 02, 2014, 02:17:06 AM
Mmm... This quote WORKS

Quote from: Nibogo on September 24, 2008, 08:16:08 PM
Quote from: Spudgun on September 20, 2008, 08:19:55 AM
Does anyone know how to centre category images as talked about above?

Thanks for any help given...

Spudgun.
Articles.template.php:

Find:

Quote<td class="windowbg"><a href="', $scripturl, '?action=articles;cat=', $row['ID_CAT'], '"><img src="', $row['imageurl'], '" border="0" alt="" /></a></td>


Replace:
Quote<td class="windowbg" align="center"><a href="', $scripturl, '?action=articles;cat=', $row['ID_CAT'], '"><img src="', $row['imageurl'], '" border="0" alt="" /></a></td>

In File "Articles2.template.php"
Search:
Quote<td class="windowbg"><a href="', $scripturl, '?action=articles;cat=', $row['ID_CAT'], '"><img src="', $row['imageurl'], '" border="0" alt="" /></a></td>


Replace:
Quote<td class="windowbg" align="center"><a href="', $scripturl, '?action=articles;cat=', $row['ID_CAT'], '"><img src="', $row['imageurl'], '" border="0" alt="" /></a></td>

Caps... ;)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs1.postimg.org%2Fv1gne00kf%2Fcaps_artic_ing_centrada_scr_1_p_for_sop.jpg&hash=4bac719f5e033b9a2f9e9ec5d6e7c7f48e03989d)

Works Fine 100% (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmedia.simplemachinesweb.com%2Fsmf%2Fdefault%2Fimages%2Fpost%2Fthumbup.gif&hash=cdb957ce8273308383cd65570638a246a18adaaa)

Thanks & Regards 8).-
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: brynn on June 10, 2014, 07:55:17 PM
Hi Friends,
First, I should say that I haven't read the entire 43 pages of this topic.  So I apologize if I've missed a similar comment.

I wanted to suggest what I think would make a nice feature for this mod.  I'll bet that a lot of admins use the Articles mod for things besides true articles.  For example, I'm using as a way for members to contribute tutorials (for Inkscape, vector graphics editor).  I would love it if I could change the tab to say Tutorials, instead of Articles.  Maybe someone would used Articles to publish recipes, for another example.  They might like the tab to say "Recipes".  Maybe someone uses it to post movie reviews, or reviews about anything -- book reviews, software reviews, etc.  They might like the tab to say "Reviews".  And etc.

When I first started my SMF forum (with Tiny Portal), there was a mod that allowed the text on any tabs to be changed.  But after an upgrade, it no longer worked.  Then I found another mod that allows you to add new tabs, which is what I'm using now.  But as many admins probably experience, I have more tabs than can fit on 1 screen.  So the tabs sort of get wrapped around, although not in a way that looks nice (you can't read the text on the wrapped tabs, and you can hardly see the wrapped tabs at all - they're sort of a shadow).   So it would be nice not to have the 2 tabs going to the same place.   And if, as part of the Articles mod, the tab text could be changed, it would be really helpful.

Just a friendly suggestion.  And certainly nothing urgent.  Thanks for listening.   :)

Edit -- Perhaps it would be more appropriate to request a mod where tabs' text can be changed, tabs can be rearranged, and tabs can be hidden.  If you all think that would be more appropriate, I would be glad to post a request for such a mod.  But I thought I would have a better chance of someone adding a feature to a mod that stays current, than someone writing a new mod.  There used to be such a mod, but I can't find it anymore.  TA
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: Kindred on June 11, 2014, 07:23:18 AM
you can change the articles reference in the language file...
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: jlt1 on June 19, 2014, 08:58:05 AM
Is there a way to reorder the articles after they're submitted? I have this mod as a history section on my site that is currently arranged by year, but I want to be able to keep this order after other articles are added. The order will break if I can't control their arrangements. e.g., I don't want year 1985 showing after year 2014 if a user adds an article after it.
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: vbgamer45 on June 19, 2014, 09:36:08 AM
Quote from: jlt1 on June 19, 2014, 08:58:05 AM
Is there a way to reorder the articles after they're submitted? I have this mod as a history section on my site that is currently arranged by year, but I want to be able to keep this order after other articles are added. The order will break if I can't control their arrangements. e.g., I don't want year 1985 showing after year 2014 if a user adds an article after it.
Not at the moment.
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: brynn on June 22, 2014, 08:46:27 AM
Quote from: Kindred on June 11, 2014, 07:23:18 AM
you can change the articles reference in the language file...

Thanks Kindred   :)
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: brynn on December 06, 2014, 01:31:16 AM
Hi again Friends,
If I recall, from having made a few posts in this thread (in the past year or 2) (in case this message gets moved, this is the thread:  http://www.simplemachines.org/community/index.php?topic=259659.840) this mod hasn't be upgraded or changed in quite a while.  Yet it appears to remain a popular mod!

In case it ever is upgraded, I just discovered something that I hope would be fixed.  And actually, partly this affects all of SMF....somehow....although I don't understand how the program works from the coding perspective.  Now that I think of it, maybe this would better be posted somewhere else, related to smileys.  I'll have to leave it to your judgement where it should go.

Actually, maybe this is a bug, or something is broken in my forum?  I'll have to leave that part up to you.

I love smileys and have 100s of them loaded into my forum -- nearly 100 in the editor, and maybe 250 more in the "(more)" pop-up.  (half of them are related to the program which the forum supports, which is Inkscape, a vector graphic editor - lotta buttons!)

Even though the smileys are loaded and edited and managed from the admin panel, they show up in mods like this SMF Articles, in PMs (can't remember if PMs are a mod or not), and in SMFPacks ShoutBox.  However, if I need to open the pop-up, to get a smiley to post in the forum, and later need to get a smiley from the popup for a PM or Shout or Article, I have to open the popup directly from wherever I am.  I cannot get the smiley, to go in a shout, from the popup I opened in the forum.  I have to open the pop-up from wherever I need to use it.  And on a busy day, keeping 3 or 4 of those pop-ups open can get confusing!

So in that sense, maybe it's more related to how SMF makes the smileys work.  I'm not sure about that part.

What I just noticed, while writing and editing an article from SMF Articles, is that if I already have the smiley pop-up open, because I already used a smiley from it in the article, and I save the article, it somehow disables the pop-up from working.  Because if I re-open the article to edit again, and need another smiley from that pop-up, I have to open a fresh new pop-up!

Does this sound like something is broken, or a bug?  Or normal and expected behavior?  Any chance of avoiding having to open the smiley popup so many different times?

Let's see....  This is SMF 2.0.9, Tiny Portal 1.107, and a long list of other mods, something like 45.  But I can list them if necessary.  Not sure if you need it, but my forum http://forum.inkscapecommunity.com/index.php.  Although you won't be able to.....well you can't post a message, shout, Pm or article, but there does seem to be a way to access my smileys without being a member, if that would help.  I'm using with Firefox....haven't tested with IE - but I could, if it seems like this would be a browser issue?

Thanks for your help  :D

Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: Arantor on December 06, 2014, 07:04:38 AM
That is how SMF works. When you close the editor in the first page, the internal reference from the pop up goes with it. By the time the second page is loaded, the pop up does not know where to send the smiley code you select. Not sure it is fixable either.
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: brynn on December 06, 2014, 08:55:01 AM
Hhmmm....well that's too bad.

As I said before, I know little to nothing about coding, in any language.  I guess telling it to connect to any open editor isn't possible?  Or maybe would take major work to accomplish?

Well, certainly not the end of the world!

Thanks for letting me know   :)
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: Arantor on December 06, 2014, 10:22:16 AM
If it is possible, which I doubt, it would be a fairly hefty change to the editor, I think.
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: MrMike on December 11, 2014, 01:18:54 PM
I'm looking for a mod that would be suitable to create a recipe listing site. Do you think this mod would lend itself to that?

I'm willing to do modifications to make it "fit" the function of a recipe directory but I'm wondering if you think this mod would be a good candidate for a place to start?
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: Kindred on December 11, 2014, 01:32:57 PM
not really...

I started on a recipe mod a while back. Have to search it out again.

Actually, the custom form mod might not be a bad start...
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: vbgamer45 on December 11, 2014, 01:37:56 PM
Depends you can relabel the text strings. It is generic enough

I am worked on a pro edition of this mod to still not sure on the feature set though.
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: MrMike on December 11, 2014, 02:04:55 PM
Kindred, VBGamer,

Thanks for the replies. I've looked at a number of mods trying to see if they might lend themselves to a recipe directory but nothing jumps out at me.

The SMF Articles mod looks like it might work, it has categories and commenting which are two features that would be nice to have (actually, categories is a must-have, obviously).

The Custom Form Mod also looks good, but seems like it has a steep learning curve. It also seems like it's intended to post to a board and not to an individual page or entry- is that correct?

I also looked at the SA Knowledge Base (http://custom.simplemachines.org/mods/index.php?mod=3185) mod...in some ways it seems like it would lend itself nicely to a recipe directory but I'm not sure how easy it would be to change some of the basic layout items (like having the main page show the categories in columns, for example). But other than that it seems like it would work pretty well.

The alternative is to code one from scratch, which I could do, I'm just not wild about spending the time to do that.

Do either of you know if any of the portal mods (Simple Portal, ezPortal, etc) might have a block or plugin that would work for a recipe directory?
Title: Re: SMF Articles (2.5.1 Released with SMF 2.0 support!)
Post by: vbgamer45 on December 11, 2014, 02:54:08 PM
Well I use basiclly the same base for my mods. So SMF articles, Downloads System, SMF Link, SMF Gallery have basically the same base which just tweaks/updates made to each one.
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: SMFHacks.com Team on December 23, 2014, 01:45:14 PM
Major new update
3.0
+Now works for SMF 2.1 Beta 1
+New manage categories area for SMF 2.0
+Improved styles for SMF 2.0
+Added new copyright removal system
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: beanflying on December 25, 2014, 10:44:47 PM
Hi,

having a few issues with the image uploader on this mod. Drag and drop leads to just the thumbnail created being placed in the article. On click then heads off into oblivion :(

I have trawled back over the 44 pages this morning and seems way way back a few others had that issue but I couldn't find a resolution for it. No real problems for a few of the forum members but for the average user placing and formatting external images is above them.

Sample article here http://www.coffeenation.org.au/index.php?action=articles;sa=view;article=1 (http://www.coffeenation.org.au/index.php?action=articles;sa=view;article=1)

Site is running Dream Portal. Uninstalled currently are PrettyURL & Extras, Highslide Image Viewer, Simple Audio Video Embedder to try and help debug.

Any thoughts or clues?
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: Ataru Moroboshi on April 16, 2015, 10:01:37 AM
found an issue with php 5.4 and htmlspecialchars in non utf-8 forums

in sourcedir/Articles2.php need to replace htmlspecialchars  with $smcFunc['htmlspecialchars'] to make it work
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: SMFHacks.com Team on April 16, 2015, 11:01:14 AM
3.0.1
!Better handling of utf8 characters for SMF 2.0.x
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: Ataru Moroboshi on April 21, 2015, 04:48:58 AM
Quote from: SMFHacks.com Team on April 16, 2015, 11:01:14 AM
3.0.1
!Better handling of utf8 characters for SMF 2.0.x

ok, thanks... I just a replaced htmlspecialchars function in articles2.php, do I need to upgrade from 3.0?
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: vbgamer45 on April 21, 2015, 08:23:02 AM
No that's all I changed.
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: Ataru Moroboshi on April 21, 2015, 08:56:31 AM
Quote from: vbgamer45 on April 21, 2015, 08:23:02 AM
No that's all I changed.
ok great  ;D
Title: Additional characters in article Re: SMF Articles 3.0 for SMF 2.0.20
Post by: nomorepolitics on May 21, 2015, 09:49:39 AM
Greetings - I cannot find where to increase the number of characters allowed in an article description which results in not being able to post with the current settings and a long article. 

Much appreciate the assistance,
All the best
Ron
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: vbgamer45 on May 21, 2015, 03:56:37 PM
The description max is default 65,000 characters

If you need more you need to increase the field size for description

SQL Command

alter table smf_articles change description description longtext;
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: nomorepolitics on May 30, 2015, 11:45:13 AM
Didn't thank you for the response vbgamer45 - so thank you very much, the info was very useful. 

All the best
Ron
Title: Re: SMF Articles 3.0 settings
Post by: nomorepolitics on May 30, 2015, 12:01:10 PM
Greetings,

I am using SMF Articles 3.0 & SMF 2.0.10

I cannot find a setting to turn off the articles mod temporarily - does this function exist?  If so may I ask for some guidance in how to go about it? 

Great mod just need it off for a while. 

Thanks for all the great mods you guys provide.

All the best
Ron
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: vbgamer45 on May 30, 2015, 01:28:09 PM
A function for that does not exist. You can hide it with permissions though
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: nomorepolitics on May 30, 2015, 01:34:09 PM
Thanks once again - I did look into that option after posting but was hoping that there was an "on/off" switch. 

If I tweak the permissions there will no longer be an "articles" link on the menu, right? 

I appreciate your quick reply very much. 

All the best
Ron
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: vbgamer45 on May 30, 2015, 01:51:28 PM
Yeah for all membergroups other than admins
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: nomorepolitics on May 30, 2015, 02:00:05 PM
Thanks for that - I'll most likely run into you again pretty soon - looking at some of the paid mods that I'd like - some really great mods available. 

All the best and thanks again
Ron
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: LadyAngel on June 07, 2015, 12:43:20 PM
Is there a way to move forum posts to the article system? I want to use this as a blogging system and would like to move a couple of posts with all of their comments to it. :)
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: vbgamer45 on June 07, 2015, 12:50:43 PM
At the moment I do not have that feature in the Articles system.
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: LadyAngel on June 07, 2015, 12:54:38 PM
Quote from: tbombaci on November 07, 2011, 12:45:45 PM
Not sure if it is in this thread or not (I tried a search) but, If you want to reverse the order of comments on an article, simply remove "DESC" from the line:

WHERE c.ID_ARTICLE = " . $context['article']['ID_ARTICLE'] . " AND c.approved = 1   ORDER BY c.ID_COMMENT DESC");

it is in .sources/Articles2.php line 2459

Tom
Thanks mate, this was driving me mad! lol
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: LadyAngel on June 07, 2015, 12:55:28 PM
Quote from: vbgamer45 on June 07, 2015, 12:50:43 PM
At the moment I do not have that feature in the Articles system.
Okay, thanks for the fast response :)
Title: Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
Post by: LadyAngel on June 07, 2015, 01:43:40 PM
Quote from: amko_sa on March 07, 2010, 12:33:52 PM
Quote from: Kindred 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

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.
This is great, thank you!  :D
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: Ataru Moroboshi on June 16, 2015, 11:09:17 AM
It is possible to make it opengraph and facebook compliant?

if i fetch the url www.mydomain.com/index.php?action=articles&sa=view&article=1

in

https://developers.facebook.com/tools/debug/og/object/



it takes og metadata from main page
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: vbgamer45 on June 16, 2015, 11:16:37 AM
Possible to do but you would need to modify the code of the articles system using $context['html_headers']
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: Ataru Moroboshi on June 16, 2015, 12:12:42 PM
Quote from: vbgamer45 on June 16, 2015, 11:16:37 AM
Possible to do but you would need to modify the code of the articles system using $context['html_headers']

i added og metadata in index.template.php of my theme:


<title>', $context['page_title_html_safe'], '</title>';
// facebook and OG
if ($context['current_action'] != 'admin'){
if (isset($context['article']['title']))
echo '
<meta property="og:url" content="', $scripturl ,'/action,articles/sa,view/article,' , $context['article']['ID_ARTICLE'] , '.html" />';
elseif(empty($context['current_topic']))
echo '
<meta property="og:url" content="', $scripturl ,'" />';
else
echo '
<meta property="og:url" content="', $scripturl ,'?topic=',$context['current_topic'],'.0" />';
echo '
<meta property="og:type" content="article" />
<meta property="og:title" content="',$context['page_title_html_safe'], '" />
<meta property="og:description" content="' , !empty($context['meta_description']) ? $context['meta_description'] : $modSettings['meta_data_description_text'], '" />';
echo '
<meta property="og:image" content="http://www.mydomain.com/logofb.jpg" />';
echo '
<meta property="og:site_name" content="',$context['forum_name'],'" />
<meta property="fb:app_id" content="myapp_id" />';
} // facebook and OG



it's working good for topic pages, but not for smf articles. what's wrong?
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: vbgamer45 on June 16, 2015, 12:13:40 PM
Maybe $context['article'] isn't set?
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: Ataru Moroboshi on June 17, 2015, 03:59:36 AM
$context['article'] is set, and  'property="og:url"' is correctly compiled in html page

but when i test page in https://developers.facebook.com/tools/debug/og/object/ it fetches home page instead of article page

can't figure why
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: vbgamer45 on June 17, 2015, 10:30:47 AM
Because you have this set
echo '
         <meta property="og:image" content="http://www.mydomain.com/logofb.jpg" />';
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: Ataru Moroboshi on June 18, 2015, 01:17:41 AM
It's an image that is shown when the link is shared with Facebook. Required in og guidelines for fb
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: Ataru Moroboshi on June 18, 2015, 11:05:42 AM
I opened a ticket in facebook help,

they say PHPSESSID is the problem:

QuoteHi David,

When our crawler accesses your page your server is injecting a PHPSESSID into the url and in turn you are displaying it in your og:url. This is what the crawler sees when it accesses your site.

<meta property="og:url" content="http://www.mydomain.com/index.php?PHPSESSID=44khamiod3qpj5sgr38pscvmv0&amp%3B%2Faction%2Carticles%2Fsa%2Cview%2Farticle%2C93.html" />

As this is the url that the crawler believes you want to be used as the canonical it redirects to that location and scrapes it. If you visit that url you will see that the og tags on that page match your index page.

To rectify this you will need to ensure that you are not using this url with PHPSESSID in your og:url.

Thanks,
Darren

any idea?
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: vbgamer45 on June 18, 2015, 11:07:24 AM
No idea on session id but search the general smf support forums might be workarounds
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: Ataru Moroboshi on June 19, 2015, 10:13:14 AM
ok, now i made it work using single quotes for og:url content, and phpsessid is not shown, but i have to use urls without quests and ecommercial and equals, if i put variables in querystrings (?action=articles;sa=view&article=92) it stops working, while using slashes and commas (index.php/action,article/sa,view/article,92.html) it works

now i need to change all urls in articles2.php and articles.template.php to  :o

Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: Kindred on June 19, 2015, 10:15:07 AM
that would be because facebook is a decade behind the times in parsing valid URLs
Title: Re: SMF Articles 3.0 Released with SMF 2.1 Beta support! and SMF 2.0.x and SMF 1.1.x
Post by: vbgamer45 on June 19, 2015, 10:18:33 AM
Bascilly replace any ; in the url with an &
Title: Re: SMF Articles
Post by: SMFHacks.com Team on July 01, 2015, 09:17:20 PM
Update
3.0.2
!Delete invalid pictures when they fail to upload
Title: Re: SMF Articles
Post by: KarmicStigmata on July 07, 2015, 04:52:56 PM
I am using 3.0 of your Article system.  I had someone post an article last night to test it (un-modded) in any shape way or form and now every time someone goes to the article portion whatsoever.  It loops with an approve request for the article, we  had about 10 last night and 2 today.  He isn't even home.
Title: Re: SMF Articles
Post by: vbgamer45 on July 07, 2015, 04:57:24 PM
When trying to view the article?
Like what does it do?
Title: Re: SMF Articles
Post by: KarmicStigmata on July 08, 2015, 11:41:45 PM
I have no clue.  For some reason everytime you clicked on the Articles page, it would disapprove the article but the article was still live.  So it did it like 8 times, we just reinstalled and it was fine.
Title: Re: SMF Articles
Post by: vbgamer45 on July 09, 2015, 12:08:59 AM
Glad you have it working now
Title: Re: SMF Articles
Post by: iain sherriff on August 02, 2015, 07:11:25 AM
Anyone know if there is a way to get Simple Thread Tags mod working with Articles ?
Title: Re: SMF Articles
Post by: vbgamer45 on August 02, 2015, 01:19:38 PM
I am not aware of any mods for that at this time.
Title: Re: SMF Articles
Post by: iain sherriff on August 03, 2015, 04:35:32 AM
OK thanks
Title: Re: SMF Articles
Post by: Grammy on May 05, 2016, 08:47:20 PM
I'm sorry to have to ask, but will the 3.0 zip be put back on the modification link for this mod, or is this officially unsupported?  I'm just trying to build my SMF forum and am picking my way through the mods and am just a bit confused.   :)
Title: Re: SMF Articles
Post by: vbgamer45 on May 05, 2016, 09:05:00 PM
I think I just had it mislabeled.
Title: Re: SMF Articles
Post by: Grammy on May 05, 2016, 10:03:16 PM
Hi, vbgamer45 and thanks.  I did upload the zip and installed, all just fine, but when it took me to the settings page, there was a warning that said "Your Version 2.0.2. Is Outdated" and mentioned that I should upgrade to 3.0.  So, I opened the zip and read the package-info.xml and it says it's 2.0.2.  But it's the only one on the mod link.   :-\
Title: Re: SMF Articles
Post by: vbgamer45 on May 05, 2016, 10:08:59 PM
Fixed reuploaded that version.
Title: Re: SMF Articles
Post by: Grammy on May 05, 2016, 10:13:13 PM
Oh, thanks so much!  I hear this is a great mod, so I'm eager to try it.  Thanks again.   :)
Title: Re: SMF Articles
Post by: Grammy on May 06, 2016, 08:27:12 AM
Forgive me for asking, vbgamer45, because I know you guys are busy with other things, but I was wondering if it's possible to be able to preview an article before posting, as one can with a regular post (as we can here, for instance)?  I've just tried a test article and, while there is an "Add Article" button, I'm sort of working blind, because there's no way to know how it will look before I commit it. 

It it's a lot of trouble, no worries, but one has to ask.   :)
Title: Re: SMF Articles
Post by: vbgamer45 on May 06, 2016, 12:46:08 PM
Not at the moment my time is very limited.
Title: Re: SMF Articles
Post by: Grammy on May 06, 2016, 06:04:37 PM
Quote from: vbgamer45 on May 06, 2016, 12:46:08 PM
Not at the moment my time is very limited.

Yes, I realize you're busy, but I rolled the dice, and asked, anyway.   :)

Thanks so much for the mod. 
Title: Re: SMF Articles
Post by: roza on June 04, 2016, 06:41:51 AM
Thanks @vbgamer45 for this mod!
I've just started using this and have some questions. First I'm looking for the code I should change to make the sub categories titles in index table bold. I could make main categories titles bold by changing the following piece of code in Articles2.template file but could not find the code for sub categories there. I'll wait for your kind advices as always! Thanks in advance.


foreach ($context['articles_cat'] as $row)
{


$totalarticles = GetArticleTotals($row['ID_CAT']);


echo '<tr>';


if ($row['imageurl'] == '')
echo '<td class="windowbg" width="10%"></td><td  class="windowbg2"><b><a style="font-weight:bold;" href="', $scripturl, '?action=articles;cat=', $row['ID_CAT'], '">',parse_bbc($row['title']), '</a></b> ' . (!empty($modSettings['smfarticles_showrss']) ? '<a style="font-weight:bold;" href="' . $scripturl . '?action=articles;sa=rss;cat=' . $row['ID_CAT'] . '"><img src="' . $modSettings['articles_url'] . 'rss.png" alt="rss" /></a>' : '') . '<br />', parse_bbc($row['description']), '</td>';
else
{
echo '
<td class="windowbg"><a style="font-weight:bold;" href="', $scripturl, '?action=articles;cat=', $row['ID_CAT'], '"><img src="', $row['imageurl'], '" border="0" alt="" /></a></td>
<td class="windowbg2"><b><a style="font-weight:bold;" href="', $scripturl, '?action=articles;cat=', $row['ID_CAT'], '">', parse_bbc($row['title']), '</a></b> ' . (!empty($modSettings['smfarticles_showrss']) ? '<a style="font-weight:bold;" href="' . $scripturl . '?action=articles;sa=rss;cat=' . $row['ID_CAT'] . '"><img src="' . $modSettings['articles_url'] . 'rss.png" alt="rss" /></a>' : '') . '<br />', parse_bbc($row['description']), '</td>';
}
Title: Re: SMF Articles
Post by: vbgamer45 on June 04, 2016, 08:39:30 AM
That would be over here but looks like they are already bold...

// Show child Boards
if ($subcats_linktree  != '')
echo '<tr>
<td colspan="',($context['m_cats'] == true ? '5' : '3'), '" class="windowbg3">
<span class="smalltext">',($subcats_linktree != '' ? '<b>' . $txt['smfarticles_sub_cats'] . '</b>' . $subcats_linktree : ''),'</span>
</td>
</tr>';

Title: Re: SMF Articles
Post by: roza on June 04, 2016, 05:29:01 PM
Thanks for your quick replay. Due to my poor English, I think I could't explain my request well. When I say I'd like to make titles of sub categories bold, I mean the second page which is load after clicking on one of the main categories in main category list. The page which contains the index table of sub categories on top followed by the list of articles not the small text link tree like row that is below the description of each category in main category list of articles main page. Although I can see <b> tags there but I don't know why they don't work! I'm pretty newbie in coding so could you please tell me if there is the proper name id or class that I can use in a css file for this matter? I mean some thing like this:
#smfarticles_subcats a:link { font-weight: bold; }
I'm sorry if this sounds silly question and thanks again for kind support!
Title: Re: SMF Articles
Post by: roza on June 07, 2016, 09:39:29 AM
Sorry but I'm still seeking answer!
Title: Re: SMF Articles
Post by: vbgamer45 on June 07, 2016, 10:45:07 AM
I am not sure what to do. There is no css with this mod.
Title: Re: SMF Articles
Post by: roza on June 08, 2016, 07:21:46 AM
Never mind, finally I could sort that out! The cods needed for table of categories was in Articles2.template.php but cods of the table of sub categories was in Articles2.php. thanks anyway.
Title: Re: SMF Articles
Post by: IzzySoft on June 27, 2016, 07:25:39 AM
hi all,

hope everyone is doing well.

i'm liking SMF Articles mod so far. Coodos to the author.

Question: Does anyone know if the Breadcrumbs could show:
"Home >> Articles" when its just "?action=articles". No "cat=#" or "subaction=*".

Some Mod's show it, others don't. If i need to hack the code, i'll do it. As long as it shows the Mod's root node in the Breadcrumbs.

Any hints?
Thanks.
Title: Re: SMF Articles
Post by: vbgamer45 on June 27, 2016, 08:00:40 PM
It shows the root node.
Then when viewing an article it shows the category breadcrumb
Title: Re: SMF Articles
Post by: IzzySoft on June 27, 2016, 11:08:16 PM
thanks for replying fast. :)

link to page: http://kissui.izzysoft.com/support/index.php?action=articles

i'm wondering how to always show `Articles`, which i can't see at this moment.
ex:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimage.prntscr.com%2Fimage%2F8c44db7a3c0e433a8f0affe1811f960b.png&hash=d07bc72f613f20c31e36b3c76e5a75229a9197b3)

thanks for any help, Izzy.

edit:

even if i'm a n00blet to PHP, SMF, i tried looking at ./Sources/Articles2.php
i though perhaps the section that sets the page title to this code (below), was the section to focus on?

// Set page title
$context['page_title'] = $mbname . ' - ' . $txt['smfarticles_title'];


so i looked and looked and maybe mistakenly thought that this code (below) would force the "$ >> Articles" to show now, addd this just below the code that Sets the Page Title (from above)

// Set Breadcrumbs
$context['linktree'][] = array(
'url' => $scripturl . '?action=articles',
'name' => $txt['smfarticles_title']
);


but nope. :[

Could it be a Template?
The Display script that's the culprit instead? :p
SFM version 2.0.11?

i'm not sure. brain overload. :{
Title: Re: SMF Articles
Post by: IzzySoft on July 02, 2016, 05:01:47 AM
i think i have what i wanted... thanks. :D

ex:
(https://i.imgur.com/kkYNFl7.png)
Title: Re: SMF Articles
Post by: vbgamer45 on July 02, 2016, 08:19:07 AM
That looks good.
Title: Re: SMF Articles
Post by: acsieben on July 02, 2016, 10:50:54 AM
I have no idea if anyone else caught this, but urls in RSS feeds were not working.

Inside Articles2.php I changed this:

?action=articles;sa=view&id=

to this:

?action=articles;sa=view;article=

I'm using this to populate a SimplePortal Block, given I couldn't find any native support for this mod.

Cheers
Title: Re: SMF Articles
Post by: IzzySoft on July 03, 2016, 06:27:02 PM
another minor thing...

Description disappears when i press [Edit]

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.giphy.com%2F3oEjHTpU7WKPxVqvh6.gif&hash=37a24398c9f1b436388f8c7d5ed9877e45056b1d)

Is this just happening for me? :p

Any hacks you already added to address the Description not showing would be great. :)

Thanks.
Title: Re: SMF Articles
Post by: vbgamer45 on July 03, 2016, 09:33:01 PM
What SMF version and what browser?
Title: Re: SMF Articles
Post by: IzzySoft on July 03, 2016, 10:09:15 PM
Quote from: vbgamer45 on July 03, 2016, 09:33:01 PM
What SMF version and what browser?

SMF ver 2.0.11

(https://i.imgur.com/3Z8pyeZ.png)

(https://i.imgur.com/qtuPbWy.png)
Title: Re: SMF Articles
Post by: IzzySoft on July 06, 2016, 08:25:39 PM
I think the culprit lies here?

(https://i.imgur.com/P535NR6.png)

Wait... where is the 'title'?

Doesn't the title go into the 'id'?


// Now create the editor.
$editorOptions = array(
'id' => 'title',
'value' => 'descript',
'width' => '90%',
'form' => 'catform',
'labels' => array(
'editcat' => $txt['smfarticles_editcat']
),
);


'id' => 'title',
'value' => 'descript',

Ehhh, i know not what to do. :p
Help?! :)
Title: Re: SMF Articles
Post by: IzzySoft on July 06, 2016, 09:57:17 PM
Wait.. i think i got it.

function i updated in Articles2.php

function EditCat()
{
global $context, $mbname, $txt, $smcFunc, $sourcedir;

// Check if they can add categories
isAllowedTo('articles_admin');

$cat = (int) $_REQUEST['cat'];
// Check if an article was selected
if (empty($cat))
fatal_error($txt['smfarticles_nocatselected']);

/*
// Needed for the WYSIWYG editor.
require_once($sourcedir . '/Subs-Editor.php');

// Now create the editor.
$editorOptions = array(
'id' => 'descript',
'value' => '',
'width' => '90%',
'form' => 'catform',
'labels' => array(
'editcat' => $txt['smfarticles_editcat']
),
);
create_control_richedit($editorOptions);
$context['post_box_name'] = $editorOptions['id'];
*/

// Load the subtemplate for the category
$context['sub_template']  = 'editcat';

// Set the page title
$context['page_title'] = $mbname  . ' - ' .  $txt['smfarticles_title'] . ' - ' . $txt['smfarticles_editcat'];

$dbresult = $smcFunc['db_query']('', "
SELECT
ID_CAT, title, roworder, ID_PARENT
FROM {db_prefix}articles_cat ORDER BY title ASC");
$context['articles_cat'] = array();
while ($row = $smcFunc['db_fetch_assoc']($dbresult))
{
// Can't be a parent of itself
if ($row['ID_CAT'] == $cat)
continue;

$context['articles_cat'][] = $row;
}
$smcFunc['db_free_result']($dbresult);

CreateArticlesPrettryCategory();

// Get category information
$dbresult = $smcFunc['db_query']('', "
SELECT
ID_CAT, title, description, imageurl, ID_PARENT
FROM {db_prefix}articles_cat
WHERE ID_CAT = $cat");
$row = $smcFunc['db_fetch_assoc']($dbresult);
$smcFunc['db_free_result']($dbresult);
$context['articles_data'] = $row;


// Needed for the WYSIWYG editor.
require_once($sourcedir . '/Subs-Editor.php');

// Now create the editor.
$editorOptions = array(
'id' => 'descript',
'value' => $context['articles_data']['description'],
'width' => '90%',
'form' => 'catform',
'labels' => array(
'editcat' => $txt['smfarticles_editcat']
),
);
create_control_richedit($editorOptions);
$context['post_box_name'] = $editorOptions['id'];
}


phew... ;D
Title: Re: SMF Articles
Post by: vbgamer45 on July 07, 2016, 01:14:46 PM
What did you update changing to get it to work?
Title: Re: SMF Articles
Post by: IzzySoft on July 07, 2016, 01:35:12 PM

// Needed for the WYSIWYG editor.
require_once($sourcedir . '/Subs-Editor.php');

// Now create the editor.
$editorOptions = array(
'id' => 'descript',
'value' => '',
'width' => '90%',
'form' => 'catform',
'labels' => array(
'editcat' => $txt['smfarticles_editcat']
),
);
create_control_richedit($editorOptions);
$context['post_box_name'] = $editorOptions['id'];


moved to end of function, and changed...

'value' => '',
   ...to...
'value' => $context['articles_data']['description'],

:)
Title: Re: SMF Articles
Post by: vbgamer45 on July 07, 2016, 01:59:54 PM
ok good to know
Title: Re: SMF Articles
Post by: IzzySoft on July 07, 2016, 02:39:34 PM
Thank you for working on this Mod.

And from what little i saw browsing here, thank you for helping everyone out when you have a free minute.

Very much appreciated. ;D
Title: Re: SMF Articles
Post by: vbgamer45 on July 08, 2016, 10:57:56 AM
Strange I checked my mod code and I had
'value' => $row['description'],

In the code so maybe you changed some files?
Title: Re: SMF Articles
Post by: IzzySoft on July 08, 2016, 03:37:24 PM
(https://i.imgur.com/v8iOVIu.png)

you might be right. I installed most Mods from the SMF Package Manager. ;)
Title: Re: SMF Articles
Post by: Siirist on July 11, 2016, 10:04:43 AM
Hello,

I installed this under the advice of Kindred.

I know nothing about this, other than it creates a method of creating, approving, sorting, editing, and deleting articles.

I looked at the permissions and it is straight forward about what is permitted and what is not based on membergroup.

I do not believe that this is going to work for me, because when adjusting permissions, it allows all regular members to do something.

My preferences are that a lower post-count membergroup can view articles, but cannot post/create them, and higher post-count membergroups can post/create them.

This provides incentive for members to post. At least that is the way I see it.

To facilitate my desires, I have created boards that members can see, but are read-only, then as a child-board, higher post-count membergroups can "submit" articles (lower post-count membergroups cannot see this board) and the submissions are viewed by the Staff and either approved (moved to the parent board), or are not approved and moved to the Recycle Bin.

Am I way off here, or is my thinking sound?

Be Well,
Siirist
Title: Re: SMF Articles
Post by: Kindred on July 11, 2016, 11:04:45 AM
of course it allows that....  you just have to turn off ("disallow") permissions for the regular members group and then ALLOW for the post-count based groups.
I use exactly that setup on 40konline.

Old-time members are allowed to post articles - must be approved by an admin
all members are allowed to read articles.

These are the permissions...
View Articles          
Add Article          
Edit own Articles          
Delete own Articles          
Rate Articles          
Leave Comments          
Articles Auto Approved          
Auto Approve Comments          
Admin Articles


If auto-approve is not allowed, then the article or comment must be approved by someone with Admin Articles permission
Title: Re: SMF Articles
Post by: Siirist on July 12, 2016, 11:48:06 AM
Kindred,

Thank you so much for this detailed clarification.   :)

I discussed this and the Knowledge Base mod with the forum owner, and she is not interested at this time due to the "newness" of the forum.

I have un-installed, but they remain up-loaded for future use should the need arise.

As always, I appreciate your words.

Be Well,
Siirist
Title: Re: SMF Articles
Post by: Hondo on August 04, 2016, 01:36:31 PM
Hello,
first thank you for this mod.
Does anybody has a german translation of this mod?

Thanks!
Andreas
Title: Re: SMF Articles
Post by: vbgamer45 on August 04, 2016, 02:09:36 PM
Not sure you can try searching this topic.
Title: Re: SMF Articles
Post by: MrMike on August 04, 2016, 03:30:25 PM
Quote from: Hondo on August 04, 2016, 01:36:31 PM
Does anybody has a german translation of this mod?

I've made some passable translations of a few mods using Google Translate, pasting the strings in and then copying them into a new language file. They aren't perfect but in most cases they're good enough to be understandable.

Also, there are some forums like http://linguaholic.com (http://linguaholic.com) that can help you with translations.
Title: Re: SMF Articles
Post by: Hondo on August 04, 2016, 03:41:06 PM
Hi vbgamer45,
I have tried the Search.
I searched to "german", "deutsche" and "translation"
I don't find anything suitable.

@ MrMike,
Its not the problem to translate it - it is a problem of time I need for this.

Thanks anyway
Andreas
Title: Re: SMF Articles
Post by: MrMike on August 04, 2016, 04:11:35 PM
Quote from: Hondo on August 04, 2016, 03:41:06 PM
Its not the problem to translate it - it is a problem of time I need for this.

Unless there are a ton of strings it shouldn't take more than a couple of hours to do it in google. It might not be a perfect translation but it'll usually be good enough to use.
Title: Re: SMF Articles
Post by: brynn on April 29, 2017, 06:16:11 PM
Hi Friends,
A member just alerted me to the fact that people who are not logged in (guest or member) can't view a list of articles by that user, if the user gives them a link to My Articles.  We have figured out that that particular button only displays the articles of the person who clicks it.  So if I follow the link he provided for his My Articles, I only see my articles.

It does seem reasonable that people not logged in, and even guests should be able to see the list (if the permission is set that way, which it is).  I would expect all the editing buttons to be grayed out or missing.  But the list with links, just to read the articles, I'm not sure why it's blocked.

We're banging our heads trying to find a way for one member to show a list of all his articles, which are scattered through a few different categories, on one page.

The forum search doesn't search articles.  The article search won't search by username, with the search field blank.  And how can you fill in a 3 letter search term and be sure it will find all the member's articles?  Even if you wanted to use google, his articles are scattered through categories, so you'd have to search each category, wouldn't you?  Or is there a way to use google, and only have articles, or at least all his articles at the top, in the results?

Any ideas?

Thank you very much   :)
Title: Re: SMF Articles
Post by: Kindred on April 29, 2017, 07:45:30 PM
If the my articles link has no userid included, of course you would see YOUR articles (and guests would see none)

This is correct and appropriate - just like the user profile

In order to share a user's list of articles, he/you would need to include the userid in the URL
Title: Re: SMF Articles
Post by: brynn on May 01, 2017, 04:40:10 PM
Thanks Kindred  :)

Well this is the link to his My Articles:  http://forum.inkscapecommunity.com/index.php?action=articles;sa=myarticles;u=14

When I follow it, I see my articles.

This is the link to my My Articles:  https://forum.inkscapecommunity.com/index.php?action=articles;sa=myarticles;u=1

When he follows it, he sees his articles.

Edit
We've pretty much concluded that a guest would not be able to see the articles using My Articles link, in any case.  What we need is a way to display a list of a member's articles.

Can anyone think of a way?

Thanks again  :)
Title: Re: SMF Articles. No link in menu after install
Post by: mysimplesite on August 04, 2017, 01:57:07 AM
Running 2.0.14, php7, default theme

After successful installion there was no link in the menu bar for Articles. Couldn't add an article.

I created a Category, set permissions but no navigation link for Articles as shown in mod images.

Uninstalleld, reinstalled, no navigation bar.

Any idea what went wrong?
Title: Re: SMF Articles
Post by: vbgamer45 on August 04, 2017, 08:53:21 AM
Are you using the default language? You can't see the menu item asn admin?
Title: Re: SMF Articles
Post by: mysimplesite on August 04, 2017, 09:42:05 AM
I'm using the default English language for smf and default core theme.

From the Admin menu area I can see the Articles Configuration and its sub-items. There is the Settings which has an Articles url and an Articles Path.

I suppose I can take the Articles URL and make my own link in the main menu bar, but I thought the program would make the menu bar link automatically.
Title: Re: SMF Articles
Post by: vbgamer45 on August 04, 2017, 09:42:44 AM
It does add it to the menu by default

You can upload the mod to http://smfhacks.com/smf-package-parser.html and follow the edits and make sure they were applied. Mainly the ones to Subs.php
Title: Re: SMF Articles
Post by: mysimplesite on August 04, 2017, 11:13:01 AM
The code was added properly to the subs.php.

I'll check the rest later. I'll be in meetings for about 4 hours from now.

Thanks for your help. Much appreciated.
Title: Re: SMF Articles
Post by: vbgamer45 on August 04, 2017, 11:43:51 AM
hmm yeah i would check your themes languges modifications.english.php file as well.
Title: Re: SMF Articles
Post by: mysimplesite on August 04, 2017, 03:55:12 PM
Found the problem.

Menu Editor Lite was in conflict somehow with SMF Articles. I uninstalled MEL, reinstalled SMFArtiicles and it worked like a charm.

Now I just have to find another Menu editor.

Thanks for your help, vbgamer45. I appreciate it. Looking forward to enjoying your Articles mod.
Title: Re: SMF Articles
Post by: vbgamer45 on August 04, 2017, 04:44:52 PM
Glad you have it working!
Title: Re: SMF Articles
Post by: inkvfd on August 08, 2017, 11:14:13 PM
I hope that I am in the right place. Using Forum version: SMF 2.0.14. with SMF Articles   2.5.1a
Is there a way to hide the Edit and the Delete buttons from guest?
Title: Re: SMF Articles
Post by: vbgamer45 on August 09, 2017, 12:15:43 AM
They shouldn't be visible unless you gave guests those permissions.
Title: Re: SMF Articles
Post by: inkvfd on August 09, 2017, 09:11:17 AM
Here is my print screen of permissions for guest and an Article page.
Title: Re: SMF Articles
Post by: Westwegoman on October 05, 2017, 11:01:01 PM
Is there a way to show a list of articles from one category on a page or a SP block?
Title: Re: SMF Articles
Post by: vbgamer45 on October 05, 2017, 11:25:52 PM
I don't have one for SP I did wirite block for ezPortal.

Code i used


$rows  = (int) 1;
$articles = (int)  3;
$category = (int)  1;




// Check if articles system is installed

// Load the language files
if (loadlanguage('Articles') == false)
loadLanguage('Articles','english');




$maxrowlevel = $rows;
echo '<table cellspacing="0" cellpadding="5" border="0" align="center" width="100%">
';
//Check what type it is
$query = ' ';
switch($type)
{
case 'recent':
$query = "SELECT a.ID_ARTICLE, a.title, a.date, a.rating, a.totalratings, m.real_name, a.ID_MEMBER, a.description, a.views, a.commenttotal
FROM {db_prefix}articles AS a
LEFT JOIN {db_prefix}members AS m  ON (a.ID_MEMBER = m.ID_MEMBER)
WHERE  a.approved = 1  ORDER BY a.ID_ARTICLE DESC LIMIT $articles";
break;

case 'viewed':
$query = "SELECT a.ID_ARTICLE, a.title, a.date, a.rating, a.totalratings, m.real_name, a.ID_MEMBER, a.description, a.views, a.commenttotal
FROM {db_prefix}articles AS a
LEFT JOIN {db_prefix}members AS m  ON (a.ID_MEMBER = m.ID_MEMBER)
WHERE a.approved = 1  ORDER BY a.views DESC LIMIT $articles";
break;

case 'mostcomments':
$query = "SELECT a.ID_ARTICLE, a.title, a.date, a.rating, a.totalratings, m.real_name, a.ID_MEMBER, a.description, a.views, a.commenttotal
FROM {db_prefix}articles AS a
LEFT JOIN {db_prefix}members AS m  ON (a.ID_MEMBER = m.ID_MEMBER)
WHERE a.approved = 1  ORDER BY p.commenttotal DESC LIMIT $articles";
break;

case 'toprated':
$query = "SELECT a.ID_ARTICLE, a.title, a.date, a.rating, a.totalratings, m.real_name,
a.ID_MEMBER, a.description, a.views, a.commenttotal,
(a.rating / a.totalratings ) AS ratingaverage
FROM {db_prefix}articles AS a
LEFT JOIN {db_prefix}members AS m  ON (a.ID_MEMBER = m.ID_MEMBER)
WHERE a.approved = 1  ORDER BY ratingaverage DESC LIMIT $articles ";
break;
}
// Execute the SQL query
$dbresult = $smcFunc['db_query']('', $query);
$rowlevel = 0;
while($row = $smcFunc['db_fetch_assoc']($dbresult))
{
if ($rowlevel == 0)
echo '<tr class="windowbg2">';

echo '<td align="center"><a href="' , $scripturl , '?action=articles;sa=view;article=', $row['ID_ARTICLE'], '">', $row['title'], '</a><br />';
echo '<span class="smalltext">';


if (!empty($modSettings['smfarticles_disp_rating']))
{
echo $txt['smfarticles_crating'],' ' , EzGetStarsByPrecent(($row['totalratings'] != 0) ? ($row['rating'] / ($row['totalratings']* 5) * 100) : 0),'<br />';
}


if (!empty($modSettings['smfarticles_disp_totalcomment']))
echo  $txt['smfarticles_txt_comments'], ' ', $row['commenttotal'], '<br />';


if (!empty($modSettings['smfarticles_disp_views']))
echo $txt['smfarticles_cviews'], ' ', $row['views'], '<br />';

// Check if it was a guest article
if (!empty($modSettings['smfarticles_disp_membername']))
if ($row['real_name'] != '')
echo $txt['ezp_gallery_text_by'],' <a href="', $scripturl, '?action=profile;u=', $row['ID_MEMBER'], '">', $row['real_name'], '</a><br />';
else
echo $txt['ezp_gallery_text_by'],' ', $txt['smfarticles_txtguest'], '<br />';

if (!empty($modSettings['smfarticles_disp_date']))
echo  $txt['smfarticles_cdate'],' ', timeformat($row['date']), '<br />';




echo '</span></td>';


if ($rowlevel < ($maxrowlevel-1))
$rowlevel++;
else
{
echo '</tr>';
$rowlevel = 0;
}
}
if ($rowlevel !=0)
{
echo '</tr>';
}

echo '
      </table><br />';
Title: Re: SMF Articles
Post by: Westwegoman on October 08, 2017, 11:36:36 PM
Thanks for the code but I get a fatal error when trying this by adding a page to the portal or a block.

/community/Sources/Subs-Portal.php(1167) : eval()'d code on line 55
Title: Re: SMF Articles
Post by: vbgamer45 on October 08, 2017, 11:54:49 PM
Before that code try adding
global $smcFunc, $txt, $scripturl;
Title: Re: SMF Articles
Post by: Westwegoman on October 09, 2017, 12:04:17 AM
Ok. I'll give it a try tomorrow. Thanks for the help.
Title: Re: SMF Articles
Post by: Westwegoman on October 10, 2017, 10:41:56 PM
No more errors but it also doesn't show the article list.

Get the following error now.


http://www.segnette.com/community/index.php?/page,hunting_articles.html
Apply Filter: Only show the errors with the same message
2: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given
Apply Filter: Only show the errors from this file
File: /Sources/Subs-Portal.php(1167) : eval()'d code
Line: 58
Title: Re: SMF Articles
Post by: vbgamer45 on October 10, 2017, 11:27:24 PM
Also set above it
$type = 'recent'';
Title: Re: SMF Articles
Post by: Westwegoman on October 11, 2017, 04:13:10 PM
An error has occurred:

Syntax error in block code. Please check the code.

I noticed it looked like there was a typo...

$type = 'recent'';

Changed to $type = 'recent'; but no luck.
Title: Re: SMF Articles
Post by: Secureas on November 23, 2017, 01:41:56 PM
I am getting a error when using the rss feature.

https://n6aq.com/index.php?action=articles;sa=view&id=2 (Produces Error)

https://n6aq.com/index.php?action=articles;sa=view;article=2

This happens when you either click on the source of the rss feed or on the Title link of the rss feed. Any help on this is appreciated.

Thanks

I found the fix
Quote
Re: SMF Articles
« Reply #919 on: Korrik 02, 2016, 10:50:54 PD »

    Quote

I have no idea if anyone else caught this, but urls in RSS feeds were not working.

Inside Articles2.php I changed this:

Code: [Select]

?action=articles;sa=view&id=


to this:

Code: [Select]

?action=articles;sa=view;article=


I'm using this to populate a SimplePortal Block, given I couldn't find any native support for this mod.

Cheers
Title: Re: SMF Articles
Post by: SMFHacks.com Team on November 23, 2017, 09:36:53 PM
Update
3.0.3
!Fixed article RSS feed url for article view
Title: Re: SMF Articles
Post by: Secureas on November 23, 2017, 10:16:44 PM
Thanks, the only one I can find is SMFArticles3.0.2a.zip
Title: Re: SMF Articles
Post by: vbgamer45 on November 23, 2017, 10:49:28 PM
It is on https://custom.simplemachines.org/mods/index.php?mod=1354
Title: Re: SMF Articles
Post by: Tenebroso_MW on January 22, 2018, 01:12:03 PM
Is there some code to adapt it to responsive to smf ?.

It's a shame, but adapted to mobile is the present.

thanks, good mod. Congratulations

Tenebroso
Saludos
Title: Re: SMF Articles
Post by: vbgamer45 on January 22, 2018, 01:26:31 PM
There is not.
Title: Re: SMF Articles
Post by: Tenebroso_MW on January 22, 2018, 01:33:50 PM
Thanks, I will try to eliminate a line from side to side, maybe it will fit.

I will look what I can do.

Thank you artist
Title: Re: SMF Articles
Post by: AllanD on March 04, 2018, 07:43:03 PM
How can I change the name from articles to something different?
Title: Re: SMF Articles
Post by: vbgamer45 on March 04, 2018, 08:49:06 PM
Change the language files in themes/default/languages/modifications.english.php
Title: Re: SMF Articles
Post by: AllanD on March 05, 2018, 06:01:36 AM
ok thank you will give it a go after work today.
Title: Re: SMF Articles
Post by: AllanD on March 05, 2018, 01:59:25 PM
Quote from: vbgamer45 on March 04, 2018, 08:49:06 PM
Change the language files in themes/default/languages/modifications.english.php
VB do I change all the words that have 'article' to the new word or just particular ones?
Title: Re: SMF Articles
Post by: vbgamer45 on March 05, 2018, 02:14:35 PM
Anything in = ''Articles';
do not change anything in $txt[]
Title: Re: SMF Articles
Post by: AllanD on March 05, 2018, 02:30:22 PM
Thank you once again.
Title: Re: SMF Articles
Post by: vbgamer45 on March 05, 2018, 02:34:08 PM
Glad to help
Title: Re: SMF Articles
Post by: AllanD on March 05, 2018, 03:54:54 PM
I have changed all the text, changed on the menu only but nothing inside the article area, here is link http://yummieinmytummie.com/smf/index.php?action=articles
Title: Re: SMF Articles
Post by: vbgamer45 on March 05, 2018, 04:05:00 PM
You also need to change text in articles.english.php if you want those to change as well.
Title: Re: SMF Articles
Post by: AllanD on March 05, 2018, 05:08:32 PM
Thank you again that was able to change everything that I needed. I appreciate you taking the extra time to help.
Title: Re: SMF Articles
Post by: Chen Zhen on May 06, 2018, 12:29:39 AM
Branch: SMF 2.1

I just briefly tested this mod for someone that was having an issue.

The installer adds both manual parsing edits & hooks that have the same purpose.
The redundant file edits need to be removed and perhaps add an icon (& path in its hook) for the navigation menu.
Title: Re: SMF Articles
Post by: SMFHacks.com Team on May 06, 2018, 01:04:14 AM
Thanks for the report had a bug with the package-info.xml

3.0.3a
!Fixed install for SMF 2.1 Beta editions
!Fixed some https links for social media
Title: Re: SMF Articles
Post by: Aleksi "Lex" Kilpinen on May 06, 2018, 10:26:39 AM
A nice system, but the permissions don't really play like SMF permissions usually do. I can not seem to be able to make a category that is viewable only by one membergroup.
At least I haven't found a way to do that.

To explain a bit further:
My permissions on the forum use allow, disallow and deny.
The membergroup permission to view in forum wide permissions is allowed for everyone, because this is a master setting for the articles page.
I have a membergroup X that I would like to give exclusive access to a category, regardless of that group being in primary or secondary group for the member.
So far I have not been able to find a combination of the permissions that would allow this. Either everyone gets in, or no one gets in. ( Well, I can limit out groups completely, like guests - but if I limit say group Y, and a member is in both Y and X he will not get in because Y is denied. )
Title: Re: SMF Articles
Post by: Chen Zhen on May 06, 2018, 11:50:31 AM
re. permissions

Edit the hooks file & replace the articles_load_permissions function with the following:

function articles_load_permissions(&$permissionGroups, &$permissionList, &$leftPermissionGroups, &$hiddenPermissions, &$relabelPermissions)
{
global $context, $modSettings;

$permissionList['membergroup'] += array(
'view_articles' => array(false, 'smfarticles', 'smfarticles'),
'add_articles' => array(false, 'smfarticles', 'smfarticles'),
'edit_articles' => array(false, 'smfarticles', 'smfarticles'),
'delete_articles' => array(false, 'smfarticles', 'smfarticles'),
'rate_articles' => array(false, 'smfarticles', 'smfarticles'),
'articles_comment' => array(false, 'smfarticles', 'smfarticles'),
'articles_auto_approve' => array(false, 'smfarticles', 'smfarticles'),
'articles_autocomment' => array(false, 'smfarticles', 'smfarticles'),
'articles_admin' => array(false, 'smfarticles', 'smfarticles'),
);

// SMF 2.1 branch behavior will differ
$version = version_compare((!empty($modSettings['smfVersion']) ? substr($modSettings['smfVersion'], 0, 3) : '2.0'), '2.1', '<') ? 'v2.0' : 'v2.1';

if ($version === 'v2.0')
{
$permissionGroups['membergroup']['simple'] += array(
'smfarticles',
);
$permissionGroups['membergroup']['classic'] += array(
'smfarticles',
);
}
else
$permissionGroups['membergroup'] += array(
'smfarticles',
);

}
Title: Re: SMF Articles
Post by: Aleksi "Lex" Kilpinen on May 06, 2018, 12:37:38 PM
Thanks Chen Zhen, that looks like a promising suggestion - but sadly, the 2.0 install doesn't seem to use the hooks file..
Title: Re: SMF Articles
Post by: Chen Zhen on May 06, 2018, 01:01:08 PM

re. permissions

I'll give you a modified install file.
It's not my mod therefore I will not upload an updated package.

You'll have to unzip the package and replace the articles2.xml file with what is attached then re-zip the package and install it on your forum.
Report back and let us know if it resolves your issue.
If it does perhaps vbgamer will update his package with the fix.



Title: Re: SMF Articles
Post by: vbgamer45 on May 06, 2018, 01:02:27 PM
Permissions I want to redo one day. Right now everything is allow all. And the only way to deny is deny each member group
Title: Re: SMF Articles
Post by: Aleksi "Lex" Kilpinen on May 06, 2018, 01:03:04 PM
I'll take a look at it, thanks.
Title: Re: SMF Articles
Post by: Aleksi "Lex" Kilpinen on May 06, 2018, 01:20:08 PM
Quote from: Chen Zhen on May 06, 2018, 01:01:08 PM
re. permissions
Okay, thanks for the effort - but comparing the original and your file, I'd be willing to guess this will have no effect.
That would only edit the part where ManagePermissions.php specifically states that it's completely optional to use.

Quote
// List of all the groups dependant on the currently selected view - for the order so it looks pretty, yea?
// Note to Mod authors - you don't need to stick your permission group here if you don't mind SMF sticking it the last group of the page.
Title: Re: SMF Articles
Post by: Chen Zhen on May 06, 2018, 08:08:16 PM

The permissions for article categories have a unique table.

File: ../Sources/Articles2.php
function: MainView()

find:

if ($context['user']['is_guest'])
$groupid = -1;
else
$groupid =  $user_info['groups'][0];

// Set page title
$context['page_title'] = $mbname . ' - ' . $txt['smfarticles_title'];

$dbresult = $smcFunc['db_query']('', "
SELECT
c.ID_CAT, c.title, c.imageurl, c.filename, c.roworder, c.description, p.view 
FROM {db_prefix}articles_cat AS c
LEFT JOIN {db_prefix}articles_catperm AS p ON (p.ID_GROUP = $groupid AND c.ID_CAT = p.ID_CAT) 
WHERE c.ID_PARENT = 0 ORDER BY roworder ASC");
$context['articles_cat'] = array();
while ($row = $smcFunc['db_fetch_assoc']($dbresult))
{
// Skip category if they do not have permission to view it
if ($row['view'] == '0')
continue;

$context['articles_cat'][] = $row;
}
$smcFunc['db_free_result']($dbresult);


replace with:

if ($user_info['is_guest'])
$groupid = array(-1);
else
$groupid = $user_info['groups'];

// Set page title
$context['page_title'] = $mbname . ' - ' . $txt['smfarticles_title'];
$dbresult = $smcFunc['db_query']('', '
SELECT
c.ID_CAT, c.title, c.imageurl, c.filename, c.roworder, c.description, p.view, p.ID_GROUP
FROM {db_prefix}articles_cat AS c
LEFT JOIN {db_prefix}articles_catperm AS p ON (p.ID_CAT = c.ID_CAT)
WHERE c.ID_PARENT = 0
ORDER BY roworder ASC'
);
$context['articles_cat'] = array();

while ($row = $smcFunc['db_fetch_assoc']($dbresult))
{
// List category if they have permission to view it
if ($row['view'] != '0' && ($user_info['is_admin'] || in_array($row['ID_GROUP'], $groupid)))
$context['articles_cat'][] = $row;
}
$smcFunc['db_free_result']($dbresult);

Title: Re: SMF Articles (1.4 Released with SMF 2.0 support!)
Post by: Westwegoman on June 20, 2018, 08:47:32 PM
Quote from: Mick. on August 15, 2011, 05:28:09 PM
Vb, it seems that when 'liking' an article and pasting an article link on facebook, it does not take you to the article itself, it posts the home page link instead.

I just recently noticed that pasting a link to an article in Facebook actually posts a link that brings up the home page also.

I searched through but didn't see a solution, unless I missed it.
Title: Re: SMF Articles
Post by: vbgamer45 on June 20, 2018, 09:45:33 PM
It is probably do the url having a ; which SMF uses by default and Facebook does not like those characters.
Title: Re: SMF Articles
Post by: Westwegoman on June 20, 2018, 10:39:03 PM
Quote from: vbgamer45 on June 20, 2018, 09:45:33 PM
It is probably do the url having a ; which SMF uses by default and Facebook does not like those characters.

Ok thanks. I saw you had said that but didn't know if a work around had been discovered.
Title: Re: SMF Articles
Post by: vbgamer45 on June 20, 2018, 10:52:58 PM
Basically change the links to use & instead of ;
Title: Re: SMF Articles
Post by: Westwegoman on June 20, 2018, 11:34:59 PM
Quote from: vbgamer45 on June 20, 2018, 10:52:58 PM
Basically change the links to use & instead of ;

How would one go about doing that?
Title: Re: SMF Articles
Post by: vbgamer45 on June 20, 2018, 11:40:33 PM
It would require opening the template files for articles and changed the url passed in the facebook code I believe
Title: Re: SMF Articles
Post by: SMFHacks.com Team on February 13, 2019, 10:18:55 PM
3.0.3b
+Added install support for SMF 2.1 RC1
Title: Re: SMF Articles
Post by: Hatshepsut on April 15, 2020, 09:25:35 AM
I think this mod needs to be updated.
In SMF 2.1 RC2+, when I write an article, I get an error message directly in the editor window:

Notice: Undefined index: show_bbc in /home/bulataka/public_html/test/Themes/default/Articles2.1.template.php on line 853

Click => (https://i.postimg.cc/Xpcgrd6y/Error-Articles.jpg) (https://postimg.cc/Xpcgrd6y)

Also, when I try to import Tinyportal articles (I use Tinyportal 1.6.5), I get two error messages:

- first error message at the top:

Notice
: Undefined index: admin_menu_name in
/home/bulataka/public_html/test/Sources/Articles2.php
on line
1829


- second error message, as message box:

Database Error
Unknown column 'authorID' in 'field list'
File: /home/bulataka/public_html/test/Sources/Articles2.php
Line: 2912
Title: Re: SMF Articles
Post by: SMFHacks.com Team on April 15, 2020, 10:33:02 AM
Update

3.0.4
!Fixed importing new versions of TinyPortal article system
!Fixed some undefined errors for SMF 2.1.x
Title: Re: SMF Articles
Post by: Hatshepsut on April 15, 2020, 11:43:44 AM
Quote from: SMFHacks.com Team on April 15, 2020, 10:33:02 AM
Update

3.0.4
!Fixed importing new versions of TinyPortal article system
!Fixed some undefined errors for SMF 2.1.x

Thanks, problems solved :)
Title: There is no way to add a new article: SMF Articles 3.04
Post by: captcha on September 15, 2020, 08:06:58 AM
I tested SMF Articles 3.04 in SMF 2.0.17 and 2.1 RC. There is no way to add a new article. I added a category at first. Changed permissions to global moderator. There is no place can find add article button for any members (even if administrator, global moderator).
SMF Articles 3.03b can add a new article.
I do not if it is bug or there is any trick to add a new article.
Title: Re: SMF Articles
Post by: vbgamer45 on September 15, 2020, 09:59:36 AM
Inside the category do you have this near the bottom
"Add Sub Category - Add Article -  Return to Article Index"


Also, do you have any permissions setup on the category. If so can you take a screenshot of what you have setup.
Title: Re: SMF Articles
Post by: captcha on September 15, 2020, 07:52:58 PM
Thank you very much for your reply. I attached three pictures, I am not for sure they can be shown. The SMF 2.017, SMF-Articles 3.0.3b works, but 3.0.4 does not. I attached the screenshot when  'Articles' button is selected, and screenshot of permissions (3.0.4 at SMF 2.0.17).
For SMF version 2.1 RC, 3.0.4 did not work at first, after I installed 3.0.3b and created two categories, then uninstall 3.0.3b, reinstalled 3.0.4, 3.0.4 works.
Both logged in users are administrator. ( I tested global moderator, got the same results.)
Title: Re: SMF Articles
Post by: vbgamer45 on September 15, 2020, 08:28:18 PM
For permissions was asking about the permissions on the category level
Here is a quick video https://softwaredemos.tinytake.com/tt/NDYzMjA0MV8xNDY4MTY4Mw
Title: Re: SMF Articles
Post by: captcha on September 16, 2020, 07:23:40 AM
The SMF-Articles is the only package installed.
3.0.3b version, there is:
Add Category - Add Article - Settings -  Permissions
but 3.0.4 ( installed at SMF 2.0.17) there is no such thing.
In Admin, "Articles Configuration" is missing at 3.0.4 (installed in SMF 2.0.17).
There is no way to add a category.
The first picture showed what happened after "Articles" button was clicked in my last reply.

Thank you so much for your reply and video.
Title: Re: SMF Articles
Post by: vbgamer45 on September 16, 2020, 10:39:48 AM
Ok looks like an edit failed to the index.php file for SMFarticle3.04.jpg
It should not redirect back to the board index

Upload the package to https://www.smfhacks.com/smf-package-parser.html to find the edits and make sure the files are copied to the right places.
Title: Re: SMF Articles
Post by: captcha on September 16, 2020, 11:11:07 AM
This time it works.
I downloaded SMF-articles 3.0.4 again, and reinstalled it to SMF 2.0.17.
I checked my PC's file manager, it showed my old SMF-articles 3.0.4 was downloaded on April 17th, this year.
SMF-articles 3.0.3b was downloaded on March 29th, this year.
Thank so much.
Title: Re: SMF Articles
Post by: vbgamer45 on September 16, 2020, 11:29:08 AM
Glad you have it working.
Title: Re: SMF Articles
Post by: captcha on September 16, 2020, 08:33:30 PM
Your helps is really in time, thanks again.
Title: Re: SMF Articles
Post by: wintstar on January 12, 2021, 06:47:21 AM
Found some bugs

QuoteVersion Information:
Forum version: SMF 2.1 RC3
Current SMF version: SMF 2.1 RC3
GD version: 2.3.0
ImageMagick version: 6.9.10-23 Q16 x86_64 20190101 imagemagick.org (Imagick 3.4.4)
MySQL engine: MySQL
MySQL version: 5.7.32
SMF file based caching: 2.1 RC3
PHP: 7.4.13 (more detailed)
Server version: Apache/2.4.41 (Ubuntu)
SMFArticles version: 3.0.4

1) Which version is the current?
QuoteYour Version: 3.0.1 Latest Version: 3.1 Your article system version is not up to date!

2) In version 3.0.4, a white page is displayed in the category management. Error is a forgotten s

Articles2.php line 75
'admincat' => 'ArticleAdminCats',
Solution, change to
'admincat' => 'ArticlesAdminCats',

Only no categories are displayed, although there are some
The error is that there is no database query in this function
function ArticlesAdminCats()
{
global $context, $mbname, $txt;

isAllowedTo('articles_admin');

$context['page_title'] = $mbname . ' - ' . $txt['smfarticles_title'] . ' - ' . $txt['smfarticles_managecats'];

$context['sub_template']  = 'manage_cats';
}


I find the database query in function Articles_AdminCat

Solution. First delete the function ArticlesAdminCats() and change
function Articles_AdminCat()
change to
function ArticlesAdminCats()

Title: Re: SMF Articles
Post by: vbgamer45 on January 12, 2021, 12:47:39 PM
Thanks wintstar. I am guessing some code got mixed between updates/versions have rolled out fixes

Update!
3.1
!Fixed bug with the manage categories link
!Removed google+ code
!Updated social sharing links to https for SMF 1.1.x
Title: Re: SMF Articles
Post by: wintstar on January 12, 2021, 01:18:48 PM
Many thanks vbgamer45  :)

QuoteMod Name:
SMF Articles
Created By:
SMFHacks.com Team
Type:
New Feature
First Created:
August 26, 2008, 12:33:30 AM
Last Modified:
Today at 12:46:16 PM
Latest Version: 3.0.4
Compatible With:
1.1.13, 1.1.14, 1.1.15, 1.1.16, 1.1.17, 1.1.18, 1.1.19, 1.1.20, 1.1.21, 2.0, 2.0.9, 2.0.10, 2.0.11, 2.0.12, 2.0.13, 2.0.14, 2.0.15, 2.0.16, 2.0.17, 2.1 Beta 3, 2.1 RC1, 2.1 RC2, 2.1 RC3
Total Downloads: 25208

On the Mod Site (https://custom.simplemachines.org/mods/index.php?mod=1354) must change Latest Version to 3.1.
Title: Re: SMF Articles
Post by: vbgamer45 on January 12, 2021, 01:43:26 PM
Thanks for heads up getting error on modsite right now.
Title: Re: SMF Articles
Post by: vbgamer45 on January 12, 2021, 02:10:51 PM
Fixed now.
Title: Re: SMF Articles
Post by: Kindred on January 28, 2021, 09:02:08 AM
running SMF Articles 3.1 on SMF 2.0.18


.../index.php?action=articles;sa=view&amp;id=286
No article selected


getting these errors filling the log.... (a variety of different IDs)
Title: Re: SMF Articles
Post by: wintstar on January 28, 2021, 09:17:26 AM
SMF 2.0.18???

Is 2.0.18 released?
Title: Re: SMF Articles
Post by: Kindred on January 28, 2021, 09:19:52 AM
no. I am beta testing
Title: Re: SMF Articles
Post by: vbgamer45 on January 28, 2021, 01:56:26 PM
Fixed with new update posted.
Looks like those were coming from an old url format. I check for that format now and in either case don't log that error.
Title: Re: SMF Articles
Post by: Mike66 on June 07, 2021, 11:57:48 AM
I'm really liking SMF Articles  8)

I'd like to improve the layout on mobiles by trimming down the member info displayed on the left.

In comments, I'd like to keep/display: the member name, date/time and avatar.
But I'd like to remove/not display: member group, Posts count, and all the view profile, PM etc icons.

Hope you can help, or point me in the right direction.

Cheers
Mike
Title: Re: SMF Articles
Post by: vbgamer45 on June 07, 2021, 01:04:52 PM
It is possible the html is all in Aritcles2.template.php in the themes default folder.

But keep in mind if you change it will also affect the desktop version as well.
Title: Re: SMF Articles
Post by: Mike66 on June 07, 2021, 01:19:55 PM
Thanks vbgamer45, I'm happy to remove them from the desktop version as well.

Any pointers as to what to look for and change in Articles2.template.php?

Can I simply remove things, or is it best to use something like display = none?

Cheers
Mike
Title: Re: SMF Articles
Post by: vbgamer45 on June 07, 2021, 01:30:01 PM
You can simply remove things that is better than display:none

There is what I believe a section that displays the members profile information in that file and you can just remove those files.
Title: Re: SMF Articles
Post by: Mike66 on June 07, 2021, 02:12:21 PM
Thanks again, I'll have a go later  8)
Title: Re: SMF Articles
Post by: Mike66 on June 07, 2021, 04:46:46 PM
Getting there, very pleased with the results thanks  :)

It would be great if we could add permissions for 'edit own comments' and 'delete own comments'?

Cheers
Mike
Title: Re: SMF Articles
Post by: jacbier on March 12, 2022, 05:59:32 PM
Dutch translation in attach.

I can't change the word "Articles" in the main menu of the forum...  :) Articles.dutch.php
Title: Re: SMF Articles
Post by: vbgamer45 on March 13, 2022, 09:05:27 PM
Thanks for the translation.
The menu is in modifications.english.php
Title: Re: SMF Articles
Post by: jacbier on March 14, 2022, 06:53:23 AM
Quote from: vbgamer45 on March 13, 2022, 09:05:27 PMThanks for the translation.
The menu is in modifications.english.php

Thank you. I'll edit it there.
Title: Re: SMF Articles
Post by: jacbier on March 14, 2022, 08:47:45 AM
modifications.dutch.php
// Begin SMF Articles Text Strings
$txt['smfarticles_menu'] = 'Artikelen';
$txt['smfarticles_admin'] = 'Artikel configuratie';

$txt['smfarticles_articlessettings'] = 'Instellingen';
$txt['smfarticles_approvearticles'] = 'Artikelen goedkeuren';
$txt['smfarticles_form_approvecomments'] = 'Reacties goedkeuren';
$txt['smfarticles_catpermlist'] = 'Lijst met categorie goedkeuringen';
$txt['smfarticles_txt_copyrightremoval'] = 'Copyright Verwijdering';
$txt['smfarticles_txt_managecategories'] = 'Beheer categorieën';
$txt['smfarticles_txt_import'] = 'Importeren';

$txt['permissiongroup_smfarticles'] = 'SMF Articles';
$txt['permissiongroup_simple_smfarticles'] = 'SMF Articles';

$txt['permissionname_view_articles'] = 'Artikelen bekijken';
$txt['permissionhelp_view_articles'] = 'Stelt in of de gebruiker de artikelen kan bekijken.';
$txt['cannot_view_articles'] = 'U kunt de pagina met artikelen niet bekijken.';

$txt['permissionname_add_articles'] = 'Artikel toevoegen';
$txt['permissionhelp_add_articles'] = 'Als de gebruiker artikelen mag indienen';

$txt['cannot_add_articles'] = 'Je kunt geen artikelen toevoegen.';
$txt['permissionname_edit_articles'] = 'Bewerk eigen artikelen';
$txt['permissionhelp_edit_articles'] = 'Als de gebruiker artikelen mag bewerken';

$txt['cannot_edit_articles'] = 'U kunt geen artikelen bewerken.';
$txt['permissionname_delete_articles'] = 'Eigen artikelen verwijderen';
$txt['permissionhelp_delete_articles'] = 'Als de gebruiker artikelen mag verwijderen';
$txt['cannot_delete_articles'] = 'Je kunt geen artikelen verwijderen.';

$txt['permissionname_articles_comment'] = 'Laat reacties achter';
$txt['permissionhelp_articles_comment'] = 'Stelt de gebruiker in staat om reacties op een artikel achter te laten.';
$txt['cannot_articles_comment'] = 'Het is niet toegestaan om reacties achter te laten.';


$txt['permissionname_articles_auto_approve'] = 'Artikelen automatisch goedgekeurd';
$txt['permissionhelp_articles_auto_approve'] = 'Als de artikelen van leden automatisch worden goedgekeurd wanneer ze worden ingediend.';

$txt['permissionname_articles_autocomment'] = 'Opmerkingen automatisch goedkeuren';
$txt['permissionhelp_articles_autocomment'] = 'Opmerkingen hoeven niet op goedkeuring te wachten.';

$txt['permissionname_rate_articles'] = 'Beoordeel artikelen';
$txt['permissionhelp_rate_articles'] = 'Als de gebruiker artikelen mag beoordelen';
$txt['cannot_rate_articles'] = 'Je mag geen artikelen beoordelen.';

$txt['permissionname_articles_admin'] = 'Admin artikelen';
$txt['permissionhelp_articles_admin'] = 'Forumlid kan de artikelen beheren';
$txt['cannot_articles_admin'] = 'Je mag de artikelen niet beheren.';
// END SMF Articles Strings
Title: Re: SMF Articles
Post by: Speed King on May 11, 2022, 12:17:00 AM
When I add a comment to an article, I get error messages:

Warning: Undefined array key "image_href" in /home/bulataka/public_html/test/Themes/default/Articles2.1.template.php on line 2305

Warning: Undefined array key "icq" in /home/bulataka/public_html/test/Themes/default/Articles2.1.template.php on line 2330

Warning: Trying to access array offset on value of type null in /home/bulataka/public_html/test/Themes/default/Articles2.1.template.php on line 2330

Warning: Undefined array key "msn" in /home/bulataka/public_html/test/Themes/default/Articles2.1.template.php on line 2330

Warning: Trying to access array offset on value of type null in /home/bulataka/public_html/test/Themes/default/Articles2.1.template.php on line 2330

Warning: Undefined array key "aim" in /home/bulataka/public_html/test/Themes/default/Articles2.1.template.php on line 2330

Warning: Trying to access array offset on value of type null in /home/bulataka/public_html/test/Themes/default/Articles2.1.template.php on line 2330

Warning: Undefined array key "yim" in /home/bulataka/public_html/test/Themes/default/Articles2.1.template.php on line 2330

Warning: Trying to access array offset on value of type null in /home/bulataka/public_html/test/Themes/default/Articles2.1.template.php on line 2330


Warning: Undefined array key "show_profile_buttons" in /home/bulataka/public_html/test/Themes/default/Articles2.1.template.php on line 2333


Also, there is a missing "Online" image below the username:

Click => (https://i.postimg.cc/B8WzBPw7/2022-05-11-5.png) (https://postimg.cc/B8WzBPw7)

I'm using 3.1a version

Forum details:

Forum version: SMF 2.1.2 (more detailed)
Current SMF version: SMF 2.1.2
GD version: bundled (2.1.0 compatible)
ImageMagick version: 6.9.10-68 Q16 x86_64 2021-10-13 https://imagemagick.org (Imagick 3.7.0)
MySQL engine: MariaDB
MySQL version: 10.3.34-MariaDB-log
SMF file based caching: 2.1.2
SQLite3 database based caching: 3.7.17
PHP: 8.1.5 (more detailed)
Server version: Apache
Title: Re: SMF Articles
Post by: vbgamer45 on May 11, 2022, 01:00:42 AM
Haven't updated the mod yet for 2.1 final
Title: Re: SMF Articles
Post by: kdmiller on January 02, 2023, 04:29:27 PM
Can this modified to take pdf's also in the upload

Keith
Title: Re: SMF Articles
Post by: vbgamer45 on January 02, 2023, 08:43:56 PM
It could be but not something I have planned.
Title: Re: SMF Articles
Post by: vbgamer45 on September 22, 2023, 12:40:14 PM
Update
3.1.1
!Fixed searching results for more than one page was displaying incorrect data if options on advanced search were uncheck
Title: Re: SMF Articles
Post by: BugginIn on December 15, 2023, 08:45:44 AM
Is the a missing file on the update?

Getting this error? Unable to load or create a catagory...

Unable to load the 'articles_categories' template. - /index.php?action=articles
Title: Re: SMF Articles
Post by: vbgamer45 on December 15, 2023, 09:34:19 AM
What smf version?
Title: Re: SMF Articles
Post by: BugginIn on December 15, 2023, 09:42:51 AM
Quote from: vbgamer45 on December 15, 2023, 09:34:19 AMWhat smf version?

2.1.4 Sir...
Title: Re: SMF Articles
Post by: BugginIn on December 15, 2023, 06:09:38 PM
Quote from: vbgamer45 on December 15, 2023, 09:34:19 AMWhat smf version?

Tried a few tricks today on this, nothing worked for 2.1.4 on default theme, same error; FYI
Title: Re: SMF Articles
Post by: vbgamer45 on December 17, 2023, 01:11:00 PM
Quote from: BugginIn on December 15, 2023, 08:45:44 AMIs the a missing file on the update?

Getting this error? Unable to load or create a catagory...

Unable to load the 'articles_categories' template. - /index.php?action=articles

I am not seeing anything that would cause this error.. I have very little code that refers to "categories" as a code item

I do not have an articles_categories template in this mod.
Do you have other mods installed that might conflict?
Title: Re: SMF Articles
Post by: BugginIn on December 18, 2023, 12:54:00 PM
Quote from: vbgamer45 on December 17, 2023, 01:11:00 PM
Quote from: BugginIn on December 15, 2023, 08:45:44 AMIs the a missing file on the update?

Getting this error? Unable to load or create a catagory...

Unable to load the 'articles_categories' template. - /index.php?action=articles

I am not seeing anything that would cause this error.. I have very little code that refers to "categories" as a code item

I do not have an articles_categories template in this mod.
Do you have other mods installed that might conflict?

Just super strange.. Yes, but none of them call to categories close to your names.

I can't place it, but my spidy senses are telling me has something to do with Articles.php  template and table to add category or categories in SQL.

smf_articles_cat

Maybe a no underscore somewhere... I'm still messing with it...



Title: Re: SMF Articles
Post by: vbgamer45 on December 18, 2023, 01:07:44 PM
You can add this to template file and it might make the error go away. Just no idea on the cause.
function template_articles_categories()
{

}
Title: Re: SMF Articles
Post by: BugginIn on December 18, 2023, 01:42:03 PM
Quote from: vbgamer45 on December 18, 2023, 01:07:44 PMYou can add this to template file and it might make the error go away. Just no idea on the cause.
function template_articles_categories()
{

}

No Sir, didn't work. Tries with it on Articles2.php as well, no go...

No worries, uninstalled it before I mess something bigger up.

Thank you for the awesome mods you have.


Bugginin...
Title: Re: SMF Articles
Post by: Kindred on December 18, 2023, 01:48:36 PM
you are adding to the Sources file, not the template file....
Title: Re: SMF Articles
Post by: BugginIn on December 18, 2023, 01:50:43 PM
Quote from: Kindred on December 18, 2023, 01:48:36 PMyou are adding to the Sources file, not the template file....

Tried it both ways, and/or separate and together...

Did you have the same issue on 2.1.4 and default theme as well?
Title: Re: SMF Articles
Post by: BugginIn on December 26, 2023, 12:55:12 PM
Quote from: BugginIn on December 18, 2023, 01:50:43 PM
Quote from: Kindred on December 18, 2023, 01:48:36 PMyou are adding to the Sources file, not the template file....

Tried it both ways, and/or separate and together...

Did you have the same issue on 2.1.4 and default theme as well?

Just an FYI - cleared and deleted everything... Tried again, no go on 2.1.4 on default theme.

Still getting that same error right after save setting's of fresh install.


Thank you...
Title: Re: SMF Articles
Post by: Kindred on December 26, 2023, 01:05:30 PM
@BugginIn

I just installed on SMF 2.1.4 with no problems.
I created a category and created an article inside that category with no errors.


correction: In the smf error log, after creating the category from the admin section

QuoteKindred
...../index.php?action=articles;sa=addcat2
...../Sources/Articles2.php (Line 409)
2: Trying to access array offset on value of type null

Type of error
General
Error message
2: Trying to access array offset on value of type null
File
...../Sources/Articles2.php
Line
409
URL of page causing the error
...../index.php?action=articles;sa=addcat2
Backtrace information

    #0: smf_error_handler()
    Called from .....Articles2.php on line 409
    #1: AddCat2()
    Called from ...../Sources/Articles2.php on line 99
    #2: ArticlesMain()
    Called from ...../index.php on line 184


Code (from Articles2.php) Select
// Do the order
402: $dbresult = $smcFunc['db_query']('', "
403:
404: roworder
405: FROM {db_prefix}articles_cat
406: ORDER BY roworder DESC");
407: $row = $smcFunc['db_fetch_assoc']($dbresult);
408: $smcFunc['db_free_result']($dbresult);
==>409: $order = $row['roworder'];
410: $order++;



Edit 3-- oh, ugly....
a boatload of (nine) errors when reading an article in the front end...

2: Undefined array key "show_profile_buttons"
2: Trying to access array offset on value of type null
2: Undefined array key "yim"
2: Trying to access array offset on value of type null
2: Undefined array key "aim"
2: Trying to access array offset on value of type null
2: Undefined array key "msn"
2: Trying to access array offset on value of type null
2: Undefined array key "icq"
Title: Re: SMF Articles
Post by: vbgamer45 on December 26, 2023, 02:47:43 PM
Update

3.2
!Fixed a few errors log in SMF 2.1 and new PHP versions
Title: Re: SMF Articles
Post by: Kindred on December 26, 2023, 03:19:33 PM
confirmed this addresses the issue (and I have 8.0 php right now)
Title: Re: SMF Articles
Post by: BugginIn on December 27, 2023, 09:29:16 PM
Downloaded new, but in setting's shows this:
Your Version: 3.2 Latest Version: 3.1.1 Your article system version is not up to date!

Still throwing same error when I go to make a category or view Articles page: Unable to load the 'articles_categories' template.

/Sources/Load.php on line 2843 - fatal_lang_error()

/Sources/Subs.php on line 4231 - loadSubTemplate()

/index.php on line 187 - obExit()


Cleared cache's, running PHP 7.4, SMF 2.1.4 and default theme...


Thank you...



Title: Re: SMF Articles
Post by: vbgamer45 on December 27, 2023, 09:44:25 PM
That's bizarre can only think another mod or custom action is taking over the articles action.