×

Notice

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

TOPIC: Showing CJC on first page of article?

Showing CJC on first page of article? 13 years 4 months ago #10839

  • Steve Burke
  • Steve Burke's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 38
  • Thank you received: 0
Just wondering if this is a possibility - I checked the FAQ and didn't find anything. I have a paginated article (2 pages), is it possible to display compojoom comment on the all pages, rather than only the last page? Most websites (at least, the ones I visit) have comments enabled on all pages of an article. Just wondering if this is possible.

Thanks!

Showing CJC on first page of article? 13 years 4 months ago #10847

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
How are you loading the joomla plugin for compojoom? Is it on rendercontent or on after display text?

In my dev environment I have the comments shown on every single page, starting with the first one.

Showing CJC on first page of article? 13 years 4 months ago #10858

  • Steve Burke
  • Steve Burke's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 38
  • Thank you received: 0
I am currently loading it onPrepareContent. Should I change it to something else? Note: I think onPrepareContent is default. I tried changing it to 'onRenderContent,' but then the comments didn't appear at all.

Thanks :D

Showing CJC on first page of article? 13 years 4 months ago #10859

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
try onAfterDisplayContent::JOSCusereturn (you enter this in compojoomComment->settings->com_content - load plugin on)

Showing CJC on first page of article? 13 years 4 months ago #10860

  • Steve Burke
  • Steve Burke's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 38
  • Thank you received: 0
Looks like it works great for now :D I'll test it a bit later, but seems like everything is working as it should be.

Thanks! onAfterDisplayContent::JOSCusereturn worked fine.

Showing CJC on first page of article? 13 years 4 months ago #10864

  • Steve Burke
  • Steve Burke's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 38
  • Thank you received: 0
OK, one problem. Now when I try to guest comment, it auto-fills the email field with this:

"{emailcloak=off}"

Any ideas? I checked email cloaking, and it is in fact on.

Showing CJC on first page of article? 13 years 4 months ago #10866

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hm, that is strange - try to reorder the plugins. Place the cloaking plugin before compojoom.

Showing CJC on first page of article? 13 years 4 months ago #10873

  • Steve Burke
  • Steve Burke's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 38
  • Thank you received: 0
Hmm... curious. I tried these things:

- Reorder plugins: failed. I moved Cloaking before comments, still had the error.
- Disabling cloaking removes the issue.
- Return load to "onPrepareContent" -> the error was still displayed, despite the fact that it had gone undetected in this state before.
- This issue appears on all pages w/ comments. Demo here (hyperlink removed for security purposes):

gamersnexus.net/features/gg/461-level-design-from-lyrics-to-levels

Showing CJC on first page of article? 13 years 4 months ago #10874

  • Steve Burke
  • Steve Burke's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 38
  • Thank you received: 0
Nevermind... somehow I fixed it. Tested in FF, Opera, IE. Fix appears to have been:

- Switch cloaking to "As linkable mailto text"
- Disable cloaking for a short time - I gave it 3 minutes.
- Re-enable cloaking, the issue is gone.

Thoughts?

Showing CJC on first page of article? 13 years 4 months ago #10883

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
No real idea, but I'm really happy that you sorted it out :)
I love people that sort those things out alone :)

Showing CJC on first page of article? 13 years 4 months ago #10941

  • milad
  • milad's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 8
Hi Daniel, after upgrading to the 4.1.7 version i have this issue too, but could not solve it...

Showing CJC on first page of article? 13 years 4 months ago #10943

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081

Showing CJC on first page of article? 13 years 4 months ago #10944

  • milad
  • milad's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 8
tnx it worked !
  • Page:
  • 1
Time to create page: 0.258 seconds