The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[WIDGET] Slider Details »» | |||||||||||||||||||||||||||
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
Show Your Support
|
Благодарность от: | ||
SyRiAn BoY |
Comments |
#152
|
|||
|
|||
<a href="http://www.learn-seafight.com/cmps_index.php" target="_blank">http://www.learn-seafight.com/cmps_index.php</a>
ok now it's visible but over the header o0 |
#153
|
|||
|
|||
did you crate a new page or is that the default page of vba?
Edit.. PS try upgrading to vba 4.0.1 see if that helps at all.... also looks like the welcome block is missing. if it is try adding it back. |
#154
|
|||
|
|||
Okay the welcome block is active but it doesn't work. And my vB license goes only to 4.0.3 :/
|
#155
|
|||
|
|||
Ok do this for me remove and delete all what you did for this mod. and try use the attach file.
login to admincp --> vba CMPS --> Download/Upload Module ---> click Browse find the xml file. choose active YES select the style you want to install this on. then click Submit. after that download the slidermodule.php file thats crates in your modules folder. edit line 20 reuopload and see what happens. |
#156
|
|||
|
|||
Great it works!!! Thanks!
|
#157
|
|||
|
|||
your very welcome. now you need to edit the colors so they match your theme.
too do that just edit slidermodule.php file. |
#158
|
|||
|
|||
Hello could someone post up a step by step guide on how to add this widget i have made several attempts to add this and a few other test widgets to see if i could get them still no luck i have no knowlage on how to do this as i only upgraded to the suite yesturday so i would be gratful if someone would kindly post everything i need to do so i can get this working thank you
|
#159
|
|||
|
|||
1. download file from the first page and unzip upload the files.
2. Login in to the Admincp 3. goto vBulletin CMS --> click Widgets. 4. create new widget make PHP Direct Execution name it what you want too. add a description if you like. 5. go back to widget page. click on Configure of the new PHP Direct Execution widget. place this code in that box. Code:
ob_start(); echo '<div align="left">'; require_once './clientscript/slider/slider.php'; echo '</div>'; $output=ob_get_contents(); ob_end_clean(); 6. now add a new template called vbcms_widget_slider_page place the code in the new template. Code:
<div class="cms_widget"> <div class="block"> <div class="cms_widget_header"> <h3>{vb:raw title}</h3> </div> <div class="cms_widget_content"> <table align="center"> <tr> <td>{vb:raw output}</td> </tr> </table> </div> </div> </div> |
#160
|
|||
|
|||
thank you got it working but how do i get my images to appear the way they do in the demo they just coming up on below each other and not flicking through
|
#161
|
|||
|
|||
need a link to your web site to see?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|