Make use of the groups system

Started by: Brownoser | Replies: 2 | Views: 491

Brownoser
2

Posts: 511
Joined: Oct 2009
Rep: 10

View Profile
Mar 27, 2010 1:23 AM #559714
Now that we have a groups system going that can be used as possibly user-created forums, I've taken the liberty of making a little Greasemonkey script that puts a link to the page that shows the groups organized like forums.

If you don't have Greasemonkey, you can get it here for Firefox. To use this script, press Alt + T + G + N (one after another) and then type whatever you want in the spaces (it doesn't matter, everything will be changed in the next step), then press OK.

It will open Notepad, delete all of the text and then copy/paste this:

// ==UserScript==
// @name Stickpage Custom Forums link
// @namespace spgroups
// @description Puts a link to the "Custom Forums" a.k.a. groups on the front page.
// @include http://forums.stickpage.*/*
// ==/UserScript==

var allNav, thread, indicator, groups;
allNav = document.getElementsByClassName('breadcrumb');
nav = allNav[allNav.length - 1];
groupsText = 'http://forums.stickpage.com/group.php?cat=1">Custom Forums';
groups = document.createElement("div");
groups.setAttribute("class","navbarlink");
groups.innerHTML = groupsText;
nav.parentNode.insertBefore(groups, nav.nextSibling);
Save and close the file. Refresh the page, and you should find a link to the groups page right here:
Image

Enjoy.
If there are any problems, post them here.
shadrach

Posts: 4
Joined: Apr 2010
Rep: 10

View Profile
Apr 16, 2010 6:57 AM #570264
I have installed Greasemonkey but do not know about group system before reading this post. I will make my group very soon so that I also can use it and know more about it.
Mantha
2

Posts: 8,267
Joined: Sep 2005
Rep: 10

View Profile
Apr 16, 2010 8:13 AM #570277
I don't really know what Greasemonkey is lol and I probably won't use this. Looks useful though, nice.