Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-02-2009, 10:02 PM
kevinh kevinh is offline
 
Join Date: May 2007
Location: Melbourne, Australia
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default how to do a sticky post?

Hi,
I know how to make threads sticky, but can someone please tell me how one does the sticky posts which appear at the top of the threads in the mod forums on this site.

I'm using vBulletin 3.7.x

Thanks,
Kevin
Reply With Quote
  #2  
Old 05-02-2009, 10:36 PM
BlueNinjaGo's Avatar
BlueNinjaGo BlueNinjaGo is offline
 
Join Date: Mar 2009
Posts: 668
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you talking about the announcement?
Reply With Quote
  #3  
Old 05-02-2009, 10:59 PM
kevinh kevinh is offline
 
Join Date: May 2007
Location: Melbourne, Australia
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BlueNinjaGo View Post
Are you talking about the announcement?
Effectively yes. I want to stick a post/announcement at the top of a discussion thread (a thread which shows posts in order of newest first).
Reply With Quote
  #4  
Old 05-02-2009, 11:02 PM
BlueNinjaGo's Avatar
BlueNinjaGo BlueNinjaGo is offline
 
Join Date: Mar 2009
Posts: 668
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, ok, I'm sorry, I thought you meant the announcement that was above the threads. You're referring to the mod information, correct? (Well, in this site, it's the information about the modifications)

There is a modification here that will tranform your forum into the same thing as it's here.

https://vborg.vbsupport.ru/showthrea...t=modification
Reply With Quote
  #5  
Old 05-03-2009, 01:10 AM
kevinh kevinh is offline
 
Join Date: May 2007
Location: Melbourne, Australia
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, I just realised that what the Mods forum on this site uses is not quite what I need. What is used on here (vBulletin.org) is really specific and seems to apply to all new posts in that forum.

As Admin I just want to be able to stick a post in a thread as required (not every thread). Or it could be an announcement at the top of the thread (doesn't have to be a "post").
Reply With Quote
  #6  
Old 05-03-2009, 02:58 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You want to stick a post inside a thread, right? You would have to modify the code quite a bit if you are hoping to be able to just pick one of the posts within the thread and make it 'stick' as the first post. The posts are ordered by the criteria in your User CP when the query to grab them is performed. Usually this is by date ascending or descending. If you want to 'easily' stick a thread at the beginning, you should change the date of the post so it would be the first post in the thread.
Reply With Quote
  #7  
Old 05-03-2009, 05:59 AM
kevinh kevinh is offline
 
Join Date: May 2007
Location: Melbourne, Australia
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Lynne, this isn't something I am going to need to do very often so maybe changing the date of the post is the way to go. However, we order threads by most recent post first, which means I would have to set the date of my post sometime in the future. How could I change the date of a post? presumably it's a database edit?

The other option is to put an announcement above the list of posts in at the top of the thread. I searched the mods for "announcement" but got 500 results, the first few pages of which didn't look very encouraging. Can anyone recall seeing a mod to do this? (insert a message or announcement above the list of posts in a thread)
Reply With Quote
  #8  
Old 05-03-2009, 03:21 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So you want to be able to post something at the top of the thread, but only the top of specific threads. I cannot think of any sort of mod that does that. The quick and not really elegant way to do it would be to put a variable at the top of the showthread template where you want the message and then create a plugin that spits out a message only for specific threadids.
Reply With Quote
  #9  
Old 07-02-2009, 06:43 AM
MotoMihalich's Avatar
MotoMihalich MotoMihalich is offline
 
Join Date: Sep 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
So you want to be able to post something at the top of the thread, but only the top of specific threads. I cannot think of any sort of mod that does that.
Great pity. I've seen this working on some other forums and it was quite useful.
Reply With Quote
  #10  
Old 07-02-2009, 02:31 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't say it couldn't be done - I simply said I don't know of a modification that does it. You can probably modify/write a plugin to do this, but you'll have to get in and modify the code yourself.
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 06: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.04703 seconds
  • Memory Usage 2,242KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete