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

Tutorial for dynamic links
#1

Is there a tutorial to explain how we can use Commentics with dynamic pages?
Reply
#2

Sorry, I'll start writing one now.

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

I've finished the tutorial: http://www.commentics.org/forum/showthread.php?tid=54

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

Thanks!
Reply
#5

No problem! I've added a small improvement, so you could check that if you want to.

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

I am trying to implement commentics into my website that was generated by EZ Generator. I get this error message when I try to put them together. Any idea how I can get around this?

Warning: require(http://www.provohappening.com/comments/i...entics.php) [function.require]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /home/provoha1/public_html/ezg_data/functions.php(1546) : eval()'d code on line 122

Fatal error: require() [function.require]: Failed opening required 'http://www.provohappening.com/comments/includes/commentics.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/provoha1/public_html/ezg_data/functions.php(1546) : eval()'d code on line 122
Reply
#7

Are you using the code from the tutorial? Can I have a link to a page with the script? Are you using any other add-ons?

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

I am using the script from the tutorial:
<?php
$page_id = $_GET['page'];
$path_to_comments_folder = "http://www.provohappening.com/comments/";
define ('IN_COMMENTICS', 'true'); //no need to edit this line
require $path_to_comments_folder . "includes/commentics.php"; //no need to edit this line
?>

Here is the page I am testing on:
http://www.provohappening.com/documents/...e=1&subcat=

I am not using any other add-ons. Just seems like ezgenerator is having a hard time sharing the page.
Reply
#9

Did it work before? Try temporarily removing the .htaccess files from the includes folder, it helps in some cases. And are you sure that EZ generator supports php from your side? Sometimes, such deals with easy website generation don't support user php scripts. Especially if such services are free. Personally, I don't have any experience with EZ Generator. I've only heard of it just now.

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

That got the errors out of the way, but now it says Access denied.[/u]
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by J.B.
06-Jun-2014, 11:19 PM
Last Post by het
19-Sep-2011, 06:42 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)