News: When asking for support, it helps us and you, if you read the Posting Guidelines

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

October 18, 2019, 07:57:51 PM

Login with username, password and session length

Recent

Members
  • Total Members: 3756
  • Latest: Ocean
Stats
  • Total Posts: 189090
  • Total Topics: 20764
  • Online Today: 73
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 40
Total: 40

Author Topic: Simpler Add Article Page?  (Read 9425 times)

0 Members and 1 Guest are viewing this topic.

Chair

  • Guest
Simpler Add Article Page?
« on: April 21, 2010, 10:02:43 PM »
I'd like users to be able to write their own tutorials, but not have to do it through the TP Article manager.

When they click the link that says "Submit a tutorial!" (I already have the link up) they are redirected to a page that contains the following:

  • A Title field
  • A BBC Text field (for the article), with BBC buttons at the top
  • A Submit button
  • And possibly a method of saving drafts

It is much less confusing for them... so, anyone up to do this?

Offline ed_m2

  • Full Member
  • ***
  • Posts: 231
Re: Simpler Add Article Page?
« Reply #1 on: April 22, 2010, 01:47:24 AM »
sounds like a custom form & custom db query to me....

Chair

  • Guest
Re: Simpler Add Article Page?
« Reply #2 on: April 22, 2010, 07:22:49 AM »
would it not be possible to use query strings to submit the information to each field in the normal article manager and then have it submitted? Just a quick disguise page or something?

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: Simpler Add Article Page?
« Reply #3 on: April 22, 2010, 07:38:10 AM »
Sure it's possible. But what about all the other settings related to the articles? You still have to set all those settings, even if you aren't showing them to your users. If you'd rather them only see a post page like what you describe, why not just have them post the tutorials in the forum?

Offline Freddy

  • Code
  • *
  • Posts: 1615
    • AiDreams
Re: Simpler Add Article Page?
« Reply #4 on: April 22, 2010, 07:44:12 AM »
I think you might be underestimating your users ?  If they can work out how to use a forum surely if they spent a little extra time, they could work out how to post an article ?

Chair

  • Guest
Re: Simpler Add Article Page?
« Reply #5 on: April 22, 2010, 08:20:59 AM »
I'm only trying to neaten it up and make it look more professional... And because I'd rather have the forums a separate part of the website, for discussion only. I'm releasing the site as a commercial digital art site, and that's why I want things very particular... sorry If I'm just being a nuisance

Offline Freddy

  • Code
  • *
  • Posts: 1615
    • AiDreams
Re: Simpler Add Article Page?
« Reply #6 on: April 22, 2010, 08:27:27 AM »
You are not being a nuisance at all, I was just sharing my thoughts  :)

JPDeni

  • Guest
Re: Simpler Add Article Page?
« Reply #7 on: April 22, 2010, 09:16:35 AM »
Quote
would it not be possible to use query strings to submit the information to each field in the normal article manager and then have it submitted? Just a quick disguise page or something?

I don't know if it would be possible, but it would not be the best way to go. The better way would be to just submit the information directly into the database. As IchBin said, you would have to have data defaults included in your code for all of the other fields that you're not including on your form.

This would be a major project.

ianus

  • Guest
Re: Simpler Add Article Page?
« Reply #8 on: April 27, 2010, 05:53:45 AM »
Greetings!

To be honest, this was the first thing that crawled into my mind after I have seen how much fields I have to mark/unmark while creating an article.

It is possible (and necessary) of course, but could lead to cluttered pages.

When I assume that all articles inside a category should have the same look and feel, than a lot of options could be “default”.

Let’s start with the “Query Titel”. I’m not sure if it is an good idea to offer this field to the “normal author”.

Next is Display. Should be the same throughout a category to look nice so a “default for this category” – setting could be helpful.

Now the Details. Way to much to choose – and remember.
If I want to show / don’t show always the same details, most times (even) I have to open up an former article and look what I have un-marked.

A “Create default Article (for this category)” function (after creating default settings by admin) could be very helpful.
I agree that this tend to be kind of major project, but will force workflow (imho).

Offline ZarPrime

  • Friends
  • *
  • Posts: 4653
Re: Simpler Add Article Page?
« Reply #9 on: April 27, 2010, 09:17:04 AM »
The subject of this topic (Simpler Add Article Page?) is not really indicative of what would be involved to accomplish what has been discussed.

I can see where an Admin option for each category to set defaults for that category would be a nice feature.  However, as you say, this would be a big feature that would take a lot of thought before it could be implimented.

IMHO, the functionality that you suggest is not something that would be a necessity for everyone using TinyPortal.  For this reason, adding this functionality to the TinyPortal core would be unnecessary for most people and would obviously mean a much larger TinyPortal.  That being said, I can see where an Advanced Article Module for TinyPortal might not be a bad idea.  A Module of this sort could replace the simpler functionality of the current Article system built into the TP core.

So what would you want this Module to accomplish?  You've already mentioned a few things that you would like to see but in order to build a Module, a lot of thought would need to be put into it.  You would first have to figure out what you want to do with articles and categories that you can't do with the current system.  Not only would the Advanced module need to do what the current system does, but be able to add addional functionality.  So, the first thing the Module would need to do is turn off the current article system and make use of it's own functions.

The advantage of a Module like this is that it could be added to TP just like any other Module.  Any Module like this should be written to take advantage of hooks within the TP core code and it must be able to be added to TP without affecting how the TP core works.  There are currently only 2 Modules that come with TP, the Downloads Manager and the TP Simple Shout.  The Review Module is another one that is available though I don't know what the current status of it is.

There would need to be quite an extensive discussion undertaken before anyone could begin to author such a module.  Everything would need to be discussed.

For instance, besides what you have mentioned, it would be nice if each category would first need to have a setting for what Membergroups could create articles in the category.  This is already available on a global basis for all categories.  For instance, if you have a membergroup called "submit bbcarticle in cat1", that group can be given the permission to "Can submit BBC articles" globally but this can not currently be limited to individual categories.  In other words, if you have 3 categories that you want to allow bbc articles to be submitted to (cat1, cat2, cat3), any member in the "submit bbcarticle in cat1" group can now submit articles in all 3 categories.  By having this as a permission setting on a per category basis, the Admin could decide that anyone in the "submit bbcarticle in cat1" group can only submit bbc articles in cat1.  Likewise, any member in the "submit bbcarticle in cat2" could be set to only allow that member to submit bbc articles to cat 2.  So, each category would have a checklist of Membergroups that could submit articles to that category.  Of course, any group could be given multiple permssions.  For instance, members in the "Global Articles" group could have permission to submit bbc articles in all 3 categories.  All of this could be decided by the Admin when each Category is created.  OK, so now this has taken care of who can write bbc articles to each category.

So, since this topic is already in the Modules Board, which is certainly the right place for it, let the discussion begin.  Only after everything has been discussed can one of our coders, or someone else, make a decision as to whether this is a project that they would like to undertake.

ZarPrime