AJAX comments pagination

Download plugins, language packs and stuff.

Postby scottdallas » Wed Apr 25, 2007 1:26 pm

I'm so pumped about this.. it works. I don't know what took me so long to try this out. Finally I can stop having messy comments.. like.. this page:



http://www.scottdizzle.com/view.php?lin ... emake.html



Frickin 240 comments.. took forever to load.. but not anymore!



I do have a quick question.. not too big of a deal just something I'd like to know. When I changed show.comments.php to show 5 comments instead of 10, there is a huge gap between comments and comment form. Where is the height to adjust this?
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby FI-DD » Wed Apr 25, 2007 6:21 pm

Try to remove the following line from ajaxcommentspagination.js:

Code: Select all
commentdiv.style.height = commentdiv.offsetHeight;
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby specialman » Thu Oct 11, 2007 10:22 pm

i want this hack soooo much .. does it work with cutenews 1.4.5 from www.cutephp.com ??
please man i need it :cry:
specialman
 
Posts: 2
Joined: Thu Oct 11, 2007 10:13 pm

Postby Ramon » Thu Oct 11, 2007 11:24 pm

cnr only, sorry mate
Image
Ramon
 
Posts: 599
Joined: Wed Oct 12, 2005 8:51 pm
Location: Hoogeveen, NL

Postby Partyism » Wed Nov 05, 2008 11:41 am

Is this only with pagination?

It would be awesome then when you place a comment the comments section is only beeing refreshed by ajax.
I have allot of youtube videos with jw flv videoplayer, when i place a comment the whole page refreshes and the movie has
to buffer again.

It it possible when placing a comment only the comment section is beeing refreshed?
Partyism
 
Posts: 399
Joined: Tue Sep 25, 2007 6:24 pm

Postby scottdallas » Thu Nov 06, 2008 5:54 am

It it possible when placing a comment only the comment section is beeing refreshed?


Ah wow I see what you're saying. I imagined everything you said in my mind. You're right that's kinda crazy. I know it could be done with iframes :lol:
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby Partyism » Thu Nov 06, 2008 10:39 am

scotdallas, omfg everytime you say "iframes" it makes me laugh.
Iframes SUCK BIGtime

But im glad you know what i mean.
Partyism
 
Posts: 399
Joined: Tue Sep 25, 2007 6:24 pm

Postby FI-DD » Thu Nov 06, 2008 6:26 pm

I do remember that I tried that before. I don't know why but I didn't succeed. :oops:
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby scottdallas » Thu Nov 06, 2008 8:56 pm

scotdallas, omfg everytime you say "iframes" it makes me laugh.
Iframes SUCK BIGtime


To each his own :D
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby typeman » Wed Jan 27, 2010 8:53 pm

I seem to have a problem with this. When i click on the pagination link with this, the comments etc load, but the comment form is then rednered useless and won't let me send the comment to be added to the DB. I've followed the exact instructions and i have no idea what the problem is :?
typeman
 
Posts: 102
Joined: Sat Oct 17, 2009 7:38 am

Previous

Return to Additional Downloads



Who is online

Users browsing this forum: No registered users and 0 guests

cron