This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Reply to comment
#41


I'm giving you three guesses...
Reply
#42

I'm getting these errors now when previewing:

Warning: Missing argument 12 for generate_comment(), called in C:\wamp\www\commentics_1.1 - Copy\comments\includes\app\processor.php on line 375 and defined in C:\wamp\www\commentics_1.1 - Copy\comments\includes\functions\comments.php on line 26

Notice: Undefined variable: reply_to in C:\wamp\www\commentics_1.1 - Copy\comments\includes\functions\comments.php on line 31

Notice: Undefined variable: reply_to in C:\wamp\www\commentics_1.1 - Copy\comments\includes\functions\comments.php on line 171

Have you completed the interview?
Reply
#43

For which change?

I'm giving you three guesses...
Reply
#44

After the last two changes in post 41.

Have you completed the interview?
Reply
#45

Did you add the lines? you were supposed to replace the lines?

I'm giving you three guesses...
Reply
#46

Yeah I think so. I'll let you finish all your changes/testing and then if you could zip all the files together and I'll take another look.

Have you completed the interview?
Reply
#47

I'm a bit concerned about the combo box in edit_comment.php

It seems to list every comment for the page. If the page has thousands of comments then the combo box could easily crash the browser. I've seen this problem first-hand.

Is it important to have the ability to alter which comment the reply is for?

Have you completed the interview?
Reply
#48

You're right, but I don't know what to do about it? Any suggestions? Maybe a simple text field where you can insert the id, and when you do, a small preview appears to the side of it?

I'm giving you three guesses...
Reply
#49

Perhaps you could limit the results e.g. the last 50. If the admin is altering it then it's very likely to be a recent comment.

Have you completed the interview?
Reply
#50

Like this:
PHP Code:
<?php 
$comments_reply
= mysql_query("SELECT * FROM `".$mysql_table_prefix."comments` WHERE is_approved = '1' AND page_id = '$page_id' AND reply_to = '0' ORDER BY dated ASC LIMIT 50");

Have you completed the interview?
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Deparis
20-Jul-2014, 09:08 AM
Last Post by mariank
22-Dec-2013, 09:36 AM
Last Post by Steven
21-Apr-2013, 05:26 PM
Last Post by Chafik
08-Jan-2011, 01:55 PM
Last Post by Static
03-Jan-2011, 04:00 PM
Last Post by Steven
14-Aug-2010, 12:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)