it would be nice if one can permit comments on pages with an arbitrary id.
I have a site with a lot of pages and I want to use commentics without having to do 'add page' for every page.
thanks
Posts: 535
Threads: 31
Joined: Jul 2010
Welcome to the forums. This feature is already implemented in version 1.1. It will be released early next week. A quick forum search should have revealed this.
I'm giving you three guesses...
Posts: 2,905
Threads: 59
Joined: Jun 2010
In v1.1 you will be able to enter a custom ID when creating a page.
However you will still need to create the page in the admin panel.
One of the reasons for this is so that each page can have its own settings such as disabling the form.
This is unlikely to change.
Edit: I might look into the ability to add lots of pages in one go.
Have
you completed
the interview?
Posts: 535
Threads: 31
Joined: Jul 2010
Ah, yes. I have an idea as to how to do that. It requires a slight modification. I'll show an example as soon as I can get it to work.
I'm giving you three guesses...
Posts: 535
Threads: 31
Joined: Jul 2010
I'm giving you three guesses...
Posts: 2,905
Threads: 59
Joined: Jun 2010
hmm I don't think the 'reference' and 'url' will be in the $_POST data.
Have
you completed
the interview?
Posts: 535
Threads: 31
Joined: Jul 2010

? When the user submits the data, it goes into the $_POST variable. It should say "page added:[$reference] [$url]" which are taken from $_POST
I'm giving you three guesses...
Posts: 2,905
Threads: 59
Joined: Jun 2010
In Manage -> Pages in the admin panel, sure, 'reference' and 'url' will be in the $_POST data.
But you're putting the above code on the frontend in includes/commentics.php?
Have
you completed
the interview?
Posts: 535
Threads: 31
Joined: Jul 2010
Well, I did add a check to see if the user is an admin. Also, I took the code from the backend and modified it slightly. The pages are successfully added for me.
I'm giving you three guesses...
Posts: 2,905
Threads: 59
Joined: Jun 2010
Okay well if it's working then I guess I can't argue
Have
you completed
the interview?