Back to vBulletin 4.x Add-ons

Cel Question & Answers Forums (QA-Forums)
Mod Version: 4.1.002, by cellarius

vB Version: 4.1.4 Rating: (1 vote - 5.00 average) Installs: 10
Released: 21 Jun 2011 Last Update: 22 Jun 2011 Downloads: 46
Not Supported Uses Plugins Template Edits Translations  

This Minimod has been requested on http://www.vbulletin-germany.com/forum/showthread.php/55013-Neues-Thema-nicht-als-Beitrag-z%C3%A4hlen.

What does it do?
This Addon allows you to have Question and Answer Forums. It changes the statistics that are shown in forumbit.
Normally, vBulletin shows the total number of posts in a forum, i.e. evey post in a forum is counted. If you have a question/answers forum, this addon changes the phrase "Posts" to "Replies" and the phrase "Threads" to "Questions". It also subtracts the first posts from the total of posts inside a forum, so the statistics show only replies.
See screenshots:
There are the forumbits of two forums in the screenshots. In the first screenshot, the addon is activated for the upper one, in the second screenshot it is deactivated.


Installation


Install the product file in your Product Manager. Done.

Template edits

If you want to replace the phrases "Threads" and "Posts", you need to do the following template edits (if you're using Andreas' Template Modification System, you can skip this):

In template forumhome_forumbit_level2_post search for
Code:
{vb:rawphrase threads}
replace with
Code:
<vb:if condition="$forum[cel_replycount]">{vb:rawphrase cel_replycount_replacethreads}<vb:else />{vb:rawphrase threads}</vb:if>
Directly below in the same template, replace
Code:
{vb:rawphrase posts}
with
Code:
<vb:if condition="$forum[cel_replycount]">{vb:rawphrase cel_replycount_replaceposts}<vb:else />{vb:rawphrase posts}</vb:if>


Configuration

Under AdminCP -> Settings -> Options -> Cel Question & Answer Forums you can
  • set the addon to work for all forums, then exclude single forums by forumid
  • set the addon to work on single forums only defined by forumid
  • set whether you want to replace the phrases "Threads" and "Posts" in the relevant forums
In the Phrase Manager, you can edit the phrases "cel_replycount_replaceposts" and "cel_replycount_replacethreads" to your liking or to translate them.

Version history:
4.1.002: Added functionality to replace phrases
4.1.001: Release

### Don't forget to click install! ###
(No support if you don't)

Download

File Type: %1$s cel_qa-4-1-002.zip (2.3 KB, 44 downloads)

Screenshots

Click image for larger version
Name:	active.PNG
Views:	404
Size:	18.9 KB
ID:	130294   Click image for larger version
Name:	inactive.PNG
Views:	329
Size:	18.7 KB
ID:	130295   Click image for larger version
Name:	admincp.PNG
Views:	234
Size:	66.8 KB
ID:	130296  


vblts.ru supports vBulletin®, 2022-2024