Advertisement:

Author Topic: SMF Articles  (Read 307429 times)

Offline ~DS~

  • SMF Hero
  • ******
  • Posts: 2,598
  • Gender: Male
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #560 on: February 04, 2010, 11:05:38 PM »
This mod converts boards that already have threads into articles?

Each thread is changed to article.
No, that would be SMFBlog
“There is no god, and that’s the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,466
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #561 on: February 04, 2010, 11:09:01 PM »
No sorry about that we discussing a different mod SMFBlogs
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

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

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 60,197
  • Gender: Male
    • Kindred-999 on GitHub
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #562 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?
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

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

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,466
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #563 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.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

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

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 60,197
  • Gender: Male
    • Kindred-999 on GitHub
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #564 on: February 14, 2010, 06:23:12 AM »
I am indeed...I am using the dev version from mid-January.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

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

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,466
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #565 on: February 19, 2010, 12:03:06 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.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

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

Offline Jave

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

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 60,197
  • Gender: Male
    • Kindred-999 on GitHub
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #567 on: February 21, 2010, 12:24:56 AM »
modifications.english.php
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

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

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,466
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #568 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?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

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

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 60,197
  • Gender: Male
    • Kindred-999 on GitHub
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #569 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. :)
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

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

Offline wiciu

  • Newbie
  • *
  • Posts: 7
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #570 on: February 22, 2010, 12:35:50 AM »
Great MOD !

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

hxxp:xxx.pl/forum/index.php?action=articles;sa=view;article=3 [nonactive]

What about this, that in article link colapse title ?

Something like this:

hxxp:xxx.pl/forum/index.php?action=articles;sa=view;article=3;title=this_is_article_title [nonactive]

I thing that this solution will be more user friendly.
« Last Edit: February 22, 2010, 01:12:58 AM by wiciu »

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,466
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #571 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.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

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

Offline wiciu

  • Newbie
  • *
  • Posts: 7
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #572 on: February 22, 2010, 01:20:47 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 !

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,466
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #573 on: February 22, 2010, 01:21:23 AM »
Glad it helps :)
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

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

Offline KidCactus

  • Semi-Newbie
  • *
  • Posts: 74
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #574 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.  :)
« Last Edit: February 22, 2010, 03:07:23 PM by KidCactus »

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,466
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #575 on: February 22, 2010, 03:09:33 PM »
Glad you got it working!
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

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

Offline KidCactus

  • Semi-Newbie
  • *
  • Posts: 74
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #576 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?

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,466
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #577 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.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

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

Offline KidCactus

  • Semi-Newbie
  • *
  • Posts: 74
Re: SMF Articles (1.2 Released with SMF 2.0 RC2 support!)
« Reply #578 on: February 22, 2010, 03:58:12 PM »
Thanks, I'll look into that.

Offline KidCactus

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

Code: [Select]
<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:

Code: [Select]
// Setup the Link Tree

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

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

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

);

GetParentLink($cat);

And inserted it after:

      
Code: [Select]
// 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.
« Last Edit: February 23, 2010, 04:49:53 PM by KidCactus »