QRR: Quick Reply Reposition (Xenforo / Facebook Styles) (Partly Hook!)

Started by Hj Ahmad Rasyid Hj Ismail, July 17, 2014, 03:51:02 PM

Previous topic - Next topic

Hj Ahmad Rasyid Hj Ismail

Link to Mod

QRR: Quick Reply Reposition Mod
- For SMF 2.0.x & SMF 1.1.x
- Partly Hook, Minor File Modification

1. Please do your own backup though every installation is backed up automatically.
2. This mod will try to re-positions your default theme quick reply which is normally positioned below jump-to box.
3. Once enable in mod settings page, quick reply box will be positioned immediately under the last post.
4. As an admin, you can set quick reply to be shown by default and return topic to make this work without ajax:
    a. Admin > Theme & Layout > Members Options
    b. Change current options for all members using this theme.
    c. Configure guest and new user options for this theme.
5. You can test it in lower SMF version too as it should work just fine. ;)


Thank you for using/testing it.


Yours friendly,
Abu Fahim Ismail.

BSD License. Feel free to modify accordingly but keep author's link if it is in there somewhere. ;)

 

#Change Logs

@Version 1.1.2
- Minimizing changes for SMF 2.0.x by using a separate template file instead.
- For the time being there is no possibility of creating a fully hook version.

@Version 1.1.1
- Supports Ajax Quick Reply Mod for SMF 2.0x.

@Version 1.1.0
- Partly using hook and minimize file modification for SMF 2.0x.
- Now you have options to turn in on or off in mod settings page in SMF 2.0.
- No change yet for SMF 1.1.x.

@Version 1.1.0
- Partly using hook and minimize file modification for SMF 2.0x.
- Now you have options to turn in on or off in mod settings page in SMF 2.0.
- No change yet for SMF 1.1.x.

kat

Works wonderfully! :)

One hassle, though... If you have "Return to topics after posting by default." checked, in your profile, it ignores it and sends you back to the index list. :(

Hj Ahmad Rasyid Hj Ismail

Strange? It suppose to take your to your post. I have even tested it with ajax reply and ajax post scrolling mods. May be I will try it on a vanilla smf forum install and see whether I can reproduce that error. I will update later.


Hj Ahmad Rasyid Hj Ismail

I have just installed a fresh smf 2.0.x site BUT unfortunately, I cannot reproduce the said failure.

I simply installed a fresh site, install this mod, check "Return to topics after posting by default" via my profile, test a quick reply post by making a new post, and it does what it suppose to do i.e. return to the topic post.

Is there any possibility it could have some conflict with other mods in your forum?

kat

I suppose there could be.

SimplePortal    2.3.5
Working top level links for drop menus    1.0
URL Popup

It's only a test forum, though. So, no hassles. Just thought it'd be worth mentioning it. :)

That apart, it works like a charm!

Damage, Inc

Excelente MOD dude. One question:
There anyway to add the smiley box and the bbc buttons to this quick reply?
I appreciate your answer!
Cheers

Burke ♞ Knight

I like the looks of this.
Makes quick reply look a little more integrated with the posts.
Nice job. :)

Hj Ahmad Rasyid Hj Ismail

Thanks Burke and Damage.

Quote from: Damage, Inc on August 21, 2014, 12:28:05 AM
Excelente MOD dude. One question:
There anyway to add the smiley box and the bbc buttons to this quick reply?
I appreciate your answer!
Cheers

I am not so sure if SMF has that by default or you have to add that by mod. I think it is the later.


Hj Ahmad Rasyid Hj Ismail

I just updated this mod to version 1.1.0 and the change logs are as follows:

#Change Logs
@Version 1.1.0
- Partly using hook and minimize file modification for SMF 2.0x.
- Now you have options to turn in on or off in mod settings page in SMF 2.0.
- No change yet for SMF 1.1.x.

I haven't tested this with AJAX Quick Reply. I will update about this later.

Hj Ahmad Rasyid Hj Ismail

Updated to version 1.1.1 to support Ajax Quick Reply Mod

#Change Logs

@Version 1.1.1
- Supports Ajax Quick Reply Mod for SMF 2.0x.

@Version 1.1.0
- Partly using hook and minimize file modification for SMF 2.0x.
- Now you have options to turn in on or off in mod settings page in SMF 2.0.
- No change yet for SMF 1.1.x.

drfun

Nice mod, i am currently using it, its lovely.
Is there any way to reduce the height of the quick reply, may have it original hight?

Update!!!!!
I just change the row from 7 to 3 and it has reduced the hight. well i dont know if this is appropriate, hope this will not affect any other function on my smf?
ECLIKS -Global Online community for Questions and Answers

Hj Ahmad Rasyid Hj Ismail

Change this modified code: <textarea style="width:98%" cols="" rows="7" name="message" tabindex="', $context['tabindex']++, '"></textarea>

to this default code: <textarea cols="600" rows="7" name="message" tabindex="', $context['tabindex']++, '"></textarea>

drfun

Thank you for responding, but which file do i need to do this modification on,
ECLIKS -Global Online community for Questions and Answers

Hj Ahmad Rasyid Hj Ismail

Sorry, that should be in Display.template.php where this mod made the changes.

drfun

Ok, just inserted the codes, but it only increased the width size to infinity of my page. I was talking about the height of the quick reply.
If the hight of the box can be reduced.
ECLIKS -Global Online community for Questions and Answers

drfun

I have been able to reduce the height, its actually the roll value that i change and it ok. this is what i used
<textarea style="width:98%" cols="" rows="4" name="message" tabindex="', $context['tabindex']++, '"></textarea>

I hope changing the roll value will not affect any other part of my smf?
ECLIKS -Global Online community for Questions and Answers

Hj Ahmad Rasyid Hj Ismail

You were asking the original, so that was what I gave you. ;) Anyway, good to hear you resolved your issue. And yes, I think you should not have any problem with that.

Hj Ahmad Rasyid Hj Ismail

Updated!!!

b]#Change Logs[/b]
@Version 1.1.2
- Minimizing changes for SMF 2.0.x by using a separate template file instead.
- For the time being there is no possibility of creating a fully hook version.

Advertisement: