vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - [OzzModz] Hide Quote Buttons In First/Last Post (https://vborg.vbsupport.ru/showthread.php?t=307166)

Alan_SP 01-20-2014 07:25 PM

Quote:

Originally Posted by ozzy47 (Post 2475396)
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. :(

ozzy47 01-20-2014 07:26 PM

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.

Alan_SP 01-20-2014 09:41 PM

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.

ozzy47 01-21-2014 01:34 AM

Did you by chance ask Fillip, if there is anything they can do?

Alan_SP 01-21-2014 06:17 PM

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.

Thangvip9x 02-16-2014 06:25 AM

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

mitch84 02-16-2014 06:54 AM

Quote:

Originally Posted by Thangvip9x (Post 2481475)
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

Barcham 02-16-2014 09:43 PM

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!

ozzy47 02-16-2014 09:51 PM

Glad ya like it, and thanks for marking as installed. :)

ne_one 08-24-2014 04:51 AM

Quote:

Originally Posted by mitch84 (Post 2481477)
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


All times are GMT. The time now is 04:34 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
  • Page Generation 0.01048 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete