Need Help Removing the REPLY Button

Started by AtariKid, October 13, 2005, 11:30:53 PM

Previous topic - Next topic

AtariKid

Hello. We just got done tweaking the 'reply to' mod to enhance the feature by adding a time stamp to replies and a link to the specified post replying to. Example:
Date & Time » Post #101  Reply to:  Username, at Post #98.

Since each post made now has a small , I'd like to remove the larger and link that appears at the end of the thread.

Can anyone help in identifying which file(s) and code(s) I need to change so I can get rid of

Thanks in advance.  Once this project is complete, I'll post the 'how to do' so others can mirror the modifications.
Rawk on dude!
SMF 1.1 RC1 | MKP 1.1 Rc1

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

AtariKid

Line 216
$buttonArray[] = '<a href="' . $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/reply.gif" alt="' . $txt[146] . '" border="0" />' : $txt[146]) . '</a>';

Line 547
$buttonArray[] = '<a href="' . $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/reply.gif" alt="' . $txt[146] . '" border="0" />' : $txt[146]) . '</a>';

Do you know exactly what to remove?

I am guessing:
'/reply.gif" alt="' . $txt[146] .
from both lines.
Rawk on dude!
SMF 1.1 RC1 | MKP 1.1 Rc1

AtariKid

I removed this from Lines 215 & 216
if ($context['can_reply'])
$buttonArray[] = '<a href="' . $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/reply.gif" alt="' . $txt[146] . '" border="0" />' : $txt[146]) . '</a>';


I removed this from Lines 544 & 545
if ($context['can_reply'])
$buttonArray[] = '<a href="' . $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/reply.gif" alt="' . $txt[146] . '" border="0" />' : $txt[146]) . '</a>';


Mission Accomplished!  :D
Rawk on dude!
SMF 1.1 RC1 | MKP 1.1 Rc1

AtariKid

Rawk on dude!
SMF 1.1 RC1 | MKP 1.1 Rc1

Advertisement: