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.


All times are GMT. The time now is 08:27 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.01192 seconds
  • Memory Usage 1,745KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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