Quick Moderation Hack for v3articles / vBa CMPS
This modification is in the archives.
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 |