vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Nexia's Show Forum Description in Manager (https://vborg.vbsupport.ru/showthread.php?t=279488)

vbenhancer 03-02-2012 10:00 PM

Nexia's Show Forum Description in Manager
 
1 Attachment(s)
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 04:49 PM

Thanks

Alan_SP 03-31-2012 11:03 PM

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:

PHP 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:

PHP 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> - 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-03-2012 11:31 PM

I like it.


All times are GMT. The time now is 11:10 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01667 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete