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
  #82  
Old 01-02-2006, 01:02 PM
fixer fixer is offline
 
Join Date: Nov 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx for this hack
it works.

the only thing is when someone try to stick a thread which is found in page 5 for example, the thread sticked in same page (5 in this example) not in first page.

anyone has a fix for that?
Reply With Quote
  #83  
Old 01-02-2006, 05:36 PM
ronoxQ's Avatar
ronoxQ ronoxQ is offline
 
Join Date: Aug 2005
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mephisteus
Upload the images to the proper image folder for the style you are using.

And click install
Heh It worked! Thanks mucho.
Reply With Quote
  #84  
Old 01-03-2006, 10:47 AM
TosaInu's Avatar
TosaInu TosaInu is offline
 
Join Date: Jul 2004
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fixer
thanx for this hack
it works.

the only thing is when someone try to stick a thread which is found in page 5 for example, the thread sticked in same page (5 in this example) not in first page.

anyone has a fix for that?
That is only true, perhaps, when each page can display stickies. In case the board only lists stickies at page 1, the personal stickied topic at page 5 disappears.

Displaying $threadbits_personalsticky is wrapped into the condition <if condition="$show['stickies']">

It should be moved outside the condition, right above $threadbits.

That is not a real solution though, personal stickied threads should move to page 1. For some reason, the board hurls real stickies to page 1, no matter how old they are, while personal ones are confined within their own page.
Reply With Quote
  #85  
Old 01-03-2006, 11:52 AM
Mephisteus's Avatar
Mephisteus Mephisteus is offline
 
Join Date: Dec 2001
Location: The Netherlands
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1.0.3 released.
Reply With Quote
  #86  
Old 01-03-2006, 03:25 PM
Code Monkey's Avatar
Code Monkey Code Monkey is offline
 
Join Date: May 2004
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This has file edits now????
Reply With Quote
  #87  
Old 01-03-2006, 03:35 PM
Mephisteus's Avatar
Mephisteus Mephisteus is offline
 
Join Date: Dec 2001
Location: The Netherlands
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes it does, it cant be done without them. Requesting a plugin for the two query spots would be useless since it could only be used for my hack.
Reply With Quote
  #88  
Old 01-03-2006, 06:12 PM
DF-inside DF-inside is offline
 
Join Date: Aug 2003
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aranthorn
Ah just for giggles, here's the part of my FORUMDISPLAY that is modified:
Code:
	<!-- show threads -->
	<if condition="$show['stickies']">
	$threadbits_sticky
	$threadbits_personalsticky
	<tr>
		<td class="thead" colspan="0">&nbsp;</td>
	</tr>
	</if>
	$threadbits	
	<!-- end show threads -->
The above post was found over here and is not compatible with the 1.03b version of this MOD.
I had the above code aswell, but will cause that the threads I personal stick are lost at the forums and cant be found anymore.

This solves:
Code:
	
<!-- show threads -->
	<if condition="$show['stickies']">
	$threadbits_sticky
	</if>
	$threadbits_personalsticky
	$threadbits	
	<!-- end show threads -->
Reply With Quote
  #89  
Old 01-03-2006, 06:34 PM
dsotmoon dsotmoon is offline
 
Join Date: Jun 2003
Location: VA - USA
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there anyway to make this work per usergroups?
Reply With Quote
  #90  
Old 01-03-2006, 07:41 PM
TosaInu's Avatar
TosaInu TosaInu is offline
 
Join Date: Jul 2004
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dsotmoon
is there anyway to make this work per usergroups?
Nice update Mephisteus.
Reply With Quote
  #91  
Old 01-04-2006, 01:59 AM
aranthorn's Avatar
aranthorn aranthorn is offline
 
Join Date: Jun 2004
Location: Chicago
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DF-inside
The above post was found over here and is not compatible with the 1.03b version of this MOD.
I had the above code aswell, but will cause that the threads I personal stick are lost at the forums and cant be found anymore.

This solves:
Code:
	
<!-- show threads -->
	<if condition="$show['stickies']">
	$threadbits_sticky
	</if>
	$threadbits_personalsticky
	$threadbits	
	<!-- end show threads -->
While I said it did not solve the original issue here:
https://vborg.vbsupport.ru/showpost....0&postcount=78

I don't see how it's incompatible with 1.03b. I have this exact template edit and it's finding a previously buried personal sticky. I'm not trying to argue, but I just can't replicate what you've stated.

Big thanks for the update, excellent MOD!
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.04988 seconds
  • Memory Usage 2,315KB
  • 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
  • (3)bbcode_code
  • (5)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
  • (4)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