Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Joe N on April 08, 2009, 01:39:28 AM

Title: Reply Button In Every Post
Post by: Joe N on April 08, 2009, 01:39:28 AM
Reply Button In All Posts
By Joe N (http://www.simplemachines.org/community/index.php?action=profile;u=183191)
Originally By KahneFan (http://www.simplemachines.org/community/index.php?action=profile;u=130133) at http://ipostyoupost.com
For SMF 2.0 RC1 (-1) and SMF 1.1.9

___________________________________________________________________________________________________
Link To Mod (http://custom.simplemachines.org/mods/index.php?mod=1755) | Comment On This Mod (http://www.simplemachines.org/community/index.php?topic=303592.0) | Contact The Author (http://www.simplemachines.org/community/index.php?action=pm;sa=send;u=183191)
___________________________________________________________________________________________________

Features
Adds a reply button next to the quote button within EVERY post so that users don't have to scroll-scroll-scroll to reply.

V1.1
The button is now "smart". If quick reply is on, users will be directed to quick reply. If quick reply is off, they will be directed to the full reply page. If the user is a guest, they will be directed to the login/register page.

Configuration
There are no configuration settings for this modificaton in the admin panel. Once install is complete this mod will be active.

Support
For support with this mod, feel free to visit the Support Topic (http://www.simplemachines.org/community/index.php?topic=303592.0) or http://thechill.icr38.net/smf
Title: Re: Reply Button In Every Post
Post by: JBlaze on April 08, 2009, 01:40:06 AM
Very nice KahneFan. I was waiting for something like to come along :P
Title: Re: Reply Button In Every Post
Post by: PalmBeachPreps on April 08, 2009, 03:47:09 AM
Nice!
Title: Re: Reply Button In Every Post
Post by: PalmBeachPreps on April 08, 2009, 04:17:34 AM
Quote from: AlreeGator on April 08, 2009, 03:47:09 AM
Nice!

Spoke too soon!  Doesn't work.  :(
Title: Re: Reply Button In Every Post
Post by: JBlaze on April 08, 2009, 04:58:55 AM
Quote from: AlreeGator on April 08, 2009, 04:17:34 AM
Quote from: AlreeGator on April 08, 2009, 03:47:09 AM
Nice!

Spoke too soon!  Doesn't work.  :(

What is wrong? Is it failing a test on install or does it not work in general?
Title: Re: Reply Button In Every Post
Post by: Tiribulus on April 08, 2009, 07:26:29 AM
Quote from: JBlaze™ on April 08, 2009, 01:40:06 AM
Very nice KahneFan. I was waiting for something like to come along :P

Actually a couple days ago I was thinking the same thing. Would be nice to have a reply option on each post. Works great. Didn't even have to edit the file for my theme.
Title: Re: Reply Button In Every Post
Post by: Ravac on April 08, 2009, 08:41:25 AM
Useful mod KahneFan, thanks..

Title: Re: Reply Button In Every Post
Post by: cflforum on April 08, 2009, 09:44:18 AM
Doesnt this promote ambiguity?

You may think you are replying to a POST (as is possible on a true threaded system like IPB) but you are actually in fact, just replying to the thread as always?

Still. this is much needed overal. People always cry about low participation levels in their communities w/o realizing that there are often two many structural barriers to impulse actions (and replying to a post is often an impulse decision) so having reply button on each post is probably the best thing, and I feel should be the default and in the core. (Why scroll all the way to the top or bottom to reply to a post you just saw?)

As a matter of fact, actually, there should be a REPLY button on the board index as well, you click it, it takes you to the reply form (and you can look a the previous posts which are shown anyway and read them then) most threads can fit in a screen anway and for those that dont, a scrolling/scrollable sidebar that allows you to go back and read the whole lot would help. Especially for a fast moving, collaborative/brainstorming board, you dont want to force people into a laborious methodical plodding through in order to quickly post.

I would call this a VERY GOOD MOD. maybe even profound for its potential impact on member participation

(searches in vain for a thumbs up icon)
Title: Re: Reply Button In Every Post
Post by: phpMyTony on April 08, 2009, 10:07:40 AM
I hate how you can make mods and I can't :(

But anyway, well done ;D
Title: Re: Reply Button In Every Post
Post by: KahneFan on April 08, 2009, 10:16:58 AM
Quote from: JBlaze™ on April 08, 2009, 04:58:55 AM
Quote from: AlreeGator on April 08, 2009, 04:17:34 AM
Quote from: AlreeGator on April 08, 2009, 03:47:09 AM
Nice!

Spoke too soon!  Doesn't work.  :(

What is wrong? Is it failing a test on install or does it not work in general?

I echo this question. If you've found an error, please let me/us know.
Title: Re: Reply Button In Every Post
Post by: phpMyTony on April 08, 2009, 11:07:59 AM
KahneFan, I posted a suggestion on IPYP ;)
Title: Re: Reply Button In Every Post
Post by: Ravac on April 08, 2009, 11:19:17 AM
I think it would be better if you (KahneFan) put "if can reply" condition..?!
Title: Re: Reply Button In Every Post
Post by: KahneFan on April 08, 2009, 11:43:30 AM
Actually, I like that it takes guests to a login/register page. (Personally)

I think it may help to urge guests to register. This way they have the urge to post (now) and they can click the button, then they think "Well, I didn't want to register, but I really want to get my point across... OK, I'll register"
Title: Re: Reply Button In Every Post
Post by: Ravac on April 08, 2009, 11:45:54 AM
hehe, you have right ;)
Title: Re: Reply Button In Every Post
Post by: LinK187 on April 08, 2009, 11:49:16 AM
Before I even download this mod, can anyone show me what it looks like via screen shots when it is working.
Title: Re: Reply Button In Every Post
Post by: KahneFan on April 08, 2009, 11:59:28 AM
See attached...
Title: Re: Reply Button In Every Post
Post by: - Lawrence - on April 08, 2009, 12:00:41 PM
Works really, well and is very useful, well done ;).
Title: Re: Reply Button In Every Post
Post by: cflforum on April 08, 2009, 02:55:28 PM
Quote from: phpMyTony on April 08, 2009, 11:07:59 AM
KahneFan, I posted a suggestion on IPYP ;)

What is this IPYP you speak off?

I'm thinking of having it grab the reply and if they are not registered, have a quick registration form appear underneath, (That way they dont have to leave the  page) but that will take a bit more SMF/PHP skills than I have at the mo.
Title: Re: Reply Button In Every Post
Post by: Ravac on April 08, 2009, 04:05:57 PM
QuoteWhat is this IPYP you speak off?

I post You post, look at the KahneFan sig..  ;)
Title: Re: Reply Button In Every Post
Post by: cepsi on April 08, 2009, 05:15:01 PM
n1 i like this and no probs installing on multiple themes. The more reply buttons on a post the better! imo
Title: Re: Reply Button In Every Post
Post by: KahneFan on April 08, 2009, 05:56:39 PM
Quote from: cflforum on April 08, 2009, 02:55:28 PM
What is this IPYP you speak off?

I'm thinking of having it grab the reply and if they are not registered, have a quick registration form appear underneath, (That way they dont have to leave the  page) but that will take a bit more SMF/PHP skills than I have at the mo.

Ravac has it right, iPost is my site (banner in signature).

And, it's funny, the suggestion prior to yours was close. On iPost, Tony suggested I make it so that when the new reply button is clicked a reply box would pop up similar to the quick reply box. Both of these would be above my skill level at this time. And TBH, I like having the reply button go to the full reply page for members, and I like guests being taken to the login+register page. Maybe the person clicking is actually a member who forgot to log in. However, in regards to Tony's suggestion, it wouldn't be hard for me to make another, similar, mod which would act like the "Go Down" button which takes you to the bottom of the page, which is where the quick reply box is.
Title: Re: Reply Button In Every Post
Post by: KahneFan on April 08, 2009, 06:10:28 PM
 If you would prefer to direct your members to the quick reply box:

./Themes/default/Display.template.php
FIND:

      // Simple Reply Button
      echo '
               <li><a href="', $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'], '">', $respond_button, '</a></li>';


REPLACE WITH:

if ($context['user']['is_logged'])
      // Simple Reply Button
      echo '
               <li><a href="#quickreply">', $respond_button, '</a></li>';


Note2: I added a conditional statement to the second code since it would wreak havoc on a guest when they can't see the quick reply box.
Title: Re: Reply Button In Every Post
Post by: cflforum on April 09, 2009, 02:00:37 AM
WOOOWEE!
If you have the smooth scroll  javascript installed, it makes a sthmooth sthweeet * scroll to the bottom of the page!
http://www.dezinerfolio.com/2007/08/08/df-javascript-smooth-scroll/

A nice bit of animation to make people happy to contribute :D
Title: Re: Reply Button In Every Post
Post by: Tiribulus on April 11, 2009, 10:42:43 PM
Quote from: KahneFan on April 08, 2009, 06:10:28 PM
If you would prefer to direct your members to the quick reply box:

./Themes/default/Display.template.php
FIND:

      // Simple Reply Button
      echo '
               <li><a href="', $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'], '">', $respond_button, '</a>]</li>';


REPLACE WITH:

if ($context['user']['is_logged'])
      // Simple Reply Button
      echo '
               <li><a href="#quickreply">', $respond_button, '</a></li>';


Note2: I added a conditional statement to the second code since it would wreak havoc on a guest when they can't see the quick reply box.

Don't take me as pretending to have any idea what I'm talking about beyond simply pointing out that the list tag is not in the original edit according to either my file or the parser O:)
Title: Re: Reply Button In Every Post
Post by: KahneFan on April 12, 2009, 09:43:07 AM
That's for 2.0. I will have to take a look at 1.1.X for that mod to the mod :D
Title: Re: Reply Button In Every Post
Post by: KahneFan on April 12, 2009, 10:34:10 AM
I have added a 2nd version which directs to quick reply for 1.1.x and 2.0.

To Do
Combine the two versions. If quick reply is on, direct to quick reply. If QR is off, direct to full reply page.
**If I can figure out how: give admins a switch in admin panel to choose which reply option they want to direct users to.
Title: Re: Reply Button In Every Post
Post by: PRaDiUS on April 12, 2009, 11:42:03 AM
Can't believe this wasn't done by someone sooner! Thanks!
Title: Re: Reply Button In Every Post
Post by: Tiribulus on April 12, 2009, 01:58:52 PM
Quote from: KahneFan on April 12, 2009, 09:43:07 AM
That's for 2.0. I will have to take a look at 1.1.X for that mod to the mod :D

Ahhh, well, that explains everything :)
Title: Re: Reply Button In Every Post
Post by: KahneFan on April 12, 2009, 02:15:50 PM
Quote from: Tiribulus on April 12, 2009, 01:58:52 PM
Quote from: KahneFan on April 12, 2009, 09:43:07 AM
That's for 2.0. I will have to take a look at 1.1.X for that mod to the mod :D

Ahhh, well, that explains everything :)

Just wanted to be sure you saw I made a second package which will achieve this for you.
Title: Re: Reply Button In Every Post
Post by: Tiribulus on April 12, 2009, 02:32:49 PM
I was going to try it both ways and see which I like best. Thanks for the quick work. I'm sure others will appreciate it as well.
Title: Re: Reply Button In Every Post
Post by: KahneFan on April 12, 2009, 10:55:01 PM
V1.1
The button is now "smart". If quick reply is on, users will be directed to quick reply. If quick reply is off, they will be directed to the full reply page. If the user is a guest, they will be directed to the login/register page.
Title: Re: Reply Button In Every Post
Post by: Sudhakar Arjunan on April 13, 2009, 07:12:14 AM
Its an useful mod KahneFan.
Title: Re: Reply Button In Every Post
Post by: KahneFan on April 13, 2009, 09:46:43 AM
Thanks :D
Title: Re: Reply Button In Every Post
Post by: lurkalot on April 14, 2009, 03:36:12 PM
Nice mod  8) .   Works a treat thank you.   ;)
Title: Re: Reply Button In Every Post
Post by: - Lawrence - on April 15, 2009, 04:36:15 PM
Quote from: KahneFan on April 12, 2009, 10:55:01 PM
V1.1
The button is now "smart". If quick reply is on, users will be directed to quick reply. If quick reply is off, they will be directed to the full reply page. If the user is a guest, they will be directed to the login/register page.
That is such a cool thing to do :).  ;). Great mod ;).
Title: Re: Reply Button In Every Post
Post by: Chas Large on May 13, 2009, 03:03:04 PM
Many thanks for this mod. It installed fine on 1.1.8 and works great.
Cheers
Chas
Title: Re: Reply Button In Every Post
Post by: KahneFan on May 13, 2009, 03:29:55 PM
Thanks :D
Title: Re: Reply Button In Every Post
Post by: Chas Large on June 16, 2009, 04:47:04 AM
Hi KahneFan, further to my post above, the mod is great but we've hit a snag. The reply button remains is a topic is LOCKED and then is the members don't notice they click it only to get an error message.

Is there anyway to hide the button when a topic is locked?

Cheers

Chas.
Title: Re: Reply Button In Every Post
Post by: KahneFan on June 16, 2009, 09:29:53 AM
I'll have to look into that.
Title: Re: Reply Button In Every Post
Post by: Chas Large on June 16, 2009, 09:32:27 AM
Quote from: KahneFan on June 16, 2009, 09:29:53 AM
I'll have to look into that.
Many thanks.  :)
Title: Re: Reply Button In Every Post
Post by: sombra on June 16, 2009, 11:15:11 PM
thanks for this great mod i think smf need more of this ;D
Title: Re: Reply Button In Every Post
Post by: KahneFan on June 17, 2009, 12:08:13 AM
...well. I looked, and I don't know how to change that :(

I'm open to suggestions.
Title: Re: Reply Button In Every Post
Post by: Chas Large on June 17, 2009, 02:08:24 AM
Quote from: KahneFan on June 17, 2009, 12:08:13 AM
...well. I looked, and I don't know how to change that :(

I'm open to suggestions.
Thanks for looking into it. I suppose the code for the ordinary REPLY button that is provided by SMF, that changes when a topic is locked, would be of help? I'll look into it myself.
Title: Re: Reply Button In Every Post
Post by: KahneFan on June 17, 2009, 09:30:57 AM
I looked at that, but it's built different than the buttons on the top of each message. Let me know if you see how it can be applied though, and I'll be happy to add it in.
Title: Re: Reply Button In Every Post
Post by: Joe N on June 28, 2009, 09:19:58 AM
Hey KahneFan

Very nice mod. One problem, one of my boards. I made it so the users couldn't reply. It still shows the reply button. It also shows it for guests as well and they can't post.  :(
Title: Re: Reply Button In Every Post
Post by: KahneFan on June 28, 2009, 04:34:17 PM
In regards to guests, if you see above, it's by design that guests can see the button. This is left so that it may push guests to register. As for locked boards, if you look a couple of posts up, I don't know how to change that.

However, per my "Want My Mod? (http://www.simplemachines.org/community/index.php?topic=319677.0)" thread, if anyone would like to take this over, just let me know. Please see the restrictions listed in the WMM thread as to what I ask in order to take a mod over.
Title: Re: Reply Button In Every Post
Post by: Joe N on June 29, 2009, 08:21:09 AM
Quote from: KahneFan on June 28, 2009, 04:34:17 PM
In regards to guests, if you see above, it's by design that guests can see the button. This is left so that it may push guests to register. As for locked boards, if you look a couple of posts up, I don't know how to change that.

However, per my "Want My Mod? (http://www.simplemachines.org/community/index.php?topic=319677.0)" thread, if anyone would like to take this over, just let me know. Please see the restrictions listed in the WMM thread as to what I ask in order to take a mod over.

I did a topic on your over post

I would like to take over the reply button
Title: Re: Reply Button In Every Post
Post by: N3RVE on July 01, 2009, 05:21:57 AM
As per the request here (http://www.simplemachines.org/community/index.php?topic=321196.0).

Code (Find) Select

// These are some cache image buttons we may want.
$respond_button = create_button('reply.gif', 146, 146, 'align="middle"');


Code (Replace with) Select

// These are some cache image buttons we may want.
if (!$context['is_locked'])
         echo
$respond_button = create_button('reply.gif', 146, 146, 'align="middle"');


-[n3rve]
Title: Re: Reply Button In Every Post
Post by: Antechinus on July 01, 2009, 05:33:05 AM
Are you sure that will work? Usually the buttons are called inside other code, so if the code only calls $respond_button the  conditional statement wont be called with it, unless I'm missing something.
Title: Re: Reply Button In Every Post
Post by: Chas Large on July 01, 2009, 05:44:39 AM
Quote from: [n3rve] on July 01, 2009, 05:21:57 AM
As per the request here (http://www.simplemachines.org/community/index.php?topic=321196.0).

Code (Find) Select

// These are some cache image buttons we may want.
$respond_button = create_button('reply.gif', 146, 146, 'align="middle"');


Code (Replace with) Select

// These are some cache image buttons we may want.
if (!$context['is_locked'])
echo
$respond_button = create_button('reply.gif', 146, 146, 'align="middle"');


-[n3rve]
Thank you [n3rve]. Editing Display.template.php worked fine and removed the REPLY button on all locked topics in all themes as required. I have learned something new today. Thanks again.
Chas.
Title: Re: Reply Button In Every Post
Post by: Chas Large on July 01, 2009, 06:59:33 AM
OK Whilst the fix to remove the REPLY (RESPOND) Button in a locked topic works fine, anyone viewing a locked topic now generates the following error in the log:

8: Undefined variable: respond_button
File: /home/......./......./user/htdocs/forum/Themes/default/Display.template.php (main sub template - eval?)
Line: 394

Any way to quell this error? (Apart from removing the fix)

Chas
Title: Re: Reply Button In Every Post
Post by: Joe N on July 01, 2009, 10:11:46 AM
For a member?

Forum URL please

Or screenshot?

Thanks
Title: Re: Reply Button In Every Post
Post by: Chas Large on July 01, 2009, 10:41:27 AM
Quote from: Joe N on July 01, 2009, 10:11:46 AM
For a member?

Forum URL please

Or screenshot?

Thanks
For me?

Here's the complete error message.

Apply Filter: Only show the error messages of this member  Hal9000       Today at 11:52:56 AM
Apply Filter: Only show the error messages of this IP address ***.***.***.***      Apply Filter: Only show the error messages of this session 17e275d32a8b8f217878876f649e4fef
Apply Filter: Only show the error messages of this URL http://www.fiftyplusforum.co.uk/forum/index.php?topic=1009.0
Apply Filter: Only show the errors with the same message
8: Undefined variable: respond_button
File: /home/..../..../user/htdocs/forum/Themes/default/Display.template.php (main sub template - eval?)
Line: 394

Forum is included in the error

How does this help?
Title: Re: Reply Button In Every Post
Post by: Joe N on July 01, 2009, 10:43:29 AM
What did you edit?
Title: Re: Reply Button In Every Post
Post by: Chas Large on July 01, 2009, 11:45:15 AM
Quote from: Joe N on July 01, 2009, 10:43:29 AM
What did you edit?
As Per [Nerve]'s post http://www.simplemachines.org/community/index.php?topic=303592.msg2137888#msg2137888 I editied the display.template.php file. See above.
Chas.

PS See you registered to post. You'll have got the Joining e-mail automatically.

Have locked that post now so you can see the reply button has now gone.
Title: Re: Reply Button In Every Post
Post by: Joe N on July 01, 2009, 12:02:44 PM
You will have to ask [n3rve] that as he did that code

Sorry  :(
Title: Re: Reply Button In Every Post
Post by: N3RVE on July 01, 2009, 12:08:01 PM
Silly mistake, reverse the code changes you made and do this:

Code (Find) Select

      if ($context['can_reply'] && !empty($options['display_quick_reply']))
      echo '<a href="#quickreply">', $respond_button, '</a>';
      else
      echo '<a href="', $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'], '">', $respond_button, '</a>';


Code (Replace) Select

      if ($context['can_reply'] && !empty($options['display_quick_reply']))
      echo '<a href="#quickreply">', $respond_button, '</a>';
      elseif ($context['can_reply'])
      echo '<a href="', $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'], '">', $respond_button, '</a>';


-[n3rve]
Title: Re: Reply Button In Every Post
Post by: Chas Large on July 01, 2009, 01:21:12 PM
Quote from: [n3rve] on July 01, 2009, 12:08:01 PM
Silly mistake, reverse the code changes you made and do this:

Code (Find) Select

      if ($context['can_reply'] && !empty($options['display_quick_reply']))
      echo '<a href="#quickreply">', $respond_button, '</a>';
      else
      echo '<a href="', $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'], '">', $respond_button, '</a>';


Code (Replace) Select

      if ($context['can_reply'] && !empty($options['display_quick_reply']))
      echo '<a href="#quickreply">', $respond_button, '</a>';
      elseif ($context['can_reply'])
      echo '<a href="', $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'], '">', $respond_button, '</a>';


-[n3rve]
Thanks again [n3rve], that fixed the issue and no errors in the list.
Cheers (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ffc04.deviantart.com%2Ffs15%2Ff%2F2007%2F054%2F3%2Fc%2F_cheers__by_Stream_Sun.gif&hash=7be5a48aabcc985903a5d620080712a6989f9c24)
Chas
Title: Re: Reply Button In Every Post
Post by: Grinch843 on July 19, 2009, 02:42:34 PM
Hi,

Is there anyway to force this to use the normal reply box no matter what the quick reply settings are? 

Thanks,
Grinch843.
Title: Re: Reply Button In Every Post
Post by: Joe N on July 20, 2009, 01:51:51 PM
Quote from: Grinch843 on July 19, 2009, 02:42:34 PM
Hi,

Is there anyway to force this to use the normal reply box no matter what the quick reply settings are? 

Thanks,
Grinch843.

Just disable the quick reply
Title: Re: Reply Button In Every Post
Post by: KahneFan on July 20, 2009, 03:51:13 PM
...or....

(untested)

FIND:

      // Simple Reply Button
      if ($context['can_reply'] && !empty($options['display_quick_reply']))
      echo '
               <li><a href="#quickreply">', $respond_button, '</a></li>';
      else
      echo '
               <li><a href="', $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'], '">', $respond_button, '</a></li>';


REPLACE WITH:

      // Simple Reply Button
      if ($context['can_reply'])
      echo '
               <li><a href="', $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'], '">', $respond_button, '</a></li>';
Title: Re: Reply Button In Every Post
Post by: Grinch843 on July 20, 2009, 09:18:33 PM
Quote from: Joe N on July 20, 2009, 01:51:51 PM
Just disable the quick reply

Yeah, that was my first thought, but I'am having issues with that at the moment(Discussing it over in the 2.x support forum).  For some reason I can't force all new users to have the quick reply disabled.  It's defaulting to the "Show, off by default" setting which then causes a problem when the reply button is hit, it just jumps to the bottom of the page where the quick reply bar is and nothing is there, the user has to hit the + to expand the box.

I'am gonna try KahneFan's suggestions for now and see if that works....

Thanks,
Grinch843.
Title: Re: Reply Button In Every Post
Post by: Grinch843 on July 20, 2009, 09:25:35 PM
*Update*

KahneFan, worked like a charm, thanks for the help.


Grinch843....
Title: Re: Reply Button In Every Post
Post by: Joe N on July 23, 2009, 11:29:41 AM
Quote from: Grinch843 on July 20, 2009, 09:25:35 PM
*Update*

KahneFan, worked like a charm, thanks for the help.


Grinch843....

Sorry I couldn't help.

I am not good with smf 2x
Title: Re: Reply Button In Every Post
Post by: Joe N on December 04, 2009, 10:33:36 AM
smf 2.0 rc2 and smf 1.1.11 now working with this mod!! :)
Title: Re: Reply Button In Every Post
Post by: gbsothere on December 04, 2009, 10:43:32 AM
Quote from: Joe N on December 04, 2009, 10:33:36 AM
smf 2.0 rc2 and smf 1.1.11 now working with this mod!! :)


That's great to know, because, although it seems a simple mod, it's a must have for my forums. 

Thanks!   :)

Title: Re: Reply Button In Every Post
Post by: PalmBeachPreps on December 04, 2009, 02:09:03 PM
RC2 - I'm getting this error:

2.     Add Before     ./Themes/default/Display.template.php     Test failed
Title: Re: Reply Button In Every Post
Post by: Mabangis on December 05, 2009, 05:54:06 AM
I am getting the same error, but pushed through with the install.  Now nothing happens or no reply button can be seen.  I think the installer is looking for this:

$reply_button = create_button('quote.gif', 'reply_quote', 'quote', 'align="middle"');

in the Display.Template.php  but there is none like that there it cannot install the required code.

How do we fix this?  I am also at RC2 Curve theme.  This is a very good mod but does not work with the Curve theme.
Title: Re: Reply Button In Every Post
Post by: SgtMic on December 10, 2009, 01:55:01 AM
Quote from: Mabangis on December 05, 2009, 05:54:06 AM
I am getting the same error, but pushed through with the install.  Now nothing happens or no reply button can be seen.  I think the installer is looking for this:

$reply_button = create_button('quote.gif', 'reply_quote', 'quote', 'align="middle"');

in the Display.Template.php  but there is none like that there it cannot install the required code.


Same error, same problem. Hard for a mod to look for code that isn't there.
Title: Re: Reply Button In Every Post
Post by: C4G-TK on December 13, 2009, 02:54:53 AM
Same thing with me as well.  There's only two edits for this mod.  The first edit DOES work in RC2.  The 2nd edit DOES NOT work in RC2.  I tried searching with just partial code to find the eidt and still can't find anything.

I think this mod may have accidentally been checked to say it worked without anyone checking to make sure the code was still present.
Title: Re: Reply Button In Every Post
Post by: firehopper on December 24, 2009, 09:38:37 AM
This Mod works only with the core-theme!

Look at Line 192 > 198 in /theme/core/display.template.php


Who can make it compatible with the curve-theme?

I wich you a merry christmas...
Title: Re: Reply Button In Every Post
Post by: Chas Large on January 03, 2010, 10:03:06 AM
I too am having a problem installing on Curve, theme.

Second manual edit does not work as I cannot find the specified code.

Really would like this to work in Curve.
Title: Re: Reply Button In Every Post
Post by: NoobDeveloper on January 15, 2010, 07:02:50 PM
not working on SMF rc 2

:(
Title: Re: Reply Button In Every Post
Post by: C4G-TK on January 15, 2010, 07:40:33 PM
Has anyone gotten it to work, yet on Curve?
Title: Re: Reply Button In Every Post
Post by: KahneFan on January 15, 2010, 07:41:25 PM
Joe, are you still supporting this mod?
Title: Re: Reply Button In Every Post
Post by: C4G-TK on January 15, 2010, 07:50:41 PM
BTW, this is another one of those things that should be standard in SMF.  Having the REPLY button more easily accessible really does increase replies.  (which in turn keeps people more active)  ;)
Title: Re: Reply Button In Every Post
Post by: ~DS~ on January 15, 2010, 07:52:48 PM
Quote from: C4G-TK on January 15, 2010, 07:50:41 PM
BTW, this is another one of those things that should be standard in SMF.  Having the REPLY button more easily accessible really does increase replies.  (which in turn keeps people more active)  ;)
True, Vbulletin have this.
Title: Re: Reply Button In Every Post
Post by: NoobDeveloper on January 15, 2010, 08:11:03 PM
yesss....i agree.
Title: Re: Reply Button In Every Post
Post by: ABCDiamond on January 22, 2010, 06:41:18 AM
I have just tried to install this on a new install of SMF 2.0 RC2

The error message I get is:
Quote1.   Execute Modification   ./Themes/default/Display.template.php   Test failed
   1.   Add Before   ./Themes/default/Display.template.php   Test successful
   2.   Add Before   ./Themes/default/Display.template.php   Test failed

Packages installed are:
1.   FantasticSmileys    1.0 
2.   Ad Managment    2.3.6.1 
3.   Reply Button in All Posts    1.1   [ Install Mod ] [ List Files ] [ Delete ]
4.   EzPortal    0.3.4     
5.   Floating Bar Mod Language Pack    1.1.3     
6.   Karma Description Mod    2.6.3     
7.   Pretty URLs    1.0RC 

Any ideas on what I need to do.

Thanks
Title: Re: Reply Button In Every Post
Post by: ~DS~ on January 22, 2010, 12:33:15 PM
Quote from: ABCDiamond on January 22, 2010, 06:41:18 AM
I have just tried to install this on a new install of SMF 2.0 RC2

The error message I get is:
Quote1.   Execute Modification   ./Themes/default/Display.template.php   Test failed
   1.   Add Before   ./Themes/default/Display.template.php   Test successful
   2.   Add Before   ./Themes/default/Display.template.php   Test failed

Packages installed are:
1.   FantasticSmileys    1.0 
2.   Ad Managment    2.3.6.1 
3.   Reply Button in All Posts    1.1   [ Install Mod ] [ List Files ] [ Delete ]
4.   EzPortal    0.3.4     
5.   Floating Bar Mod Language Pack    1.1.3     
6.   Karma Description Mod    2.6.3     
7.   Pretty URLs    1.0RC 

Any ideas on what I need to do.

Thanks
Install manually in the Display.template.php
Title: Re: Reply Button In Every Post
Post by: C4G-TK on January 22, 2010, 01:46:21 PM
Quote from: Dismal Shadow on January 22, 2010, 12:33:15 PM
Quote from: ABCDiamond on January 22, 2010, 06:41:18 AM
I have just tried to install this on a new install of SMF 2.0 RC2

The error message I get is:
Quote1.   Execute Modification   ./Themes/default/Display.template.php   Test failed
   1.   Add Before   ./Themes/default/Display.template.php   Test successful
   2.   Add Before   ./Themes/default/Display.template.php   Test failed

Packages installed are:
1.   FantasticSmileys    1.0 
2.   Ad Managment    2.3.6.1 
3.   Reply Button in All Posts    1.1   [ Install Mod ] [ List Files ] [ Delete ]
4.   EzPortal    0.3.4     
5.   Floating Bar Mod Language Pack    1.1.3     
6.   Karma Description Mod    2.6.3     
7.   Pretty URLs    1.0RC 

Any ideas on what I need to do.

Thanks
Install manually in the Display.template.php

How can you install it in Display.template when the code does not exist in RC2?
I'll check, but I even looked at a fresh file of RC2's Display.template and can't find that edit anywhere to make it work.

Quote from: C4G-TK on December 13, 2009, 02:54:53 AM
Same thing with me as well.  There's only two edits for this mod.  The first edit DOES work in RC2.  The 2nd edit DOES NOT work in RC2.  I tried searching with just partial code to find the eidt and still can't find anything.

I think this mod may have accidentally been checked to say it worked without anyone checking to make sure the code was still present.

Title: Re: Reply Button In Every Post
Post by: linette97 on January 25, 2010, 02:51:40 PM
Quote from: C4G-TK on January 22, 2010, 01:46:21 PM
Quote from: Dismal Shadow on January 22, 2010, 12:33:15 PM
Quote from: ABCDiamond on January 22, 2010, 06:41:18 AM
I have just tried to install this on a new install of SMF 2.0 RC2

The error message I get is:
Quote1.   Execute Modification   ./Themes/default/Display.template.php   Test failed
   1.   Add Before   ./Themes/default/Display.template.php   Test successful
   2.   Add Before   ./Themes/default/Display.template.php   Test failed

Packages installed are:
1.   FantasticSmileys    1.0 
2.   Ad Managment    2.3.6.1 
3.   Reply Button in All Posts    1.1   [ Install Mod ] [ List Files ] [ Delete ]
4.   EzPortal    0.3.4     
5.   Floating Bar Mod Language Pack    1.1.3     
6.   Karma Description Mod    2.6.3     
7.   Pretty URLs    1.0RC 

Any ideas on what I need to do.

Thanks
Install manually in the Display.template.php

How can you install it in Display.template when the code does not exist in RC2?
I'll check, but I even looked at a fresh file of RC2's Display.template and can't find that edit anywhere to make it work.

Quote from: C4G-TK on December 13, 2009, 02:54:53 AM
Same thing with me as well.  There's only two edits for this mod.  The first edit DOES work in RC2.  The 2nd edit DOES NOT work in RC2.  I tried searching with just partial code to find the eidt and still can't find anything.

I think this mod may have accidentally been checked to say it worked without anyone checking to make sure the code was still present.


Same exact deal happened to me! The 2nd edit DOES NOT work in RC2. Can we get help please ;D
Title: Re: Reply Button In Every Post
Post by: 72 454 on January 30, 2010, 11:56:33 AM
Any new news on the Curve issue?
Title: Re: Reply Button In Every Post
Post by: Sakae on February 02, 2010, 10:04:31 PM
Waiting for an answer too...
Title: Re: Reply Button In Every Post
Post by: SgtMic on February 03, 2010, 10:28:41 PM
How did this mod ever get approved to work with 2.0 RC2??
Title: Re: Reply Button In Every Post
Post by: KahneFan on February 03, 2010, 10:56:56 PM
Mods are only approved once, then it's up to the mod author to list the compatibility.

Joe, if you are not able to support this mod, would you allow it to be taken over?
Title: Re: Reply Button In Every Post
Post by: Joker™ on February 03, 2010, 11:42:11 PM
cant anyone remove that compatible with RC2 thing

as it is creating a lot of confusion throughout the members

So my request is that till it is really functional with RC2 plz remove the stamp that says its compatible with RC2 ;).
Title: Re: Reply Button In Every Post
Post by: KahneFan on February 04, 2010, 08:46:28 AM
Quote from: xnathansxdadx on February 04, 2010, 07:37:10 AM
QuoteJoe, if you are not able to support this mod, would you allow it to be taken over?


Quote

Sorry I couldn't help.

I am not good with smf 2x

I think this clearly outlines that he cannot support it, does it not?

I was quite bluntly told yesterday that because it says so it must be true.

Which is why I've asked Joe to allow someone to take this mod over. I do not have the time to support this mod, which is why I offered it to be taken over. However, if those who have taken over my mods do not have time to support them, I ask that they allow them to be taken over by someone who might. I ask this so that my mods (and all mods) can continue to grow if the original authors can not continue.
Title: Re: Reply Button In Every Post
Post by: Joker™ on February 04, 2010, 09:03:13 AM
i made the modifications myself n its working all fine on my forum .... i've RC2

if im allowed can i post codes for others here :)
Title: Re: Reply Button In Every Post
Post by: ~DS~ on February 04, 2010, 09:51:59 AM
Quote from: sid2varun on February 04, 2010, 09:03:13 AM
i made the modifications myself n its working all fine on my forum .... i've RC2

if im allowed can i post codes for others here :)
You are allowed as long as you don't upload the modified mod.
Title: Re: Reply Button In Every Post
Post by: Joker™ on February 04, 2010, 10:01:19 AM
kk ...so here we go

/themes/default/Display.template.php

Find:

// Can they reply? Have they turned on quick reply?



      if ($context['can_reply'] && !empty($options['display_quick_reply']))
         echo '
                           <li class="quote_button"><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';', $context['session_var'], '=', $context['session_id'], '" onclick="return oQuickReply.quote(', $message['id'], ', \'', $context['session_id'], '\', \'', $context['session_var'], '\', true);">', $txt['quote'], '</a></li>';


Add before:

// Simple Reply Button
            if ($context['can_reply'] && !empty($options['display_quick_reply']))
               echo '
                                   <li class="reply_button"><a href="', $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'], '">', $txt['reply'], '</a></li>';
                    


Find:
// Can they reply? Have they turned on quick reply?
         if ($context['can_reply'] && !empty($options['display_quick_reply']))
            echo '
                              <li class="quote_button"><a>', $txt['quote'], '</a></li>';


Add before:
// Simple Reply Button
         if ($context['can_reply'] && !empty($options['display_quick_reply']))
            echo '
                              <li class="reply_button"><a>', $txt['reply'], '</a></li>';


n see urself ;)


Note:The codes in <li> tags are different look carefully , as most users thinking i wrote same code twice here.They both are 2 different codes in the template file.


If mod author wants he can make mod package of this , i dont have problem :)
Title: Re: Reply Button In Every Post
Post by: ~DS~ on February 04, 2010, 10:06:49 AM
Thanks for sharing, default theme only I see...(At least it need to modify manually for each theme)

/me is beginning to think custom themes aren't worth it...
Title: Re: Reply Button In Every Post
Post by: KahneFan on February 04, 2010, 10:29:04 AM
[off topic]

Quote from: Dismal Shadow on February 04, 2010, 10:06:49 AM
/me is beginning to think custom themes aren't worth it...

/me figured that out a while back as well.

As long as the custom theme ONLY changes colors and images, you're OK. If the theme changes the actual body layout, that's when you come into trouble.

[/off topic]

[on topic]
Thank you sid2varun for the update!

Title: Re: Reply Button In Every Post
Post by: KensonPlays on February 04, 2010, 12:24:18 PM
When will it be compatible with RC2?
Title: Re: Reply Button In Every Post
Post by: Joker™ on February 04, 2010, 12:26:26 PM
Quote from: Kcmartz on February 04, 2010, 12:24:18 PM
When will it be compatible with RC2?

have u tried this

http://www.simplemachines.org/community/index.php?topic=303592.msg2487405#msg2487405
Title: Re: Reply Button In Every Post
Post by: C4G-TK on February 21, 2010, 03:20:29 AM
Quote from: sid2varun on February 04, 2010, 10:01:19 AM
kk ...so here we go

/themes/default/Display.template.php

Find:

// Can they reply? Have they turned on quick reply?

Add before:

// Simple Reply Button
      if ($context['can_reply'] && !empty($options['display_quick_reply']))
      echo '
            <li class="reply_button"><a href="', $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'], '">', $txt['reply'], '</a></li>';
                    


Find:
// Can they reply? Have they turned on quick reply?

Add before:
// Simple Reply Button
if ($context['can_reply'] && !empty($options['display_quick_reply']))
echo '
<li class="reply_button"><a>', $txt['reply'], '</a></li>';


n see urself ;)

If mod author wants he can make mod package of this , i dont have problem :)


I know it is 3am here, so maybe I'm just tired now, but you have two edits showing that look for the same code in both edits.  Are you saying to add both of the codes BEFORE that same code?  If so, why not just make one edit???

Also, when I parse the regular package, I have two edits showing in the parser.  The first edit I can do which looks for the code that you search for in your edits.  The second edit which talks about the create button is the one that does not exist.

I'm going to bed...
Title: Re: Reply Button In Every Post
Post by: Joker™ on February 21, 2010, 07:05:58 AM
I know it is 3am here, so maybe I'm just tired now, but you have two edits showing that look for the same code in both edits.  Are you saying to add both of the codes BEFORE that same code?  If so, why not just make one edit???

Also, when I parse the regular package, I have two edits showing in the parser.  The first edit I can do which looks for the code that you search for in your edits.  The second edit which talks about the create button is the one that does not exist.


I'm going to bed...
[/quote]

edited .... see the post now ;)

http://www.simplemachines.org/community/index.php?topic=303592.msg2487405#msg2487405
Title: Re: Reply Button In Every Post
Post by: C4G-TK on February 21, 2010, 11:55:39 AM
LOL!!!!!  Thanks for that!  Now I don't feel too bad.  I'm usually a night owl, so I figured I must have really been out of it!

Whew!  I'm not getting old.... yet.  (BTW, It's not noon and I'm just getting up!)


Testing it now! ;D

THANKS AGAIN... WORKING!
Title: Re: Reply Button In Every Post
Post by: SnoMan on April 20, 2010, 03:16:10 PM
I'm using a color-modified Babylon theme. The mod installs fine, but doesn't actually produce a reply button. http://www.survivalnewsonline.com/snoboards
Title: Re: Reply Button In Every Post
Post by: luuuciano on May 08, 2010, 03:59:41 PM
Quote from: sid2varun on February 04, 2010, 10:01:19 AM
kk ...so here we go

/themes/default/Display.template.php

Find:

// Can they reply? Have they turned on quick reply?



if ($context['can_reply'] && !empty($options['display_quick_reply']))
echo '
<li class="quote_button"><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';', $context['session_var'], '=', $context['session_id'], '" onclick="return oQuickReply.quote(', $message['id'], ', \'', $context['session_id'], '\', \'', $context['session_var'], '\', true);">', $txt['quote'], '</a></li>';


Add before:

// Simple Reply Button
      if ($context['can_reply'] && !empty($options['display_quick_reply']))
      echo '
            <li class="reply_button"><a href="', $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'], '">', $txt['reply'], '</a></li>';
                    


Find:
// Can they reply? Have they turned on quick reply?
if ($context['can_reply'] && !empty($options['display_quick_reply']))
echo '
<li class="quote_button"><a>', $txt['quote'], '</a></li>';


Add before:
// Simple Reply Button
if ($context['can_reply'] && !empty($options['display_quick_reply']))
echo '
<li class="reply_button"><a>', $txt['reply'], '</a></li>';


n see urself ;)

If mod author wants he can make mod package of this , i dont have problem :)

I have the second line to search twice in the code... wich I need to change? both?
one nearly 776 line, and the other one at 431...

(it is normal to have that twice?)
Title: Re: Reply Button In Every Post
Post by: luuuciano on May 08, 2010, 05:27:04 PM
btw, the first change I made it like this:

// Simple Reply Button
      if ($context['can_reply'] && !empty($options['display_quick_reply']))
      echo '
               <li class="reply_button"><a href="#quickreply">', $txt['reply'], '</a></li>';
else
      echo '
               <li class="reply_button"><a href="', $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'], '">', $txt['reply'], '</a></li>';


so, it goes to bottom when the user have quick reply on...

any way to go down, and the cursor in the reply section?
Title: Re: Reply Button In Every Post
Post by: luuuciano on May 08, 2010, 10:10:31 PM
how can be the "<li class="reply_button"><a href="#quickreply">', $txt['reply'], '</a></li>" section to make focus on the textarea?

I mean the cursor, so the user is ready to write... without having to clic in the textarea...

(I have tried a few javascript... but I really have no idea about JS......)
Title: Reply Button In Every Post with 2.0 RC3
Post by: T3CHN0 on May 15, 2010, 03:16:38 AM
I am using this mod now in RC3 but it doesn't work. I did use it in 1.1.11 & loved it. work perfect as how I wanted it to work.
but after upgrading my forum I can't install it in the
admin section and had to add the code to display.template.php my self.
the reply icon shows now but when clicking on the reply
my page just moves to the bottom of the forum page. 

is there something I can change in this coding to make it work with RC3


// Simple Reply Button
if ($context['can_reply'] && !empty($options['display_quick_reply']))
echo '
<li><a href="#quickreply">', $respond_button, '</a></li>';
else
echo '
<li><a href="', $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'], '">', $respond_button, '</a></li>';

      // Can they reply? Have they turned on quick reply?
      if ($context['can_reply'] && !empty($options['display_quick_reply']))
         echo '
                     <li><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], '" onclick="return oQuickReply.quote(', $message['id'], ');">', $reply_button, '</a></li>';


Please is anyone can help. thankyou
Title: Re: Reply Button In Every Post
Post by: !RFAN on May 15, 2010, 04:34:01 AM
lolzz.. on my forum... there is a link for reply and it works fine but no icon.. other buttons have icons but reply buttons dsnt show any icon or text.. but link works fine..
i can notice the presence of link by hovering... m using rc3...
Title: Re: Reply Button In Every Post
Post by: Blade_Runner on June 25, 2010, 07:02:02 AM
This mod does not work with 1.1.11 and Babylon theme. It installs correctly, but just does not work.
Title: Re: Reply Button In Every Post
Post by: gbsothere on June 25, 2010, 08:03:08 AM
If you used the package manager, it only places the edits in Default's template.  You must manually place this mod's edits in Babylon's Display.template.php.  Just use the 1.1.11 pulldown on the mod's page and the parsing instructions will be found there.

:)
Title: Re: Reply Button In Every Post
Post by: Blade_Runner on June 25, 2010, 01:38:48 PM
I tried installing it manually. The first part works. Cannot find the line listed on the second part. The line on the second part can only be found inside the default theme.
Title: Re: Reply Button In Every Post
Post by: gbsothere on June 25, 2010, 01:53:26 PM
If you'll attach Babylon's Display.template.php, I'll take a look at it, Blade_Runner, and see if I can find a solution.  If I can't, someone else who can will probably weigh in. 

:)
Title: Re: Reply Button In Every Post
Post by: Blade_Runner on June 25, 2010, 02:36:14 PM
I have attached it. Greatly appreciate your help.  :)
Title: Re: Reply Button In Every Post
Post by: gbsothere on June 25, 2010, 02:48:16 PM
I'm asking around, Blade_Runner, because it's beyond my scope.  That last "add" string would have to be rewritten to work with your theme, I guess. 

I'm believing that one of the code-savvy members here will be able to clinch it, though.  :)
Title: Re: Reply Button In Every Post
Post by: gbsothere on June 25, 2010, 03:38:17 PM
Blade_Runner, upload the attached file to Babylon's theme directory but, before you do, pull the unedited one from your server out onto your desktop.  That way, if this goes awry, you can just re-upload your original.   :)
Title: Re: Reply Button In Every Post
Post by: Blade_Runner on June 25, 2010, 04:57:39 PM
I tried, it doesn't work.

The codes from the first part is missing. Even after adding it in, it still does not work.

The code for the first part is as follows:
----------------------------------
      // Simple Reply Button
      if ($context['can_reply'] && !empty($options['display_quick_reply']))
      echo '<a href="#quickreply">', $respond_button, '</a>';
      else
      echo '<a href="', $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'], '">', $respond_button, '</a>';
----------------------------------
             
Title: Re: Reply Button In Every Post
Post by: gbsothere on June 25, 2010, 05:04:33 PM
Ah.....  I just placed the edit in the file you'd sent me earlier and I thought the first part was in it.   :o

I'll ask around about this, and hopefully, in the meantime, someone (who actually knows what he's doing) will see this and weigh in.
Title: Re: Reply Button In Every Post
Post by: gbsothere on June 25, 2010, 08:31:52 PM
Well, Blade_Runner....   my method is known as "duct tape".  *grin*  But I installed the babylon Theme (it wasn't on my test board) and I got it to work.


Upload this attached file and see if anything blows up.

It works for me, but my forum is used to duct tape, so yours might be more particular.   :D

(Save your original onto your desktop first, before sending this up, just in case you need to re-upload it.)

Let me know?
Title: Re: Reply Button In Every Post
Post by: Blade_Runner on June 26, 2010, 01:37:27 PM
It's working. Thxs for your help. Greatly appreciate it.
Maybe you can post out what you did so that others can make their own modifications.
Title: Re: Reply Button In Every Post
Post by: Blade_Runner on June 26, 2010, 01:50:54 PM
This is only a slight problem left. It does not work for guest. According to the description, it is suppose to show. It's not important and I don't need that function. Just want to let others who might want to install know about this.
Title: Re: Reply Button In Every Post
Post by: gbsothere on June 26, 2010, 02:32:03 PM
My boards, both test and active, are very heavily guarded against allowing guests any access at all, so I'm guessing at this, but I imagine you'd just need to make sure that the "Guest" member group has permission to post replies to topics checked. Also, you may need to check "Boards" in your admin panel (modify) and make sure that the boards in question allow guests to access them.

The first edit in the mod is simple enough, so I won't bother with that one.  The second edit (and this is just for the babylon Theme) is:

Find:

// Can they reply?  Have they turned on quick reply?

and add before:

      // How about replying at any point?

if ($context['can_reply'] && !empty($options['display_quick_reply']))
         echo '
                           <a href="', $scripturl, '?action=post;reply=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';sesc=', $context['session_id'], '" onclick="doReply(', $message['id'], ', \'', $context['session_id'], '\'); return false;">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/reply_sm.gif" alt="' . $txt[146] . '" border="0" />' : $txt[146]), '</a>';
      // So... quick reply is off, but they *can* reply?
      elseif ($context['can_reply'])
         echo '
                           <a href="', $scripturl, '?action=post;reply=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';sesc=', $context['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/reply_sm.gif" alt="' . $txt[146] . '" border="0" />' : $txt[146]), '</a>';



I also added $respond_button to the global settings (in two places) to get rid of a forum error. 


I'm glad it's functioning for you.   :)
Title: Re: Reply Button In Every Post
Post by: ~DS~ on June 30, 2010, 10:48:58 PM
Duct tape for 2.0 RC3?  :P
Title: Re: Reply Button In Every Post
Post by: gbsothere on July 01, 2010, 09:55:45 AM
Quote from: Dismal Shadow on June 30, 2010, 10:48:58 PM
Duct tape for 2.0 RC3?  :P


The time has come for me to cave in and install an RC3 test board, today.   :D
Title: Re: Reply Button In Every Post
Post by: gbsothere on July 01, 2010, 09:18:31 PM
Well, DS.......   it's Duct Tape, for sure.....  *grin*......   but I have it working for 2.0 RC3.  Well, one disclaimer.... if it's supposed to work with "quick reply", then I don't have that working, but the mod never really addressed quick reply, as far as I can tell.  If you have a reply button in every post, I suppose that eliminates the need for quick reply?

Nothing blew up and there are no errors.  (I'm shocked!)   Here's what I did:

In (Default) Display.template.php, find:

                // Can they reply? Have they turned on quick reply?

Add before:

            // Simple Reply Button
if ($context['can_reply'] && !empty($options['display_quick_reply']))
echo '
<li class="respond_button"><a href="', $scripturl, '?action=post;reply=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], '">', $txt['reply'], '</a></li>';




In (Default/css) index.css, find:

ul.quickbuttons li.reply_all_button
{
background: url(../images/theme/quickbuttons.png) no-repeat 0 -180px;
}


Add before:

ul.quickbuttons li.respond_button
{
background: url(../images/theme/quickbuttons.png) no-repeat 0 -180px;
}




(You might want to keep some "clean" copies from your server on standby, in case you smell smoke.)

:D
Title: Re: Reply Button In Every Post
Post by: KahneFan on July 01, 2010, 10:03:04 PM
Originally I had it so that, if you had QR activated, clicking the reply button would send you to the QR box at the bottom of the page. If you do not have the QR activated, it would take you to a new page. And, if you were not registered, you would be taken to registration.
Title: Re: Reply Button In Every Post
Post by: gbsothere on July 01, 2010, 10:11:09 PM
Quote from: KahneFan on July 01, 2010, 10:03:04 PM
Originally I had it so that, if you had QR activated, clicking the reply button would send you to the QR box at the bottom of the page. If you do not have the QR activated, it would take you to a new page. And, if you were not registered, you would be taken to registration.


I wish I were bright enough to accomplish more than the bare bones, KahneFan, but I'm woefully inept.   :D

This might be regarded as a "simple" mod, but it's one of the most useful things I've ever put in a forum.  My users absolutely love it.   :)
Title: Re: Reply Button In Every Post
Post by: KahneFan on July 02, 2010, 12:53:11 AM
Quote from: gbsothere on July 01, 2010, 10:11:09 PM
This might be regarded as a "simple" mod, but it's one of the most useful things I've ever put in a forum.  My users absolutely love it.   :)

Agreed. I never understood why it wasn't a default feature.
Title: Re: Reply Button In Every Post
Post by: C4G-TK on July 06, 2010, 01:17:50 AM
// Can they reply? Have they turned on quick reply?

This code y itself is listed three times in Display.template.php.  Is this supposed to be added three times?
Title: Re: Reply Button In Every Post
Post by: gbsothere on July 06, 2010, 07:38:35 AM
Quote from: C4G-TK on July 06, 2010, 01:17:50 AM
// Can they reply? Have they turned on quick reply?

This code y itself is listed three times in Display.template.php.  Is this supposed to be added three times?



Unfortunately, my 1.1.11 Display.template.php is very heavily modded but I can tell you that it's placed before

// So... quick reply is off, but they *can* reply?

I have it in 2.0 RC1 as

// Simple Reply Button
        if ($context['can_reply'])
         echo '<a href="', $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'], ';m=', $message['id'], ';poster=', $message['member']['name'], '">', $respond_button, '</a>';


before that same line. 

(I'm actually using this mod to make another "sort of mod" that I monkeyed around with work so..... duct tape.)

:D
Title: Re: Reply Button In Every Post
Post by: alphacaveman on July 12, 2010, 08:36:59 PM
I wish I had the success others did with a version other than default. I'm using Classic 1.1.11 and it says it's installed but the new "reply" button is simply not showing up. Any advice?
Title: Re: Reply Button In Every Post
Post by: gbsothere on July 12, 2010, 08:46:36 PM
Quote from: alphacaveman on July 12, 2010, 08:36:59 PM
I wish I had the success others did with a version other than default. I'm using Classic 1.1.11 and it says it's installed but the new "reply" button is simply not showing up. Any advice?


Classic?  If you installed it through the package manager, you're going to have to manually edit that theme's Display.template.php.   Let me know if you hit a snag and I'll take a shot at it.

Title: Re: Reply Button In Every Post
Post by: ~DS~ on July 12, 2010, 08:50:31 PM
Quote from: gbsothere on July 01, 2010, 09:18:31 PM
Well, DS.......   it's Duct Tape, for sure.....  *grin*......   but I have it working for 2.0 RC3.  Well, one disclaimer.... if it's supposed to work with "quick reply", then I don't have that working, but the mod never really addressed quick reply, as far as I can tell.  If you have a reply button in every post, I suppose that eliminates the need for quick reply?

Nothing blew up and there are no errors.  (I'm shocked!)   Here's what I did:

In (Default) Display.template.php, find:

                // Can they reply? Have they turned on quick reply?

Add before:

            // Simple Reply Button
if ($context['can_reply'] && !empty($options['display_quick_reply']))
echo '
<li class="respond_button"><a href="', $scripturl, '?action=post;reply=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], '">', $txt['reply'], '</a></li>';




In (Default/css) index.css, find:

ul.quickbuttons li.reply_all_button
{
background: url(../images/theme/quickbuttons.png) no-repeat 0 -180px;
}


Add before:

ul.quickbuttons li.respond_button
{
background: url(../images/theme/quickbuttons.png) no-repeat 0 -180px;
}




(You might want to keep some "clean" copies from your server on standby, in case you smell smoke.)

:D
I am not sure why you say quick reply is working for you but it does work for me.
:o
Title: Re: Reply Button In Every Post
Post by: alphacaveman on July 12, 2010, 08:55:02 PM
Quote from: gbsothere on July 12, 2010, 08:46:36 PM
Quote from: alphacaveman on July 12, 2010, 08:36:59 PM
I wish I had the success others did with a version other than default. I'm using Classic 1.1.11 and it says it's installed but the new "reply" button is simply not showing up. Any advice?

There's not a list of what was changed with the mod. I looked at the modifications1 and modifications2 files that tell package manager what to do but they were referring to parts of display.template.php that I couldn't find in Classic. Is there a place listing the manual instructions?


Classic?  If you installed it through the package manager, you're going to have to manually edit that theme's Display.template.php.   Let me know if you hit a snag and I'll take a shot at it.


Title: Re: Reply Button In Every Post
Post by: alphacaveman on July 12, 2010, 09:08:58 PM
Update, I found the manual instructions at http://custom.simplemachines.org/mods/index.php?action=parse

BUT the second listing of "find" where it says, $reply_button is simply not there. Frustrating.
Title: Re: Reply Button In Every Post
Post by: gbsothere on July 12, 2010, 09:10:51 PM
There is, alphacaveman.

Just go here:

http://custom.simplemachines.org/mods/index.php?mod=1755 (http://custom.simplemachines.org/mods/index.php?mod=1755)


and you'll see a pulldown just under "Manual Install Instructions for SMF"

They're pretty simple but if your Display.template.php doesn't have the "find" strings, I'll take a look at it.
Title: Re: Reply Button In Every Post
Post by: gbsothere on July 12, 2010, 09:11:23 PM
Quote from: alphacaveman on July 12, 2010, 09:08:58 PM
Update, I found the manual instructions at http://custom.simplemachines.org/mods/index.php?action=parse

BUT the second listing of "find" where it says, $reply_button is simply not there. Frustrating.



Attach it and I'll take a look at it.   :)
Title: Re: Reply Button In Every Post
Post by: alphacaveman on July 12, 2010, 09:14:18 PM
Thanks very much. Here it is.
Title: Re: Reply Button In Every Post
Post by: gbsothere on July 12, 2010, 09:15:09 PM
Quote from: alphacaveman on July 12, 2010, 09:14:18 PM
Thanks very much. Here it is.


Let me just go get my "old man" reading glasses and I'll stare at it for a few minutes.  *grin*
Title: Re: Reply Button In Every Post
Post by: alphacaveman on July 12, 2010, 09:21:15 PM
Quote from: gbsothere on July 12, 2010, 09:15:09 PM
Quote from: alphacaveman on July 12, 2010, 09:14:18 PM
Thanks very much. Here it is.


Let me just go get my "old man" reading glasses and I'll stare at it for a few minutes.  *grin*

Sweet thanks.
Title: Re: Reply Button In Every Post
Post by: gbsothere on July 12, 2010, 09:37:38 PM
Fingers crossed.  If you smell smoke, run!   :D
Title: Re: Reply Button In Every Post
Post by: alphacaveman on July 12, 2010, 09:46:00 PM
Thanks very much! That worked! What did you change in place of what the manual instructions said?
Title: Re: Reply Button In Every Post
Post by: gbsothere on July 12, 2010, 09:51:27 PM
Quote from: alphacaveman on July 12, 2010, 09:46:00 PM
Thanks very much! That worked! What did you change in place of what the manual instructions said?



Well........    it's duct tape.  *grin*

I knew the code referred to "quote.gif" so I found that and studied how that bit of code was written to produce that button.  I also looked at "modify.gif" and, based on that, I added a separate block of code (using the reply_sm.gif).  If you look for

// How about replying at any point?

that's where I started. 

:)
Title: Re: Reply Button In Every Post
Post by: alphacaveman on July 12, 2010, 09:56:41 PM
Would you be willing to do one more for another forum of mine?  ::)
Title: Re: Reply Button In Every Post
Post by: gbsothere on July 12, 2010, 09:57:47 PM
Quote from: alphacaveman on July 12, 2010, 09:56:41 PM
Would you be willing to do one more for another forum of mine?  ::)


This mod?   Sure.   If it's another mod, you'd better PM me, so we don't hijack this thread.   :)
Title: Re: Reply Button In Every Post
Post by: alphacaveman on July 12, 2010, 10:03:29 PM
It's this mod. Just like what you just did. Thank you so much! It's attached.
Title: Re: Reply Button In Every Post
Post by: gbsothere on July 12, 2010, 10:04:04 PM
Quote from: alphacaveman on July 12, 2010, 10:03:29 PM
It's this mod. Just like what you just did. Thank you so much! It's attached.


Classic theme for this one, as well?
Title: Re: Reply Button In Every Post
Post by: alphacaveman on July 12, 2010, 10:06:01 PM
Yes.
Title: Re: Reply Button In Every Post
Post by: gbsothere on July 12, 2010, 10:08:07 PM
Try this.
Title: Re: Reply Button In Every Post
Post by: alphacaveman on July 12, 2010, 10:26:58 PM
Thank you so much! I really appreciate it!
Title: Re: Reply Button In Every Post
Post by: gbsothere on July 12, 2010, 10:33:40 PM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwhereitestmystuff.com%2Fimages%2Fthumb.gif&hash=fbe057efff6d88bc8293617d752cf12a98abaa09)
Title: Re: Reply Button In Every Post
Post by: Afro on September 26, 2010, 05:19:43 PM
this mod should be upgraded to 2.0 RC3.
Title: Re: Reply Button In Every Post
Post by: gbsothere on September 26, 2010, 10:00:58 PM
Quote from: Afro on September 26, 2010, 05:19:43 PM
this mod should be upgraded to 2.0 RC3.



I think I did on my previous RC3 test board, but I dumped the board to use the space for something else and those files are gone.  I've not done it on my current RC3 board.  I'll play with the codes and see if I can remember what I did (if no one else has sorted it by the time I'm done.)

Title: Re: Reply Button In Every Post
Post by: gbsothere on September 27, 2010, 02:41:33 PM
Actually, Afro, in RC3, simply finding, in Display.template.php

// Can they reply? Have they turned on quick reply?


And adding before:

        // How about replying at any point?
        if ($context['can_reply'] && !empty($options['display_quick_reply']))
            echo '
                                   <li class="reply_button"><a href="', $scripturl, '?action=post;reply=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], '" onclick="doReply(',
                                   $message['id'], ');">', $txt['reply'], '</a></li>';




will put the reply button in every post and, at least on my test board, it works just fine. 

The only thing is that I've never been quite sure how this is suppose to work with Quick Reply (because I've never fooled around with it) so someone else might want to either provide additional codes or explain to me how it's supposed to work in conjunction with Quick Reply, so that I can muck around with it, although, you can probably figure that out a lot faster than I can.

:)
Title: Re: Reply Button In Every Post
Post by: KahneFan on September 28, 2010, 07:37:30 AM
Quote from: KahneFan on July 01, 2010, 10:03:04 PM
Originally I had it so that, if you had QR activated, clicking the reply button would send you to the QR box at the bottom of the page. If you do not have the QR activated, it would take you to a new page. And, if you were not registered, you would be taken to registration.
Title: Re: Reply Button In Every Post
Post by: Afro on September 28, 2010, 08:05:29 AM
Quote from: gbsothere on September 27, 2010, 02:41:33 PM
Actually, Afro, in RC3, simply finding, in Display.template.php

// Can they reply? Have they turned on quick reply?


And adding before:

        // How about replying at any point?
        if ($context['can_reply'] && !empty($options['display_quick_reply']))
            echo '
                                   <li class="reply_button"><a href="', $scripturl, '?action=post;reply=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], '" onclick="doReply(',
                                   $message['id'], ');">', $txt['reply'], '</a></li>';




will put the reply button in every post and, at least on my test board, it works just fine. 

The only thing is that I've never been quite sure how this is suppose to work with Quick Reply (because I've never fooled around with it) so someone else might want to either provide additional codes or explain to me how it's supposed to work in conjunction with Quick Reply, so that I can muck around with it, although, you can probably figure that out a lot faster than I can.

:)


Worked very well.. but still needs to be upgraded to 2.0 RC3//
People dont really like modifying files manually.
Title: Re: Reply Button In Every Post
Post by: mirahalo on September 28, 2010, 09:17:02 AM
for those users that use quick reply:


if ($context['can_reply'] && !empty($options['display_quick_reply']) && $context['user']['is_logged'] )
      echo '
               
<li class="quote_button"><a href="#quickreply">', $txt['reply'], '</a></li>';
Title: Re: Reply Button In Every Post
Post by: gbsothere on September 28, 2010, 10:11:09 AM
@ 130860

Thanks for that!   :)



@ KahneFan

This is still one of my favorite mods (and really should have always been a standard feature).   ;)
Title: Re: Reply Button In Every Post
Post by: Shades. on November 14, 2010, 09:42:09 PM
Can someone update this to work with RC4? Thanks! 8)
Title: Re: Reply Button In Every Post
Post by: Joker™ on December 08, 2010, 04:45:24 AM
Quote from: BoZilla on November 14, 2010, 09:42:09 PM
Can someone update this to work with RC4? Thanks! 8)

themes\default\Display.template.php

Find:

// Can they reply? Have they turned on quick reply?


Add before:

// Simple Reply Button
      if ($context['can_reply'] && !empty($options['display_quick_reply']))
      echo '
            <li class="reply_button"><a href="', $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'], '">', $txt['reply'], '</a></li>';
               
Title: Re: Reply Button In Every Post
Post by: C4G-TK on May 29, 2011, 08:25:26 PM
Quote from: Joker™ on December 08, 2010, 04:45:24 AM
Quote from: BoZilla on November 14, 2010, 09:42:09 PM
Can someone update this to work with RC4? Thanks! 8)

themes\default\Display.template.php

Find:

// Can they reply? Have they turned on quick reply?


Add before:

// Simple Reply Button
      if ($context['can_reply'] && !empty($options['display_quick_reply']))
      echo '
            <li class="reply_button"><a href="', $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'], '">', $txt['reply'], '</a></li>';
               


Before someone asks, this works in RC5, too!  ;)
Title: Re: Reply Button In Every Post
Post by: ashishsharma on July 10, 2011, 05:39:19 PM
OK so a newbie here...

...and instead of just being lazy and asking for help, I actually tried adding code into my display.template.php and it did not work. It didn't break anything but I don't have a reply button on each post.  :(

I looked for

      // So... quick reply is off, but they *can* reply?
      elseif ($context['can_reply'])
         echo '
               <a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';sesc=', $context['session_id'], '">', $reply_button, '</a>';

and added this before it...

// Simple Reply Button
        if ($context['can_reply'])
         echo '<a href="', $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'], ';m=', $message['id'], ';poster=', $message['member']['name'], '">', $respond_button, '</a>';

File attached

I am on SMF version 1.1.13 and this is the only change I made. I've got no clue about PHP but tried to follow this thread as much as I could. Any help would be appreciated.
Title: Re: Reply Button In Every Post
Post by: Joker™ on July 11, 2011, 02:03:24 AM
Try these edit (Make backup of file before editing it)

Display.template.php

Code (Find:) Select
$reply_button = create_button('quote.gif', 145, 'smf240', 'align="middle"');



Code (Add before:) Select
$quick_reply = create_button('reply.gif', 121, '146', 'align="middle"');



Code (Find:) Select
// Can they reply? Have they turned on quick reply?



Code (Add Before:) Select
// Simple Reply Button
if ($context['can_reply'])
echo '
<a href="', $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'], '">', $quick_reply, '</a>';
Title: Re: Reply Button In Every Post
Post by: ashishsharma on July 11, 2011, 07:45:53 PM
Holy crap! It works!!!

Thank you thank you thank you so much!! :-)

Title: Re: Reply Button In Every Post
Post by: Joker™ on July 11, 2011, 09:45:49 PM
Quote from: ashishsharma on July 11, 2011, 07:45:53 PM
Holy crap! It works!!!

Thank you thank you thank you so much!! :-)


Your most welcome :).
Title: Re: Reply Button In Every Post
Post by: rgecy on August 01, 2011, 09:23:36 PM
Any word if this will be updated for 2.0 Gold without having to make the edits?

Robert
Title: Re: Reply Button In Every Post
Post by: Joker™ on August 02, 2011, 04:40:34 AM
Have you tried this (http://www.simplemachines.org/community/index.php?topic=303592.msg2874779#msg2874779)?
Title: Re: Reply Button In Every Post
Post by: awolexpat on September 04, 2011, 12:41:41 AM
Hi Joker,
I have tried the edits in this thread but still cannot get this to work (SMF 2). The installation failed on the second edit to the display.template.php on both the default and one of my other themes (Clear Sky) as the 'Find' code wasn't there, and I believe this is what creates the button. Could you (or someone) have a look at my default file and see if you can work out what needs to be done? If you could also list what needed to be changed I'm sure it will help others too.
Many thanks in advance.

P.S. Please ignore the first attachment; I since tried other edits to the index.css files and retried the other edits so the second attachment is what I currently have. Nothing broken (yet) but no reply button :(
Title: Re: Reply Button In Every Post
Post by: Smoerble on September 04, 2011, 06:42:00 PM
--- wrong topic, sorry ---
Title: Re: Reply Button In Every Post
Post by: Joker™ on September 06, 2011, 09:34:11 AM
Display.template.php (Make backup before editing it)

Code (Find:) Select
// Can they reply? Have they turned on quick reply?
if ($context['can_quote'] && !empty($options['display_quick_reply']))
echo '
<li class="quote_button"><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';last_msg=', $context['topic_last_message'], '" onclick="return oQuickReply.quote(', $message['id'], ');">', $txt['quote'], '</a></li>';



Code (Add Before:) Select
// Simple Reply Button
      if ($context['can_reply'])
      echo '
            <li class="reply_button"><a href="', $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'], '">', $txt['reply'], '</a></li>';



Actually the if loop was also checking whether the quick reply is enable or not, and if the quick reply wasn't enabled the reply button was not shown. I hope this helps out your issue.
Title: Re: Reply Button In Every Post
Post by: awolexpat on September 06, 2011, 11:14:13 AM
Thanks Joker - that has done the trick!
Title: Re: Reply Button In Every Post
Post by: dapottster on March 22, 2012, 05:14:20 PM
I just wanted to state that I had a similar issue and Joker's advice fixed it. Thanks!
Title: Re: Reply Button In Every Post
Post by: kiryuu on March 30, 2012, 10:40:36 AM
A quick question:
What if I want to remove the "Reply" button or link?  I've edited the display.template.php, like Joker's above post (http://www.simplemachines.org/community/index.php?topic=303592.msg3153705#msg3153705) in this thread.  Then I removed the "Simple Reply Button" code from display.template.php, but it didn't get rid of the "Reply" function on each post.

I haven't installed the mod; I just did the manual it.  How do I get it back to the normal setting?  Would I have to re-install the original display.template.php?

Thanks in advance.
Title: Re: Reply Button In Every Post
Post by: alphacaveman on July 16, 2012, 11:39:09 PM
I'm using 2.0.2 and the test failed for me (line 2). I installed it anyway and nothing happened so I uninstalled it.

I'd really like this mod. Any suggestions?
Title: Re: Reply Button In Every Post
Post by: Joker™ on July 21, 2012, 07:17:41 AM
Quote from: kiryuu on March 30, 2012, 10:40:36 AM
A quick question:
What if I want to remove the "Reply" button or link?  I've edited the display.template.php, like Joker's above post (http://www.simplemachines.org/community/index.php?topic=303592.msg3153705#msg3153705) in this thread.  Then I removed the "Simple Reply Button" code from display.template.php, but it didn't get rid of the "Reply" function on each post.

I haven't installed the mod; I just did the manual it.  How do I get it back to the normal setting?  Would I have to re-install the original display.template.php?

Thanks in advance.

The code provided in above post is to get reply button in ever post. By re-installing the original Display.template.php you might face more issues as some of the mods might have made edits in the concerned file. Have you made a backup of the file before editing it?



Quote from: alphacaveman on July 16, 2012, 11:39:09 PM
I'm using 2.0.2 and the test failed for me (line 2). I installed it anyway and nothing happened so I uninstalled it.

I'd really like this mod. Any suggestions?

Please try the edit provided over here (http://www.simplemachines.org/community/index.php?topic=303592.msg3153705#msg3153705) (Make backup of the file before editing it)
Title: Re: Reply Button In Every Post
Post by: alphacaveman on August 23, 2012, 12:13:41 PM
Thanks, it worked.
Title: Re: Reply Button In Every Post
Post by: donnie123 on October 26, 2023, 06:46:37 PM
I'm a new user. Are there "how to" instructions or an update that will place a "REPLY" button on each post whether someone is logged in as a member or a guest, then if a guest clicks the "REPLY" button, the guest gets an invitation to register or login? I located the permission page to allow guests to reply but does not require registration. Thanks.
Title: Re: Reply Button In Every Post
Post by: Kindred on October 26, 2023, 06:49:21 PM
Donnie,  that's not how it works in smf.
In smf, the system only shows bittons and links for actions that can be completed.
Title: Re: Reply Button In Every Post
Post by: donnie123 on October 26, 2023, 07:00:22 PM
Thanks. A guest (first time visitor who doesn't know if it's possible to reply to a post) clicking a REPLY button that invites them to login or register can be completed by either logging in or registering which would a complete action. Is that correct?
Title: Re: Reply Button In Every Post
Post by: Kindred on October 26, 2023, 10:00:35 PM
No... since a guest can not post, they are not shown the reply button.

Just as guests are not shown boards or threads that they would have to log in in order to view

The requirement to create an account in order to post seems kinda obvious