Buy Now
Sign in

Edit and Publishing

Roway , September 09 2008, 03:35
R
Roway 5
September 09 2008, 03:35 #12971
I have set the parameters in the back end, but when you edit post it does not update. I see the progress message: Working - Finished. But no update in front or back end. Also when you unpublished post, you have to refresh the page for post to disappear. Can this auto update. I'm using Joomla 1.5.6 on IE & Firefox. View Here! Thanks for your free software and help!
admin 32
September 09 2008, 03:42 #12973
Hi Roway,

I see, found where the bug is, here is how to fix :

open components/com_chronocomments/templates/comment-item.html.php

find this line :

<input name="parentid" type="hidden" value="{comment_parentid}" />

add the line after it :

<?php echo JHTML::_( 'form.token' ); ?>


save and retry then let me know please!

Regards

Max
R
Roway 5
September 09 2008, 03:58 #12974
First of all THANKS for your fast reply!! But now I get:
NOTAUTH_CAPTCHA

If I disable CAPTCHA, edit works fine.
admin 32
September 09 2008, 04:18 #12975
thanks, replace chronocomments.php with the one attached and all will be fine

regards

Max

Attachments
chronocomments.zip
(4.01 KiB)
860 Downloads/Views
J
jminker 12
September 09 2008, 19:12 #13038
Thanks Max!
admin 32
September 09 2008, 22:55 #13048
No problems!
R
Roway 5
September 10 2008, 00:34 #13060
Works great! I also posted a excellent review at Joomla for your hard work. Thanks Max.
admin 32
September 10 2008, 09:36 #13072
Thank you Roway!
R
revive 111
October 15 2008, 17:06 #15327
Hey Max,

I'm having the same issue with not being able to edit/unpublish comments.. so I downloaded the file you attached to this post,. and included the code snippet as directed.. I CAN edit now..but now I'm getting a NOTAUTH_CAPTCHA if I try to reply to a post...and unpublish does work but requires me to refresh the page to make it go away.


Any thoughts??
admin 32
October 15 2008, 17:29 #15328
Hi Jesse,

this is V1.2 or V1.1 ?
R
revive 111
October 15 2008, 17:50 #15335
V1.1 just now passing my CSS and other changes to the V1.2 and will try it out.. Does V1.2 address these concerns??

Running into an issue..when I decompress the pkg and make my changes to the .css, etc. and recompress the file into a zip.. the system says it doesn't see an XML file..So, I'll have to upload your pkg then upload each modified file separately..

Fun fun
R
revive 111
October 15 2008, 17:56 #15337
Ok,.. installed the V1.2 Express Install.. all looked well.. tried to post a reply to one of the comments.. it opened the reply comment text field.. and stayed there after I hit Submit..
R
revive 111
October 15 2008, 18:07 #15341
Ok.. unsintalled.. reinstalled.. got that cool 'installed' message.. set the parameters.. cleared cache, refreshed page.. went to make a comment.. and this is on the email field:
 <script language='JavaScript' type='text/javascript'>  <!--  var prefix = 'ma' + 'il' + 'to';  var path = 'hr' + 'ef' + '=';  var addy20689 = 'jesse' + '@';  addy20689 = addy20689 + 'revivemarketing' + '.' + 'org';  document.write( '<a ' + path + '\'' + prefix + ':' + addy20689 + '\'>' );  document.write( addy20689 );  document.write( '<\/a>' );  //-->\n </script><script language='JavaScript' type='text/javascript'>  <!--  document.write( '<span style=\'display: none;\'>' );  //-->  </script>This e-mail address is being protected from spambots. You need JavaScript enabled to view it  <script language='JavaScript' type='text/javascript'>  <!--  document.write( '</' );  document.write( 'span>' );  //-->  </script>


???

I'm thinking this shouldn't be seen, right?!

It WILL let me post a comment by clearing the field and entering the email address.. and then the that code reappears if I click 'show/hide comment form' link..

This is a fresh install of V1.2
on J1.5.7 running on PHP5 MAMP localhost
R
revive 111
October 15 2008, 18:21 #15348
Max,
That was the easiest fix EVER... thank you.

BTW, did you get a chance in the middle of all of these posts, to look over my PM? PM or EM me your thoughts.. I'm eager to hear them.

Jesse
R
revive 111
October 15 2008, 18:32 #15349
One more issue arose.. when I input a URL into the comment, using the parameter that 'coverts' all url's regardless of using the BBC code.. I get a 'chopped' URL.. like this:

http://chronoeng ine.com

And when I select edit to change it.. it shows this: <a href="http://chronoeng ine.com">http://chronoeng ine.com</a>

If I removed the space, it displays an error above the comment:

Notice: Undefined variable: pageid in /Applications/MAMP/htdocs/livesite/components/com_chronocomments/chronocomments.php on line 203
admin 32
October 15 2008, 21:39 #15359
Hi Jesse,

try to disable "break long words" parameter and see ?
R
revive 111
October 16 2008, 03:20 #15374
Hey Max,

That seems to work, but when I selected 'edit' to change the url and a href, I moved a . to the end, after the </a> tag to look like this:

<a href="http://chronoeng ine.com">http://chronoeng ine.com</a>.

and the system continued to move the period INTO the <a> tag like this:

<a href="http://chronoeng ine.com.">http://chronoeng ine.com.</a>

making the link inaccessible.. so, I turned off the long word break and auto URL creation.. bummer, that is a great feature for the less internet savvy... any fix in the works??
admin 32
October 16 2008, 03:22 #15375
Sure, I will check this and fix ASAP.

Cheers,

Max