Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Personal Stickys Details »»
Personal Stickys
Version: 1.0.3b, by Mephisteus Mephisteus is offline
Developer Last Online: Jan 2015 Show Printable Version Email this Page

Version: 3.5.2 Rating:
Released: 12-07-2005 Last Update: 01-02-2006 Installs: 113
DB Changes Uses Plugins Template Edits
Re-useable Code Code Changes Additional Files  
No support by the author.

Hack name: Personal Stickys
Version: 1.0.3b
Author: Mephisteus (DarkSSJ3)
Special Thanks To: Floris (The images and being a guinea pig)!

Steps:
1 product import
1 file to edit - forumdisplay.php (2 edits)
3 template edits
2 image uploads

Info:
Let members on your forums have their own 'personal' sticky thread. People sticking a thread using this function will have the thread only appear 'stuck' to them (and if its a 'real' sticky thread). See screenshots for the obvious

Tested on:
3.5.0 - OK
3.5.1 - OK
3.5.2 - OK
3.5.3 - OK
3.5.4 - OK

Features
- Neat icons!

MAKE A BACKUP
I will not be held responsible for any damage this hack causes to your forum.
This hack is NOT supported. If you get support, consider yourself lucky.
I reserve the right to REMOVE the hack at any time without prior notice.

Please keep any bug reports in this thread.

History
1.0.3b (to upgrade reimport product xml IMPORTANT)
Bugfix
- Fixed a bug that would give SQL errors if someone didnt have personal stickys.
1.0.3 (to upgrade reimport product xml and apply file edits)
Bugfix
- Fixed "The stickied thread will be stickied to the top of its own page, not the first page per see.". It will now be stickied to the first page (I have NOT tested this on different settings due to lack of time).
1.0.2 (to upgrade reimport product xml)
Feature
- Redirect on stick/unstick selection
1.0.1 (to upgrade reimport product xml)
Bugfix
- Fixed an error that would appear in UserCP and in the subscriptions area if you had subscribed threads.
1.0.0
Initial release

Take me to the 3.7.x version

Show Your Support

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

Comments
  #132  
Old 04-29-2007, 02:39 AM
Keyser S?ze's Avatar
Keyser S?ze Keyser S?ze is offline
 
Join Date: Apr 2002
Location: USA
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nope sure dont, needs an update for sure
Reply With Quote
  #133  
Old 05-08-2007, 05:32 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got this to work in 3.60

first in forumdisplay.php you must remove the last bracket in OR threadid IN ($personalstickysq))

and do like (no parenthesis after AND sticky =)

Quote:
AND sticky = 1
OR threadid IN ($personalstickysq)
and then do the change in post 126 but the correct template is threadbit, not showthread
Reply With Quote
  #134  
Old 06-05-2007, 03:30 PM
PJSkiboy PJSkiboy is offline
 
Join Date: Nov 2002
Location: Bowling Green, KY
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quick question, is this mod supposed to show your personal stickies in every forum/subforum you visit or is it simply supposed to sticky those threads in the forum they reside?

Currently the personal stickies are following me around everywhere i go on my forums, lol. Is there a way to make them simply be stickied in the forum they were created in???

I really hope i simply have some code wrong somewhere, lol.
Reply With Quote
  #135  
Old 06-20-2007, 02:24 PM
gingery gingery is offline
 
Join Date: Jun 2006
Location: Ohio
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would really like to have a working version of this hack for 3.6.7.
Reply With Quote
  #136  
Old 09-11-2007, 10:13 PM
john1744 john1744 is offline
 
Join Date: Apr 2005
Posts: 268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually I just got it working perfectly for 3.6.7
Reply With Quote
  #137  
Old 09-12-2007, 12:29 AM
gingery gingery is offline
 
Join Date: Jun 2006
Location: Ohio
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Actually I just got it working perfectly for 3.6.7
Can you share the details?
Reply With Quote
  #138  
Old 09-12-2007, 12:33 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how many extra queries does this send to the server?
Reply With Quote
  #139  
Old 09-12-2007, 01:54 AM
john1744 john1744 is offline
 
Join Date: Apr 2005
Posts: 268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vBulletin 3.6.7 PL1 Instructions

Try out these directions and report back. As far as I remember this is what I did to get it working. (Basically following others ideas and putting them together.)
Reply With Quote
  #140  
Old 09-16-2007, 10:11 PM
fixer fixer is offline
 
Join Date: Nov 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by john1744 View Post
vBulletin 3.6.7 PL1 Instructions

Try out these directions and report back. As far as I remember this is what I did to get it working. (Basically following others ideas and putting them together.)
it gives error in vb3.6.8
Reply With Quote
  #141  
Old 01-19-2008, 02:13 AM
zendiver zendiver is offline
 
Join Date: Sep 2004
Location: Houston, TX
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fixer View Post
it gives error in vb3.6.8
It works, but there is a slight problem within the document. It says:
Code:
==== Find in forumdisplay.php
		$stickies = $db->query_read_slave("
			SELECT thread.threadid, lastpost, open
			FROM " . TABLE_PREFIX . "thread AS thread
			WHERE forumid = $foruminfo[forumid]
				AND sticky = 1
				$visiblethreads
==== Replace with
		$stickies = $db->query_read_slave("
			SELECT thread.threadid, lastpost, open
			FROM " . TABLE_PREFIX . "thread AS thread
			WHERE forumid = $foruminfo[forumid]
				AND (sticky = 1
				OR threadid IN ($personalstickysq)
				$visiblethreads
The replacement is missing a closing paranthesis - it needs a double )) after $personalstickysq
It should look like this for the replacement

Code:
==== Replace with
		$stickies = $db->query_read_slave("
			SELECT thread.threadid, lastpost, open
			FROM " . TABLE_PREFIX . "thread AS thread
			WHERE forumid = $foruminfo[forumid]
				AND (sticky = 1
				OR threadid IN ($personalstickysq))
				$visiblethreads
AND there was a step left out that was part of the original installation.

Working on 3.6.8 PL2 - Complete Update Installation Revision is attached!
Reply With Quote
Reply


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 12:00 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.07889 seconds
  • Memory Usage 2,312KB
  • 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
  • (2)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
  • (1)pagenav_pagelinkrel
  • (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