vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - vB_Cement (https://vborg.vbsupport.ru/showthread.php?t=148940)

Censtudios 07-26-2007 01:20 PM

so basically the more their weight, the more on top of the threadlistings they are?

gtsch 07-27-2007 09:02 PM

yes

El Burro 08-01-2007 01:52 PM

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

gtsch 08-07-2007 02:16 AM

You enter it in the edit thread screen, you have to have done the template edit for this to work.

agilent 08-17-2007 04:34 AM

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?

Hawaiian-TV 11-28-2007 07:24 PM

Quote:

Originally Posted by gtsch (Post 1311587)
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!

dartho 11-28-2007 08:36 PM

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:

SBlueman 11-28-2007 11:51 PM

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!

montsa007 03-01-2008 05:20 AM

This one is useful for my forum
Mouse click > Install :p

gsipromotions 01-02-2010 11:23 AM

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.


All times are GMT. The time now is 02:56 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.01077 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete