![]() |
[WIDGET] Slider
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: PHP Code:
PHP Code:
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: PHP Code:
Change the line to: PHP Code:
or change the line to: PHP Code:
|
Quote:
www.mastdunya.com right? Your attachment.php is at the root... So you should drop those changes and put back to: PHP Code:
|
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: HTML Code:
ob_start(); |
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:
PHP Code:
|
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? |
All times are GMT. The time now is 06:30 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|