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

   Toggle Content User Info

Welcome Anonymous

User Name

Latest: Honore1
New Today: 0
New Yesterday: 0
Overall: 132

People Online:
Members: 0
Visitors: 62
Total: 62
Who Is Where:
01: Calendar
02: Calendar
03: Calendar
04: Calendar
05: Calendar
06: Home
07: Calendar
08: Calendar
09: Calendar
10: Calendar
11: Calendar
12: Calendar
13: Calendar
14: Calendar
15: Calendar
16: Calendar
17: Calendar
18: Calendar
19: Calendar
20: Calendar
21: Calendar
22: Calendar
23: Calendar
24: Calendar
25: Calendar
26: Calendar
27: Calendar
28: Calendar
29: Calendar
30: Calendar
31: Calendar
32: Calendar
33: Calendar
34: Calendar
35: Calendar
36: Calendar
37: Calendar
38: Calendar
39: Calendar
40: Calendar
41: Calendar
42: Calendar
43: Content
44: Calendar
45: Calendar
46: News
47: Calendar
48: Calendar
49: Calendar
50: Calendar
51: Calendar
52: Calendar
53: Calendar
54: Calendar
55: Calendar
56: Calendar
57: Calendar
58: Calendar
59: Calendar
60: Calendar
61: Calendar
62: Downloads

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
Fri Apr 29, 2005 11:10 am
Mon Aug 29, 2011 11: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 5/5: Very popular
Downloads 294
Page views 17408

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