TinyPortal

Development => Support => Topic started by: Gossamer on October 13, 2010, 05:23:33 PM

Title: Empty BBC Articles
Post by: Gossamer on October 13, 2010, 05:23:33 PM
Link to my site: http://markedtest.elementfx.com/forum/
SMF version: SMF 2.0 RC3
TP version: TP 1.0 RC1
Theme name and version: Test theme - it's just a copy of the default theme
Browser Name and Version: Firefox 3.6.10
Mods installed: Tinyportal, Subaccounts, ADK Blog
Related Error messages:

http://markedtest.elementfx.com/forum/index.php?action=tpadmin;sa=addarticle_bbc
8: Undefined index: pub_start
File: /home/gossamer/public_html/forum/Themes/default/GenericControls.template.php (main sub template - eval?)
Line: 2272


http://markedtest.elementfx.com/forum/index.php?action=tpadmin;sa=addarticle_bbc
8: Undefined index: pub_end
File: /home/gossamer/public_html/forum/Themes/default/GenericControls.template.php (main sub template - eval?)
Line: 2324


I've only just installed the Tinyportal mod on a test forum and everything seems to be working great except for a couple of things.  The biggest issue is that I cannot seem to save content in BBC articles.  I enter content and I hit save and though the article posts, it posts an empty article.  The author information is there and is followed immediately by the social links.  When I go back to the edit the article, the content fields are blank.

The only time I have gotten this to work is when I toggle the view button and then the bbcode manually displays.  But if I just type something in without any formatting, then the article still turns up blank.

Any ideas?
Title: Re: Empty BBC Articles
Post by: IchBin on October 13, 2010, 08:02:54 PM
Can you post an example of the code/text you are trying to get to appear in an article? Thanks for posting all that info btw, that really helps.  O0
Title: Re: Empty BBC Articles
Post by: Gossamer on October 14, 2010, 05:46:08 AM
Test #1
This is a member submission
Pleeeease work
Result: Same bug - an empty article saved

Another member submission
Test #2
[color=purple]Pleeeease work[/color]
The coding on this one was added using the editor rather than manually entering bbcode
Result: Same bug - an empty article saved

Another member submission
Test #3
[color=purple]Pleeeease work[/color]
The bbc on this one was manually entered
Result: And still not saved  :(

I just tried all three of those again using the admin account, but the same results.  I can't seem to get it to save at all this time around.

Edit: Aaand, BBC doesn't seem to save when editing a BBC either.  Just tried that for the first time and no luck.
Title: Re: Empty BBC Articles
Post by: lurkalot on October 14, 2010, 10:00:02 AM
Think this was the same problem I was having a while back.

TP Admin / articles /settings /

turn the "Use the WYSIWYG editor?"  to No, and see what happens.
Title: Re: Empty BBC Articles
Post by: agridoc on October 14, 2010, 11:54:14 AM
There is a bug. To the moment, until it's fixed, copy the content then save. If not saved, paste the saved content, toggle the WYSIWYG editor, then save. To be able to save again you have to toggle again the WYSIWYG editor. WYSIWYG state doesn't affect save, only toggle before saving.