![]() |
|
Mod Options |
![]() |
|||||||||
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(); Download Now Only licensed members can download files, Click Here for more information. Show Your Support
The following members like this post: SyRiAn BoY
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Mini Mods Innovative Signature Showcase | TheLastSuperman | vBulletin 4.x Add-ons | 82 | 07 Oct 2015 09:18 |
#16
|
||||
|
||||
we can use it also on the CMS with CMS content ?
__________________
No members have liked this post.
|
#17
|
||||||||
|
||||||||
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.
Originally Posted by pablete
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:
You may need to adjust this line:
as well
Originally Posted by Sleeter
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 ='';
Originally Posted by Datenpapst
![]()
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... No members have liked this post.
|
#18
|
|||
|
|||
Originally Posted by Datenpapst
Ah... Are you pulling in any portion of the php file?![]()
I have a lot of CSS in there - perhaps that is the issue? No members have liked this post.
|
#19
|
|||
|
|||
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 No members have liked this post.
Last edited by Sleeter; 24 Jan 2010 at 05:58. |
#20
|
||||||||
|
||||||||
Originally Posted by cory_booth
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
![]()
No members have liked this post.
|
#21
|
||||||||||||
|
||||||||||||
Originally Posted by Sleeter
Thanks for the compliment and I am sorry you had to spend a day messing around :-)![]()
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 No members have liked this post.
|
#22
|
||||
|
||||
Originally Posted by [email protected]
Hey man... I checked your site:![]()
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 No members have liked this post.
|
#23
|
|||
|
|||
Make it show articles.. instead?
No members have liked this post.
|
#24
|
|||
|
|||
Yeah that would be nice...
I'll look into it in the future... No members have liked this post.
|
#25
|
|||
|
|||
Would be great if it could be placed on the forum home like here
No members have liked this post.
|
#26
|
|||
|
|||
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. No members have liked this post.
|
#27
|
||||
|
||||
Originally Posted by cory_booth
Thanks i fix it as you mention and now its working once again thanks for wonderfull slide
![]()
No members have liked this post.
|
#29
|
||||
|
||||
Originally Posted by nom[email protected]
![]()
Its not working mate
__________________
![]() My Hacks [ click ] | Steve ~ Administrator for British Expats AustraliaBound.org/forum | Test our forum - user; don pass; pass123 Sports Tipping Mod - coming February 2010 ~ Show your Interest ! No members have liked this post.
|
#30
|
||||
|
||||
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 ![]() No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 00:14.