vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=313702

Similar Threads After The First Post - VB3 - By AioNets.com
by A.Chakery
14 Aug 2014 17:16

2 Attachment(s)
Similar Threads After The First Post , Brought You By : AioNets.com

Description :
This plugin automatically moves the similar threads under the first post of every topic.

Features :
- Automatically moves similar threads to the bottom of the first post.
- Ability to disable it globally
- Ability to disable it in specific forums
- Ability to customize it using CSS
- Works great with vBSEO and DB-SEO

Installation

1- Install the attached XML file :

First download the attached file , then go to "AdminCP > Plugin System > Manage Products > [Add/Import Product]" and import the download file.

2- Add Styling
1- First Please Go to "AdminCP > Style Manager" ,
2- Select "Main CSS" from drop-down menu on the right side of your active style,
3- Then Add below CSS code to "Additional CSS Definitions "

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And You Are Done!

Enjoy.


Please Click on "Mark As Installed" If You Are Using This Plugin.

A.Chakery 16 Aug 2014 06:22

One of the users (CoZmicShReddeR) mentioned that there are many forum owners who are using dark skins so the defult CSS which I posted in this modification may not fit their style so I decided to add two more CSS codes which would be great for dark skins.

1. Black Background :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2. Gray Background :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


If you are using your own custom code please feel free to share it with other users.

And please fee free to ask any questions regarding this modification.

A.Chakery 16 Sep 2014 18:20

Added two more CSS codes which would fit dark skins.

Please visit the 2nd post.

kartik786 18 Sep 2014 09:28

took my whole site down :) We have millions of pages so maybe thats why. Please test this for large boards.

A.Chakery 18 Sep 2014 09:54

Well actually I have done it for one of my customers with a website which has +260K threads and 1.5Million posts ... and its working great.

Actually it does not do anything serious ... it just moves the default similar threads section to the button of the first post.

If you have not been using Similar threads before .. you should try to rebuild similar threads as I described here :
http://www.vbulletin.org/forum/showp...0&postcount=15

please feel free to ask any question, it would be my pleasure to help.

kartik786 18 Sep 2014 16:03

Thanks, maybe its conflicting with our customized work done by a developer. Here's a sample url : http://www.managementparadise.com/fo...es-mumbai.html

We already have the similar thread below first post but the way you did it looked more interesting :)

A.Chakery 18 Sep 2014 17:35

Well I do not see any similar threads at the end of the the posts list !
Would you please check if you have similar threads in other pages ?


Note : You site loaded so slow on my end so I tested it in WebPageTest .. here is the results :
http://www.webpagetest.org/result/140918_NW_SYX/
a normal load and google friendly time should be less than 3sec ...

It thought you may want to know this.

:)

======= EDIT =======
Ok I found this thread with similar threads... I believe the customization which you mentioned is causing this issue.

Since my mod would work with the default similar threads ...

Anyways I am sorry about this issue.

Zachery 18 Sep 2014 20:10

It looks like you run the query EVERY time someone views the post?! holy crap that'd crash anything larger than a few hundred thread board.

kartik786 19 Sep 2014 09:01

Quote:

Originally Posted by Zachery (Post 2515638)
It looks like you run the query EVERY time someone views the post?! holy crap that'd crash anything larger than a few hundred thread board.

Hey Zach.. glad to see you around. Was your reply for post author or for me?

kartik786 19 Sep 2014 09:03

Quote:

Originally Posted by A.Chakery (Post 2515628)
Well I do not see any similar threads at the end of the the posts list !
Would you please check if you have similar threads in other pages ?


Note : You site loaded so slow on my end so I tested it in WebPageTest .. here is the results :
http://www.webpagetest.org/result/140918_NW_SYX/
a normal load and google friendly time should be less than 3sec ...

It thought you may want to know this.

:)

======= EDIT =======
Ok I found this thread with similar threads... I believe the customization which you mentioned is causing this issue.

Since my mod would work with the default similar threads ...

Anyways I am sorry about this issue.

Hey buddy, our server was under ddos attack . things should be loading quick now :)

I have uninstalled the product and the css customization. I hope that's all there was needed to uninstall. No hooks or traces left in the code right?

A.Chakery 19 Sep 2014 09:43

Quote:

Originally Posted by kartik786 (Post 2515714)
Hey Zach.. glad to see you around. Was your reply for post author or for me?

I believe he is referring to my mod... and I am working on it to optimize my codes.


Quote:

Originally Posted by kartik786 (Post 2515715)
Hey buddy, our server was under ddos attack . things should be loading quick now :)

I have uninstalled the product and the css customization. I hope that's all there was needed to uninstall. No hooks or traces left in the code right?

Yes that is enough...

I can share my current work with you if you are interested ...

but you will need to do couple of manual template modifications ... it is a very simple plugin which you should add in plugins section .

Please send me a pm if you are interested.

Regards,
Ali.

kartik786 19 Sep 2014 10:07

Sure, If its for public, you can post instructions here. I remember searching for this modification for almost half decade from 2005 to 2010 with no recourse. We finally got it developed from our in-house team that I had put together then.

Your current mod looks a lot better I must admit :)

A.Chakery 19 Sep 2014 10:38

Quote:

Originally Posted by kartik786 (Post 2515727)
Sure, If its for public, you can post instructions here. I remember searching for this modification for almost half decade from 2005 to 2010 with no recourse. We finally got it developed from our in-house team that I had put together then.

Your current mod looks a lot better I must admit :)

Actually it is an unfinished job as a product ... but today I successfully managed to make it work using the plugin system (not product).

So you should add it as a plugin so I prefer not to share the plane code here ... . Or you can just wait for some days so we can finish it as a *.XML product.

:)

kartik786 19 Sep 2014 11:56

I can wait :)

Zachery 19 Sep 2014 14:07

You'd really want to store the data you get from the queried posts


All times are GMT. The time now is 22:20.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.