форум vBSupport.ru > vBulletin > vBulletin 4.0.x-4.1.х > Хаки, моды и скрипты 4.0.x-4.1.х
  • »
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
 
 
 
 
Kristof
Эксперт
 
Kristof's Avatar
Default [WIDGET] Slider
3

Демо
Widget Slider - Frontpage Slide Show.

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();
Attached Files
File Type: zip slider (1).zip (4.1 KB, 61 views)
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
zahareevici
Простоузер
Default
0

не работает :(
 
 
Sven
Front-End Developer
 
Sven's Avatar
Default
0

Quote:
Originally Posted by Kristof View Post
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();
а это выполнили?
 
 
SeM13
Знаток
 
SeM13's Avatar
Default
0

Не понял что он должен показывать?
 
 
Sven
Front-End Developer
 
Sven's Avatar
Default
0

SeM13, демку глянь
 
 
zahareevici
Простоузер
Default
0

а возможна так , чтобы в место ид форумов поставить урл категорий или разделов ?
 
 
Sven
Front-End Developer
 
Sven's Avatar
Default
0

zahareevici, ид - это ид, а не ссылка на раздел/категорию
 
 
zahareevici
Простоузер
Default
0

Quote:
Originally Posted by Sven View Post
ид - это ид, а не ссылка на раздел/категорию
я это понял, просто спросил,
...создал допустим категорию hot news поставил в slider id или url категорию и забыл.. так нафик она нужна если можно работать только с форумом?
 
 
Sven
Front-End Developer
 
Sven's Avatar
Default
0

zahareevici, а с чем еще должен работать модуль?
 
 
ser
Продвинутый
Default
0

Раскажите подробно что с этим делать! баян
ob_start();
echo '<div>';
echo '<center>';
require_once './clientscript/slider/slider.php';
echo '</center>';
echo '</div>';
$output=ob_get_contents();
ob_end_clean();
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 12:48 AM.


Powered by vBulletin® Version 3.0.8
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Loading...