Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Similar Threads After The First Post [Plugin] - VB4 - By AioNets.com Details »
Similar Threads After The First Post [Plugin] - VB4 - By AioNets.com
Mod Version: 1.00, by A.Chakery (Member) A.Chakery is offline
Developer Last Online: May 2017 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (3 votes - 5.00 average) Installs: 14
Released: 27 Nov 2014 Last Update: Never Downloads: 0
Not Supported Uses Plugins Template Edits Auto-Template  

Similar Threads After The First Post , Brought You By : AioNets.com


Description :

This is the plugin and simple version of my previous product (HERE) which automatically moves the similar threads under the first post of every topic.

The differences between this plugin and the previous product Are :
- In the plugin version you will not be able to turn similar threads off for forums of your choice.
- The plugin version is much more optimized especially for large boards since it does not add additional queries to the database and it simply moves the similar threads under the first post.
- The installation of the plugin version is a little challenging than the product one.

Personally I would choose the plugin version over product one because of its performance.

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


Ease of Installation : Normal


Installation :

First ensure that the your vBulletin Similar Threads option is enabled.


1- Goto : AdminCP > Plugins and Products > Add New Plugin

2- Then set the options as below :

Product: vBulletin
Hook Location: showthread_complete
Title : AioNets Similar Threads
Execution Order : 5
Plugin PHP Code :

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

Plugin is Active : YES

Then Click On the Save Button.

3- Now you should edit the related templates to similar threads :
Goto : AdminCP > Styles & Templates > Style Manager

Then click on the " " button located at the right side of your active Style.
-or-
Click on the Drop down menu and select " Edit Templates " option.

Then search for "Show Thread Templates" and Double Click on it.

Then under Show Thread Templates you will see two templates related to Similar threads which we need to work on :

First one is -> "showthread_similarthreadbit" ... Please Double click on it and replace all of its content with :

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

The second template is : "showthread_similarthreads" ... Double click on it and replace all of its content with :

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

4- Now Search For "Postbit Templates" and Double Click on it :

NOTE : If you are using the Postbit Style (which can be set in vBulletin Options > Style & Language Settings )

You should Double click on "postbit" template BUT if you are using the Legacy style you should double click on "postbit_legacy" ...

When you double clicked on your postbit template search for " {vb:raw post.message} " and AFTER that insert below code :

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

And then save this template.

5- Styling :
- First Please Go to "AdminCP > Style Manager" ,
- Open your style templates,
- Then Add below CSS code to "postbit.css" template

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

And It's Done !


IMPORTANT NOTES
1- Always take backup of any template which you are working on
2- Please USE editor apps like Text Wrangler in Mac or NotePad++ in Windows to edit templates and never edit any code directly. Personally I am using Espresso on my Mac and I am really satisfied.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	Similar Threads By AioNets.com.png
Views:	415
Size:	121.5 KB
ID:	151047  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases Similar Threads After The First Post - VB3 - By AioNets.com A.Chakery vBulletin 3.8 Add-ons 16 29 Apr 2020 04:39
Add-On Releases Similar Threads After The First Post - VB4 - By AioNets.com A.Chakery vBulletin 4.x Add-ons 54 17 Mar 2018 05:27
Add-On Releases Similar Threads After The First Post [Plugin] - VB3 - By AioNets.com A.Chakery vBulletin 3.8 Add-ons 1 26 Nov 2014 12:26

  #16  
Old 24 Mar 2015, 20:01
A.Chakery's Avatar
A.Chakery A.Chakery is offline
 
Join Date: Jul 2007
Real name: Ali Chakery
Actually Showing the similar threads to Search engine BOTs which view your website as guests has a positive impact on SEO but if you still need to hide similar threads for a specific reason please replace "showthread_similarthreads" content with below code :


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

I hope it helps.
Reply With Quote
  #17  
Old 25 Mar 2015, 14:35
stained stained is offline
 
Join Date: Jun 2009
Thanks very much
Reply With Quote
  #18  
Old 25 Mar 2015, 20:08
A.Chakery's Avatar
A.Chakery A.Chakery is offline
 
Join Date: Jul 2007
Real name: Ali Chakery
You are welcome.

I am glad that it helped.

Good luck.
Reply With Quote
  #19  
Old 19 Jul 2015, 22:34
Bozza Bozza is offline
 
Join Date: Jul 2003
I'm a bit confused...

1. I can't find $post[message] in my postbit_legacy.

2. Even if I could, isn't the requested code (<!-- AioNetsSimilarThreads --> ) just a comment?
Reply With Quote
  #20  
Old 19 Jul 2015, 23:02
A.Chakery's Avatar
A.Chakery A.Chakery is offline
 
Join Date: Jul 2007
Real name: Ali Chakery
Hello Bozza,

1. This would not be possible. Would you please send me your post_legacy content using a Private message so I can take a look at it ?

2. No, as you can see in second step we set a replacement value for this comment so this code will actually be replaced with what we have set in the plugin.
Reply With Quote
  #21  
Old 01 Aug 2015, 23:50
bosanci28's Avatar
bosanci28 bosanci28 is offline
 
Join Date: Feb 2008
Hello Bozza,

I have Pm you with the Post_Legacy file as i can't find the "$post[message]" also.

Running vb4.2.2

Thanks
Reply With Quote
  #22  
Old 08 Mar 2016, 10:07
A.Chakery's Avatar
A.Chakery A.Chakery is offline
 
Join Date: Jul 2007
Real name: Ali Chakery
Sorry for the late reply,

Would you please provide me with the content of your postbit_legacy ?

Thank you
Reply With Quote
  #23  
Old 14 Mar 2016, 09:27
fahadullah fahadullah is offline
 
Join Date: Jan 2015
Originally Posted by Bozza View Post
I'm a bit confused...

1. I can't find $post[message] in my postbit_legacy.

2. Even if I could, isn't the requested code (<!-- AioNetsSimilarThreads --> ) just a comment?
Same problem as this. Cannot find $post[message] in my postbit_legacy
Reply With Quote
  #24  
Old 14 Mar 2016, 17:09
A.Chakery's Avatar
A.Chakery A.Chakery is offline
 
Join Date: Jul 2007
Real name: Ali Chakery
Oh my bad.. I ported this modification from vb3 and I forgot to change that part.

Please search for this phrase instead : {vb:raw post.message}

if you still have issues with this modification please also visit our other product which is located here : http://www.vbulletin.org/forum/showthread.php?p=2511473

Regards.
Reply With Quote
  #25  
Old 14 Mar 2016, 19:31
fahadullah fahadullah is offline
 
Join Date: Jan 2015
Tried it. Still not working.

I do not go with the other product due to the performance hit.

Originally Posted by A.Chakery View Post
Oh my bad.. I ported this modification from vb3 and I forgot to change that part.

Please search for this phrase instead : {vb:raw post.message}

if you still have issues with this modification please also visit our other product which is located here : http://www.vbulletin.org/forum/showthread.php?p=2511473

Regards.
Reply With Quote
  #26  
Old 16 Mar 2016, 20:26
NiGh10GaLe NiGh10GaLe is offline
 
Join Date: Dec 2015
I did all the steps as you told, but there's nothing appear in any post.
Threads option is enabled.
I'm using a theme of purevb.
ni10gl.com/vb this is my forum url, so can you check it please ?
Thank you

Last edited by NiGh10GaLe; 16 Mar 2016 at 20:48.
Reply With Quote
  #27  
Old 16 Mar 2016, 21:14
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
Did you rebuild your similar threads in maintenance?

Do you have a custom theme? If so you have to add the code into your postbit or postbit_legacy template.
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.

Reply With Quote
  #28  
Old 29 Dec 2016, 20:54
harry_5 harry_5 is offline
 
Join Date: Sep 2003
Question Question

Great Add-On! But how can I make it work also in my vBulletin mobile style?
Reply With Quote
  #29  
Old 29 Dec 2016, 21:22
A.Chakery's Avatar
A.Chakery A.Chakery is offline
 
Join Date: Jul 2007
Real name: Ali Chakery
Originally Posted by harry_5 View Post
Great Add-On! But how can I make it work also in my vBulletin mobile style?
Dear Harry,

Unfortunately I really do not have enough time to maintain this plugin, so I believe it would be better if you go with the add-on version which is located here :

http://www.vbulletin.org/forum/showthread.php?t=313726

Please test it and update me with the results.

Best Regards,
Ali.
Reply With Quote
  #30  
Old 06 Mar 2017, 10:34
Gn_Snake Gn_Snake is offline
 
Join Date: Feb 2006
Originally Posted by NiGh10GaLe View Post
I did all the steps as you told, but there's nothing appear in any post.
Threads option is enabled.
I'm using a theme of purevb.
ni10gl.com/vb this is my forum url, so can you check it please ?
Thank you
Also i have taken all the steps but nothing appears

This plugin is really interesting, it's a shame that is not developing.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

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

Layout Options | Width: Wide Color: