My advice is to just re-extract the original roster_footer.php from the zip package.
I see that you are trying to put the proper credits back so I'll help you out
We, and I'm sure blizz, appreciates this.
I would suggest finding some quick tutorials for php on the net, it will give you a good start and will give you some good fundamentals.
Upload data with UniUploader
The url you use to upload data to Roster is
- Code: Select all
http://www.derangedtaco.com/groster/update.php
Not
- Code: Select all
http://www.derangedtaco.com/groster/admin
Table width problemSomeone has already figured that out
http://www.wowroster.net/Forums/viewtopic/t=1819.htmland
http://wowroster.net/Forums/viewtopic/p=5748.html#5748
Announcements problemI believe this is due to a localization error with the Announcements addon overriding a value in Roster's localization
Look at that addon's localization.php file and change that word
If it changes on the main page, then you know it is that addon's fault
If so, I would report this as a bug in that forum
The Roster Menu (top block)The code is located at
lib/menu.phpMenu management will get better in version 1.8, it will be more customizable
When editing this, all I ask is to leave the button/link to the credits page
No Character DetailsBest way to achieve this is to clear (empty) all Roster tables
except the following
This will clear all character specific data
- roster_config
- roster_guild
- roster_memberlog
- roster_members
Then open
update.php in a text editor
Find this section
- Code: Select all
if( is_array($uploadData['myProfile']) )
{
$updateMessages = processMyProfile($uploadData['myProfile']);
}
if( is_array($uploadData['PvpLogData']) )
{
$updatePvPMessages = processPvP($uploadData['PvpLogData']);
}
And change to this
- Code: Select all
This edit will disable uploading of character data from CharacterProfiler.lua and PvPLog.lua
Then go into Roster Config and disable PvPLog uploading
It's in the "Main Settings" labeled "Allow upload of PvPLog Data"
This edit removes the pvplog.lua upload box on update.php
Notes in tooltipsOpen
memberslist.phpFind this
- Code: Select all
function name_value ( $row )
This function controls the name column, which has to tooltip
Change this line
- Code: Select all
$tooltip .= ($row['nisnull'] ? '' : "\n".$wordings[$roster_conf['roster_lang']]['note'].': '.$row['note']);
To this
- Code: Select all
Next, go to Roster Config under "Display Config" labeled "Note Display Mode"
Change this to text
This may work for grabbing the motdEdit and save anywhere on your web server
- Code: Select all
<?php
$guild_name = 'GUILDNAME';
$mysql_db = 'roster';
$mysql_server = 'localhost';
$mysql_user = 'dbuser';
$mysql_pass = 'dbpass';
$link = mysql_connect($mysql_server,$mysql_user,$mysql_pass);
if (!$link)
{
die('Could not connect: ' . mysql_error());
}
$db_selected = mysql_select_db($mysql_db,$link);
if (!$db_selected)
{
die ('Could not select database: ' . mysql_error());
}
$query = sprintf("SELECT `guild_motd` FROM `roster_guild` WHERE `guild_name` = '%s';",
mysql_real_escape_string($guild_name));
$result = mysql_query($query);
if (!$result)
{
$message = 'Invalid query: ' . mysql_error() . "\n";
$message .= 'Whole query: ' . $query;
die($message);
}
$row = mysql_fetch_assoc($result);
echo $row['guild_motd'];
mysql_free_result($result);
?>