![]() |
Quote:
Quote:
Product: vBulletin Hook Location: useradmin_edit_column1 Title: Submit to StopForumSpam.com Execution Order: 5 Plugin PHP Code: PHP Code:
Added: see https://vborg.vbsupport.ru/showpost....postcount=1826 below |
Quote:
Do I need to manually add the stopforumspam api key into the plugin? |
You could. The Glowhost version already has a place to input the key in the settings so you could try it without any changes.
In case it doesn't work that way, what I did was leave the old product, which also provided a place to add the key, installed but disabled. Never bothered uninstalling it on the grounds of "if it ain't broke don't fix it" but not sure if it's actually required or not. |
Thanks for that djbaxter. I changed the code a bit and added the API key directly.
Works great. |
Quote:
|
Here is the code with my changes. Make sure to add your API Key below.
Code:
if (!is_member_of($user['usergroupid'], 6)) // we dont want to ban our admin account now do we |
Quote:
Good job! Thank you. :) :up: |
Thank you so much!
|
I have installed but not showing that stats on home page.Everything is turned on in the admin part an on the home it just says Spam-O-Matic Statistics an thats it.
|
Is it possible that the Spam-O-Matic Statistics to be visible only by the forum admin?
thanks. --------------------------- I fix the issue. Solution: In the Plugins & Products->Plugin Manager-> Product : GlowHost - Spam-O-Matic there is a plugin called "Stats render" edit this and a the beginning put this php code if (is_member_of($vbulletin->userinfo, 6)) { where number 6 is the Administrator group ID. at the very end add the } this worked for me. |
All times are GMT. The time now is 12:58 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:
|