Reply Button In Every Post

Started by Joe N, April 08, 2009, 01:39:28 AM

Previous topic - Next topic

KahneFan

...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>';
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Grinch843

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.

Grinch843

*Update*

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


Grinch843....

Joe N

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
Microsoft: "We Need to Imagine Life Without Walls."
I Say: "If There are No Walls Who needs Windows."



My Mods (6) All My Mods Updated To SMF 2.0 RC2 and SMF 1.1.10!


Joe N

smf 2.0 rc2 and smf 1.1.11 now working with this mod!! :)
Microsoft: "We Need to Imagine Life Without Walls."
I Say: "If There are No Walls Who needs Windows."



My Mods (6) All My Mods Updated To SMF 2.0 RC2 and SMF 1.1.10!


gbsothere

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!   :)

My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

PalmBeachPreps

RC2 - I'm getting this error:

2.     Add Before     ./Themes/default/Display.template.php     Test failed

Mabangis

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.
Don't try.  Do it or Don't. There is no Try!

SgtMic

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.
There is nothing more deadly than a US Marine and his rifle.
A close second is a US Marine and his K-BAR.
2/5 Fox Co.  (BlackHearts)
FAST Co. 5th Plt. (FIDO)

C4G-TK

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.

-img removed-

firehopper

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...

Chas Large

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.
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

NoobDeveloper


C4G-TK

Has anyone gotten it to work, yet on Curve?

-img removed-

KahneFan

Joe, are you still supporting this mod?
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

C4G-TK

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)  ;)

-img removed-

~DS~

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.
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

NoobDeveloper


ABCDiamond

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

~DS~

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
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Advertisement: