coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: scottcrew on November 05, 2007, 10:31:50 PM

Title: editing comments
Post by: scottcrew on November 05, 2007, 10:31:50 PM
We cannot seem to edit the comments... Admins & users alike.
I did a search on this, but have not been able to find an answer.

Perhaps I missed a setting somewhere???
Please help!!
Title: Re: editing comments
Post by: just_some_guy on November 05, 2007, 10:33:52 PM
You can; just click the e for edit next to the x for delete.
Title: Re: editing comments
Post by: scottcrew on November 05, 2007, 10:35:31 PM
We've tried that... That is why I am posting...
The website is:
http://www.loadedboards.com/gallery

Title: Re: editing comments
Post by: just_some_guy on November 05, 2007, 10:39:13 PM
Well i made a test comment and the edit button was there.
Title: Re: editing comments
Post by: scottcrew on November 05, 2007, 10:40:31 PM
Yes, the button is there, but it doesn't work.
What I see in the status bar when I mouseover the "e" is "javascript:;"
Title: Re: editing comments
Post by: just_some_guy on November 05, 2007, 10:46:17 PM
Your right it doesent work, youve got a javascript error, double click the error in the bottom left of your browser for more info (IE).
Title: Re: editing comments
Post by: scottcrew on November 05, 2007, 10:53:17 PM
I am not seeing a javascript error...
Title: Re: editing comments
Post by: just_some_guy on November 05, 2007, 10:54:18 PM
If you click it you will see the error. Did you edit the code?
Title: Re: editing comments
Post by: scottcrew on November 05, 2007, 10:56:21 PM
I have clicked on it and I still don't see an error...
No, I did not edit any of the javascript...
Title: Re: editing comments
Post by: just_some_guy on November 05, 2007, 11:02:35 PM
It wont pp up saying "JavaScript Error" it will just act like nothing is wrong but you should see an ! or something in your browser (in IE it appears in the bottom left corner).
Title: Re: editing comments
Post by: scottcrew on November 05, 2007, 11:43:20 PM
I am seeing the following errors in my javascript console using Opera:

Quote
http://www.loadedboards.com/gallery/displayimage.php?pos=-84
Event thread: onclick
Error:
name: ReferenceError
message: Statement on line 1: Reference to undefined variable: No such variable 'blocking'
Backtrace:
  In unknown script
    blocking("cbody308", "", "block");
  At unknown location
    {event handler trampoline}

http://www.loadedboards.com/gallery/displayimage.php?pos=-84
Event thread: onclick
Error:
name: ReferenceError
message: Statement on line 1: Reference to undefined variable: No such variable 'blocking'
Backtrace:
  In unknown script
    blocking("cbody312", "", "block");
  At unknown location
    {event handler trampoline}

http://www.loadedboards.com/gallery/displayimage.php?pos=-84
Event thread: onclick
Error:
name: ReferenceError
message: Statement on line 1: Reference to undefined variable: No such variable 'blocking'
Backtrace:
  In unknown script
    blocking("cbody312", "", "block");
  At unknown location
    {event handler trampoline}

Looks like the javascript may be missing?????
Title: Re: editing comments
Post by: Joachim Müller on November 06, 2007, 07:19:15 AM
Not very surprising: you have over-edited your theme. Review http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#noFullsizePopup and do as suggested there (other symptom, same cause)
Title: Re: editing comments
Post by: scottcrew on November 06, 2007, 01:43:24 PM
Well, there you have it...
Thanks for pointing me in the right direction... It's working now...
Funny thing, I don't even remember removing this line from the template...
<script type="text/javascript" src="scripts.js"></script>

Thanks again!