If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Messages posted by: maskedmofo
Forum Index » Profile for maskedmofo » Messages posted by maskedmofo
Author Message
Does anyone know how to edit the format/style of the comments?

I have search the forum for any help, to no avail.
I've attempted to edit the html in the file located here ...

/poll/templates/poll_comment.html

... but the style of the redisplayed commented do not change at all.

This is the poll code I am using, which works as intended in every other aspect.

<?php

$poll_path = "/home/public_html/poll";

require $poll_path."/include/config.inc.php";
require $poll_path."/include/$POLLDB[class]";
require $poll_path."/include/class_poll.php";
require $poll_path."/include/class_pollcomment.php";
$CLASS["db"] = new polldb_sql;
$CLASS["db"]->connect();

$php_poll = new pollcomment();

/* poll */
$php_poll->set_template_set("plain");
$php_poll->set_max_bar_length(125);
$php_poll->set_max_bar_height(10);
echo $php_poll->poll_process(5);


/* poll comments */
$php_poll->set_template("poll_comment");
$php_poll->set_comments_per_page(5);
$php_poll->set_date_format("d/m/Y H:i");
$php_poll->data_order_by("time","desc");
echo $php_poll->view_poll_comments(5);
echo $php_poll->get_comment_pages(1);

?>

I assumed that the line above in bold is what calls out the display style for the comments, which led me to the aforementioned poll_comments.html, but after editing it nothing seems to change.

Thanks in advance for any help.
 
Forum Index » Profile for maskedmofo » Messages posted by maskedmofo
Go to:   
Based on the open source JForum