![]() |
[OzzModz] Hide Quote Buttons In First/Last Post
Another mod brought to you by,
https://vborg.vbsupport.ru/external/2015/01/1.png Here is a small modification you can use to hide the quote and/or multi quote buttons in the first/last post of a thread.. It is a simple installation, just import the product XML, product-ozzmodz_hide_quote You can edit the options under the settings, [OzzModz] Hide Quote Button In Last Post Settings This will work whether your members display the newest post last, or first. Complete Feature List
Q. Why do I need such a thing, you ask? A. Some admins see no reason to quote the first/last post in the thread, as you are most likely replying to that post. Plus someone asked for the mod, and it was easy enough, so I threw it together. ------------------------------------------------------------------------------------------- If you like this mod please hit the https://vborg.vbsupport.ru/external/2015/08/1.png button to the right ----> Please remember to click the, https://vborg.vbsupport.ru/external/2015/08/2.png button to the right if you installed the mod ----> What does 'Marking As Installed' do ? * It helps you to stay on top of updates - members who have installed modifications will be notified whenever new updates are available. * For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention. * Marking a modification as installed also helps me know how many people are using my work, giving me extra incentive to provide more features and new modifications. I appreciate the support! ------------------------------------------------------------------------------------------- * History (Changelog) * ------------------------- v1.0.0 (January 17, 2014) - Initial public release. v1.1.0 (September 24, 2014) - Added ability to hide only the quote button in the last post, still show the multi-quote button. - Added ability to hide the quote/multi quote in the last post per userid. - Added ability to hide the quote/multi quote buttons in the first post per usergroup. - Added ability to hide the quote/multi quote in the first post per userid. - Added ability to hide only the quote button in the first post, still show the multi-quote button. |
Reserved.
|
nice idea, but if you can add a option first post, woud be nice too, because I don't why, but 75% my members quote first post, thx and installed of course :up:
|
Yes I've noticed that too with posts. Only conclusion I can make is they like the quote button on the right side as the reply is way over to the left. Someone might have to test that theory by moving the reply button. Anyhow great idea for a mod, makes sense.
|
This is excellent idea. :up:
Only thing I think would be also optional is multi quote, sometimes it could be useful to (multi) quote last post and compose it in your reply. So I think that there should be option to have multi quote included in last post. First post is also interesting question, as many people quote whole first post, which sometimes is totally unnecessary. And idea about changing places of quick reply and quote buttons, its easily done by manual template edit. Edit postbit_legacy (probably its the same for postbit) template, find this: HTML Code:
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']"> HTML Code:
<vb:if condition="$post['replylink']"> |
I can add the option for multi quote in the next version. And thanks for marking as installed. :)
|
Well, I'm one of those who are allergic about quoting previous post, so your mod is excellent for me. :up:
|
I found one problem, not too big, but still to report it.
If it's used with DBTech's AJAX (live) threads and there's more and more new "live" posts, all these new posts, including the last one when you entered thread don't have quote button. It can be a bit of a problem. :( If there's a way to check if post is posted with live thread mod and in that case allow it to have quote button, it would be great. |
Do the same results happen, if you refresh the page manually?
|
Nice one, very practical, but won't install because it'll make user confuse when they want to quote the last post.
|
Quote:
In first case, it would be fine, quoting buttons where they need to be, for second case I'll need to test this behavior, have again live threads with multiple posts created this way and see, but I think it wouldn't solve this behavior, as this option just checks if there are new posts before it's automatically done. If you could check somehow if AJAX threads is creating post, it would be solution for this problem, but I don't know if this is even possible. :( |
Yeah ajax is not nice, as you probably know, posting with that running, some things in the postbit do not show, and IIRC the thanks don't show either.
|
Well, quote button without this mod is shown. But, as every new post posted with AJAX threads is last at the moment of posting (I really don't have that active forum to have more than one new post every few seconds), showing of quote button is omitted.
With this mod off, this works just fine, so if it could be checked if AJAX thread mod is used for posting, you could stop plugin from omitting quote button. Similar to welcome thread, where plugin checks if there's something in username, or not. Problem is, how to check if AJAX thread is used to post certain post. Thing is, on very active threads too many posts would be without quote button to allow further use of this mod. :( And I really like this mod. EDIT: Thinking about it, if you could go other way round, to leave quote button in postbit, but when user tries to use it on last post in thread, to block it and give message that last post in a thread couldn't be quoted. This would work with AJAX thread without problems. |
Did you by chance ask Fillip, if there is anything they can do?
|
For the moment I stopped using it.
As a temporary solution, I'll need to know which file of AJAX threads to edit and there to add these two lines before code for posting posts: PHP Code:
But, on further thinking, this also could be a problem. Maybe ideal solution from my perspective would be mod that would check if post is last in a thread after someone press quote button, and if it is, instead executing code for quoting, just execute code for reply (i.e. quickreply). Even that in some occasions isn't applicable. :( It looks like I'll leave it be for the moment. |
I think you should write product hide first post
But i see, if hide first post, members can use second post, example use link reply with quote from #2 and replace to #1 |
Quote:
|
There's nothing worse than people who quote the most recent post in a thread, especially a very long post. Sure there are rare occasions when replying to a post in a very active thread that someone may slip one in before you hit the post button, but when that's the case I simply make a quick edit to my post to direct it to the correct poster.
Installed and tested. Works great. Thanks much! |
Glad ya like it, and thanks for marking as installed. :)
|
Quote:
|
excellent Ozzy love the feature where you can select the user-groups
this is installed and working great |
Glad you like it, and thanks for marking as installed. :)
|
Thanks ozzy!
Download, installed, voted 5 stars, nominated for MOTM. This is a MOD I've wanted for a long time. Way to many novice (and some not so novice) members habitually use the Reply with Quote button when replying to the last post. Besides being annoying as a Forum Administrator, it unnecessarily consumes space on our server. Keep it up. I always take the time to look at your MODs to see if our Forum would benefit from using them. Kubuntu Forums . Net, now using: Separate Sticky Threads Back To Top Button On Every Post Hide Quote Button in Last Post Snowhog Administrator Kubuntu Forums . Net |
Glad you like it, and thanks for rating, nominating and marking as installed. :)
|
I'd like to ask a favor. Can you tweak this MOD so it includes an option to identify members by userid?
As I see it, the tweaked MOD would allow for enabling by Usergroup or Userid (not both). In most cases, it's individuals who abuse or don't know how to use properly, the Reply With Quote. Enabling only by Usergroups casts a very wide net. Thank you. Snowhog Administrator Kubuntu Forums . Net |
Quote:
|
v1.1.0 (September 24, 2014)
- Added ability to hide only the quote button in the last post, still show the multi-quote button. - Added ability to hide the quote/multi quote in the last post per userid. - Added ability to hide the quote/multi quote buttons in the first post per usergroup. - Added ability to hide the quote/multi quote in the first post per userid. - Added ability to hide only the quote button in the first post, still show the multi-quote button. |
thank you for this update!
|
Not a problem, glad to do it. :)
Crud, I forgot about Snowhog's request. Will do another update shortly. |
Ok mitch, the package has the new settings Snowhog asked for. :)
|
Dude, you are amazing! Thank you very much for listening and acting on our requests so quickly.
You rock! Now we don't have to apply a pile driver, when a ball peen hammer is all that is needed. Snowhog Administrator Kubuntu Forums . Net |
Not a problem, glad to do it. :)
|
Well, I'm still thinking about this, as I really dislike users that quote last post (and first post completely, especially very big posts).
If it is possible to affect how quote button works, to check if it is actually last post in a thread, and if it is, not to quote, if it is not, to quote. So, all buttons are left in their places, but there's a check of posts position and quoting content, or skipping quoting altogether. I guess this is a bit tricky, maybe even not possible. :( |
I don't think so if you are using Ajax to refresh the page, but I can look into it at some point.
|
Well, the biggest problem is DBTech's Ajax threads and threads that have many posts in short periods of time. I don't have many threads like that, but someone might.
On the other hand, maybe even that wouldn't be good idea, to check in time of pressing button for quoting. The best thing would be if it could be checked on pressing button to send post content if quoted text is from last post of a thread. This would solve all possible problems, even when there's no DBTech's Ajax Threads, as very active threads on very active forums could get numerous posts while someone write his post. In such case it would be good that original post to which user is replying is quoted. Unless, of course, is the last post in a thread. |
I have one problem
In last post when i click "Reply" its provide me to forum home page not fot reply. How can i fix this? |
All times are GMT. The time now is 06:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|