форум vBSupport.ru > vBulletin > Old vB versions (3.0.x & 2.x.x) > vBulletin 3.5.x > Hacks, mods and scripts [3.5.x]
  • »
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
 
 
 
 
КотЪ
Администратор
Неадекватный
 
КотЪ's Avatar
Default AboutToday / События - развернуто
3

What is AboutToday?

AboutToday provides a central place to bring daily items of interest to your forum visitors. It includes two main components:
A database system that can hold unlimited categories of "AboutToday" events. For example, you could have a history category (like a Today in History) with sub-categories for different eras in history. Or, you could have a daily joke or software tip of the day, etc.
An RSS Reader system where the admin can enter RSS feeds that will then be displayed on the page.

Detailed Features
AdminCP
Basic Settings
Disable AboutToday?
Product Title
AboutToday Events Per Page
Display Local Events in "Today's Events"?
Number of Events to display on Forumhome (in Today's Events)?
Disable RSS Feeds?
RSS Title
Categories
Category Name
Description
Can this category hold events?
Ignore the "Year"?
Parent Category?
Edit Category
Delete Category
RSS Feeds
Name
URL
Title
Maximum Length
Number of RSS events to Display on "Today's Events"
Number of RSS events to dispaly on AboutToday page
How often should this feed be updated?
Use RSS Image?
Disable this Feed?
Edit Feed
Delete Feed
Usergroup Settings
Can View AboutToday?
Can Add Events to AboutToday?
Can Edit Own Entries?
Can Edit ALL events?
Can View Disabled AboutToday?
Include link to image button on editor?
Can load events from a delimited file?
Can View RSS Feeds?
Today's Events
Titles of Local Events for that day (number displayed set in admincp)
Headlines from RSS Feeds Displayed (configured in admincp)
AboutToday pages
Select local events based on month, day, or category.
Search local events
View detailed RSS Feed listing
Local events can be added individually or loaded via a delimited file

Installation

Copy the following files to your server in the forums directory:
abouttoday.php
includes/class.csv.php
includes/class_abouttoday.php
includes/xml/bitfield_abouttoday.xml
includes/xml/cpnav_abouttoday.xml
admincp/abouttodayadmin.php

From the admincp, import the product file product-abouttoday.xml (Manage Products - Add/Import Product).

REFRESH your admincp window. You should now see a listing in the left column of the admincp for "AboutToday".

Getting Started
From the admincp, select AboutToday - Categories. Add a category.
From the admincp, select AboutToday - RSS Feeds. Add an RSS Feed.
From the admincp, select Usergroups - Usergroup Manager. Add permissions so the Administrator group can use the product.
From your forum directory, bring up the file abouttoday.php. "Add" your first event to the category you have created!
To get the first RSS Feed into cache, run http://www.yoursite.com/forums/abouttoday.php?do=rss
Attached Thumbnails
todaysevents.gif  
Attached Files
File Type: zip AboutToday.zip (28.7 KB, 83 views)
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
xmaker
Простоузер
Default
0

Интересно он русские события будет показывать, как я понял он берет инфу по RSS из англязычных ресурсов.
 
 
dzint
Продвинутый
Default
0

Классный хак!!!

DDDDD добавил 19.02.2006 в 08:02
Вот как получился у меня (сам мод я переименовал). Прекрасно тянет русскоязычные RSS - было бы что выбрать.
Attached Thumbnails
today.jpg  

Last edited by dzint : 02-19-2006 at 09:02 AM. Reason: Добавлено сообщение
 
 
КотЪ
Администратор
Неадекватный
 
КотЪ's Avatar
Default vbAdvanced Addon for AboutToday
0

То же самое - для портала.
Attached Files
File Type: zip AboutToday-vBa.zip (67.6 KB, 30 views)
 
 
bmnot
Простоузер
Default
0

Quote:
Originally Posted by DDDDD
Классный хак!!!

DDDDD добавил 19.02.2006 в 08:02
Вот как получился у меня (сам мод я переименовал). Прекрасно тянет русскоязычные RSS - было бы что выбрать.
Подскажи в чем проблема с русским шрифтом может быть
Основная кодировка форума 1251, а RSS видны нормально только при кодироке UTF8
 
 
dzint
Продвинутый
Default
0

Quote:
Originally Posted by bmnot
Подскажи в чем проблема с русским шрифтом может быть
Основная кодировка форума 1251, а RSS видны нормально только при кодироке UTF8
Подсказать не смогу, потому как и у меня точно так - основная кодировка windows-1251, но все RSS ленты видны нормально, без всяких проблем со шрифтом, кракозябр и пр. Я ничего не менял, разве установил свои Product Title и RSS Title, а так установил все точь-в-точь как описано в первом посте КотЪ.
 
 
Rule
Продвинутый
 
Rule's Avatar
Default
0

DDDDD,
А переводиком не поделишься?)
 
 
dzint
Продвинутый
Default
1

Quote:
Originally Posted by Rule
А переводиком не поделишься?)
Да не переводил я ничего пока еще. Пока неактуально. Я свои RSS должен сделать с другого места, тогда переведу (переведу - сюда сброшу).
 
 
Rule
Продвинутый
 
Rule's Avatar
Default
0

Ну тогда за ранее спасибо)
 
 
dzint
Продвинутый
Default
0

Quote:
Originally Posted by Rule
Ну тогда за ранее спасибо)
Не за что пока
Сегодня одну руссификацию я скинул:
http://www.vbsupport.ru/forum/showth...6172#post26172
если надо - качай
Или тебе опять в раре ее запаковать?
 


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 09:33 AM.


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