| Author |
Message |
pan Involved


Joined: Jul 25, 2006 Posts: 354
|
Posted:
Fri Jun 26, 2009 4:44 pm |
|
I just want every comment to be made using the 'Post comment' button |
Last edited by pan on Thu Oct 29, 2009 10:15 pm; edited 1 time in total |
|
|
 |
Palbin Site Admin

Joined: Mar 30, 2006 Posts: 2456 Location: Pittsburgh, Pennsylvania
|
Posted:
Sat Jun 27, 2009 12:20 am |
|
This is a simple edit have you tried? |
|
|
|
 |
pan Involved


Joined: Jul 25, 2006 Posts: 354
|
Posted:
Sun Jun 28, 2009 5:48 pm |
|
Yes, the most I could find was in the language file and I removed 'Reply to this'
There are still brackets there though
[ ] |
|
|
|
 |
Palbin Site Admin

Joined: Mar 30, 2006 Posts: 2456 Location: Pittsburgh, Pennsylvania
|
Posted:
Sun Jun 28, 2009 7:05 pm |
|
Do a search for the constant. |
|
|
|
 |
pan Involved


Joined: Jul 25, 2006 Posts: 354
|
Posted:
Sun Jun 28, 2009 11:12 pm |
|
| Palbin wrote: | | Do a search for the constant. |
I've been able to find it in the other file inside the survey module
But I'm not sure how much I can delete, and I don't want to wreck it |
|
|
|
 |
nuken RavenNuke(tm) Development Team

Joined: Mar 11, 2007 Posts: 1536 Location: North Carolina
|
Posted:
Mon Jun 29, 2009 10:00 am |
|
in modules/Surveys/comments.php look under function DisplayTopic and find this | Code: | if ($anonpost==1 OR is_admin($admin) OR is_user($user)) {
echo ' [ <a href="modules.php?name='.$module_name.'&file=comments&op=Reply&pid='.$tid.'&pollID='.$pollID.'&mode='.$mode.'&order='.$order.'&thold='.$thold.'">'._REPLY.'</a>';
}
if ($pid != 0) {
$row4 = $db->sql_fetchrow($db->sql_query('SELECT pid from '.$prefix.'_pollcomments where tid=\''.$pid.'\''));
$erin = intval($row4['pid']);
echo '| <a href="modules.php?name='.$module_name.'&file=comments&pollID='.$pollID.'&pid='.$erin.'&mode='.$mode.'&order='.$order.'&thold='.$thold.'">'._PARENT.'</a>';
}
modtwo($tid, $score, $reason);
if(is_admin($admin)) {
echo ' | <a href="'.$admin_file.'.php?op=RemovePollComment&tid='.$tid.'&pollID='.$pollID.'">'._DELETE.'</a> ]';
} elseif ($anonpost != 0 OR is_admin($admin) OR is_user($user)) {
echo ' ]';
}
echo '<br /><br />';
DisplayKids($tid, $mode, $order, $thold, $level);
if($hr) echo '<hr noshade="noshade" size="1" />';
$count_times += 1;
CloseTable(); |
That is where you need to edit this out at. It's around line 617 to 637. You will need to comment out some, but not all of this. Just save a backup of the file and play around with it. |
|
|
|
 |
|
|
|
|