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

Reply
 
Thread Tools
vB_Cement Details »»
vB_Cement
Version: 1.00, by gtsch gtsch is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.4 Rating:
Released: 06-04-2007 Last Update: Never Installs: 30
DB Changes Uses Plugins Template Edits
 
No support by the author.

This is a mod based on a PHPBB mod.

It allows you to 'weigh' threads, give them precedence over others. If you have a lot of stickies, this is very useful. Through edit thread you can set the weight. This has two simple plugins and one template mod to install.

The way it works is simple. By default, all threads are weighted at 0, anything above that will take precedence over the rest that don't have a higher weight.

This is my first modification that I've made, so any feedback is appreciated.

This is compatible with VB 3.6.4 and 3.6.5, it has not been tested on any other versions at this point. It is very simple, so I don't see any issues with other versions being likely.


If you use it, please click INSTALL.:up:

Show Your Support

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

Comments
  #22  
Old 07-26-2007, 01:20 PM
Censtudios Censtudios is offline
 
Join Date: Jun 2007
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so basically the more their weight, the more on top of the threadlistings they are?
Reply With Quote
  #23  
Old 07-27-2007, 09:02 PM
gtsch's Avatar
gtsch gtsch is offline
 
Join Date: Feb 2006
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes
Reply With Quote
  #24  
Old 08-01-2007, 01:52 PM
El Burro's Avatar
El Burro El Burro is offline
 
Join Date: Apr 2007
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi I've installed this but can't see where to enter the weighting.

I'm assuming I can edit old Stickies and reorder them?


Thanks
El Burro

Costa del Sol Forums
Costa del Sol Foro
Reply With Quote
  #25  
Old 08-07-2007, 02:16 AM
gtsch's Avatar
gtsch gtsch is offline
 
Join Date: Feb 2006
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You enter it in the edit thread screen, you have to have done the template edit for this to work.
Reply With Quote
  #26  
Old 08-17-2007, 04:34 AM
agilent agilent is offline
 
Join Date: Jul 2007
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am concerned about abuse of this feature by registered members if they figure out how to use it. Is there anyway I can only let the weight be adjustable by admin?
Reply With Quote
  #27  
Old 11-28-2007, 07:24 PM
Hawaiian-TV Hawaiian-TV is offline
 
Join Date: Aug 2007
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gtsch View Post
You enter it in the edit thread screen, you have to have done the template edit for this to work.
I've logged in as an Admin and still I don't see any text box or place where I can type in sticky weight. The database elements were added by the mod but it just doesn't show up. I'm using vBulletin version 3.6.8 with the security hack number 2 (latest).

What do I have to do to make this work?

Thanks!
Reply With Quote
  #28  
Old 11-28-2007, 08:36 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this will work well in my news forum - (which is displayed in my VBAdvanced page). Stickies aren't recognised by VBA so I've not previously been abl;e to order news items other than by creation date - thanks :up:
Reply With Quote
  #29  
Old 11-28-2007, 11:51 PM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This works well with the News Slideshow modification if you want to arrange the order in which the stories appear on the slideshow as well. This is what I did to use it that way:

Quote:
Open the "mod_fpslideshow.php" file. Search for "sticky" (only one instance in the entire file) and replace with "threadweight".

Old line of code:
Quote:
$getnews = $db->query_read("SELECT threadid from ".TABLE_PREFIX."thread WHERE attach !='0' AND forumid in($forumid) ORDER by sticky DESC, threadid DESC LIMIT $limit");
New line of code:
Quote:
$getnews = $db->query_read("SELECT threadid from ".TABLE_PREFIX."thread WHERE attach !='0' AND forumid in($forumid) ORDER by threadweight DESC, threadid DESC LIMIT $limit");
Now use the vb_Cement modification to arrange your sticky news items in the forum you are pulling the news from. Enjoy!
Reply With Quote
  #30  
Old 03-01-2008, 05:20 AM
montsa007 montsa007 is offline
 
Join Date: Feb 2008
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This one is useful for my forum
Mouse click > Install
Reply With Quote
  #31  
Old 01-02-2010, 11:23 AM
gsipromotions gsipromotions is offline
 
Join Date: Feb 2006
Location: London Ontario Canada
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love this mod but need to know if it works in vB4
It looks simple for a coder to modify but still beyond my understanding.
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 02:16 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04859 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
  • (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