vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How do i disable quote?? (https://vborg.vbsupport.ru/showthread.php?t=228764)

elenh 11-24-2009 09:59 AM

How do i disable quote??
 
Many of my members pressing quote button from the first post to reply in a topic.
Sometimes the #1 post haves big images and with the quote the replys growing to much up.

Is there any option to disble quote only for the #1 post or to disable the image tags if a member press quote in the #1 post?

Thank you.

LifesGreatestGift 11-25-2009 12:06 PM

Open up your postbit_legacy template and look for the following:

Quote:

<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
Make it look like this:

Quote:

<if condition="$thread['firstpostid'] != $post['postid']">

<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>

</if>
That will disable "Quote" on all first post's (topic starters). You may place it on the quick reply as well if you'd like.

mp3president 11-26-2009 01:41 PM

I'm hitching along with this topic.
But i've tried this option, but still a member can quote the first post.
Now i have:
Code:

<if condition="$post['forwardlink']">
                        <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
                </if>
                <if condition="$thread['firstpostid'] != $post['postid']">

                <if condition="$post['replylink']">
                        <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
                </if>

                </if>
                <if condition="$show['multiquote_post']">

What am i doing wrong?

Grtz.

cavebox 11-26-2009 07:02 PM

Quote:

Originally Posted by mp3president (Post 1921194)
I'm hitching along with this topic.
But i've tried this option, but still a member can quote the first post.
Now i have:
Code:

<if condition="$post['forwardlink']">
                        <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
                </if>
                <if condition="$thread['firstpostid'] != $post['postid']">

                <if condition="$post['replylink']">
                        <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
                </if>

                </if>
                <if condition="$show['multiquote_post']">

What am i doing wrong?

Grtz.

Hi MP3President,

the solution is often that you also must change this in postbit template.

regards,
Cavebox

mp3president 11-26-2009 07:31 PM

Many thanks Cavebox.
This answer helped us a lot.
And of course thanks to the original poster.

Grtz.

elenh 11-26-2009 08:42 PM

Quote:

Originally Posted by TheWindows7Site (Post 1920662)
Open up your postbit_legacy template and look for the following:



Make it look like this:



That will disable "Quote" on all first post's (topic starters). You may place it on the quick reply as well if you'd like.

Many thanks!


All times are GMT. The time now is 03:08 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.01220 seconds
  • Memory Usage 1,730KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete