Jump to content

Download: (SOS30) Forums Moderators in Board Index v1.1.0


Adriano Faria

Recommended Posts

  • 2 weeks later...
  • 1 month later...
Posted

I just downloaded this modification and it looks nice. Just one thing I'd like to see if you can do and fix for the next update.

The following picture:

%7Boption%7D

Can you make the sub-forums be straight under "Forums led by" instead of making it a alignment half-way through the forum description.

  • 3 months later...
Posted

Adriano,
Something has changed maybe?
Now from admin/applications/forums/sources/classes/forums/class_forums.php
The loop
{ $mod_string[] = array( "{$this->settings['base_url']}app=members

					if ($moderator['isg'] == 1)
Posted

Ok, found the way: from admin/applications/forums/sources/classes/forums/class_forums.php
Find:

 if ($moderator['isg'] == 1)

                                        {

                                                $mod_string[] = array( $this->registry->getClass("output")->buildSEOUrl( "app=members&module=list&max_results=30&filter={$moderator['gid']}&sort_order=asc&sort_key=members_display_name&st=0&b=1", "public", "false" ), $moderator['gname'], 0 );

                                        }

                                        else

                                        {

                                                if ( ! $moderator['name'] )

                                                {

                                                        continue;

                                                }

                                                $mod_string[] = array( $this->registry->getClass("output")->buildSEOUrl( "showuser={$moderator['memid']}", "public", $moderator['seoname'], 'showuser' ), $moderator['name'], $moderator['memid'] );

                                        } 

and replace with: { if ( !$this->settings['sos30_moderatorsindex_format'] ) { $mod_string[] = array( "{$this->settings['base_url']}app=members

 if ($moderator['isg'] == 1)

Posted

Good, Adriano. Please, triple check before you take as valid my code. I had several errors before arriving the new valid one (maybe for the brackets). :unsure:

Thank you, btw.

Posted

It's done as a hook: no file or template edit. Will post probably today later.




Were you still going to release it as a hook with no edits? Right now it is working but it won't display group colors even after recaching both the skin and the moderators.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...