The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
AboutToday - Bring RSS Feeds and Daily Events to Your Site! Details »» | |||||||||||||||||||||||||||
AboutToday - Bring RSS Feeds and Daily Events to Your Site!
Developer Last Online: Jan 2015
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.
Installation Copy the following files to your server in the forums directory: abouttoday.phpFrom 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. Sites Using this Product Visit www.armchairgeneral.com to see this product in action. Click Install! Please Click Install if you are using this product. Thanks! Show Your Support
|
Comments |
#192
|
|||
|
|||
j1mmy, you did it correct the second time. All files are supposed to be uploaded into their proper folders in your FTP. The only file which is uploaded to your forum root directory is 'abouttoday.php', and the rest go into the directories as westpointer mentioned. The easiest way to do this is by dragging your folders from your AboutToday unzipped files into your forum root, making sure they copy over (which I believe you did in your second attempt).
|
#193
|
|||
|
|||
Just to let people know, this great hack is working with vBulletin 3.6.0 Beta 1.
|
#194
|
|||
|
|||
Alright thanks ubblite for the comfirmation. By the way, im having trouble with the RSS feeds ans getting it started. Im trying to use.
For example, i want to use the feeds shown here:http://www.2rss.com/rss_35132.html ...onto my site, but how would i implement it into AboutToday? Ive tried coping and pasting it but i get an errors saying something about the feed's script. Im not sure if im doing the write thing. |
#195
|
||||
|
||||
Quote:
|
#196
|
||||
|
||||
Quote:
|
#197
|
|||
|
|||
Quote:
|
#198
|
||||
|
||||
Great mod, running fine. I would recommend an easier way for setting permissions...I've got like 30 usergroups....lots of clicking for enabling.
*clicks install* |
#199
|
||||
|
||||
Quote:
Maybe I should change the question for viewing RSS Feeds to more of something like "Deny Viewing RSS Feeds" so that a "No" would let the group view the feeds. Of course, that would mean changing the settings for those who have already installed the mod. What do you think? |
#200
|
|||
|
|||
Quote:
Gäste (must be) G?ste fühlen (must be) f?hlen and so on... |
#201
|
|||
|
|||
Fixed my problem.
Here's how to get this working with cURL (at least the direct feeds portion): In abouttoday.php find: Code:
$xml_parser = xml_parser_create(); xml_set_element_handler($xml_parser, "startElement", "endElement"); xml_set_character_data_handler($xml_parser, "characterData"); if (!($fp = @fopen($file, "r"))) { $rssopened = 'no'; } while ($data = @fread($fp, 4096)) { if (!xml_parse($xml_parser, $data, feof($fp))) { die(sprintf("XML error: %s at line %d", xml_error_string(xml_get_error_code($xml_parser)), xml_get_current_line_number($xml_parser))); } } xml_parser_free($xml_parser); and replace it with: Code:
// begin cURL sub $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $file); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); $store = curl_exec ($ch); $data = curl_exec ($ch); curl_close ($ch); $xml_parser = xml_parser_create(); xml_set_element_handler($xml_parser, "startElement", "endElement"); xml_set_character_data_handler($xml_parser, "characterData"); // ignore EOF while ($data = @fread($fp, 4096)) { if (!xml_parse($xml_parser, $data, sizeof($data))) { die(sprintf("XML error: %s at line %d", xml_error_string(xml_get_error_code($xml_parser)), xml_get_current_line_number($xml_parser))); } // } xml_parser_free($xml_parser); // end cURL sub |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|