Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Personal Sticky Threads Details »»
Personal Sticky Threads
Version: 1.0.3c, by Kaelon Kaelon is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Category: End-User Options - Version: 3.7.2 Rating:
Released: 08-28-2008 Last Update: 08-28-2008 Installs: 86
DB Changes Uses Plugins Template Edits
Code Changes Additional Files  
No support by the author.

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)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 08-29-2008, 10:09 AM
GaiLoan GaiLoan is offline
 
Join Date: Dec 2007
Location: California,US
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kaelon View Post
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!
yup, this really nice, "install"
Reply With Quote
  #13  
Old 08-29-2008, 10:55 AM
leannet leannet is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/showthread.php(2153) : eval()'d code on line 479
I keep getting that error message I have been over everything a million times and I dont know where I am going wrong, can anyone help please.
Reply With Quote
  #14  
Old 08-29-2008, 11:48 AM
Kaelon's Avatar
Kaelon Kaelon is offline
 
Join Date: Jan 2002
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by leannet View Post
I keep getting that error message I have been over everything a million times and I dont know where I am going wrong, can anyone help please.
That's weird. Are you using unmodified vBulletin 3.7.3 Files? Did you make sure to apply the two file edits only to forumdisplay.php?
Reply With Quote
  #15  
Old 08-29-2008, 04:02 PM
Kaelon's Avatar
Kaelon Kaelon is offline
 
Join Date: Jan 2002
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by db90 View Post
This thread is worth it....even for the file edits!
Thank you! I hope you enjoy this add-on, and if you do, please mark it as installed.
Reply With Quote
  #16  
Old 08-29-2008, 05:45 PM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The "addon" was a step in the direction I was going to see if it could be added. While I am looking for a per user group (preferably ACP controled) I would also like to be able to control how many personal stickies any particular user group can actualy have.
Reply With Quote
  #17  
Old 08-29-2008, 09:19 PM
abrecher abrecher is offline
 
Join Date: Jan 2004
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fantastic Mod! PLEASE figure a way to cut out the file and template edits.
Reply With Quote
  #18  
Old 08-30-2008, 02:29 PM
Dr. Bantham's Avatar
Dr. Bantham Dr. Bantham is offline
 
Join Date: Feb 2007
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The edits to FORUMDISPLAY.PHP appear to be causing the following database error:
Code:
Database error in vBulletin 3.7.2:

Invalid SQL:

			SELECT thread.threadid, lastpost, open
			FROM thread AS thread
			WHERE forumid = 271
				AND (sticky = 1
				OR threadid IN ())
				
				 AND visible IN (0,1,2);

MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))
				
				 AND visible IN (0,1,2)' at line 5
Error Number  : 1064
Request Date  : Saturday, August 30th 2008 @ 10:23:56 AM
Error Date    : Saturday, August 30th 2008 @ 10:23:56 AM
Script        : http://www.ligotti.net/forumdisplay.php?s=&daysprune=&f=271
Referrer      : 
IP Address    : XXXXXXXXXXXXXXX
Username      : Dr. Bantham
Classname     : vB_Database
MySQL Version : 5.0.51a-community
Reply With Quote
  #19  
Old 08-31-2008, 01:09 AM
farplane dragon's Avatar
farplane dragon farplane dragon is offline
 
Join Date: Mar 2008
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Templates I don't mind, since we have only 2, but I don't want to be modifying files. Will tag to watch for a change.
Reply With Quote
  #20  
Old 08-31-2008, 03:31 AM
dt_truck11's Avatar
dt_truck11 dt_truck11 is offline
 
Join Date: Apr 2008
Location: Wisconsin, USA
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great mod! altho it is a pain to add when you have alot of styles
Reply With Quote
  #21  
Old 08-31-2008, 11:40 AM
Scott77 Scott77 is offline
 
Join Date: Aug 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed cheers.

A great addition!
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 03:57 PM.


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.13389 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete