vBulletin ModsThe Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=233909 |
1 Attachment(s)
Widget Slider - Frontpage Slide Show.
Demo: http://demo.webdeveloperplus.com/fea...ontent-slider/ This is based on the demo above. OK this is my first mod and I know the coding really sucks! But I thought I would get this out and see if anyone want to improve on it. This is one of those frontpage slide shows that pulls your attachment and data from specified forums. I hope this works for you. Install: Edit slider.php and at line 100: $forumid - set the forum to pull slides $limit - set the number of posts $chars - set the total number of characters $words - set total number of words Upload Files. Create PHP Widget and inser the following code: ob_start(); echo '<div>'; echo '<center>'; require_once './clientscript/slider/slider.php'; echo '</center>'; echo '</div>'; $output=ob_get_contents(); ob_end_clean(); |
NOTE: This mod uses the jquery javascript so if you load it already for other plugins (i.e. cometchat) then look to see if you need to load it with the script.
|
Looks promising.Any way to get this to work on the forum front page?
|
I'm seeing this tagged a CMS widget, so exactly what are we pulling from a forum when we have no original forum post with attachments per-se for our CMS articles?
|
Quote:
I need to template a bunch of this stuff and then do a hook. I'd like to make it a plugin so you don't have to edit the php. This is all stuff I will try to do... |
Quote:
I guess some people don't use stuff this way so, perhaps this isn't a good idea for your site. |
Quote:
|
if you ever decide to do it using YUI, see this example http://www.lutsr.nl/yui/image%20slideshow/
you will need to change a fair bit of stuff tho |
any forum example ?
|
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 |
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? |
Could we not have this showing certain albums or is there another mod out there that doe this ?
|
thank you so much
|
Such a good idea.
|
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?
|
we can use it also on the CMS with CMS content ?
|
Quote:
Quote:
So to fix, check slider.php Find these two lines:
You may need to adjust this line:
as well Quote:
2. Drop the tabs... Hmmm, try this: near the bottom of slider.php. between tabhtml and centerhtml add tabhtml =''; Quote:
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:
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... |
Quote:
I have a lot of CSS in there - perhaps that is the issue? |
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 |
1 Attachment(s)
Quote:
|
Quote:
OK, so for the link: In the slider.php find this line:
The key is the $link - you can do one or the other: Change the line to:
To drop the link reference or change the line to:
To insert your own link to send the user |
Quote:
www.mastdunya.com right? Your attachment.php is at the root... So you should drop those changes and put back to:
Did you upload slider to the correct directory? /clientscript |
Make it show articles.. instead?
|
Quote:
I'll look into it in the future... |
Would be great if it could be placed on the forum home like here
|
There any way to just make it 100% customizable, with a click-through link?
Or does it already do that. I'll give it a try. |
Quote:
|
nice, thanks
|
Quote:
Its not working mate |
I am using this one:
http://testforum.c-arena.com/demoslideshow.php atm as an iframe My code in the admincp is:
Still got the problem :( |
Hii,
Great mod! any chance to add this code not as a widget? i want to add it to my forum. |
Tagged, watching this one closely. Great idea!
|
Quote:
But I would suggest, follow very closely the code's <div> tags and make sure all <table> <tr> <td> <div> tags are open and closed properly. Sometimes I start in the middle of the code and slowly work my way out until I spot a potential problem. I am assuming this is the issue... Your slider has some unclosed tags... |
Quote:
I wish I could pop this out, but I have a lot to learn in that department. |
Quote:
|
Quote:
|
Quote:
I suggest you use the class: vBCms_Search_Result_Article Located in /packages/vbcms/search/result/content.php (line 28) Check it and reply please. |
I did not understand ... Where pulls the images and the textual?
|
Quote:
This will pull the first attachment in that forum... So the idea is you can have a forum where you make annoucements or reviews and the first post will have an image attached. Now on your site you can have a "slider" that rotates through those images and links back to the forum posting. its VERy rough around the edges, but functional... |
Hmmmm, hate to ask a stupid question but I'm getting used to it.
I've installed the mod and setup where it pulls the posts from but it's not displaying anything, no pictures or the text, just a blank widget. Have checked all the permissions etc so was wondering if there's a js script I should download for this? |
Fodder, I had the same mistake. Make sure the slider file is within clientscript/slider/
|
Hey Preech, yup have double checked and slider.php is definitely there.
|
how to set shaddow under title and text ?
|
Quote:
Any errors? |
Hello, is it possible to put CMS' articles in the slide instead of forum posts? ;)
|
Quote:
Quote:
Quote:
Quote:
|
i am having this problem too.
is there any solution ? Quote:
|
Does this work with the CMS content ?
Can anyone show me a demo? Thanks so much |
so nice thank you
|
Would be interested in using this on the forum page to pull our latest themes that have been posted, but just the 1st post and the images
|
You can see this working here. www.djmal.net. Not all the images are in the box right, that's only because I haven't adjusted them.
|
I agree this would be helpful as currently i am using this ...........http://www.tabletennistalk.co.uk/forum/content.php
|
Demo in vbulletin?
|
You mean on the forum, or using the CMS, I'm using 4.0.2 and it works fine for me. My link is correct.
|
I have the front page slideshow running on my site if anyone would like to check it out. It is NOT this mod though. It is the actual static version of the frontpage slide show product. As is, it requires you to modify to files directly and upload the images via FTP. not to complicated. PM me if you are interested in this other version.
|
|
This working for anyone? It loads kinda for us but it almost looks like the jquery isn't loading as it just has 1 image oversized and no javascript seems to even be working.
|
not working
|
You have to make sure the images that you use in the attachments are the same size as set in the settings
|
Is your images broken on the slider? or something wrong with my browser.
I've been needing this solution only if it works =/ |
Is there any way to delete the small windows at the right as is showed here?
http://www.westcoasthighliners.com/forums/content.php Thanks |
Quote:
|
I am using it as widget.
I am preparing just one forum to call the messages. I expect to finish the installation today. |
To hide the tabs...
Add this to the css encoding:
|
Hey ya'll...
Thanks to EVERYONE helping out with this... I currently have someone interested in porting this into a REAL plugin so stay tuned... I am getting ready to retire from the U.S. Military and have a lot going on... I knew this was coming which is why I threw all my half-baked attempts at something cool up on vb.org and marked them unsupported / reuseable... For those struggling with this, I appoligize and wish I was better at meeting all the different situations everyone might face.... |
this is going to be SEXYLICIOUS.
You have my support. |
doesn't work in Opera
|
Thanks Cory, I have a little while before I can say retire from the military. But this mod hasn't gave me any problems from the start. Still working for me.
|
Quote:
|
LEt me explain you what I need to do to make it work.
For this moment, it can not recall articles, just threats from forums. I had 2 problems: 1.-I bought the suite from Vb, but every time I publish an article, it creates a threat on a selected forum and all the comments goes over that threats. As that is not good on the way I use my my site and I was using VBadvanced before, I need something that solve that problem. 2.-After install it and selected 3 different forums, I saw that only calls messages with attachments, so I need to convert all as attachments to make it work. Then, with this problems, I created an specific forum where all the message I want to show on the slider will be. I am permissions on this forum, just to the moderators to publish new threats and all the members cann´t, but all the members can answer there, so with this, I solve all my problems about the comments on the CMS. Then, I just program to select topics on that forum. All the threats now are with the pictures as attachments, and with the correct size. Now, in that forum I am publishing, the Tanks of the month, the Histories or news about the hobby, and all the contests. The real articles, are on the CMS and that´s it. |
Quote:
http://www.vbulletin.org/forum/showthread.php?t=230417 I use it on my forums and it works great for keeping the original thread in it's place and the comments are automatically added and referenced from the thread.. and it is posted as an article. Keep up the good work! |
I tried to add this as a module as i disabled my cmps and use vbadvanced instead at my site www.brotherhoodofgamers.com
I added it as a slidermodule.php file to my modules folder for vbadvanced and enabled it and at the top of the page I get this...
How to add it as a module? EDIT: FIXED IT by adding <?php to begining of file and ?> to end of it to make it real php...but now its not showing anything on my homepage...its not working. My forum id is 6 and here is what I put... Quote:
|
this is what I am looking for thank you
|
Bouncer in the php file. It already called for a open and close php. With vbadvanced isn't it possible to create a php module where you can call from a file. Use the code you posted as a template. Try that.
|
insstead of using attachment, can you make it so the slideshow use [img] from the threads instead?
this is a better way for those who are using shared host that has limited bandwidth since we can use free image upload site |
One thing I would really love to see if this making use of the CMS articles.
Think this would be possible? |
works Great! UNFV
|
Hiya,
Just got this working in a basic form. Just wondering: 1) How do you remove the wee preview boxes on the right? So that just the main image changes on its own. 2) How do you resize the width of this? Cheers, Martyn |
Got this working a bit better. :)
Couple more queries and I should be done I think. How do yo uset the text so it goes the width of the image? At the moment, it keeps performing line breaks rather than following the width of the image? See www.fiat-scotland.com for an example pic/text. Also, is there any way to put a slightly darkened background just against the text area, to make the text more readable? Thanks again, Martyn |
just echoing others.. Any chances that this one will be able to be utilized to show previews of CMS articles?
|
Just a noob-question: how do you enter the forum IDs in slider.php. Replace numbers inside the array with forum iDs or...? Tried a variety of solutions, but no one seems to work.
|
That should be it. I don't use this one anymore, I use the other one. But that looks about right.
|
I want to use it with vbadvanced cmps like there -> http://www.freefrag.com/ but i don't know how to do this. Can me help somebody?
Jonas |
hey guys, just having one problem with the slider, its not showing the title in the slide.
www.myclan.com.au/index i might be just blind, but its my first time ever working with any sort of code, could someone please point me in the right direction please. |
Very Nice mod
|
Hi,
Is there any way to install this on a vbadvanced module? Thanks. |
Reef Man,
Didn't test it but you can create a new php module in vbadvance and add this part of the code into it. The rest of hte instructions should be the same.
|
any one gotten this to work with vb cms yet?
so it pulls from new articles in the cms |
works with 4.0.4 ??
|
Yes it works with 4.0.4.
Quote:
I am confused. I am trying to create a php module on vbadvanced, but where do I need to place the code? What file I need to include and where? any module parent? Sorry, I am not an expert coder. Thanks in advance for your help ! |
Is this able to be made fluid?
|
On a test version of my website www.atkcommunity.com I am trying out your content slider and have ALMOST made it completely work on my vBadvanced homepage :).
However, I am having the problem that when the homepage loads, all of the images for the different slides appear beneath each other: http://img819.imageshack.us/img819/6184/94774237.png Once the site has finished loading, it appears as it's supposed to: https://www.vbulletin.org/forum/ I would really appreciate any help you guys can give me that would eliminate this problem. This may mean making it so that the images are loaded progressively, but I wouldn't know how to do this. Maybe just ensuring that the images are always contained in the box would work? Thanks! |
how do you set permissions? When I am logged off, I can't see the images on the my site. When I log in I can see everything.
|
Quote:
|
Quote:
If you want to try and help me out then just sign up and I'll be happy to make it visable for you :). |
I looked at your slider on http://www.acuarios-marinos.com and it looks like you have the same problem. Luckily your forum isn't transparent though so you can only see a very small portion of the next image. Anyway, if you have any ideas I'd love to hear them!
EDIT: Sorry for the double post |
www.nbadimensions.net
The slider isn't working on internet explorer. You can't chose the slide. How do I fix this? |
That is my current code, it's also ruining my sidebar. Can someone please help me correct the code, I'm not good with .php. |
Anyone? I'm keen to get this done ASAP.
|
:(...
|
All times are GMT. The time now is 15:04. |
Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.