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
Define Order Of News Shown With Frontpage Slideshow Details »»
Define Order Of News Shown With Frontpage Slideshow
Version: 1.00, by SBlueman SBlueman is offline
Developer Last Online: Dec 2013 Show Printable Version Email this Page

Category: Portal Software - Version: 3.6.8 Rating:
Released: 12-01-2007 Last Update: Never Installs: 14
Template Edits
Translations  
No support by the author.

I have been using this on my site for a while now and I love how I can sort the order in which the news is displayed. I felt it would be a cool thing to share with everyone, so here goes:

First, you'll need to have Joomblaworks "FrontPage Slideshow" installed on your site. (this is NOT a free modification, and is needed to make this work)

Then you'll need to install this modification: vb_Cement

Now, open the "mod_fpslideshow.php" file for the Frontpage Slideshow. 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!

DEMO:
http://gridironfans.com/

Screenshot:

Show Your Support

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

Comments
  #22  
Old 02-22-2008, 02:02 PM
joeycano joeycano is offline
 
Join Date: Dec 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm willing to collaborate. Let me know.
Reply With Quote
  #23  
Old 03-18-2008, 05:49 PM
SledgeHead SledgeHead is offline
 
Join Date: Oct 2006
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyway to make them show up randomly. I have it where it is like a banner ad displaying the "Hot Topics" and it would be nice if it would appear in a random order. Here's an example of how I have it set up. OrlandoUnited.com/Forums
Reply With Quote
  #24  
Old 05-08-2008, 07:31 AM
yunie_ yunie_ is offline
 
Join Date: Mar 2008
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please help me.. i dont wanna spend 22euros for nothing.. I cant get the slideshow to work properly on vbadvanced. anyone help? the faq at joomlaworks only teach u how to put it in vb and not vbadvanced.

HELP (yes im desperate)
Reply With Quote
  #25  
Old 06-26-2008, 05:31 PM
ivanmcp ivanmcp is offline
 
Join Date: Nov 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yunie_ View Post
please help me.. i dont wanna spend 22euros for nothing.. I cant get the slideshow to work properly on vbadvanced. anyone help? the faq at joomlaworks only teach u how to put it in vb and not vbadvanced.

HELP (yes im desperate)
I made this work in vBadvanced, do you still need to know how its done?
Reply With Quote
  #26  
Old 06-28-2008, 03:52 AM
joeycano joeycano is offline
 
Join Date: Dec 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I purchased and installed FrontPage SlideShow pursuant to the vBulletin instructions. Installation went fine. However, I soon en encountered a small attachment issue when some registered users tried to add an attachment using the paper clip on the WYSIWYG tool bar. Some users were able to post attachments but others received the following message: "Invalid Thread specified. If you followed a valid link, please notify the administrator" I did confirm that the users had appropriate attachment posting permission.

To fix the problem, I contacted vBulletin for assistance. They advised that I uninstall all attachments and revert all temples. I have a tech perform vBulletin's recommendation except for FrontPage SlideShow as I thought it could not be the issue. However, the same issue continued until FrontPage SlideShow was uninstalled. Since everything has reinstalled without an issues.

I wanted to know if there is a fix for this??? I have properly set FrontPage SlideShow to post attachments from one forum (id11).

I am using Version 1.6 (vBulletin Version) on vBulletin 3.7.1
Reply With Quote
  #27  
Old 07-23-2008, 03:07 PM
jkcerda jkcerda is offline
 
Join Date: Mar 2008
Posts: 425
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool
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 05:22 AM.


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.05022 seconds
  • Memory Usage 2,266KB
  • Queries Executed 23 (?)
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_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
  • (2)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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