• Welcome to Simple Machines Community Forum. Please login or sign up.
September 26, 2021, 03:46:54 AM

News:

SMF 2.0.18 has been released! Please update. Read more.


SMF Articles

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

Previous topic - Next topic

vbgamer45

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

Kindred

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

willerby

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?
What type of washing machine is September?

An autumnatic. :)

SimonSays

June 04, 2009, 11:05:07 PM #303 Last Edit: June 15, 2009, 12:32:13 AM by SimonSays
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)

Kindred

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

ttuu

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.

Skhilled

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.

Kindred

nope...   articles are sorted by date, just like posts in the forum


Categories can be moved in the list (use the up/down) links
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."

willerby

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?
What type of washing machine is September?

An autumnatic. :)

Kindred

well, EZportal is also cretased by vbGamer and has the recent articles as an EZblock....
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."

willerby

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...
What type of washing machine is September?

An autumnatic. :)

Skhilled

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

Nameless?

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 !

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

ttuu

Planning has an option to add attachments to articles?

vbgamer45

Not planned at this but I could do any custom additions for a small fee
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

ttuu


vbgamer45

Just let me know how you would want it to work and I can give you a quote
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

ttuu

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.

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

Advertisement: