PDA

View Full Version : Administrative and Maintenance Tools - Nexia's Show Forum Description in Manager


vbenhancer
03-02-2012, 11:00 PM
Really simple file edit that let you see the forum description in the Forum Manager... when you have numerous forums, it may be helpful...

... simple line to replace in admincp/forum.php

same edit in vB 3.7.x thru 4.x... until 5.0 i presume!

ultimategeek
03-03-2012, 05:49 PM
Thanks

Alan_SP
04-01-2012, 12:03 AM
When you mentioning this, I also changed a bit my forum.php file, to add forumid number. It's useful in some cases.

Anyway, find this code:

$cell[] = "<a name=\"forum$forum[forumid]\">&nbsp;</a> $expandtext<b>" . construct_depth_mark($forum['depth'],'- - ') . "<a href=\"forum.php?" . $vbulletin->session->vars['sessionurl'] . "do=edit&amp;f=$forum[forumid]\">$forum[title]</a>" . iif(!empty($forum['password']),'*') . " " . iif($forum['link'], "(<a href=\"" . htmlspecialchars_uni($forum['link']) . "\">" . $vbphrase['link'] . "</a>)") . "</b>";

And replace it with this:

$cell[] = "<a name=\"forum$forum[forumid]\">&nbsp;</a> $expandtext<b>" . construct_depth_mark($forum['depth'],'- - ') . "<a href=\"forum.php?" . $vbulletin->session->vars['sessionurl'] . "do=edit&amp;f=$forum[forumid]\">$forum[title]</a> - forumID: $forum[forumid]" . iif(!empty($forum['password']),'*') . " " . iif($forum['link'], "(<a href=\"" . htmlspecialchars_uni($forum['link']) . "\">" . $vbphrase['link'] . "</a>)") . "</b>";

I just added this: - forumID: $forum[forumid]

Blue part is text you see, red part is forumid (number). You also could place it on different places, inside link, before name, where you like it.

ptceuro
04-04-2012, 12:31 AM
I like it.