SMF Articles

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

Previous topic - Next topic

Mike66

Thanks again, I'll have a go later  8)

Mike66

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

jacbier

Dutch translation in attach.

I can't change the word "Articles" in the main menu of the forum...  :) You cannot view this attachment.

vbgamer45

Thanks for the translation.
The menu is in modifications.english.php
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

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

jacbier

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.

jacbier

#1025
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

Speed King

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 =>

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

vbgamer45

Haven't updated the mod yet for 2.1 final
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

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

kdmiller

Can this modified to take pdf's also in the upload

Keith

vbgamer45

It could be but not something I have planned.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

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

vbgamer45

Update
3.1.1
!Fixed searching results for more than one page was displaying incorrect data if options on advanced search were uncheck
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

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

BugginIn

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

vbgamer45

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

SMFHacks.com -  Paid Modifications for SMF

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


BugginIn

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

vbgamer45

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?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

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

BugginIn

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...




vbgamer45

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()
{

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

SMFHacks.com -  Paid Modifications for SMF

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

BugginIn

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...

Kindred

you are adding to the Sources file, not the template file....
Слaва
Украинi

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

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

Advertisement: