Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: ViewProfile Intercept Oct 8th, 2014 at 7:45pm Mark & QuoteQuote ViewProfile Intercept YaBB 2.6.11 This mod blocks guests from seeing member 'view profile' links. Admin can choose to have no link and a title 'pop-up' explaining that this is a member-only feature or a link to a 'Register or Login' screen. Version History --------------- 0.1 - First release - Oct 8, 2014 0.2 - For 2.6.11 - Jan 15, 2015 Instructions: Apply the mod and upload (in ASCII mode): cgi-bin/yabb2/Admin/Modlist.pm cgi-bin/yabb2/Admin/NewSettings.pm cgi-bin/yabb2/Admin/Settings_Main.pm cgi-bin/yabb2/Languages/English/Admin.lng cgi-bin/yabb2/Sources/BoardIndex.pm cgi-bin/yabb2/Sources/Display.pm cgi-bin/yabb2/Sources/EventCal.pm cgi-bin/yabb2/Sources/EventCalBirthdays.pm cgi-bin/yabb2/Sources/MessageIndex.pm cgi-bin/yabb2/Sources/Poll.pm cgi-bin/yabb2/Sources/Post.pm cgi-bin/yabb2/Sources/Recent.pm cgi-bin/yabb2/Sources/Search.pm cgi-bin/yabb2/Sources/SubList.pm cgi-bin/yabb2/Sources/Subs.pm cgi-bin/yabb2/Templates/default/Other.template (This will be included in 2.6.2) « Last Edit: Feb 23rd, 2015 at 6:28pm by Dandello » Reason: New Zip viewprofile_intercept_2611.zip ( 2 KB | 174 Downloads ) viewprofile_intercept_2611_German_files_a.zip ( 2 KB | 171 Downloads ) Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Simps New Member Offline I Love YaBB! Posts: 20 Location: UK Joined: Jul 22nd, 2014 Gender: Zodiac sign: Re: ViewProfile Intercept Reply #1 - Oct 18th, 2014 at 11:54pm Mark & QuoteQuote Is this already in 2.6.1 As a guest I cannot view users profile links on my 2.6.1 forum. IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: ViewProfile Intercept Reply #2 - Oct 19th, 2014 at 12:41am Mark & QuoteQuote This stops the error from being thrown into the errorlog by stopping the creation of the link to the Profile. It's a subtle difference, but bots won't have the address of the profile so they're stopped from filling the errorlog with their attempts to access it. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Simps New Member Offline I Love YaBB! Posts: 20 Location: UK Joined: Jul 22nd, 2014 Gender: Zodiac sign: Re: ViewProfile Intercept Reply #3 - Oct 19th, 2014 at 12:55am Mark & QuoteQuote Ahh ok , thanks for clearing that up. IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: ViewProfile Intercept Reply #4 - Oct 19th, 2014 at 1:29am Mark & QuoteQuote It also gives the admin the option to have the ViewProfile link go to a 'register or login' screen so guests know that Member info is available to other Members. (And will be part of 2.6.2) Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: ViewProfile Intercept Reply #5 - Nov 16th, 2014 at 3:23pm Mark & QuoteQuote Code <edit file> Languages/German/Admin.lng </edit file> <search for> 1; </search for> <add before> $admin_txt{'profile_int'} = q~Leiten Sie Gastklicks auf Mitgliedernamensverbindungen zu einer 'Register oder Anmeldung' Seite um. Deaktivieren Sie den Mitgliedsnamen-Link für Gäste.~; </add before> <edit file> Languages/German/Main.lng </edit file> <search for> 1; </search for> <add before> $maintxt{'members_only'} = q~Nur Mitglieder können auf das Profil eines anderen Mitglieds zugreifen.~; $maintxt{'reg_please'} = qq~Bitte <a href="$scripturl?action=register" style="font-weight: bold;">registrieren Sie einen Account bei uns</a> oder <a href="$scripturl?action=login" style="font-weight: bold;">loggen Sie sich ein.</a>.~; $maintxt{'regplease'} = q~Bitte registrieren.~; </add before> Code <edit file> Languages/German_Du/Admin.lng </edit file> <search for> 1; </search for> <add before> $admin_txt{'profile_int'} = q~Leite Gastklicks auf Mitgliedernamensverbindungen zu einer 'Register oder Anmeldung' Seite um. Deaktiviere den Mitgliedsnamen-Link für Gäste.~; </add before> <edit file> Languages/German_Du/Main.lng </edit file> <search for> 1; </search for> <add before> $maintxt{'members_only'} = q~Nur Mitglieder können auf das Profil eines anderen Mitglieds zugreifen.~; $maintxt{'reg_please'} = qq~Bitte <a href="$scripturl?action=register" style="font-weight: bold;">registriere einen Account bei uns</a> oder <a href="$scripturl?action=login" style="font-weight: bold;">logge Dich ein.</a>.~; $maintxt{'regplease'} = q~Bitte registrieren.~; </add before> if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: ViewProfile Intercept Reply #6 - Nov 16th, 2014 at 3:29pm Mark & QuoteQuote Hopefully that works with Google. The constantly wants to access the profile and writes the error log so that within a short time fully. Bild2_012.jpg ( 135 KB | 153 Downloads ) if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: ViewProfile Intercept Reply #7 - Nov 16th, 2014 at 3:48pm Mark & QuoteQuote This is why I wrote the mod - removing the links for guests is part of latter versions of 2.6.1, but it's always good to give admins options of how to tell guests what they're missing by not joining. However, Google may take a while to figure out the links are gone. I still haven't figured out a good way to have certain errors throw proper 404 and 403 errors back to the spiders. That's what will tell Google it's trespassing. Edited: But you should be able to tell Google to ignore links to member profiles using robot.txt - Google supposedly actually reads and obeys robots.txt Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: ViewProfile Intercept Reply #8 - Nov 16th, 2014 at 4:26pm Mark & QuoteQuote Dandello wrote on Nov 16th, 2014 at 3:48pm:But you should be able to tell Google to ignore links to member profiles using robot.txt - Google supposedly actually reads and obeys robots.txt Also an idea. Why I do not get on. if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: ViewProfile Intercept Reply #9 - Nov 16th, 2014 at 4:54pm Mark & QuoteQuote I'm doing some research - I think there needs to be an extra Meta Tag tag added to error pages to keep them from being indexed and (in theory), adding Code Disallow:/*action=viewprofile to your robots.txt file should keep Google from trying to index Profile pages it can't reach as it goes through its internal list of possible pages. But it may take a while for Google to get the message that the links are gone. You may actually need to get a Google Webmaster account (if you don't have one) and manually remove those pages from its list of 'pages to look for'. (See http://stackoverflow.com/questions/19113788/google-disable-certain-querystring-i... Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: ViewProfile Intercept Reply #10 - Nov 16th, 2014 at 5:07pm Mark & QuoteQuote @ Dandello Thanks. I have a Google-Account an a robots.txt is not a Problem. if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: ViewProfile Intercept Reply #11 - Nov 16th, 2014 at 5:38pm Mark & QuoteQuote I think this issue also points out that the Advanced ErrorLog Security may need a white list setting to keep from accidentally blocking 'good' bots. (Amazing how seemingly unrelated issues are actually related. ) Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: ViewProfile Intercept Reply #12 - Dec 7th, 2014 at 10:14am Mark & QuoteQuote fit for build 1611. No change necessary. if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: ViewProfile Intercept Reply #13 - Feb 23rd, 2015 at 6:15pm Mark & QuoteQuote German Files not in ANSI. How can I change something yourself? I think because no useful program. if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: ViewProfile Intercept Reply #14 - Feb 23rd, 2015 at 6:27pm Mark & QuoteQuote It's useful in that it give the admin some options for how to handle the viewprofile link that bots shouldn't can't follow. New German zip in 1st post. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged