SorentoUltimate
Customer
<vb:if condition="$user['ph_is_mod']">
<div class="tr">
<div class="td" style="vertical-align: top;<vb:if condition="$vboptions[dbtech_ph_bg_color]"> background-color: {vb:raw vboptions.dbtech_ph_bg_color};</vb:if>">
{vb:rawphrase dbtech_ph_moderates}:
</div>
<div class="td" style="vertical-align: top; width: 10px;<vb:if condition="$vboptions[dbtech_ph_bg_color]"> background-color: {vb:raw vboptions.dbtech_ph_bg_color};</vb:if>">
</div>
<div class="td" style="vertical-align: top; width: 100%;<vb:if condition="$vboptions[dbtech_ph_bg_color]"> background-color: {vb:raw vboptions.dbtech_ph_bg_color};</vb:if>">
{vb:raw user.mod_forum_names}
</div>
</div>
</vb:if>
$user['mod_forum_names'] .= "[url=" . $vbulletin->options['bburl'] . "/forumdisplay.php?forumid=" . $dbt_mod_data['forumid'] . "]" . $dbt_mod_data['title'] . "[/url]\n";
$user['mod_forum_names'] .= "[url=" . $vbulletin->options['bburl'] . "/forumdisplay.php?forumid=" . $dbt_mod_data['forumid'] . "]" . $dbt_mod_data['title'] . "[/url] ";
$user['mod_forum_names'] .= "[url=" . $vbulletin->options['bburl'] . "/forumdisplay.php?forumid=" . $dbt_mod_data['forumid'] . "]" . $dbt_mod_data['title'] . "[/url]\n";
$user['mod_forum_names'] = $bbcode_parser->do_parse($user['mod_forum_names'], $do_html = true, $do_smilies = true, $do_bbcode = true, $do_imgcode = true, $do_nl2br = true, $cachable = false);
$user['mod_forum_names'] .= "<a href=\"" . $vbulletin->options['bburl'] . "/forumdisplay.php?forumid=" . $dbt_mod_data['forumid'] . "\">" . $dbt_mod_data['title'] . "</a><br />";
$user['mod_forum_names'] = $bbcode_parser->do_parse($user['mod_forum_names'], $do_html = true, $do_smilies = true, $do_bbcode = true, $do_imgcode = true, $do_nl2br = true, $cachable = false);
if ($vbulletin->db->num_rows($dbt_mod_query) > 0)
{
$user['ph_is_mod'] = true;
/*=======================================================================*\
|| # Change By SorentoUltimate # ||
|| # Start Additional Code # ||
\*=======================================================================*/
$dbt_mod_query_rows_num = $vbulletin->db->num_rows($dbt_mod_query);
$dbt_mod_query_row_num = 0;
/*=======================================================================*\
|| # Change By SorentoUltimate # ||
|| # Finish Additional Code # ||
\*=======================================================================*/
while($dbt_mod_data = $vbulletin->db->fetch_array($dbt_mod_query))
{
/*==============================================================================================================================================================================================*\
|| # Change By SorentoUltimate # ||
|| # Removed Line : $user['mod_forum_names'] .= "[url=" . $vbulletin->options['bburl'] . "/forumdisplay.php?forumid=" . $dbt_mod_data['forumid'] . "]" . $dbt_mod_data['title'] . "[/url]\n"; # ||
\*==============================================================================================================================================================================================*/
/*=======================================================================*\
|| # Change By SorentoUltimate # ||
|| # Start Additional Code # ||
\*=======================================================================*/
$dbt_mod_query_row_num = $dbt_mod_query_row_num + 1;
if ($dbt_mod_query_row_num < $dbt_mod_query_rows_num)
{
$user['mod_forum_names'] .= "[url=" . $vbulletin->options['bburl'] . "/forumdisplay.php?forumid=" . $dbt_mod_data['forumid'] . "]" . $dbt_mod_data['title'] . "[/url], ";
}
else
{
$user['mod_forum_names'] .= "[url=" . $vbulletin->options['bburl'] . "/forumdisplay.php?forumid=" . $dbt_mod_data['forumid'] . "]" . $dbt_mod_data['title'] . "[/url]";
}
/*=======================================================================*\
|| # Change By SorentoUltimate # ||
|| # Finish Additional Code # ||
\*=======================================================================*/
$user['mod_forum_names'] = $bbcode_parser->do_parse($user['mod_forum_names'], $do_html = true, $do_smilies = true, $do_bbcode = true, $do_imgcode = true, $do_nl2br = true, $cachable = false);
}
}
<td style="vertical-align: top;<if condition="$vboptions[dbtech_ph_bg_color]"> background-color: $vboptions[dbtech_ph_bg_color];</if>">
$user[mod_forum_names]
</td>
<td width="500px" style="text-align:justify; vertical-align: top;<if condition="$vboptions[dbtech_ph_bg_color]"> background-color: $vboptions[dbtech_ph_bg_color];</if>">
$user[mod_forum_names]
</td>
It looks good for your site
The problem with other sites that I could see is if they have mods who only mod one forum the fixed width will be too wide.
We use essential cookies to make this site work, and optional cookies to enhance your experience.