Thread: Forum Display Enhancements - Alphabetical Forum Filtering (ABC Threads Menu)
View Single Post
  #38  
Old 11-07-2009, 12:13 AM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RenatoMN View Post
@inciarco,

Thanks for the suggestion, very cool!!

I have no control over the stickies db query (it's the only query without hooks in forumdisplay.php), therefore I can't filter them by letter.

However, I can hide them from page 2+ (or hide them in all pages) when filtering for a letter.

If you have too many sticky threads that mess your thread listing, maybe they should not be stickies, but only highlighted with a Prefix or a [tag] in the title (the tag will make them appear when filtering for symbols/numbers (clicking #)).

But now (with this new attached file) you may simply set to hide all sticky threads when filtering for a letter (only from page 2 or in all pages)!

Regards.
Quote:
Originally Posted by RenatoMN View Post
Cool!!

You didn't even downloaded the last attached file and I already got around the lack of hooks for sticky threads!

This is the first function of the mod that handles an internal forumdisplay.php variable [S]($limitothers)[/S] ($prefix_filter). I do not like to do it, but I LOVED the result

NEW version attached.

[S]Obs: need some test to confirm that users not allowed to see threads started by others see them when filtering by letter, but I think I coded right [/S]
I've Tested the Latest Version Attached on Post 37, and is Working Great, Renato. :up:

It's Hiding the Sticky Threads from the Second Page on. :up:

It's Filtering and Sorting the Sticky Threads with the "Filter Sticky Threads?" Option Set to "Yes", and when Set to No it Sort them but Present them All on the First Page. (Great Feature). :up:

It's Very Nice the Option to Set the # Text as Desired. :up:

And of Course the rel="nofollow" Parameter as You Describe on the ACP Mod Option, is Very Important to Keep it not to have Duplicate Content. :up:

I Loved the New Features, Renato, Congratulations for this Great Mod and Thank You Again For Sharing it. :up:

I Hope You Can Include the Usergroup Permissions Option on the ACP Mod's Options.

My Best Regards.

Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01301 seconds
  • Memory Usage 1,770KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete