vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   vBulletin CMS Widgets - [WIDGET] Slider (https://vborg.vbsupport.ru/showthread.php?t=233909)

Sleeter 01-23-2010 06:05 AM

Slideshow is working but images are causing all kinds of strange display (breaking out of the frame). Needs to be able to auto re-size images or only show portions of images and fill the entire frame. Cool start though. I am desperate for a slideshow like this.

Any idea how could I go about getting rid of the small preview images section completely?

sean-zigster 01-23-2010 06:32 AM

Could we not have this showing certain albums or is there another mod out there that doe this ?

fourat 01-23-2010 01:06 PM

thank you so much

ywwz 01-23-2010 01:06 PM

Such a good idea.

Datenpapst 01-23-2010 02:00 PM

actually i am just using your widget code, because already got a working slideshow software, but when i use it, somehow the forum goes to the left and the size of the font becomes smaller. Maybe some tags not closed or something missing?

dacho 01-23-2010 02:26 PM

we can use it also on the CMS with CMS content ?

cory_booth 01-23-2010 02:45 PM

Quote:

Originally Posted by valendono (Post 1963982)
any forum example ?

Sorry, this was for the CMS and I certainly have a long way to go before it is ready to template and use hooks to place in the forum home.

Quote:

Originally Posted by pablete (Post 1963990)
Good mod but i have a problem with....

Not show the images from post in features and

My forum is on folder /forum, if you put on a title of one those post featured show me an error, because the links put http://web.com/showthread.php?t=323 an not http://web.com/forum/showthread.php?t=323...

Why can i fixed?

Thank's

Opps... Yep this is why I put this out here for the pros... The code is set for no /forum/

So to fix, check slider.php

Find these two lines:
PHP Code:

$link "../showthread.php?t=".$threadid."";
$imagepath "../attachment.php?attachmentid=".$pic['attach'];

and 
make
$link "../forum/showthread.php?t=".$threadid."";
$imagepath "../forum/attachment.php?attachmentid=".$pic['attach']; 

You may need to adjust this line:
PHP Code:

require_once('./includes/class_bbcode.php'); 

as well

Quote:

Originally Posted by Sleeter (Post 1964104)
Slideshow is working but images are causing all kinds of strange display (breaking out of the frame). Needs to be able to auto re-size images or only show portions of images and fill the entire frame. Cool start though. I am desperate for a slideshow like this.

Any idea how could I go about getting rid of the small preview images section completely?

1. Images, yeah I make sure my event posts have 400px or less... I'll have to investigate resizing...

2. Drop the tabs... Hmmm, try this: near the bottom of slider.php.
between tabhtml and centerhtml add

tabhtml ='';

Quote:

Originally Posted by Datenpapst (Post 1964361)
actually i am just using your widget code, because already got a working slideshow software, but when i use it, somehow the forum goes to the left and the size of the font becomes smaller. Maybe some tags not closed or something missing?


So you mean you are pulling in another .php file? Hmmm... No I have one div and one center and both are closed at the end.
You could simply drop the div and center statements and see if that helps?

Quote:

Originally Posted by dacho (Post 1964395)
we can use it also on the CMS with CMS content ?

That'd be great, but not right now...
It pulls from a forum and not the CMS.




NOTE:
Folks thanks for the feedback and I am truly sorry if this is a struggle. Again, I had this and other ideas of mine posted in the Programming section here but I got no feed back... So I posted this here to see what people thought.

I will do my very best to get this thing up to snuff, but this is also tagged as a free project so if someone else is faster at this than me - go for it...

cory_booth 01-23-2010 02:48 PM

Quote:

Originally Posted by Datenpapst (Post 1964361)
actually i am just using your widget code, because already got a working slideshow software, but when i use it, somehow the forum goes to the left and the size of the font becomes smaller. Maybe some tags not closed or something missing?

Ah... Are you pulling in any portion of the php file?
I have a lot of CSS in there - perhaps that is the issue?

Sleeter 01-24-2010 03:50 AM

First of all thank you so much for putting this out. I've been working with it for a day now and have got it to a point where I can implement on my site. Graphically it is fantastic! Just what I was looking for. Had to make several adjustments to the PHP and CSS but nothing to difficult.

The way I have implemented this is to set up a private forum. When I get some good content (with nice photos) I copy the posts to the private forum. I then crop the photo to 650x320 and re-attach. The only problem I still have is the links from the thread title in the slideshow to the thread it came from. I want to remove that link completely since members will not be able to see the private forum. Any idea how to accomplish that?

Again, thanks so much for sharing. I had a slideshow like this on my 3.8 site and my members really missed it since upgrading to 4.0.

You can see it installed here: www.westcoasthighliners.com

I would love to get feedback.

EDIT: To drop the tabs I changed this tab items in the CSS to display: none

nomoreturn 01-24-2010 12:54 PM

1 Attachment(s)
Quote:

Originally Posted by cory_booth (Post 1964425)
Sorry, this was for the CMS and I certainly have a long way to go before it is ready to template and use hooks to place in the forum home.



Opps... Yep this is why I put this out here for the pros... The code is set for no /forum/

So to fix, check slider.php

Find these two lines:
PHP Code:

$link "../showthread.php?t=".$threadid."";
$imagepath "../attachment.php?attachmentid=".$pic['attach'];

and 
make
$link "../forum/showthread.php?t=".$threadid."";
$imagepath "../forum/attachment.php?attachmentid=".$pic['attach']; 

You may need to adjust this line:
PHP Code:

require_once('./includes/class_bbcode.php'); 

as well



1. Images, yeah I make sure my event posts have 400px or less... I'll have to investigate resizing...

2. Drop the tabs... Hmmm, try this: near the bottom of slider.php.
between tabhtml and centerhtml add

tabhtml ='';




So you mean you are pulling in another .php file? Hmmm... No I have one div and one center and both are closed at the end.
You could simply drop the div and center statements and see if that helps?


That'd be great, but not right now...
It pulls from a forum and not the CMS.




NOTE:
Folks thanks for the feedback and I am truly sorry if this is a struggle. Again, I had this and other ideas of mine posted in the Programming section here but I got no feed back... So I posted this here to see what people thought.

I will do my very best to get this thing up to snuff, but this is also tagged as a free project so if someone else is faster at this than me - go for it...

1st of all thanks for giving us such a nice mod i installed and my images are not showed up so i did this as you told and still images not showing please help me to fix this thanks


All times are GMT. The time now is 06:02 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.01294 seconds
  • Memory Usage 1,768KB
  • 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_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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