![]() |
Can anyone confirm this working on 4.1.10 please?
|
Quote:
|
Updated to Version 1.7
Includes FreshPrince's suggestion to delete Homepages of (perm) banned users. Also updated code to work with primary or secondary groups. Also made it easier to pick immune usergroups. |
thanks for the update
|
Quote:
Settings: Enable Block Member Homepages: Yes Minimum Post Count: 10 Don't Allow Member Homepages: Yes Usergroup Override: Check two of private user groups Delete Homepage on Ban: Yes My goal is to only have Home Page links display for two usergroups only, which I checked in the Usergroup Override. Do you have a manual template edit code to only display to usergroups 9 & 10? Your help would be appreciated. |
First- Turn the option to "Don't Allow Member Homepages" to No.
Then in the manual template edit instructions edit the line: Code:
<vb:if condition="$vbulletin->userinfo['posts'] < 10"> Code:
<vb:if condition="is_member_of($bbuserinfo, 9, 10)"> Then, if it works, please "Mark as Installed" in the top post. :) |
I installed this... however I had to go the 'manual template edits' route to set the limit.
You however neglected to mention what manual template edits we need to make to disable homepages for people who have already put one in before the mod was installed. This isn't working by default so if you could share the manual template edit to accomplish that, that would be awesome! |
Disabling homepages for people who have already entered it shouldn't need manual template edits. They are done by code that should work regardless of your style.
|
Installed, and working great!
But now I see a few spammers are dumping links into the biography and other profile fields. Is there a way to turn off the biography, location, interests, occupation, ICQ UIN, Yahoo ID, and other such fields for a particular user group? (I want the Registered users group in my forum to be extremely limited - once I know a user is not a spammer, I promote that user to an Approved user group that has normal forum privileges). Alternatively, is there a way to prevent links or web addresses in those fields? |
Quote:
Quote:
|
Quote:
|
working fine on 4.2.0 PL2
|
Seems to work fine on 4.2.0 PL3 as well.
|
working fine in 4.2.0
|
I installed the mod and its partially working, however for those members who already have homepage links and under 10 posts , they are still showing. How do we get rid of those links?
|
Can I get a link to your forum?
WHere are you seeing their homepage URLs? (the people with < 10?) Do you have a custom style? If so can you see if the homepages are visible on the default style. it will let me know where the issue is. |
Quote:
|
Quote:
|
Had to on mine not sure what version it was then
|
Hmmm... Do you have a custom style? I haven't looked at this mod a year+, it's possible something changed.
|
Just a skin from here when it happened
|
Unfortunately getting it here doesn't mean anything in terms of quality or coding standards.
The way this mod removes the links for existing URLs is to look through the template code for specific values and just removes or replaces it with its own code. Basically if the code it looks for is different than it expects it never finds it and the code can't be removed. Usually even in custom mods the default code tends to be left alone with most changes done by CSS, so the mod works- but not always. The way to debug if this is due to a custom style is to try against the real default style and see if the problem exists there. If it does then it a problem with the mod itself. If it does work on the default style the issue is with the custom template- the mod or the template can likely still be made to work, just means I need to change different code and not the core logic. |
was not a problem was easy to fix at the time
|
Do you have a quick query I can run to remove the home page links from those who have posted them prior to this plugin being installed?
I don't believe this plugin purges any current links prior to it being installed? |
No it does not purge old links but it should block them from being accessible.
ALWAYS HAVE A DATABASE BACKUP BEFORE RUNNING A MANUAL QUERY- This is untested, use at your own risk. I would try- Code:
UPDATE user SET homepage = '' WHERE homepage <> '' AND posts < 10 If you really want to wipe it out for everyone completely, including admins/mods then the query is just- Code:
UPDATE user SET homepage = '' WHERE homepage <> '' Note in all cases those are two single quotes next to each other '' not a single double-quote character. |
Again, kudos for a great mod. Easy to import, easy to modify.
Works great. |
Thanks
|
Does this still work under PHP 5.5? I moved servers recently and I see new members with homepages.
|
thanks...
|
Thanks a huge! Installed :)
|
All times are GMT. The time now is 09:22 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:
|