Category: Vanguard Tools & UtilitiesSimple Roster |
Interface Information |
|
Name: |
Simple Roster |
Author: |
|
Date: |
06-07-2007 09:12 AM |
Size: |
3.31 Kb |
Version: |
2.1 |
Rate Addon: |
|
Always wanted a live feed Roster for your site? Thought it was to complicated to code? Now you can have use this Simple Vanguard Guild roster to add a little flair to your guilds website!
It requires no php coding knoweldge! You dont even need to know html or css, it will help if you want to modify it but its not needed.
Demo:
http://www.rkdesigns.org/saroster/roster.html
Requirments:
Your web server has to have:
PHP 4+
And in the INI it has to be set to allow for FOPEN and file reading
Instructions:
Download the archive which contains four files
1- roster.html
2-roster.tpl
3-light.css
4-dark.css
Open up roster.html in Notepad and set your guild id at the top.
Also set what style you want, light or dark
Then if needed change the Order of Guild ranks in the list from top to bottom.
Once your settings are in place, save and upload to your server
Then point your browser to it.
Advanced Configuration:
The tpl or template file houses all the HTML
I break it up in blocks sorounded by Pipe and two characters
So section AA| <html code here /> |AA
Dont delete these markers
Everything in them is fair game though.
The Variables are located between brackets {} you cant rename the variables but you can move them anywhere.
Enjoy
Please note the roster works on a feed from vanguardplayers.com, if that site has problems your roster will have issues
|
File Statistics |
User Rating: |
|
Downloads: |
443 |
Views: |
2646 |
Favorites: |
0 |
Uploaded By: |
|
Last Modified: |
06-07-2007 09:14 AM by cristo |
|
| |
|
|
|
12-27-2007, 12:28 AM
|
|
Member
Forum posts: 68
File comments: 13
Uploads: 6
|
I have never user cURL before. If you want to recode it to open the stream that way be my guest. Im not sure how to do that with Curl
|
|
|
11-28-2007, 11:27 PM
|
|
Junior Member
Forum posts: 0
File comments: 1
Uploads: 0
|
Would it be possible to recode this using cURL instead of fopen? Many hosts don't allow fopen as an option these days.
Example
To achieve the effect of this:
<?php include("http://example.com/includes/example_include.html?var=example"); ?>
You must instead use this:
<?php
$var = "example";
include($_SERVER['DOCUMENT_ROOT']."/includes/example_include.html");
?>
Otherwise, I think this is a very cool parser for the roster (if only SOE would keep it updated with ranks)
Last edited by Darkschneidr : 11-28-2007 at 11:29 PM.
|
|
|
All times are GMT -5. The time now is 01:25 AM.