Sonic Wiki Zone

Know something we don't about Sonic? Don't hesitate in signing up today! It's fast, free, and easy, and you will get a wealth of new abilities, and it also hides your IP address from public view. We are in need of content, and everyone has something to contribute!

If you have an account, please log in.

READ MORE

Sonic Wiki Zone
Advertisement
Sonic Wiki Zone
Forums: Index > Site discussions > Closed site discussions > "This Blog Post Hasn't Been Commented on For Over 30 days" Message


Result: Blog Comment messages disabled after 30 days, with a message that's displayed on the Blog Post.
Example

Here's what it looks like

Over on the Assassins Creed Wiki they have this message that's displayed on Blog Post that haven't been commented on in a month (It shows it in the comment box). It's hard to explain but I think it's a good way of stopping people on commenting on dead blogs. Here's a screenshot of what it looks like. (To the right) --Willaca (talk) 05:22, July 2, 2012 (UTC)

Yeah, I support. --Bullet Francisco (talk) Contributions Editcount 07:10, July 2, 2012 (UTC)

I support this, that way it lead to less spams   J-POPST★R Mikee 

As the poster. I support. --Willaca (talk) 07:33, July 2, 2012 (UTC)

  • That should help ease the number of times people have commented on blogs that are really old and thus out-dated. To comment on old blogs is akin to necroposting on a forum. Unless one has something very pertinent to say about the topic that could incite further discussion, necroposting is generally discouraged. Trak Nar Ramble on 07:55, July 2, 2012 (UTC)

If such a program can work in the wiki, I fully support having it implemented. Serious Sam Minigun icon Heavy 11:34, July 2, 2012 (UTC)

I support, but what about some "immortal" blogs like art blogs? SpengSkoddokSgnepS 12:10, July 2, 2012 (UTC)

Then it wouldn't say that, because it would constanly be updated. --Time Biter "The Rift" 12:27, July 2, 2012 (UTC)

Sounds fine to me. -- Supermorff (talk) 17:03, July 2, 2012 (UTC)

I see no reason to oppose this, so I support. Lloyd the Cat"I hog that hedgehate!" 17:28, July 2, 2012 (UTC)

I have supportness on this proposal. Yay. --  Splash the Otter   C  E  17:30, July 2, 2012 (UTC)

I support. --AdmiralLevi.Signiture BAdmiralLevi. Salute B 17:58, July 2, 2012 (UTC)

I support. We all have our own styles we won't change 18:02, July 2, 2012 (UTC)

It will help with the constant spam, I support, but if the blog is updated, with the message still appear? Pacmansonic138 18:09, July 2, 2012 (UTC)


Sonic Dash
Glitchguy Who knew sound waves could be such a knock out?
TALK – 22:40
I support.


I support. --★Mega Kirbymassiveattack.png Speedy★ 23:57, July 2, 2012 (UTC)

@Pac No. As said above, it won't say the message. As long as the Blog keeps getting updated (like an art blog). --Willaca (talk) 05:02, July 3, 2012 (UTC)

Honestly, I don't care. I think it's sort of ridiculous when someone makes a comment on a 3 year old blog, but, I don't see a huge problem with that either. Anyway, do what you want, I guess I'm supporting this, but I wouldn't be mad if this rule didn't pass. --Rainbowroad6w, the researcher. (Talk)(Recent finds and updates.) 05:18, July 3, 2012 (UTC)

Any other opinions? --Willaca (talk) 08:58, July 4, 2012 (UTC)

I support. ★Cant stop me from rockin out★ 19:18, July 4, 2012 (UTC)

I support, although I'm rather curious as to how it works. Is run by a bot? How would it be implimented? Myself 123 22:31, July 4, 2012 (UTC)

It is a script that runs in the background basing whether it disables the textbox on the last edit to the blog. Foodbandlt 04:35, July 5, 2012 (UTC)
I see, would it be possible to disable comments at the same time? Myself 123 16:34, July 5, 2012 (UTC)
Disabling the text box pretty effectively disables your ability to comment, but I'm sure the script also removes the functionality from the "post" button as well. -- Foodbandlt 00:28, July 6, 2012 (UTC)

'Might cause some trouble, but for the most of the time I guess it'd work. -CariconCommander 22:45, July 4, 2012 (UTC)

I support. Exodvs 16:40, July 5, 2012 (UTC)

Are we implementing this? If so, I have the coding for an administrator. --Bullet Francisco (talk) Contributions Editcount 05:56, July 11, 2012 (UTC)

Well... not to rain on anyone's parade, but I'm wondering something. What about blogs that are MEANT to be kept going, but aren't updated regularly? And what about the person who made the blog? Would they be able to comment on it?--Kagimizu-Seeya 'round 22:24, July 11, 2012 (UTC)

Hmm, good point. May be better just to keep things the way they are. I now oppose, it ain't that often anyways. We all have our own styles we won't change 22:28, July 11, 2012 (UTC)

Example? Besides, I think if the blog gets updated, the message will be removed. Myself 123 22:42, July 11, 2012 (UTC)

It does. --ChonnyAsian's FTW!!!Chonny 00:22, July 12, 2012 (UTC)

There you go, I'd say problem solved, but there never was a problem to begin with. Myself 123 00:38, July 12, 2012 (UTC)

So, I can post the coding now? --Bullet Francisco (talk) Contributions Editcount 00:56, July 13, 2012 (UTC)
Go right ahead. Lloyd the Cat"I don't die. I just go on adventures." 01:03, July 13, 2012 (UTC)


For MediaWiki:Common.js

//**Disable blog comments for blogs that haven't been commented on for more than 30 days.**//
importScriptPage('MediaWiki:Common.js/blogforum.js');

For MediaWiki:Common.js/blogforum.js

/* Any JavaScript here will be loaded for all users on every page load. */
/* lock blog comments for blogs that haven't been commented on for more than 30 days.
   by: [[User:Joeyaa|Joey Ahmadi]]
*/
 
$(function () {
        if (wgNamespaceNumber == 500 && $('#article-comments-ul li').size() > 1) {
            var then = $('#article-comments-ul > .SpeechBubble:first .permalink').attr('href');
            then = new String(then.match(/\d{8}/));
            var monthnames = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
            var year = then.match(/^\d{4}/);
            var month = then.substring(4, 6);
            var now = new Date();
            month--;
            month = monthnames[month];
            var day = then.match(/\d{2}$/);
            then = new Date(month + '' + day + ', ' + year);
            var old = parseInt(now - then);
            old = Math.floor(old / (1000 * 60 * 60 * 24));
            if (old > 30) {
                $('#article-comm-form').attr('disabled', 'disabled');
                $('#article-comm').attr('disabled', 'disabled').text('This blog post hasn\'t been commented on for over 30 days. There is no need to comment.');
                $('#article-comm-submit').attr('disabled', 'disabled');
                $('.article-comm-reply .wikia-button .secondary').remove();
            }
        }
    });

Eeyup. There we go :) --Bullet Francisco (talk) Contributions Editcount 01:09, July 13, 2012 (UTC)

Advertisement