vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   End-User Options - Personal Sticky Threads (https://vborg.vbsupport.ru/showthread.php?t=189444)

Kaelon 08-28-2008 10:00 PM

Personal Sticky Threads
 
What are "Personal Sticky Threads"?

Personal Sticky Threads (aka "Personal Stickies") is an Add-on for vBulletin that will allow your users to sticky threads that only they will see as stickied; these "personal stickies" will appear beneath normal sticky threads. This Hack was originally designed by Mephisteus for vBulletin 3.5, and re-released (with his permission) for vBulletin 3.7.x. This hack requires a couple of File Edits, and should be attempted by those who are comfortable editing vBulletin source files. That said, I have included modified detailed instructions that should make installation straight-forward and easy.

Special thanks are owed to Mephisteus, for allowing an updated re-release for vBulletin 3.7, and to john1744 and zendive for improving upon the query alterations. As I typically disclaim with my other Add-ons, I am generally a neophyte at this sort of stuff and I tend to modify hacks and tinker with pre-existing code to get the results that I want. That said, please use this discussion thread as a community-support and mutual learning opportunity.

Finally, if you like this hack and install it, please:


Requirements
  • vBulletin 3.7.x Series
Installation

Installation is straight-forward. Simply download the attached archive, decompress on your local hard drive, and review the Installation.txt file for the specific steps. There are, broadly, four steps:
  1. Import product-personalsticky.xml
  2. Upload the two images into their respective folders
  3. Perform two file edits to forumdisplay.php
  4. Perform four template edits to three templates.
Add-Ons

This modification can be further customized:Version History
  • 1.0.3c: Updated for vBulletin 3.7.3 (August 28, 2008)

FreshFroot 08-29-2008 03:14 AM

nice one!

Great stuff.

Sadly, I don't really go with file edits... It just makes more work when upgrading.

other than that, nice hack!

db90 08-29-2008 03:17 AM

This thread is worth it....even for the file edits!

Kaelon 08-29-2008 03:18 AM

Quote:

Originally Posted by FreshFroot (Post 1609576)
nice one!

Great stuff.

Sadly, I don't really go with file edits... It just makes more work when upgrading.

other than that, nice hack!

Absolutely. Unfortunately, there's no way around them for this sort of functionality; I couldn't find any hooks that existed that allowed me to modify the pre-existing queries, and I didn't want to add any new queries. As it stands, the two (minor) file edits to a (single) file enable this hack to keep overhead low/non-existent. That said, you are totally right -- these file edits would have to be something that would be maintained while upgrading.

Kaelon 08-29-2008 03:19 AM

Quote:

Originally Posted by db90 (Post 1609578)
This thread is worth it....even for the file edits!

Glad that you like it! Some great work by coders far better than I went into this add-on; be sure to Mark this Add-on as Installed if you go with it. :) Thanks!

n95gps 08-29-2008 03:19 AM

REally nice hack

but like Fresh Froot said .. editing templates is a pain specaily when upgrading

so maybe you can do something about it

Kaelon 08-29-2008 03:21 AM

Quote:

Originally Posted by n95gps (Post 1609581)
REally nice hack

but like Fresh Froot said .. editing templates is a pain specaily when upgrading

so maybe you can do something about it

I'm totally open to suggestions! Like I said, I'm still pretty new at this, so if anyone knows of better hooks that accomplish the same thing as these two minor file edits (less than a few characters each) without adding any queries, like the file edits accomplish, please let me know! I'd love to learn. :)

Subah 08-29-2008 04:02 AM

Great mod , i remmber there is another mod it is add a favorite thread for you !

bchertov 08-29-2008 04:41 AM

I think what is really needed is a bookmark feature so people can tag threads of interest and then be able to find them. Having those thread stuck to the top means that they are always in your face. I suppose its the right answer for some applications, but not the general case, IMO.

Anybody know of a well-done bookmark hack?

Hornstar 08-29-2008 08:46 AM

yeah nice work and thanks for sharing. I might hold off on this. I have a feeling some members might think it is global and will go crazy with it until they realize it is only showing for them lol.


All times are GMT. The time now is 09:35 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.01465 seconds
  • Memory Usage 1,737KB
  • 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_quote_printable
  • (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