vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - Similar Threads After The First Post - VB3 - By AioNets.com (https://vborg.vbsupport.ru/showthread.php?t=313702)

A.Chakery 08-13-2014 10:00 PM

Similar Threads After The First Post - VB3 - By AioNets.com
 
1 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 "
PHP Code:

.aionets_similar_threads{color:#465584;float:right;background-color:#FFF;border-left:4px solid #19364D;border-right:1px dotted #19364D;border-top:1px dotted #19364D;border-bottom:1px dotted #19364D;padding:7px;margin:0 auto 8px} 

And You Are Done!

Enjoy.


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

A.Chakery 08-16-2014 05:22 AM

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 :
PHP Code:

.aionets_similar_threads{color:#FFF;float:right;background-color:#000;border-left:4px solid #676767;border-right:1px dotted #676767;border-top:1px dotted #676767;border-bottom:1px dotted #676767;padding:7px;margin:0 auto 8px} 

2. Gray Background :
PHP Code:

.aionets_similar_threads{color:#FFF;float:right;background-color:#5c5c5c;border-left:4px solid #000;border-right:1px dotted #000;border-top:1px dotted #000;border-bottom:1px dotted #000;padding:7px;margin:0 auto 8px} 


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 09-16-2014 05:20 PM

Added two more CSS codes which would fit dark skins.

Please visit the 2nd post.

kartik786 09-18-2014 08:28 AM

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

A.Chakery 09-18-2014 08:54 AM

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 :
https://vborg.vbsupport.ru/showpost....0&postcount=15

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

kartik786 09-18-2014 03:03 PM

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 09-18-2014 04:35 PM

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 09-18-2014 07:10 PM

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 09-19-2014 08:01 AM

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 09-19-2014 08:03 AM

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?


All times are GMT. The time now is 10:28 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.01161 seconds
  • Memory Usage 1,750KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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