vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=265574

Cel Question & Answers Forums (QA-Forums)
by cellarius
21 Jun 2011 10:09

4 Attachment(s)
This Minimod has been requested on vbulletin-germany.com.

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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Directly below in the same template, replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.




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)

Methok 21 Jun 2011 10:10

Brilliant, Thank you!

Manoel Júnior 21 Jun 2011 15:25

Please images

cellarius 22 Jun 2011 06:41

What would you expect to see on an image? You see the normal forumbit, just the numbers are different. There's no real visual change involved.

hayaldunya 22 Jun 2011 07:57

Thanks, but please add screen shot

cellarius 22 Jun 2011 08:28

Feel free to read the thread you're answering to.
Quote:

Originally Posted by cellarius (Post 2211195)
What would you expect to see on an image? You see the normal forumbit, just the numbers are different. There's no real visual change involved.

Just look at your forumbit and imagine a lower number of posts listed.

cellarius 22 Jun 2011 08:37

OK, for all those with limited imagination, two Screenshots added. Inactive, and active. Not much to be seen, though...

New version (and addon name)
by cellarius
22 Jun 2011 09:42

New version: 4.1.002
  • new name: Cel Question and Answers Forums
  • added ability to replace phrases "Threads" and "Posts" in forumbit
  • fully phrased: The standard replacements "Questions" and "Answers" can easily be changed and translated

cloferba 25 Jun 2011 15:03

why dont an option to disable those stadistics?

cellarius 25 Jun 2011 22:37

You can use the condition provided in the template changes to remove the statistics for the forums you have selected completely.


All times are GMT. The time now is 13:55.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.