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)

Jojonas 09-26-2010 02:33 PM

<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

DS MrSinister 09-26-2010 02:59 PM

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.

Jojonas 09-26-2010 07:35 PM

Okay the welcome block is active but it doesn't work. And my vB license goes only to 4.0.3 :/

DS MrSinister 09-27-2010 03:17 AM

1 Attachment(s)
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.

Jojonas 09-27-2010 01:56 PM

Great it works!!! Thanks!

DS MrSinister 09-27-2010 01:59 PM

your very welcome. now you need to edit the colors so they match your theme.

too do that just edit slidermodule.php file.

wullieclsfb 09-28-2010 06:18 AM

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

DS MrSinister 09-28-2010 01:22 PM

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();

template name vbcms_widget_slider_page

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>

7. goto vBulletin CMS -- Layout Manager --> edit the layout you are using --> select the new widget you have made. place were you like to have to showed.

wullieclsfb 09-28-2010 03:17 PM

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

DS MrSinister 09-28-2010 04:15 PM

need a link to your web site to see?


All times are GMT. The time now is 09:12 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.01063 seconds
  • Memory Usage 1,733KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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