[Resolved] To get rid of MOTD on the Realm page

Theme, template, layout, or image issues

[Resolved] To get rid of MOTD on the Realm page

Postby Nylream » Fri Dec 19, 2008 4:41 pm

Hello everybody

I have in purpose to use the Roster for more than one guild on my server. But The MOTD, for some off themes is for members eyes only.

Removing the MOTD in the Memberlist addon makes it disappear from the memberlist off the guild.
But we cat still see MOTDs in the list off all the Guild... :scratch:

Realm / Guilds / here it is :
http://renaissance-lce.net/roster/index ... uild&a=g:4

I guess it should have been in:
RosterCP
Function Panel: Configure Main Roster
Config Menu : Display Config
MOTD Display Mode : Text or Image

I didn't find any option to makes it disappear :bash: maybe in the coding, if someone knows what to change...

Thanks for any help (and sorry for my English)
Last edited by Nylream on Fri Dec 19, 2008 5:13 pm, edited 1 time in total.
Nylream
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Sun Dec 17, 2006 3:56 pm

To get rid of MOTD on the Realm page with all guilds listed

Postby PleegWat » Fri Dec 19, 2008 4:49 pm

addons/memberslist/realm/guild.php

Find:

Code: Select all
$FIELD['guild_motd'] = array (
    
'lang_field' => 'motd',
    
'order'      => array( '`guild`.`guild_motd` ASC' ),
    
'order_d'    => array( '`guild`.`guild_motd` DESC' ),
    
'value'      => 'note_value',
    
'display'    => 2,
); 


And change the '2' under 'display' to a 0 to make the column invisible.
You could also delete the column definition completely, but that means you can't easily turn it on again.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

To get rid of MOTD on the Realm page with all guilds listed

Postby Nylream » Fri Dec 19, 2008 5:12 pm

Thank you very much.

Resolved :)
Nylream
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Sun Dec 17, 2006 3:56 pm


Return to Appearance

Who is online

Users browsing this forum: No registered users and 0 guests

cron