View Full Version : View Comments ON by Default?
Steve_C
04-01-2006, 11:07 PM
How can I change this so "View Comments" are on by default?
Steve_C
07-10-2006, 08:21 AM
<div class='quotetop'>QUOTE(Steve_C @ Apr 1 2006, 07:07 PM) 4858</div>
How can I change this so "View Comments" are on by default?
[/b]
Any help here?
72dpi
07-10-2006, 12:46 PM
heya Steve.
You can do this, however, since the comments function is attached to EACH news item, this poses a problem.
Say you have 10 articles. On each article you have 10 items. This would be crazy. The only way you could do it would be to modify the core functions page:
Includes > functions.php
Find: "function DisplayComments"
I modified this no problems to show the comments open. However, you would then need to modify :
Plugins > p2_news > news.php
Find: "// display user comments?"
This would need to be appended to the Full article, after you click "Read More"
This SHOULD be able to be done no worries, but i wouldn't do it for the sake of upgrading.
Anyone else have an opinion?
abcohen
07-10-2006, 03:37 PM
i think mightymouse had posted some help along with spib in another thread -- about changing the link line to add some variable that would defaultly open comments.
Steve_C
07-13-2006, 04:50 PM
<div class='quotetop'>QUOTE(abcohen @ Jul 10 2006, 10:37 AM) 7807</div>
i think mightymouse had posted some help along with spib in another thread -- about changing the link line to add some variable that would defaultly open comments.
[/b]
I've searched but cannot seem to find anything. Can you provide the URL to the thread?
Steve_C
07-16-2006, 07:24 AM
<div class='quotetop'>QUOTE(Steve_C @ Jul 13 2006, 11:50 AM) 7939</div>
I've searched but cannot seem to find anything. Can you provide the URL to the thread?
[/b]
I really need help with this... big event coming up and I need it on.
abcohen
07-16-2006, 08:58 AM
wait a minute - it was your thread that we covered this on last time...
http://www.subdreamer.org/forum/index.php?...854&hl=comments (http://www.subdreamer.org/forum/index.php?showtopic=854&hl=comments)
spib even posted code for you to try... did that not work for you?
Steve_C
07-16-2006, 03:30 PM
<div class='quotetop'>QUOTE(abcohen @ Jul 16 2006, 03:58 AM) 8045</div>
wait a minute - it was your thread that we covered this on last time...
http://www.subdreamer.org/forum/index.php?...854&hl=comments (http://www.subdreamer.org/forum/index.php?showtopic=854&hl=comments)
spib even posted code for you to try... did that not work for you?
[/b]
I must've missed that (been a while). Thanks!
Community
12-15-2006, 05:05 PM
Hide comments does not work :( what's the problem with this new comments thing. It's keeping me bussy for a few hours now.
Community
01-09-2007, 05:58 PM
someone? see problem at www.voetbalmax.nl
Community
02-21-2007, 10:25 PM
stil having this same problem.. what's with that javascript void error en some other error's on the page. :(
Tobias
02-21-2007, 11:17 PM
The problem is that in your "Settings" - "Languages" - "Subdreamer" the "View Comments"/"Hide Comments" phrases have "bold" and "underline" activated.
Just uncheck those and try again.
Long story short: the Javascript clickevent ends up with an unterminated string as the font formatting has unescaped quotes in it and causes the error.
abcohen
02-22-2007, 03:29 AM
any shot of getting a admin panel patch to give the user some options.
recon
03-05-2007, 04:01 PM
Try this
edit news.php
found // if p2_start is set, then it has already been confirmed to be an int (checked below)
Comments(2, $article['articleid'], 'index.php?categoryid=' . $categoryid . (isset($_GET['p2_start']) ? '&p2_start=' . $_GET['p2_start'] : '') . (isset($_GET['p2_articleid']) ? '&p2_articleid=' . $article['articleid'] : ''));
replace with:
// if p2_start is set, then it has already been confirmed to be an int (checked below)
Comments(2, $article['articleid'], 'index.php?categoryid=' . $categoryid . (isset($_GET['p2_start']) ? '&p2_start=' . $_GET['p2_start'] : '') . (isset($_GET['p2_articleid']) ? '&p2_articleid=' . $article['articleid'] : ''), true);
(the difference is the command word " , true " is to ad in the code line as seen above)
recon
03-05-2007, 04:07 PM
The java script void error i was have too on url-rewite disabled installation tests.
Check your theme (skin) there should be in the header the call to the javascripts as in index.php:
/skins/yourthemenames.php
in header ad
<?php echo $mainsettings['skinheader']; ?>
just before the stylesheet eg:
<link rel="stylesheet" type="text/css" href="skins/yourskinfoldercssfile/styles.css" />
deuxio
05-14-2007, 07:59 PM
how I could do to show the comments inside the article only, but not inside the category.Thank you
deuxio
05-18-2007, 11:50 AM
10 $ for help plz
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.