Version: 2.0.4, by CyberRanger
Developer Last Online: Jan 2015
Version: 3.5.4
Rating:
Released: 02-05-2006
Last Update: 08-01-2006
Installs: 249
DB Changes Uses Plugins Template Edits
Additional Files
No support by the author.
What is AboutToday?
AboutToday provides a central place to bring daily items of interest to your forum visitors. It includes two main components: an RSS Reader System and Local Events database System.
Please NOTE: This mod has been modified for vb ver 3.6.4. It should work on vb ver 3.5.4 and 3.6.x.
An RSS Reader system where the admin can enter RSS feeds that will then be displayed on the page. RSS feeds can be set to AUTOMATICALLY create threads or be set so that users can easily create a thread from a feed.. Feeds can be read via fopen or cURL.
The RSS Feeds are fully intergrated with vbAdvanced and could actually be placed anywhere you want!!
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.
The "Add Event" feature is intended to help you if you want for example - Sports: Today in History. With the vb calendar, you cannot have categories and you are restricted with how far back the dates can go.
So with the "Add Event" feature, you could have a category tree like:
Hockey
Professional
College
High School
Football
American Football
The Rest of the World (Soccer)
Baseball
with the normal calendar feature, you cannot have categories. And with "Add Event" you can have any date. So, if you want an event like "Jan 1, 132 B.C. - the first ball was invented", you can do that. But, that isn't possible in the normal calendar. Also, the events in "Add Event" are fully searchable.
Installation
Copy the following files to your server in the forums directory:
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
NOTE - if this is a new install, a Yahoo RSS Feed and CNN Entertainment Feed have been automatically added to give you a feel for how the product looks.
If you plan to use the RSS Feeds:
1. From the admincp, select AboutToday - RSS Feeds. Add an RSS Feed.
2. From the admincp, select Usergroups - Usergroup Manager. Add permissions so the Administrator group can use the product.
3. From your forum directory, bring up the file abouttoday.php. 4. If you want the feeds to AUTOMATICALLY create threads, go to admincp - abouttoday - settings. There you must set the userid of the account to use to create the thread. Then, edit the RSS Feed with the forumid of where the threads for that feed should be created!
If you plan to create your own "today in history" type of database:
1. From the admincp, select AboutToday - Categories. Add a category.
2. From your forum directory, bring up the file abouttoday.php. "Add" your first event to the category you have created!
Version Status
I've tested this product extensively but ... use this totally at your own risk!
Credits
I learned a lot about how to code this and used a lot of the code from what Ron1n did with ecDownloads. What I've learned from his code while helping to support ecDownloads has been invaluable.
I get this error when I try to install on 3.6.0 Beta 1. Please help.
Code:
Database error in vBulletin 3.6.0 Beta 1:
Invalid SQL:
SELECT MAX(`phrasetypeid`) + 1 AS `max` FROM `phrasetype` WHERE `phrasetypeid` < 1000;
MySQL Error : Unknown column 'phrasetypeid' in 'field list'
Error Number : 1054
I get this error when I try to install on 3.6.0 Beta 1. Please help.
Code:
Database error in vBulletin 3.6.0 Beta 1:
Invalid SQL:
SELECT MAX(`phrasetypeid`) + 1 AS `max` FROM `phrasetype` WHERE `phrasetypeid` < 1000;
MySQL Error : Unknown column 'phrasetypeid' in 'field list'
Error Number : 1054
Yep, you will. I haven't made the changes yet for this to work with 3.6.
In the Top i get :
Warning: implode(): Bad arguments. in \global.php(503) : eval()'d code on line 4
I don't know why this product would cause that. It hasn't one any other system. I can't even imagine how the hebrew would make it occur. I understand the language barrier but PM me an admin username and password with your URL so I can at least poke around a little. Beyond that, I don't have any suggestions. The line number above for global.php is this code:
. AboutToday doesn't use that hook so I'm puzzled how it could cause an error there. Can you look in the admincp at your plug-ins to see if any plugins are using that hook?
IF you have iconv available as part of your php install, I think this will do the trick. However, I don't have iconv so I can't test it right now for you.
in the file includes/class_abouttoday.php, on line 410, find this function:
PHP Code:
function cv_input($str) { $out = ""; for ($i = 0; $i<strlen($str);$i++){ $ch= ord($str{$i}); switch($ch){ case 195: $out .= "";break; case 164: $out .= "ae"; break; case 188: $out .= "ue"; break; case 182: $out .= "oe"; break; case 132: $out .= "Ae"; break; case 156: $out .= "Ue"; break; case 150: $out .= "Oe"; break; case 225: $out .= "?";break; default : $out .= chr($ch) ; } } return $out; }
replace with:
PHP Code:
function cv_input($str) { $out = ""; for ($i = 0; $i<strlen($str);$i++){ $ch= ord($str{$i}); switch($ch){ case 195: $out .= "";break; case 164: $out .= "ae"; break; case 188: $out .= "ue"; break; case 182: $out .= "oe"; break; case 132: $out .= "Ae"; break; case 156: $out .= "Ue"; break; case 150: $out .= "Oe"; break; case 225: $out .= "?";break; default : $out .= chr($ch) ; } } $out = iconv("UTF-8","windows-1256", $out); // test to convert to windows-1256 return $out; }
Yep, you will. I haven't made the changes yet for this to work with 3.6. Yep, you will.
Thanks westpointer for letting me know. Please do port it for 3.6 when you get the time. The vB 3.6 rssposter is not working properly and not picking up many feeds.
I don't know why this product would cause that. It hasn't one any other system. I can't even imagine how the hebrew would make it occur. I understand the language barrier but PM me an admin username and password with your URL so I can at least poke around a little. Beyond that, I don't have any suggestions. The line number above for global.php is this code:
. AboutToday doesn't use that hook so I'm puzzled how it could cause an error there. Can you look in the admincp at your plug-ins to see if any plugins are using that hook?
The problem it's not with the language ( i test it with the English language)
SO
I take your advise and disable all my others installed products
the problem it's with : Rules And User Agreement
they can't work together !
maybe you can look at it to do integration
another issue :
because of some of us work with utf-8 and we take the RSS content from site that work with windows-1255 (for example)
so we get a gibberish content from them