Back to vBulletin 3.0 Add-Ons

Quick Moderation Hack for v3articles / vBa CMPS
Mod Version: 1.00, by maximux1

This modification is in the archives.
vB Version: 3.0.1 Rating: (1 vote - 5.00 average) Installs: 11
Released: 18 Jun 2004 Last Update: Never Downloads: 2
Not Supported  

Here's a dirty little hack to the "quick moderation" module in vBa CMPS to let you know how many
v3 Articles you have waiting to be moderated.

1. edit moderate.php

Open modules/moderate.php

find this
######################################################
$show['posts'] = true;
######################################################

after that add
######################################################
$articles = $DB_site->query_first("SELECT COUNT(*) AS count FROM " . TABLE_PREFIX . "article WHERE open = '0'");
$articles['count'] = number_format($articles['count']);
$show['articles'] = true;
######################################################

Close and save.

2. edit template

Open the "adv_portal_moderation" template

find this
######################################################
<div><phrase 1="$posts[count]" 2="$vboptions[bburl]/$modcpdir/moderate.php?do=posts#postlist">$vbphrase[x_posts]</phrase></div>
</if>
######################################################

after that add
######################################################
<!-- ARTICLE MODERATION -->

<if condition="$show['articles']">
<div><a href=$vboptions[bburl]/$admincpdir/article.php?do=modarticles>Articles</a> ($articles[count])</div>
</if>

<!-- END ARTICLE MODERATION -->
######################################################

That's it folks. Now your vBa CMPS admins can see if you have any v3Articles
waiting for moderation, and links directly to them if ya do.

Happy to help answer any questions or assume the position for any critics

Max
Marijuana.Com

Download

This modification is archived and cannot be downloaded.

Screenshots

 

Similar Mods

Quick Moderation: Attachments & Posts vBulletin 3.5 Template Modifications
v3Articles - vBa CMPS module vBulletin 3.0 Full Releases
[v3Articles & vbAdvanced CMPS] Featured Article Front Page Module (Basic) vBulletin 3.0 Full Releases

vblts.ru supports vBulletin®, 2022-2024