×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Comment a nested comment - problem !

Comment a nested comment - problem ! 13 years 7 months ago #11868

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Vavslovakia,
Sorry but I didn't understand what you mean.
From the screenshot it looks like 2 is the main comment and 3 and 1 are both nested under 2.
if you click the reply button on number 3 - then you are going to get a nested comment under 3.

Daniel

Comment a nested comment - problem ! 13 years 7 months ago #11869

  • vavslovakia
  • vavslovakia's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
i want to reply to comment number 1 comment but reply doesnt appear ! ...just try send a reply (in my language odpovedat Ответить - in russian)
attachment is showing that number 1 is nested comment for number 2 but if i want send reply for number 1 nothing happened so only way to send a comment is send reply to number 2 to appear number 3 but it isnt a nested comment for number 1

Comment a nested comment - problem ! 13 years 7 months ago #11871

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
May I see your website? Could you give me a direct link to the post?
Daniel

Comment a nested comment - problem ! 13 years 7 months ago #11873

  • vavslovakia
  • vavslovakia's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
When i obtain and try link to post in took me to first post...
open www.opatrovatelky.com and there is comments at home page...try reply nested comment...
reply in my language is odoslať...nested one, no main
main get one nested but you cant reply nested comment

Comment a nested comment - problem ! 13 years 7 months ago #11874

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Wow, 2020 comments for a single article! Respect!!!

About the nested comments - that is really an interesting problem. The comments seems to be published, but I wonder where do they end up shown...

Could you perhaps make a dump of the jos_comment tables and send them to me This email address is being protected from spambots. You need JavaScript enabled to view it. ?

Then I can try to debug a little bit more and perhaps find what is wrong.
Daniel

Comment a nested comment - problem ! 13 years 7 months ago #11875

  • vavslovakia
  • vavslovakia's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
ill send jos_comment now

how i install comments:
I install from package from ftp, because everything didnt work (ways of install, manual way too). I took my old comments from table, i put in compojoomcomment 4.1.8 , sql - UPDATE jos_comment SET component = 'com_content' WHERE component = '';
and i can see older comments ( other ways how to get old comment from !joomcomment to compojoomcomment didnt show me my comment in component at administrator)
But: i have problem with nested comments and that captcha too...as you see i turned it off, i open and save setting and nothing..but save my nested comments

P.S: there was 5500+ comments but my webhosting have problems with mysql :D

Comment a nested comment - problem ! 13 years 7 months ago #11876

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
so, I've imported your dump into my local database. I've also managed to post several nested comments - look at the screenshot.
From what I saw and from what you are saying it seems that something went wrong with your update. Please send me a mail with super admin access + ftp credentials - I'll try to install the component myself. (also make a backup before you give me the credentials :))
Daniel

Comment a nested comment - problem ! 13 years 7 months ago #11877

  • vavslovakia
  • vavslovakia's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
i sent all data what you want and make backups, you can try it

Comment a nested comment - problem ! 13 years 7 months ago #11878

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Ok, so I'm confused with that page :)
Can you tell me where this text is comming from:
<?xml version="1.0" standalone="yes"?><post><published>1</published><noerror>1</noerror><debug></debug><id>5085</id><body><![CDATA[
<ul id='post5085' style='margin-left:0px;' class='josc_published'>
    <li class='post'>
        <a name='josc5085'></a>
        <div class='posthead'>
            <span class='postinfo'>
                <span class='postdate'>2011-04-13 15:43:49</span>
 
				<span class='postnotify0' title='Neupozorniť na reakciu'></span>
            	|
            </span>
                <span title='COM_COMMENT_USER_ANONYMOUS' class='username'>AGENTURA  DRESCHER</span>
 
        </div>
        <div class='postcontent'>
            <div class='comment_content'>Čo už len ten &quot;milý&quot; dedko vymyslel?<br />
PREČO čušite milé dámy a páni a necháte si dirigovať kto vás bude voziť a za akých podmienok.  Zverejnite tu  k  čomu Vás  nútia? Nevidno tu nič, to sa ich tak bojíte? No a tá zdieračka S l u š n i k o v á, tá je špica v zdieraní.To je určite z jej hlavy!!<br />
Na   slovaci.at je otrasný článok o nich.Muschia</div>
        </div>
 
        <div class='postfooter'>
            <ul class='voting'><li><div id='yes5085' class='voting_yes' onclick='JOSC_voting(5085,&#34;yes&#34;)'><span>0</span></div></li><li><div id='no5085' class='voting_no' onclick='JOSC_voting(5085,&#34;no&#34;)'><span>0</span></div></li></ul>
                <span>
                    <a href='javascript:JOSC_reply(5085)'>Odpovedať</a>
				</span>
        </div>
 
        <div class='josc_clear'></div>
    </li>
</ul>
]]></body><captcha><![CDATA[<a title="COM_COMMENT_RELOAD_CAPTCHA" href='javascript:JOSC_reloadCaptcha()'><img src="/component/comment/?josctask=captcha&amp;refid=74610b15a1b087d2dc7a7356bbf3b1c5" alt="default Security Image" />
<input type="hidden" name="security_refid" value="74610b15a1b087d2dc7a7356bbf3b1c5" /></a>]]></captcha></post>

<div class='comment_content'>Čo už len ten "milý" dedko vymyslel?<br />
PREČO čušite milé dámy a páni a necháte si dirigovať kto vás bude voziť a za akých podmienok. Zverejnite tu k čomu Vás nútia? Nevidno tu nič, to sa ich tak bojíte? No a tá zdieračka S l u š n i k o v á, tá je špica v zdieraní.To je určite z jej hlavy!!<br />
Na slovaci.at je otrasný článok o nich.Muschia</div>


i've entered test as a comment, so the content of comment_content should be also test and not the thing that I see..

Comment a nested comment - problem ! 13 years 7 months ago #11879

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
is it possible to update to 1.5.22 ? Perhaps there is something related to that old version of joomla you are using there...

Comment a nested comment - problem ! 13 years 7 months ago #11880

  • vavslovakia
  • vavslovakia's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
i dont know where it is going from :(

Comment a nested comment - problem ! 13 years 7 months ago #11881

  • vavslovakia
  • vavslovakia's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
yes, i can upgrade my domain to newest joomla 1.5.22 tommorow, i have bad upload on my internet at house :/

Comment a nested comment - problem ! 13 years 7 months ago #11882

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Ok, problem was fixed yesterday. It was a small bug in the way nested comments were shown when you have selected order by latest first. The fix will be included in the next release.

Comment a nested comment - problem ! 13 years 5 months ago #12233

  • Panagiota Karkalou
  • Panagiota Karkalou's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0

Daniel Dimitrov wrote: Ok, problem was fixed yesterday. It was a small bug in the way nested comments were shown when you have selected order by latest first. The fix will be included in the next release.


Hello! i have the SAME problem with the nested comments!!! I've the latest version (download it yesterday) but nothing...
can you send me the fix files please?????
OR
see my site

test page: www.megabox.gr/megas/ttt

i've several comments of 01/06/2011, 31/05/2011 but they are not SHOWN!!!

thanks!!!!

Comment a nested comment - problem ! 13 years 5 months ago #12234

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Dekari, go to your backend and change the way the comments are ordered - from latest to newest. This should show all comments.

Our svn server is broken right now and I'm unable to tell you which line you have to change. Once we recover it I can tell you what to do and you can still show the newest comments first.

Daniel

Comment a nested comment - problem ! 13 years 5 months ago #12236

  • Panagiota Karkalou
  • Panagiota Karkalou's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
i've changed the order but still not all comments shown!
my option are:

Structure
=========
Allow nested comments =yes
Only moderators = NO
Comments sorting (if NOT nested comments): New Entries Last

maybe should i provide you user/pass to take a look? OR send you my dump file for the jos_comment?
please this is URGENT i've my client's new site on hold due to this matter!!!

thanks

Comment a nested comment - problem ! 13 years 5 months ago #12237

  • Panagiota Karkalou
  • Panagiota Karkalou's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0

Dekari wrote: i've changed the order but still not all comments shown!
my option are:

Structure
=========
Allow nested comments =yes
Only moderators = NO
Comments sorting (if NOT nested comments): New Entries Last

maybe should i provide you user/pass to take a look? OR send you my dump file for the jos_comment?
please this is URGENT i've my client's new site on hold due to this matter!!!

thanks


note: i have transfered the comments from JCOMMENTS..

maybe i should give you my jcomments table ? i have imported from the IMPORT MENU in backend of compojoomComment...

Comment a nested comment - problem ! 13 years 5 months ago #12239

  • Panagiota Karkalou
  • Panagiota Karkalou's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0

Dekari wrote:

Dekari wrote: i've changed the order but still not all comments shown!
my option are:

Structure
=========
Allow nested comments =yes
Only moderators = NO
Comments sorting (if NOT nested comments): New Entries Last

maybe should i provide you user/pass to take a look? OR send you my dump file for the jos_comment?
please this is URGENT i've my client's new site on hold due to this matter!!!

thanks


note: i have transfered the comments from JCOMMENTS..

maybe i should give you my jcomments table ? i have imported from the IMPORT MENU in backend of compojoomComment...


i solved the issue on my own... changed the id's of import to be the same as the records where in jos_jcomments...

seems tha the "LATEST" is by ID not BY DATETIME!!!

thanks anyway..

Comment a nested comment - problem ! 13 years 5 months ago #12335

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Dekari,
I didn't really understand your solution, but the solution to the problem of vavslovakia is to change line 254 in :
components/com_comment/classes/joomlacomment/JOSC_visual.php

from
$database->SetQuery($queryselect.$queryfrom.$querychildren.$queryorder);

to
$database->SetQuery($queryselect.$queryfrom.$querychildren."\n ORDER BY id ASC");

Comment a nested comment - problem ! 8 years 10 months ago #33214

  • Tero Pernu
  • Tero Pernu's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hi,

I think a had a similar problem. I imported comments from K2 and the id numbers are running "backwards". The oldest comment had the biggest id number.

My customer wanted the comments to run threaded and from oldest to newest (from top down). After setting the comments sorting to "New entries last" the comments were organized correctly but the threaded comments were still "New entries first".

I changed the /components/com_comment/models/comment.php a bit and now the comments and threaded comments seem to follow my "New entries last" setting.
(Actually I also had to change the order to "New entries first" which is basically the opposite I wanted)

Here what I changed. Just before the line
// Don't change the ordering here - otherwise nested comments won't be sorted right
I changed the "$query->order('id ASC');" to " $query->order('id DESC');"

I'm not a coder, so I have no idea why this works. Daniel could you comment on this and tell is my solution good or if there's something I might have left unnoticed?
  • Page:
  • 1
  • 2
Time to create page: 0.145 seconds