![]() |
Yup, it works for 2.2.1 alright. Thanks! My mods will be pleased... :)
|
:D
|
This hack is essential (and should be standard in VB),
However it's not hard to apply BUT in 2.2.2 the ForumDisplay code has changed and the hack instructions don't fit. Can someone update it for 2.2.2 please? |
Find:
Code:
if ((!$forumuser['invisible'] or $bbuserinfo['usergroupid'] == 6) and $bbuserinfo['userid'] != $forumuser['userid']) { Code:
if ((!$forumuser['invisible'] or $bbuserinfo['usergroupid'] == 6 or $bbuserinfo['usergroupid']==7 or bbuserinfo['usergroupid']==5) and $bbuserinfo['userid'] != $forumuser['userid']) { I myself had some problems with the forumdisplay.php file from 2.2.2 not showing older sticky threads and just went back to using the forumdisplay.php file from 2.2.1. |
There was a fix for that check around on here. Also there is an optimized version of the showthread 2.2.2 on here also. You need the optimized showthread then apply the stickey fix.
|
When I make that change, I get a parse error on line 688.
|
Here is the code I had in mine, since my regular mod group has supermod abilities and I have no supermods persay:
Code:
if ((!$forumuser['invisible'] or $bbuserinfo['usergroupid'] == 6 or $bbuserinfo['usergroupid']==7) and $bbuserinfo['userid'] != $forumuser['userid']) { |
When I make that change, I get a parse error on line 688 in the forumdisplay.php. Can everybody fix that problem. I have vBB 2.2.2
|
here is the fixed code. I think it should work....
if ((!$forumuser['invisible'] or $bbuserinfo['usergroupid'] == 6 or $bbuserinfo['usergroupid'] == 5 or $bbuserinfo['usergroupid'] == 7) and $bbuserinfo['userid'] != $forumuser['userid']) { |
I am having a very hard time getting this hack to work in v2.2.3b. Has anyone been successful at installing it on this newest version?
I had it running fine on v2.2.1, no problems. I'm pretty sure that I followed all of the instructions but my moderators still aren't seeing those invisible. :confused: :frus: |
All times are GMT. The time now is 08:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|