Home Private Messages Search
   Toggle Content Content Menu

 Clenched Fist Hall of Honor
 Guild Policy
 Time Converter

   Toggle Content CPG Main Menu
 Home Guild Forums News Search Projects Community Members options Web
 Links

 Calendar

   Toggle Content User Info

Welcome Anonymous

Nickname
Password
Security CodeSecurity Code
Type Code

Membership:
Latest: nutria
New Today: 0
New Yesterday: 0
Overall: 125

People Online:
Members: 0
Visitors: 12
Total: 12
Who Is Where:
 Visitors:
01: Picture Gallery
02: Calendar
03: Home
04: News
05: News Archive
06: Home
07: Downloads
08: Links
09: Picture Gallery
10: Calendar
11: Community Forums
12: Home

Staff Online:

No staff members are online!

 

Downloads > > SoE Update Notes Block

SoE Update Notes Block
Main | Details | Download Now | History | Statistics

Add your mirror to this download

Category Dragonfly™ CMS > > Blocks
Submitted by Tessil
Author's Name
Dark Grue
Version 2.0
Compatibility Dragonfly 9.x
Published
Fri Apr 29, 2005 9:10 am
Updated
Mon Aug 29, 2011 9:50 pm

Block to display EverQuest II and Vanguard Update Notes from the Sony website. Intended as a center block or module.

The included blocks will retrieve the Everquest II Update Notes from http://patch.everquest2.com:7010/patch/eq2/motd/en/updates_live.html or the Vanguard Update Notes from http://patch.vanguardsoh.net:7000/patch/vanguard/motd/en/updates_live.html, parse the server status and latest headlines out, and cache them for 1800 seconds (half-hour) in the {prefix}_blocks table.

This block is a good example of a method of retrieving content from an external site and caching it.

Also included are EQ2 and Vanguard modules to display the block data as a module. NOTE: This feature requires that the respective block be installed (but not necessarily marked as active).


Editor's Note:
NOTE1: This module requires outbound HTTP connectivity to the patch.everquest2.com server on TCP port 7010 for EQ2 and patch.vanguardsoh.net on TCP port 7000 for Vanguard. Make sure your server can connect outbound, or the block(s) will be unable to function. Fedora Core users (possibly others) will need to edit the /etc/selinux/targeted/booleans.local file and add "httpd_can_network_connect=1" (without the quotes). Other systems may need similiar changes. Read the httpd_selinux(8) man page for more information on this if your system uses this feature.

NOTE2: Do not use Dreamweaver to edit PHP files, there are known issues with Dreamweaver that can cause file corruption and complicate troubleshooting. Use a plain-text editor (such as Notepad or WordPad), or a programming editor, such as jEdit.

NOTE3: This is a "caching" block, and stores a copy of its output in the "content" field of the "{prefix}_blocks" table, and pulls from there rather than re-run all the queries (until the block needs to be updated). This works perfectly well until the stored block exceeds the TEXT field type it's stored in which has a maximum length of 65,535 (2^16 - 1) characters. This condition would pretty much only exists if $config['breakdown_shownames'] = 1, since the block stays a constant length that's within the limits of the TEXT field. Also, people with very small guilds, can possibly duck under the limit, even with it enabled. To work around this, the Roster Master installer will change the field type of the table from TEXT to MEDIUMTEXT. This should have no impact on the operation of the Dragonfly CMS core, or to database efficiency. However, please note that if you subsequently upgrade the Dragonfly CMS core, there is a good chance that the CMS installer will revert the field type back to TEXT, in which case it would have to be remedied once again by hand (using whatever SQL management interface that you are comfortable with).
View all screenshots

Rating Not rated
Popularity 3/5: Average
Downloads 287
Page views 9023

Download Now
Valid CSS! Valid XHTML 1.0!
The logos and trademarks used on this site are the property of their respective owners.
We are not responsible for content posted by our users, the individual user assumes full responsibilty.
You can syndicate our news using the file news.php (RSS 0.91), or news2.php (RSS 2.0).

Interactive software released under GNU GPL, Code Credits, Privacy Policy