vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Mod for first post can't Quote? (https://vborg.vbsupport.ru/showthread.php?t=133212)

cunder 01-02-2007 03:38 PM

are you home !!:ermm:

hnjco 01-09-2007 10:25 PM

any luck Kerry?

cunder 01-20-2007 10:36 AM

Quote:

Originally Posted by hnjco (Post 1154992)
any luck Kerry?

yES Any luck all!

hnjco 01-27-2007 05:23 PM

Look like nothing will be released :rolleyes:

cunder 01-31-2007 04:28 PM

No not yet, hope, however, that it will still succeed

cunder 03-19-2007 02:16 PM

Come On Please:(

CarpHunter 03-19-2007 11:38 PM

I have a quick fix for this. Trying to make it into a plugin but no succes on that yet. Want to make it so that you can select in what forum you can enable this.

But till that is ready you can do the next edits in postbit and/or postbit_legacy templates.
NOTE: this will remove the quote button on your entire forum from the #1 post.

Find:
HTML Code:

<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>

There are 2 options for this (both work but maybe one suits it better)

Replace with Option 1:
HTML Code:

<if condition="$post['replylink']">
    <if condition="$post[postcount] == 1">       
    <else />
        <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>

This looks at the number of the post and when it's equal to 1 then the quote button is removed.

Or option 2:
HTML Code:

<if condition="$post['replylink']">
    <if condition="$post[postcount] != 1">
        <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>
    <else />
    </if>
</if>

This looks at the number of the post and when it's not equal to 1 then the quote button shown.

Hope this will help for now.

cunder 03-20-2007 03:06 PM

Thanks man :up: :up:

End hope soon that it succeeds with make it into a plugin, with that you can select in what forum you can enable this. :)

cunder 04-04-2007 05:34 PM

Quote:

Originally Posted by cunder (Post 1208096)
Thanks man :up: :up:

End hope soon that it succeeds with make it into a plugin, with that you can select in what forum you can enable this. :)

and are you all what hurried up!

Nathan2006 04-11-2007 08:08 PM

Any news?


All times are GMT. The time now is 12:45 AM.

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.01097 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_html_printable
  • (2)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