Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

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

Category: Integration with vBulletin - Version: 3.6.4 Rating:
Released: 02-15-2007 Last Update: 02-23-2007 Installs: 58
 
No support by the author.

...................

Show Your Support

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

Comments
  #42  
Old 02-18-2007, 02:46 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I suppose it could be installed in any forums with a conditional. Does not have to be gars.
Reply With Quote
  #43  
Old 02-18-2007, 03:57 PM
Zorck Zorck is offline
 
Join Date: Jan 2003
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi!

this hacks is excelente!

I have a few questions:
- I set the high&wide to 600x350, but the pic attached in the thread news, with this dimensions show in the slideshow more smaller. why?
- Where i can set how many news the slide shows? I have a lot of news, but only shows 3.

Thanks in advance! and sorry for my horrible english!
Reply With Quote
  #44  
Old 02-18-2007, 04:17 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi,

you need to open slideshow.php and set the width, the height and the $forumid you want to pull images from.

set the $limit for how many images in the $getnews query.
Reply With Quote
  #45  
Old 02-18-2007, 06:18 PM
glorify's Avatar
glorify glorify is offline
 
Join Date: Aug 2004
Posts: 376
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If your slide is in the center and it's width is lets say 550, and height hasn't changed, do you have to have the exact height and width pic to fill the box?

See here--some of the pics are wide enough, some are not. None fill the slide completely:

Link
Reply With Quote
  #46  
Old 02-18-2007, 06:20 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by glorify View Post
If your slide is in the center and it's width is lets say 550, and height hasn't changed, do you have to have the exact height and width pic to fill the box?
no.
Reply With Quote
  #47  
Old 02-18-2007, 06:33 PM
glorify's Avatar
glorify glorify is offline
 
Join Date: Aug 2004
Posts: 376
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, the image in the first story is 650X416 and it doesn't fill it. Why?
Reply With Quote
  #48  
Old 02-18-2007, 06:37 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this hack is not a camera, it does not redo pictures. if you have a space of 500 x 400 and you resize an image of 650 x 416 don't expect it to fill it.
Reply With Quote
  #49  
Old 02-18-2007, 06:39 PM
glorify's Avatar
glorify glorify is offline
 
Join Date: Aug 2004
Posts: 376
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The H and W in the php file is actually 550X280

Got it, so you have to resize all yer pics.

Hooray.

Nice hack, but i wish I would have investigated that before I downloaded/bought it. Asking every member who posts news to my site to find and resize pics will probably be an impossibility.
Reply With Quote
  #50  
Old 02-18-2007, 07:00 PM
glorify's Avatar
glorify glorify is offline
 
Join Date: Aug 2004
Posts: 376
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried to get a resized image on the first slide. H and W of the image and slideshow.php are the same, yet it still does not fill it.

I have got to be explaining incorrectly and am doing something wrong
Reply With Quote
  #51  
Old 02-18-2007, 07:07 PM
glorify's Avatar
glorify glorify is offline
 
Join Date: Aug 2004
Posts: 376
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Found the problem--you may want to mention this in the first post.

In your php file, find
Code:
$foto="<div class=\"slide\">\n<div align=\"center\" class=\"slide-inner\">\n<a href=\"/forums/showthread.php?t=".$pic['tid']."\"><img alt=\"read full article\" width=\"396\"  src=\"/forums/attachment.php?attachmentid=".$pic['attach']."
Change the bolded to the width you want your pics to be.
Reply With Quote
Reply

Thread Tools

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:09 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.05854 seconds
  • Memory Usage 2,285KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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