Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[OzzModz] Hide Quote Buttons In First/Last Post Details »»
[OzzModz] Hide Quote Buttons In First/Last Post
Version: 1.1.0, by ozzy47 ozzy47 is offline
Developer Last Online: Dec 2021 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.x.x Rating:
Released: 01-17-2014 Last Update: 09-23-2014 Installs: 19
Uses Plugins Auto-Templates
Translations  
No support by the author.

Another mod brought to you by,


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
  • Option to disable the mod completely.
  • Option to select which usergroups this mod will affect in the last post.
  • Option to select which userid's this mod will affect in the last post.
  • Option to select to hide only the quote button, still showing the multi-quote in the last post.
  • Option to select which usergroups this mod will affect in the first post.
  • Option to select which userid's this mod will affect in the first post.
  • Option to select to hide only the quote button, still showing the multi-quote in the first post.
Frequently Asked Questions.

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 button to the right ---->

Please remember to click the, 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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 01-20-2014, 07:25 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Do the same results happen, if you refresh the page manually?
Do you mean full page reload? Or using option to reload (check if there's new posts) within AJAX (live) threads?

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.
Reply With Quote
  #13  
Old 01-20-2014, 07:26 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #14  
Old 01-20-2014, 09:41 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #15  
Old 01-21-2014, 01:34 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you by chance ask Fillip, if there is anything they can do?
Reply With Quote
  #16  
Old 01-21-2014, 06:17 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
$post['replylink'] = true;
$show['multiquote_post'] = true
This would manually force quote and multi quote buttons in AJAX threads.

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.
Reply With Quote
  #17  
Old 02-16-2014, 06:25 AM
Thangvip9x Thangvip9x is offline
 
Join Date: Apr 2012
Location: Yen Bai, Vietnam
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #18  
Old 02-16-2014, 06:54 AM
mitch84 mitch84 is offline
 
Join Date: Mar 2008
Location: france
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Thangvip9x View Post
I think you should write product hide first post
...
I think too, always first post can to be a long article, with pictures too, and just add a option in mod for first post? admin can to choose, thx
Reply With Quote
  #19  
Old 02-16-2014, 09:43 PM
Barcham Barcham is offline
 
Join Date: Jan 2014
Location: Montreal
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #20  
Old 02-16-2014, 09:51 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad ya like it, and thanks for marking as installed.
Reply With Quote
  #21  
Old 08-24-2014, 04:51 AM
ne_one ne_one is offline
 
Join Date: Nov 2013
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mitch84 View Post
I think too, always first post can to be a long article, with pictures too, and just add a option in mod for first post? admin can to choose, thx
+1 definitely useful
Reply With Quote
Благодарность от:
mitch84
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:14 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10759 seconds
  • Memory Usage 2,318KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete