WOW! So quick! The new version works perfect for text, but with smileys there is a problem....
The Extension quotes the smileys as an HTML code (actually like they are shown in the HTML sourcecode of the page), but it shouldn't. Here an examlple:
The comment I want to quote is typed in in this way, is also shows up so if I click on the edit button:
dfgsfgsfg :D :P -> and :P are smileys inserted with the Vanillacons extension
The Quotation-Extension quotes this text on that way:
so I installed the new quotation extension and I recieve the following error... when clicking on a thread.
Fatal error: Call to a member function on a non-object in /home/answerus/domains/answerus.com/public_html/community/extensions/Quotations/default.php on line 25
i looked at the code but from what i can tell it looks ok... i wish i had a better grasp on php so i could fix myself... anyone wanna take on a student?
hehe
I think it would be also good to have an option to cut off the quote after some amount of words and also an option, that allows not to show the other quotations within the quotation :-)
hmm I don't know why it still isn't working for me, i get this error.
Fatal error: Call to a member function on a non-object in /home/.cerebrum/jkantro/macpose.com/forum/extensions/Quotations/default.php on line 25
i am using the bbcode extension and followed your instructions.
Comments
The Extension quotes the smileys as an HTML code (actually like they are shown in the HTML sourcecode of the page), but it shouldn't. Here an examlple:
The comment I want to quote is typed in in this way, is also shows up so if I click on the edit button:
dfgsfgsfg :D :P
-> and :P are smileys inserted with the Vanillacons extensionThe Quotation-Extension quotes this text on that way:
[quote][cite]Posted By: uzi[/cite]dfgsfgsfg[img title=:D alt=:D]extensions/Vanillacons/smilies/standard/:D.gif[/img][img title=:P alt=:P]extensions/Vanillacons/smilies/standard/:P.gif[/img][/quote]
after that the smileys are not shown in the qoute due to the disabled HTML.
So the quotation should be like that:
[quote][cite]Posted By: uzi[/cite]dfgsfgsfg :D :P[/quote]
Then we automatically let the Vanillacons extension convert the smileys and everything works right.
Any ideas?
Then again, most forums only have one markup choice, and maybe plain text, so I didn't see it being much of an issue.
EDIT: for now, replace that line with:
$CommentList .= '<a onmousedown="quote(this);">quote</a>';
I changed it back for now.
But will re-download it anyway, if there are any other changes made?
if(tagName == "blockquote") { tagName = ""; }
That should disable nested quotes.
to jakob_r: yes, I know, but not all of the users use this function and so, i think, this cut-off option is required