blockwowroster-motd problem

Dragonfly integration forum

blockwowroster-motd problem

Postby Razac » Thu Mar 22, 2007 8:44 pm

I activate the Roster Block and i get this

includes/functions/display.php

CMS Warning line 184: block-wowrosterdf-motd.php
This block does not have any content.

but the MOTD is set and show in the roster pages.
Razac
WR.net Journeyman
WR.net Journeyman
 
Posts: 145
Joined: Thu Jul 27, 2006 6:00 pm

Re: blockwowroster-motd problem

Postby Karavirs » Thu Mar 22, 2007 10:51 pm

I had never tried this... and sure enough it didn't work. There are two problems.

1. The name of the block file need to be block-WoWRosterDF-motd.php (case sensitive)

2. That of course then gives a problem inside the file. Easy fix, change the $result line (22ish) to
Code: Select all
$result = $db->sql_query('SELECT guild_motd FROM '.$prefix.'_wowrosterdf_roster_guild');
Image

Image
User avatar
Karavirs
WR.net Apprentice
WR.net Apprentice
 
Posts: 49
Joined: Mon Feb 26, 2007 6:33 pm
Location: Chicago

blockwowroster-motd problem

Postby Razac » Fri Mar 23, 2007 9:42 pm

Cheers
Razac
WR.net Journeyman
WR.net Journeyman
 
Posts: 145
Joined: Thu Jul 27, 2006 6:00 pm


Return to Dragonfly

Who is online

Users browsing this forum: No registered users and 1 guest

cron