DjangoBB

Django based forum engine

  • You are not logged in.

#1 Nov. 8, 2010 17:58:22

bixmix
Registered: 2010-11-02
Posts: 7
Reputation: +  0  -
Profile   Send e-mail  

Preview post

It would be nice to have a preview function that does not actually post so you can see how the message will be laid out on the screen.

Offline

#2 Nov. 8, 2010 19:24:37

alafin
DjangoBB Developer
From: Ukraine
Registered: 2009-10-26
Posts: 26
Reputation: +  1  -
Profile   Send e-mail  

Preview post

bixmix, markit up editor have button for preview. This is the last button has a kind of check. You can use it.

Offline

#3 Nov. 8, 2010 20:38:35

bixmix
Registered: 2010-11-02
Posts: 7
Reputation: +  0  -
Profile   Send e-mail  

Preview post

ahh the 'check'. ok. had to mouseover.

I'm used to seeing something at the bottom next to submit

Thx

Offline

#4 Nov. 24, 2010 15:13:25

Wladimir_Palant
Registered: 2010-11-24
Posts: 7
Reputation: +  1  -
Profile   Send e-mail  

Preview post

Yes, this button is very non-obvious - one doesn't expect anything but formatting tools there. At the very least it should be right-aligned so that it stands out, ideally it should also have the text "preview" next to it. This is a much needed function and right now it is absolutely not discoverable.

Another issue that pressing it doesn't seem to do anything. I clicked it multiple times until I realized that I have to scroll down. Scrolling down to the preview should happen automatically when the preview loads.

Offline

#5 March 23, 2011 05:30:50

mavee
Registered: 2011-03-23
Posts: 14
Reputation: +  0  -
Profile   Send e-mail  

Preview post

Hi, currently I am still experimenting with djangobb forum but in my case the preview is not functioning. If I click the preview button all I get is empty box under the posting box. Anyone can help regarding this? Am I missing something configuration or something? Tnx.

Offline

#6 March 23, 2011 09:26:36

slav0nic
DjangoBB Developer
From: Ukraine
Registered: 2009-10-25
Posts: 307
Reputation: +  6  -
Profile   Send e-mail  

Preview post

check browser errors + server logs (/preview/ page)

Offline

#7 March 24, 2011 04:49:55

mavee
Registered: 2011-03-23
Posts: 14
Reputation: +  0  -
Profile   Send e-mail  

Preview post


Django server error log:
[24/Mar/2011 09:39:50] "POST /forum/preview/ HTTP/1.1" 403 2332

Copy paste from firefox 3.6.13 error console:
Warning: reference to undefined property clicked.beforeInsert
Source File: http://127.0.0.1:8000/static/forum/js/markitup/jquery.markitup.pack.js
Line: 9
Warning: reference to undefined property clicked.openWith
Source File: http://127.0.0.1:8000/static/forum/js/markitup/jquery.markitup.pack.js
Line: 9
Warning: reference to undefined property clicked.placeHolder
Source File: http://127.0.0.1:8000/static/forum/js/markitup/jquery.markitup.pack.js
Line: 9
Warning: reference to undefined property clicked.replaceWith
Source File: http://127.0.0.1:8000/static/forum/js/markitup/jquery.markitup.pack.js
Line: 9
Warning: reference to undefined property clicked.closeWith
Source File: http://127.0.0.1:8000/static/forum/js/markitup/jquery.markitup.pack.js
Line: 9
Warning: reference to undefined property clicked.afterInsert
Source File: http://127.0.0.1:8000/static/forum/js/markitup/jquery.markitup.pack.js
Line: 9
Error: phtml is not defined
Source File: http://127.0.0.1:8000/static/forum/js/markitup/jquery.markitup.pack.js
Line: 9

Offline

#8 March 24, 2011 09:40:30

slav0nic
DjangoBB Developer
From: Ukraine
Registered: 2009-10-25
Posts: 307
Reputation: +  6  -
Profile   Send e-mail  

Preview post

maybe not all js scripts loaded? maybe some locked by Adblock or something else?

hm, you used latest version? maybe you tried old version on django 1.3

Offline

#9 March 24, 2011 09:57:27

slav0nic
DjangoBB Developer
From: Ukraine
Registered: 2009-10-25
Posts: 307
Reputation: +  6  -
Profile   Send e-mail  

Preview post

yep, saw this bug with 1.3, will be fixed today

fixed http://bitbucket.org/slav0nic/djangobb/changeset/4ad728a26f70

Edited slav0nic (March 24, 2011 10:02:43)

Offline

#10 March 29, 2011 10:04:20

mavee
Registered: 2011-03-23
Posts: 14
Reputation: +  0  -
Profile   Send e-mail  

Preview post

Hallo slav0nic,
just for you know I use django 1.2.5.
But now after updated my djangobb, the preview is working.
Thanks for the fix.

Offline

Board footer

Moderator control

Powered by DjangoBB

Lo-Fi Version