TinyPortal

Development => Support => Topic started by: brynn on May 02, 2013, 10:57:11 AM

Title: tips for newbie on writing articles?
Post by: brynn on May 02, 2013, 10:57:11 AM
Link to my forum: http://www.forum.inkscapecommunity.com
SMF version: 2.04
TP version: 1.107
Default Forum Language: english
Theme name and version: Aqua Style
Browser Name and Version: Firefox 20.0.1
Mods installed: Simple Colorizer, Stop Spammer, Sorted Pkg Mgr Listing, Fancy Posts, Extended Help, No Temp Dir Removal, Integration Hooks Report, Dev Center, Forum Firewall, More Spiders, Enhanced Dropdown
Related Error messages: none

Hi Friends,
I'm a very green newbie, and trying to write an article.  I have a few to write, to teach members how to write articles, and then a few to write for the site (tutorials).  (The forum will provide support for the Inkscape community (open source vector graphics editor) and the articles will be Inkscape tutorials.)  But I'm having such a hard time with it myself, I"m thinking it may be a lost cause.

I've tried using the wysiwyg for both HTML and BBC.  And no offense, but they have a really lot of "quirks" if not outright bugs.  So then I thought I'd just code out the articles, and forget the wysiwygs.  Well, it turns out that the only kind of HTML I know, which is the very most basic kind, is not really recognized by TP.   I paste in my code, but after I save it, it's gets changed to some weird, wacky hybrid, apparently of what I wrote and what TP recognizes.

So my first question -- What kind of HTML does TP use?  I don't have any problems learning a more advanced version of HTML.  I just need to know what kind it is, so I learn the right kind.

And then, my forray into BBC has been mostly a disaster.  Since I don't know much about BBC, and I haven't been able to find any instructions about it, other than very general info (such as what the tags look like) I started out by writing part of the content of the article in the formatted mode (of the wysiwyg), then I would click Toggle View button, to switch to the code view, to see how the code is written.  The problem with that, is that Toggle View doesn't truly JUST toggle the view.  In several situations, it changes the code I have written.  So then I need to fix it, before I can continue.

I managed to get half an article written, just straight coding it out, not using wysiwyg, and wanted to save that much (a couple hours' work) and take a break.  Well, when I saved it, it just went wacky.  The only thing I can salvage is the text itself.  But I''ll have to recode it completely!

I'm hoping that somewhere, someone has written a tutorial.  None of this has been intuitive.  And if it's this hard to do, surely there must be tutorials somewhere.  Unfortunately, I haven't been able to find any.

So 2nd question -- Can you refer me to any info about how to write BBC code for TP?

3rd question -- Are there any tutorials for writing articles in TP at all?

And yes, I've seen http://www.tinyportal.net/docs/.  What minimal documentation there is, only instructs how to configure the articles, to function on the forum/site.  I haven't seen anything about how to actually write the articles.

Thanks for your help  :)

PS -- Especially I need to be able to use tables, and/or lists.  Is there any way to have a table with borders?  It appears not.  Thanks again  :)
Title: Re: tips for newbie on writing articles?
Post by: lurkalot on May 02, 2013, 06:35:14 PM
OK, here's something for you to try.  Go to Tinyportal admin > Click the settings icon for the articles, (The pen icon)  On the page that comes up, set "Use the WYSIWYG editor?" to No. and save. 

Now add a new html article and enter (or paste) your desired html code. See if that works. It should.  ;)

As for BBCode, click your help button in your main menu, and you'll see a link in the list called

"Bulletin Board Code (BBC) - Posts can be spiced up with a little BBC"

Click that link and it'll show you all the BBCode that you can use. Or just click here,
http://wiki.simplemachines.org/smf/Basic_bulletin_board_codes or here, http://wiki.simplemachines.org/smf/Alphabetical_list_of_all_bulletin_board_codes

Hope this helps.
Title: Re: tips for newbie on writing articles?
Post by: IchBin on May 02, 2013, 10:00:54 PM
Sounds like you are trying  to save code when using the editor. Some people don't realize when you actually paste code into the editor, you have to be in the code edit mode. There's a little icon in the wysiwig editor that allows you to toggle between wysiwig mode, and code mode basically. You cannot be in wysiwig mode when you paste html code into the editor.

As far as BBC, TP should handle it the same way that SMF does when you create a topic or reply. If it doesn't, there could be a bug in it.
Title: Re: tips for newbie on writing articles?
Post by: sangham.net on May 03, 2013, 08:20:54 AM
Great topic,

I guess I am as well a more then newbie. Maybe you give a concrete sample as it's easy to misunderstand as well as we mostly learn with concrete undertakings.

As far as I had seen, as soon as you save it, some html codes will be cut of such as <body> ... So I too, do not know exactly the function and how to integrate "header"s for example.

Quote...to teach members how to write articles
That sounds to be a great undertaking, maybe we could develop a general guideline here together which could be provided in the TP-DOC as well (I made such in a simply way for our forum already, but not very extensive)

Dear lurkalot,

if you have already some html articles and you use ""Use the WYSIWYG editor?" to No.", would cause that all html codes would not been put into action and the display would be simply plain text.
It's not so clear how it really works, or better, not so easy to understand for newbies.

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fsangham.net%2FSmileys%2Fsadhu_sangham_sw.gif&hash=e3299fe21483bdca6cf59bd25a8c6109b379e840)



Title: Re: tips for newbie on writing articles?
Post by: lurkalot on May 03, 2013, 08:41:15 AM
Quote from: Johann on May 03, 2013, 08:20:54 AM

Dear lurkalot,

if you have already some html articles and you use ""Use the WYSIWYG editor?" to No.", would cause that all html codes would not been put into action and the display would be simply plain text.
It's not so clear how it really works, or better, not so easy to understand for newbies.

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fsangham.net%2FSmileys%2Fsadhu_sangham_sw.gif&hash=e3299fe21483bdca6cf59bd25a8c6109b379e840)

Thing is, like IchBin said, when you use the WYSIWYG editor you then have to click the Toggle code button to add your html.  What I found is the code kept changing and even disappeared completely at times when you go back and try and edit the article.  I just find it easier to turn off the WYSIWYG editor all together, no messing about.  No turning off the WYSIWYG shouldn't affect your existing articles.

One thing I would highly recommend to anyone.  Build a test site, either on your hosting, or better still a local one on your PC using something like Xampp.  That way you can try stuff out without messing up your live site.  Also handy for writing code and articles etc, and then pasting to your live site once all's working.  I have both, hosted and local test sites, here's my hosted one, http://cctestsite.info  for example. (yes it's a mess). lol..
Title: Re: tips for newbie on writing articles?
Post by: sangham.net on May 03, 2013, 01:55:58 PM
Dear lurkalot,

Looks like a typical old rocker website (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fsangham.net%2FSmileys%2Fsmile_sangham_sw.gif&hash=a0e262f8c8a29a46aa30effeabcaf3e4e836f617) ...living in the backstage. Long time not heard "The Who", so lets twist and shout.

Yes of course, I also saw that it is a little safer with just using the html codes. Nevertheless, it's good to find out how and why.

I also do not understand the "Import" function yet. It simply shows "text is not available" if i would import a link. It would be also interesting if the import is really an import or just a "frame" work.

I am up to integrate some 10.000 of articles, so its really interesting to know as much as possible before starting.

Thanks for the share of your hints!

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fsangham.net%2FSmileys%2Fsadhu_sangham_sw.gif&hash=e3299fe21483bdca6cf59bd25a8c6109b379e840)

Add: Tested a little with class... seems to be HTML5 -> css (but that is a newbie comment)
""Use the WYSIWYG editor?" to No." is  O0
Title: Re: tips for newbie on writing articles?
Post by: brynn on May 03, 2013, 04:07:26 PM
Thanks lurkalot.  Yes, I've seen all of those -- lists of the BBC tags.  But integrating into an article, is often another story entirely.

IchBin, I'm not sure how the SMF forum handles this following....oh ok, since this is an SMF forum, I''ll just try it here.  But even if it is the same, it should be a called a bug, imo.

If you make a numbered list from the code mode/view of the TP article editor (using BBC), i.e.

[list=decimal]
[li] the first item[/li]
[li] the 2nd item[/li]
[li] the 3rd item[/li]
[/list]
[list=decimal]

Hhmmm.....ok yes, this is behaving differently from my forum.  In my forum, if I click the numbered list button, it actually starts making the list.  When you click the button, it puts "1. ", so you're ready to write the list.  And  you can only see the code if you switch to the code mode.  But here, I see the same code in both modes.  So I guess something about this forum is different.  In anycase, it does not exhibit the problem.

When you put that code while in code mode, and click Toggle View, it does show the numbered list.  The problem is that when you switch back to code mode, the "=decimal" has been removed.  So that whenever I toggle the view, I have to fix that code.  So that if I'm writing tutorials (i.e. numbered lists), I'll go crazy with that. 

And the same kind of thing happens with the HTML editor, only much worse.  I''ll put in my code in the code view, then switch to regular mode, to see how it looks.  But when I come back to the code view mode, it's changed to entirely different tags, that I don't know how to use.  For example, often the paragraph tag (<p>) gets changes to <div something> or <span something> etc.

Well, for html, I can solve the problem by using some other text editor (I have Notepad++).  But for the BBC code, it doesn't seem to have that as one of the available languages.

If anyone wants to test that specific BBC issue on my forum, we'll have to do it later, tonight or maybe tomorrow, because I'm just leaving for an appointment right now.  But leave a reply, and when I come back, I'll take the forum out of Maintenance Mode and get you registered.

Thanks again for your help  :)

PS -- Oh, well switching Toggle View button does seem to have messed with the BBC table code.  See how it left out the "=decimal" and put bullets instead?
Title: Re: tips for newbie on writing articles?
Post by: lurkalot on May 03, 2013, 05:56:49 PM
Like I said, I turn the WYSIWYG editor off and leave it that way.  It sucks quite frankly, and always did. lol.. 

Put some example codes in your next post, and I'll try them on my testsite.  Post an example of some BBCode, and another in html.  Also please remember to post them between [code][/code] tags please.
Title: Re: tips for newbie on writing articles?
Post by: brynn on May 04, 2013, 11:48:20 AM
Ok, I've taken my forum out of Maintenance Mode, so you can check the BBC decimal list code that I posted in my last message there.  I think the same problem occurs whether in a message or a TP article.

1 - paste the code into the code view/mode of a BBC wysiwyg
2 - Toggle View button once
3 - Toggle View button again
4 - note how "=decimal" has disappeared from the original code

I don't have an HTML example handy, since I managed to loose whatever I was working on.  But I'll make up another quick example asap, and post here (for you to test in my forum).

(I might add that you aren't the only person who has suggested not to use the wysiwyg, because they don't work very well.  I have to wonder, why not fix them?  (duh, right?)  Unless you only ever intend "power users" or people with coding skills to use it, you're making it really hard for not-so-advanced users (like me) to be successful with it.  I see comments all the time about how brilliant TP is, as a portal mod.  Apparently I'm not advanced enough to see or understand the brilliance, because I'm finding it.....well, as I said originally, if it's going to be this hard to use, I might be better off not using it at all.  And if TP simply "borrows" the wysiwygs from SMF, couldn't you "impose on" them, or help them to fix it?  I would certainly be glad to commit to even a long and drawn out testing period, to help get them all slick and working reliably.  After all, I want my new forum members to have a successfull experience as well.)

I'll be back shortly with some HTML code for you to test  :)
Title: Re: tips for newbie on writing articles?
Post by: lurkalot on May 04, 2013, 02:22:38 PM
Quote from: brynn on May 04, 2013, 11:48:20 AM
Ok, I've taken my forum out of Maintenance Mode, so you can check the BBC decimal list code that I posted in my last message there.  I think the same problem occurs whether in a message or a TP article.

1 - paste the code into the code view/mode of a BBC wysiwyg
2 - Toggle View button once
3 - Toggle View button again
4 - note how "=decimal" has disappeared from the original code


This does the same for me, but the code still works as expected when you view the article. 

I've no idea how wysiwyg editors work, that's IchBin's department lol..  All I can say is all wysiwyg editors, or at least all the ones I've used have their quirks.  I've just learnt to not use them at all, this stems right back to TP 0.9.8.  Once you decide what type of article (html / bbc ) etc, then just write them manually. More people swear at wysiwyg editors that swear by them.  ;)
Title: Re: tips for newbie on writing articles?
Post by: brynn on May 04, 2013, 02:24:33 PM
<html>
<head>
<title>test tables 3</title>
</head>
<body bgcolor=#ccaaff>
<table align=center width=90% bgcolor=#ffffff>
<tr>
<td>
<br>
<table align=center width=80% bgcolor=#ffff8f>
<tr>
<td>
<br>
<table border=2 align=center width=70% bgcolor=#ffffff>
    <tr>
        <th>Column 1 heading</th>
        <th>Column 2 heading</th>
        <th>Column 3 heading</th>
    </tr>
    <tr>
        <td><p align=center><font face="Comic Sans MS" size=#12 color=#0000ff><b>contents of row 2, cell 1</b></font></p></td>
        <td colspan="2"><p align=center><font face="Comic Sans MS" size=#12 color=#0000ff><b>contents of row 2</b></font></p>
<p align=center><font face="Comic Sans MS" size=#12 color=#0000ff><b>cells spanning 2 and 3</b></font></p></td>
    </tr>
    <tr>
        <td rowspan="2">rows 3 and 4, cell 1</td>
        <td>row 3, cell 2</td>
        <td>row 3, cell 3</td>
    </tr>
    <tr>
        <td>row 4, cell 2</td>
        <td>row 4, cell 3</td>
    </tr>
</table>
</td>
</tr>
<br>
<tr>
<td>
<br>
<br>
<br>
<p align=center>more stuff --- more stuff</p>
<br>
<br>
<br>
</td>
</tr>
</table>
<br>
<p align=center>more stuff --- more stuff</p>
<br>
</td>
</tr>
</table>
</body></html>


1 - Paste above code into the code view of HTML wysiwyg.
2 - The page automatically refreshes into regular view mode, when you save.  So switch back to code view, and see all the changes in the HTML.  Actually I wouldn't be surprised if you get a different result from me.  So just in case, this is what the code looks like now:





<title>test tables 3</title>


<table %"="" align="center" bgcolor="#ccaaff">
<tbody>
<tr>
  <td>
<br />
<br />
<table %"="" align="center" bgcolor="#ffff8f">
<tbody>
<tr>
  <td>
<br />
<table %"="" align="center" bgcolor="#ffffff" border="2">
    <tbody>
<tr>
        <th>Column 1 heading</th>
        <th>Column 2 heading</th>
        <th>Column 3 heading</th>
   

</tr>
    <tr>
        <td>
<p align="center"><span style="font-family: Comic Sans MS; color: rgb(0, 0, 255);"><strong>contents of row 2, cell 1</strong></span></p></td>
        <td colspan="2">
<p align="center"><span style="font-family: Comic Sans MS; color: rgb(0, 0, 255);"><strong>contents of row 2</strong></span></p>


<p align="center"><span style="font-family: Comic Sans MS; color: rgb(0, 0, 255);"><strong>cells spanning 2 and 3</strong></span></p></td>
   

</tr>
    <tr>
        <td rowspan="2">rows 3 and 4, cell 1</td>
        <td>row 3, cell 2</td>
        <td>row 3, cell 3</td>
   

</tr>
    <tr>
        <td>row 4, cell 2</td>
        <td>row 4, cell 3</td>
   

</tr>
</tbody>
</table>
</td>
</tr>

<tr>
  <td>
<br />
<br />
<br />
<p align="center">more stuff --- more stuff</p>
<br />
<br />
<br />
</td>
</tr>
</tbody>
</table>
<br />
<p align="center">more stuff --- more stuff</p>
<br />
</td>
</tr>
</tbody>
</table>




Back to one of my original questions -- I want to know what that kind of HTML that is called, so I can learn the kind I need, to be able to use that code.

In this case, it appears the body tags have simply been ignored by TP.  In another experiment I did, the body bg tag actually changed part of the theme (the color behind the forum!).  I think I lost that experiment though, so I may have to wait until I accidentally stumble upon whatever I did to cause that, to figure it out.

But, for example, it looks like TP doesn't like the width in %, because noneof my width=% tags didn't work, and are changed to something weird after saving.  All the font tags were changed into span style, and bold changed to strong.  br was changed to br / (br space slash).  And it looks like hex color codes don't work for font, and instead I'll have to look up the rgb values.  Although the hexcodes do appear to work for background color.  What the heck?

And I didn't insert all those line spaces in the "after" code.  The editor decided they should be there!  And not that it makes any difference to the final image -- it's just -- why?!

Since it's already been given that the wysiwygs don't work very well, I guess it won't help for me to show all the many "quirks", if not outright bugs I've found.  Idk, maybe you should just get rid of the wysiwygs altogether, and just have the code field where people can paste in the code that they've written elsewhere?

The problem with that, as far as BBC, I suspect, is that there isn't a code editor for BBC.  So maybe people sort of need the malfunctioning wysiwyg to learn how to use the codes (like I did)?

Anyway, thanks for any comments  :)

PS -- Oops, you posted while I was typing.  Thanks  :)
Title: Re: tips for newbie on writing articles?
Post by: brynn on May 04, 2013, 02:31:36 PM
Quote from: lurkalot on May 04, 2013, 02:22:38 PM
This does the same for me, but the code still works as expected when you view the article. 

Not after switching back to the code view. It works if you save it before you switch out of code view.  But if you switch out and then back to code view, and then save the article, you've lost to proper code, and you end up with a bulletted list.  So as far a numbered lists, there's no switching back and forth from code view to regular view.  And if you can't code the BBC separately, like you can with HTML, that's a huge problem for someone who wants to write tutorials!
Title: Re: tips for newbie on writing articles?
Post by: brynn on May 05, 2013, 04:58:21 AM
SIGH!!
Ok, my co-admin has apparently decided the wysiwyg part of the BBC editor is worthless, and has disabled it.  So you won't be able to test the BBC issues on my forum, until he replaces that function, which I've asked him to do. (He was only trying to be helpful.)  I don't know how he did that.  I think he went into the code, and which of course, we all know that I don't know much about coding.  So I can't "undo" it myself.  Hopefully tomorrow he can fix it.  But at least you can still look at the HTML issues.  Sorry if there has been any confusion.

Edit
Oh, good news!  He only disabled it for TP articles.  You can still test the issue in my forum, in a message.  Please use Testing subforum, if you want to test  :)
Title: Re: tips for newbie on writing articles?
Post by: lurkalot on May 05, 2013, 06:24:43 AM
Quote from: brynn on May 04, 2013, 02:24:33 PM
<html>
<head>
<title>test tables 3</title>
</head>
<body bgcolor=#ccaaff>
<table align=center width=90% bgcolor=#ffffff>
<tr>
<td>
<br>
<table align=center width=80% bgcolor=#ffff8f>
<tr>
<td>
<br>
<table border=2 align=center width=70% bgcolor=#ffffff>
    <tr>
        <th>Column 1 heading</th>
        <th>Column 2 heading</th>
        <th>Column 3 heading</th>
    </tr>
    <tr>
        <td><p align=center><font face="Comic Sans MS" size=#12 color=#0000ff><b>contents of row 2, cell 1</b></font></p></td>
        <td colspan="2"><p align=center><font face="Comic Sans MS" size=#12 color=#0000ff><b>contents of row 2</b></font></p>
<p align=center><font face="Comic Sans MS" size=#12 color=#0000ff><b>cells spanning 2 and 3</b></font></p></td>
    </tr>
    <tr>
        <td rowspan="2">rows 3 and 4, cell 1</td>
        <td>row 3, cell 2</td>
        <td>row 3, cell 3</td>
    </tr>
    <tr>
        <td>row 4, cell 2</td>
        <td>row 4, cell 3</td>
    </tr>
</table>
</td>
</tr>
<br>
<tr>
<td>
<br>
<br>
<br>
<p align=center>more stuff --- more stuff</p>
<br>
<br>
<br>
</td>
</tr>
</table>
<br>
<p align=center>more stuff --- more stuff</p>
<br>
</td>
</tr>
</table>
</body></html>


1 - Paste above code into the code view of HTML wysiwyg.
2 - The page automatically refreshes into regular view mode, when you save.  So switch back to code view, and see all the changes in the HTML.  Actually I wouldn't be surprised if you get a different result from me.  So just in case, this is what the code looks like now:

Back to one of my original questions -- I want to know what that kind of HTML that is called, so I can learn the kind I need, to be able to use that code.

In this case, it appears the body tags have simply been ignored by TP.  In another experiment I did, the body bg tag actually changed part of the theme (the color behind the forum!).  I think I lost that experiment though, so I may have to wait until I accidentally stumble upon whatever I did to cause that, to figure it out.

But, for example, it looks like TP doesn't like the width in %, because noneof my width=% tags didn't work, and are changed to something weird after saving.  All the font tags were changed into span style, and bold changed to strong.  br was changed to br / (br space slash).  And it looks like hex color codes don't work for font, and instead I'll have to look up the rgb values.  Although the hexcodes do appear to work for background color.  What the heck?

And I didn't insert all those line spaces in the "after" code.  The editor decided they should be there!  And not that it makes any difference to the final image -- it's just -- why?!

Since it's already been given that the wysiwygs don't work very well, I guess it won't help for me to show all the many "quirks", if not outright bugs I've found.  Idk, maybe you should just get rid of the wysiwygs altogether, and just have the code field where people can paste in the code that they've written elsewhere?


Like I said, I don't use wysiwyg, so can't test that unfortunately, but  here's your code in one of my html articles.. http://cctestsite.info/forums/index.php?page=htmltest99
Title: Re: tips for newbie on writing articles?
Post by: brynn on May 05, 2013, 03:41:43 PM
Here's what the same code looks like on my HTML article:  http://forum.inkscapecommunity.com/index.php

(Note that I changed the first table bg color from white to pink, to be more visible against the otherwise white background in my forum/theme.)

I didn't switch from code view to regular and back.  I just started in code view and saved.  For more convenient testing, I'll put the revised code (the white to pink bg).  Everything else except the bg color of the 1st table is the same.

<html>
<head>
<title>test tables 3</title>
</head>
<body bgcolor=#ccaaff>
<table align=center width=90% bgcolor=#ffaacc>
<tr>
<td>
<br>
<table align=center width=80% bgcolor=#ffff8f>
<tr>
<td>
<br>
<table border=2 align=center width=70% bgcolor=#ffffff>
    <tr>
        <th>Column 1 heading</th>
        <th>Column 2 heading</th>
        <th>Column 3 heading</th>
    </tr>
    <tr>
        <td><p align=center><font face="Comic Sans MS" size=#12 color=#0000ff><b>contents of row 2, cell 1</b></font></p></td>
        <td colspan="2"><p align=center><font face="Comic Sans MS" size=#12 color=#0000ff><b>contents of row 2</b></font></p>
<p align=center><font face="Comic Sans MS" size=#12 color=#0000ff><b>cells spanning 2 and 3</b></font></p></td>
    </tr>
    <tr>
        <td rowspan="2">rows 3 and 4, cell 1</td>
        <td>row 3, cell 2</td>
        <td>row 3, cell 3</td>
    </tr>
    <tr>
        <td>row 4, cell 2</td>
        <td>row 4, cell 3</td>
    </tr>
</table>
</td>
</tr>
<br>
<tr>
<td>
<br>
<br>
<br>
<p align=center>more stuff --- more stuff</p>
<br>
<br>
<br>
</td>
</tr>
</table>
<br>
<p align=center>more stuff --- more stuff</p>
<br>
</td>
</tr>
</table>
</body></html>


This code works as expected as a regular webpage.  And it seems to work ok on lurkalot's site.  Why isn't it working on mine?
Title: Re: tips for newbie on writing articles?
Post by: IchBin on May 07, 2013, 07:38:04 PM
I can't see any content in the middle of your page on the link you provided in your last post brynn.
Title: Re: tips for newbie on writing articles?
Post by: lurkalot on May 07, 2013, 08:10:36 PM
Quote from: IchBin™ on May 07, 2013, 07:38:04 PM
I can't see any content in the middle of your page on the link you provided in your last post brynn.

Hi Brad.  brynn must have it hidden for guests, as I can see it when logged in. ;)
Title: Re: tips for newbie on writing articles?
Post by: brynn on May 08, 2013, 06:16:24 AM
Oh gosh, I'm sorry for all the confusion.  I thought I had it set up so that anyone can see it.  I wonder what I should change to allow you to see it?  Let me see what I can do....

Edit
Ok, I made some changes, although I have no idea if they will allow you to see it.  If anyone has any tips (to make the page visible by guests) I'd appreciate it.
Title: Re: tips for newbie on writing articles?
Post by: lurkalot on May 08, 2013, 07:48:03 AM
Quote from: brynn on May 08, 2013, 06:16:24 AM

If anyone has any tips (to make the page visible by guests) I'd appreciate it.


Go to category which that article is in. > Categories > Membergroups that can see this category > Make sure this box is checked "Guests"  And save.

Log out, and see if you can see it.
Title: Re: tips for newbie on writing articles?
Post by: brynn on May 08, 2013, 09:59:27 AM
Thanks lurkalot.  It's done  :)

Edit
PS -- I'm thinking the problem may be with the theme, because I can't log out!  I don't know what's up with that, but that code works fine in at least 2 other SMF with TP forums (and by itself in a browser).  I really like the theme otherwise, and it wouldn't be a terrible problem not to be able to log out.  But if something about it breaks TP, I guess I'd have to find a new one.  ....or maybe the theme maker would agree to fix it, if the theme turns out to be the problem.

The theme is called Aqua Style.
Title: Re: tips for newbie on writing articles?
Post by: brynn on May 12, 2013, 08:55:40 PM
Ok.  Update.  I think I've solved the problem. (not alone -- someone else helped)

When I first start to write the HTML article (which code is provided above) the wysiwyg editor was on, apparently by default.  I learned a week or 2 ago not to switch back and forth from code view to wysiwyg view, BECAUSE IT'S BROKEN.  So I had switched to code view, to paste the code, and then I saved.  I did not switch back to wysiwyg.  I don't know if anyone else has seen the page that I've kept visible for almost a week now. But I'll be putting the forum back into Maintenance Mode now, until I'm ready to open.  Anyway, the bottom line, apparently, is the wysiwyg breaks the code whether you use it or not, as long as it's available.

The trick to make the above pasted code to work properly is to disable the wysiwyg ENTIRELY.  It cannot be available, but simply not used.  It must be disabled entirely!

Now, I don't know enough about this business to understand why you would keep a clearly malfunctioning feature in what is otherwise a nice product.  But I would like to suggest that you either fix it, or remove it entirely.  What the heck?

Thank you very much, to all the people who've posted to try and help.  I sincerely appreciate it  :)

Edit
How to mark solved??  Oh, I see.  Thanks again  :)
Title: Re: tips for newbie on writing articles?
Post by: lurkalot on May 12, 2013, 10:27:35 PM
Quote from: brynn on May 12, 2013, 08:55:40 PM

Ok.  Update.  I think I've solved the problem. (not alone -- someone else helped)


erm, I suggested doing this in the second post in this thread.  ???

Quote from: lurkalot on May 02, 2013, 06:35:14 PM
OK, here's something for you to try.  Go to Tinyportal admin > Click the settings icon for the articles, (The pen icon)  On the page that comes up, set "Use the WYSIWYG editor?" to No. and save. 

Now add a new html article and enter (or paste) your desired html code. See if that works. It should.  ;)

Title: Re: tips for newbie on writing articles?
Post by: brynn on May 13, 2013, 03:10:32 AM
Oh yes, I did see that!  And I thought that's what I had done!

I didn't see any difference between disabling, and just not using it.  To me, there shouldn't be any difference, whether it's there and I choose not to use it, or I disable it.  Either way, I'm not using it!

Why should having the wysiwyg available make any difference to my code, if I don't use the wysiwyg.  And if a "toggle" switch does anything more than toggle, something is wrong. Doesn't that make sense to anyone besides me? 

Clearly it makes a huge difference.  But I don't know how I could have known that.

And if having the wysiwyg available is going to break the code, even though it's not being used, I would submit that something is malfunctioning.  And if it's not going to be fixed, it ought to be left out of the product.

Anyway, I'm sorry, I don't mean to sound angry with you.  I truly appreciate your help.  I'm angry with the software not making sense to me.

Anyway, I'm good to go -- more problems to solve.  Thanks again  :)