Simple Machines Community Forum

Customizing SMF => Tips and Tricks => Thema gestartet von: Lum-chan in November 19, 2004, 08:22:51 NACHMITTAGS

Titel: [TIP/TRICK] Remove Moderators: and Topic: in tree-view and/or Inline-view
Beitrag von: Lum-chan in November 19, 2004, 08:22:51 NACHMITTAGS
Want to get rid of the (Moderators: and/or (Topic: addons in the treeview (foldervier and/or Inline view)?

In index.template.php find and remove the code below to remove the (Moderators: part:



// Show something after the link...?
if (isset($tree['extra_after']))
echo $tree['extra_after'];


In index.template.php find and remove the code below to remove the (Topic: part:


// Show something before the link?
if (isset($tree['extra_before']))
echo $tree['extra_before'];


Titel: Re: (RC2) Remove Moderators: and Topic: in tree-view and/or Inline-view
Beitrag von: admactanium in November 19, 2004, 08:52:00 NACHMITTAGS
ot: but how do you switch between tree and inline view?
Titel: Re: (RC2) Remove Moderators: and Topic: in tree-view and/or Inline-view
Beitrag von: Lum-chan in November 19, 2004, 09:17:13 NACHMITTAGS
That's how the board administrator likes to see it:

Admin -> Current Theme Settings ->  Enable inline links (is a checkbox)

Titel: Re: (RC2) Remove Moderators: and Topic: in tree-view and/or Inline-view
Beitrag von: Tobias Eigen in November 25, 2004, 12:16:45 NACHMITTAGS
Hiya,

I'm interested in seeing this tree/inline view option - is it testable on the community forum someplace?

cheers,

tobias
Titel: Re: (RC2) Remove Moderators: and Topic: in tree-view and/or Inline-view
Beitrag von: Lum-chan in Juli 13, 2008, 03:53:15 NACHMITTAGS
This works still just fine in SMF 1.1.5
Titel: Re: [TIP/TRICK] Remove Moderators: and Topic: in tree-view and/or Inline-view
Beitrag von: M@nNiak in August 13, 2008, 04:32:43 VORMITTAG
very , very usefull

tx  ;)