![]() |
Me too, this hack is great.
|
Ah-hah this will do me nicely :-)
Im installing now :) |
i?m getting a blank page in admincp too... vb 2.2.9
the rest works fine, thank you :) |
Ok, how to hide the quick reply box when a user is reply-banned:
In showthread.php find: Code:
if (($bbuserinfo['userid']!=$thread['postuserid']) and (!$getperms['canviewothers'] or !$getperms['canreplyothers'])) { Code:
$threadban=$DB_site->query_first("SELECT COUNT(DISTINCT banid) AS activeban Code:
} else { Code:
} elseif ($threadban[activeban]!=0) { |
So, use this code instead of what is in post #16 above? What about the editpost? ;)
|
This merely hides the quick reply box, smart users could still reply if you do not use the code in post 16.
|
any idea about the blank admin page meanwhile?
|
Installed the hack but now getting serious problem. The following code added in showthread.php:
PHP Code:
PHP Code:
This is the error: PHP Code:
Any suggestions would be helpful. I did have a problem running the SQL Query. It was generating an error so I ran the query without line breaks and it ran successfully. :disappointed: |
No experts out there that might be able to explain why
PHP Code:
PHP Code:
I've checked the structure of the tables and they are all ok. Help! Please, anyone! |
Problem fixed. I don't have avatars enabled on my forums and the sql code you wrote assumes that everyone has avatars enabled. No one else has reported this problem because I assume they all have avatars enabled.
If anyone needs the solution make a request on here. |
All times are GMT. The time now is 06:14 AM. |
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:
|