vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Integration with vBulletin - News Slideshow (https://vborg.vbsupport.ru/showthread.php?t=139529)

Lionel 02-18-2007 02:46 AM

I suppose it could be installed in any forums with a conditional. Does not have to be gars.

Zorck 02-18-2007 03:57 PM

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!

Lionel 02-18-2007 04:17 PM

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.

glorify 02-18-2007 06:18 PM

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

Lionel 02-18-2007 06:20 PM

Quote:

Originally Posted by glorify (Post 1185471)
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.

glorify 02-18-2007 06:33 PM

OK, the image in the first story is 650X416 and it doesn't fill it. Why?

Lionel 02-18-2007 06:37 PM

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.

glorify 02-18-2007 06:39 PM

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.

glorify 02-18-2007 07:00 PM

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 :(

glorify 02-18-2007 07:07 PM

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.


All times are GMT. The time now is 06:32 AM.

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.01208 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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