vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - No Quote in First post (https://vborg.vbsupport.ru/showthread.php?t=159344)

CarpHunter 10-02-2007 10:00 PM

No Quote in First post
 
This is my very 1st mod so pls be gentle.

Why?
I was looking for this kind of mod for my own forum. My moderators and I where really getting sick of editting posts of users that always included the quote of the first post (and some of them are really huge). I made a little modicfication to the forum that disabled the quoting of the first post in thread.
Only drawback the modification had was that it is was on "all" forums and not only selected ones.

What does this hack do different?
I made a product that disables the Quoting/Multi Quoting of the first post. This can be set on/off per forum.

vBulletin version supported?
Because of the nature of the mod it's only for vb3.6.0 and up. As of this version the hooks used are all implemented.

Installation
Simply import the product and presto.
It will add
  • Plugins: 4
  • Phrases: 2

Upgrade
If you are upgrading simply follow these guide lines.
  • Upgrading from v1.x.x:
    Uninstall old product first before importing new (this because of complete rewrite of plugin)
  • Upgrading from v2.0.0:
    Simply import new plugin and 'allow overwrite'


Screenshots
  1. Forum Manager
  2. Normal Postbit View
  3. Legacy Postbit View

Version history:
  • v1.0.0 - First public release
  • v1.1.0 - Included postbit_legacy support :o
    Totally forgot about the postbit_legacy template. It's now included in the new version.
  • v2.0.0 - I completely redid the code.
  • v2.1.0 - Changed the way the plugin checks for the first post. This change makes it more compatible with Atakan KOC's Chiefpost mod

CarpHunter 10-03-2007 02:58 AM

UPDATE History
  • v1.0.0 - Firts public release. Release went final after testing.
  • v1.1.0 - Added support for postbit_legacy. I totally forgot that one because I only use normal and custom postbits.
  • v2.0.0 - Complete recoded of the mod. After some testing for my second mod I found out that the mod wasn't doening a great job in removing the quote button (strange layout bugs in IE and Opera).
    Therefor I completely recoded the mod. Result: 2 plugins and 2 templates less and fully functional in IE6, IE7, FF 1.5, FF 2, Opera 9 and NS 9.
  • v2.1.0 - After receiving 2 bug reports it was time to make a new version. First bug was that the mod couldn't be installed on boards using vb 3.6.5 or below. This was already fixed in a previous update but without new version number. Second bug was that the buttons showed when you use the "Chiefpost" mod on all but the first page. Thats why , the way the mod determines what the first post is, was changed.

Lea Verou 10-03-2007 05:48 AM

Congrats! Its a nice mod, especially considering that its your first! Keep it up!

I don't need it, but I clicked install to support it :)

CarpHunter 10-03-2007 05:58 AM

Already updated the mod.

I was testing some other styles on thier functionality and found out that the mod didn't render the postbit_legacy as it should.

I updated the mod so it now does a check to see if you're running normal or legacy postbit.

SCRIPT3R 10-03-2007 06:20 AM

not too shabby; i might give this a whirl. i've always had mine disabled on my forums as seen here...

SCRIPT3R 10-03-2007 06:29 AM

curious, if you use 3.6.8... why then develop this for vB Version: 3.6.6?

CarpHunter 10-03-2007 07:35 AM

Thats a good one :D

I designed it initally for 3.6.8 but because 3.6.6 works also I thought I put that in as version.
The version now displays the minor version it can be installed on.

You think it's better to just put in the version I made it on or what?

BTW nice how you did yours with the custom button :up:

SCRIPT3R 10-03-2007 04:59 PM

i think how you have it is fine, i was just curious. i have this tagged for later use on one of my forums.

SCRIPT3R 10-03-2007 05:56 PM

Update... I tried it out but had to uninstall this as it interferes with (disables) [AJAX] Post Thank You Hack injection.

CarpHunter 10-03-2007 07:32 PM

I had some difficulties also with the plugin so I rewrote it completely.

Version 2 is born and ready for download.

SCRIPT3R 10-03-2007 11:07 PM

very clean, much better - thnx!

pspmaster93 10-04-2007 12:00 AM

<removed>
it doesnt even work!... i installed it but there is no option in vbulletin options for it.

SCRIPT3R 10-04-2007 12:21 AM

Quote:

Originally Posted by pspmaster93 (Post 1352463)
***Removed***
it doesnt even work!... i installed it but there is no option in vbulletin options for it.

AdminCP >> Forums & Moderators >> Forum Manager >> Forum >> No Quote in First Post (bottom)

Lea Verou 10-04-2007 12:25 AM

Quote:

Originally Posted by pspmaster93 (Post 1352463)
********
it doesnt even work!... i installed it but there is no option in vbulletin options for it.

Hey... be polite, you're not doing him a favor, he is.
Its not like you paid for it or anything, its free, so respect the author and don't be rude.

Members like you, don't deserve any support. :mad:

ymy 10-04-2007 03:54 AM

Nice mod. it`s working with vb3.6.7

Install Click

Thanx

lonelime 10-04-2007 06:26 AM

Quote:

Originally Posted by pspmaster93 (Post 1352463)
<removed>
it doesnt even work!... i installed it but there is no option in vbulletin options for it.

you noob ... :erm:

and please respect other people works ....
:D

lonelime 10-04-2007 06:27 AM

Thanks for the hack ..

i was looking for something like this ...

Artes_Marciales 10-16-2007 09:33 AM

Installed Thanks!!! :)

Smoothie 10-22-2007 11:36 PM

Quote:

vBulletin version supported?
Because of the nature of the mod it's only for vb3.6.0 and up. As of this version the hooks used are all implemented.
Doesn't work with 3.6.5

CarpHunter 10-28-2007 11:30 PM

Quote:

Originally Posted by Smoothie (Post 1366338)
Doesn't work with 3.6.5

Ure absolutely right.
I forgot to change the dependency to vbulletin 3.6.0.
Changed this now so just download the plugin again and try again. I just tested it and it should work fine now.

Thnx for reporting :)

lazydesis 10-29-2007 05:36 PM

is it possible to include an option where we can enter all the forum IDs in which we want this hack enabled at one place ..instead of going to every forum and enabling the option :)

thanx for this hack its awesome

giotmuadong 11-03-2007 06:10 AM

how come it doesn't work if I turned on my "Show first post on every thread page"
otherwise, it works perfectly fine

CarpHunter 11-03-2007 07:40 PM

Thnx for reporting.

Seems that Atakan KOC's mod resets the status of postcount. I use this value to determine the post is the first so it can disable the buttons.

I made a new version of the mod that fixes this problem (simply download v2.1.0 and it should work ok now).

I know use a different value to determine if the post is the first post.

giotmuadong 11-04-2007 04:55 PM

Quote:

Originally Posted by CarpHunter (Post 1375060)
Thnx for reporting.

Seems that Atakan KOC's mod resets the status of postcount. I use this value to determine the post is the first so it can disable the buttons.

I made a new version of the mod that fixes this problem (simply download v2.1.0 and it should work ok now).

I know use a different value to determine if the post is the first post.

thank you, it's working now .. you're the man :D

Smoothie 11-16-2007 12:56 AM

Quote:

Originally Posted by CarpHunter (Post 1370755)
Ure absolutely right.
I forgot to change the dependency to vbulletin 3.6.0.
Changed this now so just download the plugin again and try again. I just tested it and it should work fine now.

Thnx for reporting :)

works, installed, thanks.

Geck079 11-29-2007 08:44 PM

Awesome mod, just what I was looking for.

SNATCH3R 01-19-2008 10:21 AM

Thanks for this....gr8 mode...workin fine with 3.6.8

lazydesis 04-04-2008 02:50 PM

you can use a simple template modification of postbit or postbit_legacy .. instead of installing the plugin

Code:


<if condition="$post[postcount] % $vboptions[maxposts] != 1">quote.gif</if>


CarpHunter 05-03-2008 09:48 PM

This plugin also makes it to be turned on or of in selected forums. You're template edit is active in all the forums.

c.oper 07-07-2008 12:05 AM

Does this one works in 3.7.x ???

sunnylikbeckham 09-08-2008 10:38 AM

first i did not found the option too
i was going to remove but was just reading reply
and after seen your reply i found it
:D

Quote:

Originally Posted by GearTripper (Post 1352473)
AdminCP >> Forums & Moderators >> Forum Manager >> Forum >> No Quote in First Post (bottom)


mp3president 05-03-2011 03:05 AM

Thank you, it works even on 3.8.7


All times are GMT. The time now is 04:56 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.02898 seconds
  • Memory Usage 1,796KB
  • 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_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (32)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