vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Enhanced View Forum Posts (search results) (https://vborg.vbsupport.ru/showthread.php?t=318407)

MarkFL 04-24-2015 09:00 PM

Enhanced View Forum Posts (search results)
 
1 Attachment(s)
Overview:

This product will enhance the functionality of the search results when viewing the posts of a particular user. The entire post content is returned rather than a truncated summmary. More complete information is provided about each post, including links to the forum, thread, thread author and post author. Initially only the first line of each post is shown, but if more than one line is available, the user may click a button above and to the right of the post to show the entire post (which will appear or disappear as needed if the browser window is resized), and all posts on the page may be expanded/collapsed via a button in the block header. Each individual post is contained in its own block to make it easier to distinguish what data pertains to each post.

You may wish to hide the content of certain BBCodes from guests, and/or you may wish to hide spoiler content from everyone. There are options in the AdminCP settings for this product to define the BBCode content to hide from guests and the name(s) of your spoiler tags so their content will be hidden. In both cases, the content is replaced by a message in red explaining why the content is hidden when applicable. The message in red is a link to the registration page.

https://vborg.vbsupport.ru/attachmen...1&d=1449206351

Updates:

Version 1.1:
  • Added the option to display unparsed post pagetext, parsed post messages or both.
  • Individual posts are expanded/collapsed via a button so that users can interact with the elements in the parsed posts.
  • If you decide to hide the URL BBCode from guests, only external links will be hidden...links within your domain will not be hidden.
  • Completely compatible with LaTeX powered by Mathjax.

Version 1.2:

Version 1.3:
  • The complete post is retrieved from the database rather than requiring you to hack a core PHP file. :up:
  • You may now define the background colors for the parsed and unparsed post data. An HTML color input element is used.

Version 1.4:
  • Fixed bug where HTML in code-block BBCodes is no longer parsed as HTML.

Version 1.5:
  • BBCodes entered into settings are trimmed to reduce chance of error.
  • Various other parsing issues fixed.

Version 1.6:
  • Updated to maintain compatibility with "MarkFL: Hide BBCodes/Signatures From Guests/Users."

Version 2.0:

Version 2.1:

Version 2.2:
  • Fixed issue with usernames containing special characters.


Compatibility:

Tested and working on VB 4.2.x and should work on all 4.x versions of vBulletin.

Backup/Warning:

This product does NOT alter your database, however it is always good practice to keep regular backups and you should backup before installing ANY new mod.

As always products are USE AT YOUR OWN RISK. I will try to help if I can but no guarantee is offered or implied.

To Install:

1.) Download and extract the attached .zip file.
2.) Upload the contents of the "upload" folder to your forum's root directory.
3.) In AdminCP go to Plugins & Products -> Manage Products -> Add/Import Product.
4.) Click on "Choose File" and browse to the product xml file that was packaged in the .zip file.
5.) Click "Import"
6.) You MUST set your settings to enable the mod. Each setting has an explanation of its use.

https://vborg.vbsupport.ru/attachmen...1&d=1449206351

Support for this product can be found here:

MarkFL 04-28-2015 01:55 AM

Updated to version 1.1.

The main change with this update is that you can now choose whether your users will see unparsed post pagetext, fully parsed posts, or both when viewing the posts of a particular user.

A new PHP file has been added so that a new product I have planned can be integrated with this one. :D

MarkFL 04-29-2015 02:03 AM

Updated to version 1.2.

Now allows integration of defined list of BBCode tags to hide with the list defined in "Hide BBCodes/Signatures From Guests".

MarkFL 05-15-2015 04:39 PM

Update: version 1.3
  • The complete post is retrieved from the database rather than requiring you to hack a core PHP file. :up:
  • You may now define the background colors for the parsed and unparsed post data. An HTML color input element is used.

MarkFL 05-21-2015 04:25 PM

Update: version 1.4
  • Fixed bug where HTML in code-block BBCodes is no longer parsed as HTML.

MarkFL 05-22-2015 05:26 AM

Update: version 1.5
  • BBCodes entered into settings are trimmed to reduce chance of error.
  • Various other parsing issues fixed.

MarkFL 07-20-2015 05:26 AM

Update: version 1.6
  • Updated to maintain compatibility with "MarkFL: Hide BBCodes/Signatures From Guests/Users."

Raptor 07-20-2015 12:03 PM

Me again ;)

I'm not seeing anything different in my search results - looks exactly like it was before the mod was enabled.

Yes the .js is uploaded lol

Vb 4.2.3

MarkFL 07-20-2015 01:27 PM

Just to be sure, are you using the "Find latest posts" search on user profiles?

Raptor 07-20-2015 03:47 PM

i've tried all ways of searching - nothing looks different


All times are GMT. The time now is 06:30 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.07706 seconds
  • Memory Usage 1,742KB
  • 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