The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
Hey noypiscripter,
first of all I appreciate all your help and support, but I guess my request is not solvable? Ok, I think I have tried now all the options provided, but still the counter is increasing when posting in those channels. Only to hide it, is not what I was looking for. But maybe my request is not possible at all? Can one deactivate this counter for given channels or only hide it? Best Regards. |
#22
|
||||
|
||||
There's a typo in the CSS selector. Do a copy/paste of this one:
Code:
.page249 .b-userinfo__additional-info-block .b-userinfo__additional-info:nth-child(2) { display: none; } |
#23
|
|||
|
|||
Guten Morgen noypiscripter,
thanks! Now, the counter is hidden. But, it still counts the number of entry the user makes. Im looking for a solution with completely deaktivates counting for seletctet channels. Is there a possibility to do that???? |
#24
|
||||
|
||||
I can't help with the issue, since I would not touch vB5 with a stick, but: There seems to be a huge misunderstanding here. She does not want to hide postcounters. What she's looking for is a possibility to not have posts in certain channels increase the total posts counter of a user.
- User post count: 123 - User posts in nonsense channel xy - User post count: 123 - User posts in seriously important channel yz - User post count: 124 This is nothing that can be achieved with css or template edits. If it's not in the core (as it is in vB4), then this will require some sort of plugin (is that even possible in vB5 by now?) or core file edit. |
Благодарность от: | ||
Schneeflocke |
#25
|
|||
|
|||
|
#26
|
||||
|
||||
I'm aware the OP wanted to deactivate the post counts in some forums/threads but that's not possible without editing core php files. That's why I suggested an easier and more maintainable workaround.
If the OP explicitly mentioned right away that they don't want to increase the post count when users post to selected forums, then I wouldn't have suggested the CSS solution. |
#27
|
||||
|
||||
You know, if you don't know the right terminology plus english obviously not being your mother language its often not that simple to find the right words. I'm pretty sure she thougt that she did mention exactly that. Perhaps I understood her better since she's obviously German, which sometimes shows in one's english (as I'm sure it does in mine).
Anyway, what you offered is not a workaround - it's a perfect solution, just not for the problem at hand. For that, its not even a workaround, since it does not do what was (really) requested. But as I said: not your fault, not anyone's fault at all - just a misunderstanding. |
#28
|
|||
|
|||
Hey,
Cellarius is completely right, first I am a non-native speaker (my english is really bad) and second not a programming expert (3 weeks of vbulletin usage). So, I definetly will miss the correct terms from time to time or every time. So now, that this misunderstanding seems to be resolved, I still have the problem which is not solved yet. I really appreciate the help offered by noypiscripter, but as Cellarius pointed out it was not what I am looking for. The hiding of the counter is like a first step to my problem, but still not fully deactivated as I would like. Best Reagrds. |
#29
|
|||
|
|||
Disabeling this feature without editing the core files is indeed not possible, but you might be able to achieve this using a (not so pretty) workaround. You can implement a front-end hook in the createcontent.php that triggers as soon as anyone posts a post and pass along the post data as a parameter. Using the ancestorId's array in the post data you can determine from what channel the posts originated. Using an if conditional you can then catch if the posts was posted in an unrelevant subforum, and if so subtract 1 from the users post count, this way when the post will be added to the postcount, the postcount will remain as it was before.
EDIT: The postcount is found in the user table in the column posts |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|