WoWRosterDF MotD Block Error

Dragonfly integration forum

WoWRosterDF MotD Block Error

Postby scapegoat » Fri Feb 16, 2007 12:00 am

I have installed to seperate instances of WoWRosterDF 1.7.3.0 so far, and everything has gone smoothly regarding the module and getting my guild data uploaded. YAY!!

The only issue I have is with the included block. when activated, the block does not show on the left side as intended, but I get the following error at the bottom of my DF page:

Code: Select all
includes/functions/display.php

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


Any idea?

To be fair, I haven't really tried to troubleshoot it myself yet, but I thought I'd throw it up here in case anyone had an immediate answer.


Thanks for all the great work folks!

-Scape
scapegoat
WR.net Apprentice
WR.net Apprentice
 
Posts: 63
Joined: Tue Jul 11, 2006 12:31 am

WoWRosterDF MotD Block Error

Postby johnnydement » Fri Feb 16, 2007 12:30 am

Think this is because you have no infor on your MoTD yet, it takes it when you upload your guild info

Saw the message miself, but not seeing anymore and MOTD shows flawlessly
johnnydement
WR.net Apprentice
WR.net Apprentice
 
Posts: 66
Joined: Wed Jul 12, 2006 5:50 pm

WoWRosterDF MotD Block Error

Postby scapegoat » Fri Feb 16, 2007 12:46 am

On the Roster page, isn't the message of the day what appears in the red banner across the screen? Because I can see the message there. Our says something about being sure to sign up for the ZG run on sunday.

Currently, I am the only person who has uploaded any character or guild info, and I am not our guilds GM. Does that person ahve to upload before the data for the block populates?


Thanks for the quick response!
scapegoat
WR.net Apprentice
WR.net Apprentice
 
Posts: 63
Joined: Tue Jul 11, 2006 12:31 am

WoWRosterDF MotD Block Error

Postby johnnydement » Fri Feb 16, 2007 1:08 am

the idea is that red banner you see on the roster, you should be able to see everywhere on your site... if you do, it's working fine, it's just some debug message, you can turn it off on your roster options ;)
johnnydement
WR.net Apprentice
WR.net Apprentice
 
Posts: 66
Joined: Wed Jul 12, 2006 5:50 pm

WoWRosterDF MotD Block Error

Postby scapegoat » Fri Feb 16, 2007 6:23 am

haha. well okay. at least now I know what it is Suppose to look like =).

Does anyone know why it isnt working? Because I would like it to =)
scapegoat
WR.net Apprentice
WR.net Apprentice
 
Posts: 63
Joined: Tue Jul 11, 2006 12:31 am

WoWRosterDF MotD Block Error

Postby DiscoWay » Fri Feb 16, 2007 8:31 am

Yea, the provided block in WoWRosterDF 1.7.3.0 isn't working for me either.
User avatar
DiscoWay
WR.net Apprentice
WR.net Apprentice
 
Posts: 25
Joined: Mon Feb 12, 2007 11:40 pm

WoWRosterDF MotD Block Error

Postby Oobidah » Fri Feb 16, 2007 11:21 am

Same error for me too
Oobidah
WR.net Apprentice
WR.net Apprentice
 
Posts: 10
Joined: Mon Dec 18, 2006 9:43 am

WoWRosterDF MotD Block Error

Postby DiscoWay » Fri Feb 16, 2007 8:53 pm

I was playing around with block-wowrosterdf-motd.php and was able to get it to work by just changing line 20

from

Code: Select all
if (is_active($module_name)) 


to

Code: Select all
if (is_active('WoWRosterDF')) 


Then i noticed it was only text without the pretty banner, so now im trying to figure out how to get it to use the pretty banner like in WoWRoster.

Im still learning all this stuff, guess ya have to start somewhere.
User avatar
DiscoWay
WR.net Apprentice
WR.net Apprentice
 
Posts: 25
Joined: Mon Feb 12, 2007 11:40 pm

Re: WoWRosterDF MotD Block Error

Postby robojerk » Fri Feb 16, 2007 10:18 pm

DiscoWay wrote:I was playing around with block-wowrosterdf-motd.php and was able to get it to work by just changing line 20

from

Code: Select all
if (is_active($module_name)) 


to

Code: Select all
if (is_active('WoWRosterDF')) 


Then i noticed it was only text without the pretty banner, so now im trying to figure out how to get it to use the pretty banner like in WoWRoster.

Im still learning all this stuff, guess ya have to start somewhere.


The problem with that is that the block and module should work even if you rename the module from from 'WoWRosterDF' to something else.. That's why the variable is in there..
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

WoWRosterDF MotD Block Error

Postby scapegoat » Sat Feb 17, 2007 12:43 am

For what its worth, I looked over the block code and didn't see any obvious problems.

I tried Disco's suggestion, and that does seem to make the block work, but to Robo's point, it basically bypasses some of the indended coding.

I thought maybe it had to do with the blocking being non-lowercase type in its name, while the module is WoWRosterDF.

If I change the block title to be block-WoWRosterDF-MotD (or whatever it is) instead of being wowrosterdf-MotD (orwhatever) I get an entirely differnt error, stating that my block has a problem.

weird.

I still will like to see an appropriate fix for this; but in the meantime Disco's sugguestion is working for me =)
scapegoat
WR.net Apprentice
WR.net Apprentice
 
Posts: 63
Joined: Tue Jul 11, 2006 12:31 am

WoWRosterDF MotD Block Error

Postby zanix » Sat Feb 17, 2007 3:22 am

scapegoat is correct, the name of the block is supposed to represent the name of the WoWRosterDF module
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

WoWRosterDF MotD Block Error

Postby Harshmage » Sun Mar 04, 2007 5:04 am

Okay then, I'm the odd man out. I don't get the error, but I don't get the block either. All my other blocks are there, save the MotD block. Weirdness, but then, this is the first DF system I've played with.

http://wow.harshmage.com/ in case anyone is interested.

Edit: In case you are, yes, you'll see the MotD. No, that's not the block that comes with RosterDF. That's a regular html block with the MotD generated image:
Code: Select all
index.php?name=WoWRosterDF&file=motd

This way, you get the image of the MotD, even if it is a little ugly.
Last edited by Harshmage on Sun Mar 04, 2007 5:10 am, edited 1 time in total.
Ho, Haha, Guard, Turn, Parry, Dodge, Spin, Ha, Thrust!
Image
User avatar
Harshmage
WR.net Apprentice
WR.net Apprentice
 
Posts: 43
Joined: Fri Sep 08, 2006 10:11 am
Location: Arizona, USA


Return to Dragonfly

Who is online

Users browsing this forum: No registered users and 1 guest

cron