Script: Clan Tools - Version 1.0.4

Archival storage to keep things organized and uncluttered. Can't find what you need? Search for old topics here.

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.
User avatar
dgz345
Posts: 1363
Joined: Thu Oct 07, 2010 10:53 am

Script: Clan Tools - Version 1.0.4

Post by dgz345 »

Clan Tools
by: [player]dgz345[/player]


What does it do?
  • Add a link to your Clan forum that shows if there is unread posts
  • a PM Clan button
  • if you change clan and need to reset the script read below in how to reset

Where do I get it?
Install the userscript from here: http://tools.conquerclub.com/clantools/
Should work on all browsers supporting Tampermonkey

!NOTE!
on first load its best to wait until it shows a menu on the left side Extreme Ways

Changes in version 1.0.4: by [player]Extreme Ways[/player]
- Now sends messages as BCC

[spoiler=version history]Changes in version 1.0.3: by [player]dgz345[/player]
- fixed https errors

Changes in version 1.0.2: by [player]dgz345[/player]
- Changed host

Changes in version 1.0.1: by [player]dgz345[/player]
- Added update check

Changes in version 1.0.0: by [player]dgz345[/player]
- Released 2014-05-05[/spoiler]

How do I use this?
  • Be sure to be member of a clan!
  • on first load wait until you see and menu on the left side
  • ???
  • PROFIT!

How to reset
This is the sequence for Chrome and Firefox
  1. Ctrl+Shift+J (Chrome) Ctrl+Shift+K (Firefox) (Opens a console)
  2. type in "createUserPrefs()" (without the QUOTES(") of course)
  3. press ENTER
  4. Wait a bit
  5. "CT: LOADED USERPREF - {"userid":"xxx","clanfix":"XXX","clanid":"xxxxxxxx","clanforum":"xxx"}" should appear
  6. Reload the page
benga
Posts: 6925
Joined: Tue Nov 17, 2009 4:15 pm

Re: GM Script: Clan Tools - Version 1.0.1

Post by benga »

can you make it BCC instead of TO
User avatar
dgz345
Posts: 1363
Joined: Thu Oct 07, 2010 10:53 am

Re: GM Script: Clan Tools - Version 1.0.1

Post by dgz345 »

nope i tried just now. i cant find a way.

do you know a way?
User avatar
Agent 86
Posts: 1193
Joined: Mon Dec 29, 2008 6:15 pm
Gender: Male
Location: Cone of silence

Re: GM Script: Clan Tools - Version 1.0.1

Post by Agent 86 »

If it can be made BCC, then it would be priceless ;)
Image
We are the Fallen, an unstoppable wave of Darkness.
User avatar
jghost7
Posts: 743
Joined: Fri May 01, 2009 10:52 am

Re: GM Script: Clan Tools - Version 1.0.1

Post by jghost7 »

This is pretty cool. As it is now, I can't see my Clan Tools menu without scrolling down. Do you know of a way to arrange your side menus in a particular order?

For instance, now my menus are like this;
Game Menu
Announcements
Interaction Menu
Personal Menu
Bob Menu
Clan Rank
Clan Tools
Map Rank


I would like them to be like this;
Game Menu
Interaction Menu
Clan Tools
Personal Menu
Map Rank
Announcements
Bob Menu
Clan Rank

Do you know if it is possible? I would like to be able to see the Clan Tools without scrolling.

Thanks,

J
Image
User avatar
dgz345
Posts: 1363
Joined: Thu Oct 07, 2010 10:53 am

Re: GM Script: Clan Tools - Version 1.0.1

Post by dgz345 »

jghost7 wrote:This is pretty cool. As it is now, I can't see my Clan Tools menu without scrolling down. Do you know of a way to arrange your side menus in a particular order?

For instance, now my menus are like this;
Game Menu
Announcements
Interaction Menu
Personal Menu
Bob Menu
Clan Rank
Clan Tools
Map Rank


I would like them to be like this;
Game Menu
Interaction Menu
Clan Tools
Personal Menu
Map Rank
Announcements
Bob Menu
Clan Rank

Do you know if it is possible? I would like to be able to see the Clan Tools without scrolling.

Thanks,

J


as now they only get appended so they add to the bottom so the order of the addons are by the order they are in the list or the order they load.

and to your question yes its possible. either you can edit the scripts so they instead of using append use insertBefore

or you could create a script that moves the panels afterwards.

these are the options you have. i could probably help you with the 2nd one
User avatar
dgz345
Posts: 1363
Joined: Thu Oct 07, 2010 10:53 am

Re: GM Script: Clan Tools - Version 1.0.1

Post by dgz345 »

Agent 86 wrote:If it can be made BCC, then it would be priceless ;)


sorry clans do not have BCC what i can find. as i tried with my clans groupid

if you find a way tell me and i think i could fix it
User avatar
dgz345
Posts: 1363
Joined: Thu Oct 07, 2010 10:53 am

Re: GM Script: Clan Tools - Version 1.0.1

Post by dgz345 »

jghost7 wrote:This is pretty cool. As it is now, I can't see my Clan Tools menu without scrolling down. Do you know of a way to arrange your side menus in a particular order?

/.../

Do you know if it is possible? I would like to be able to see the Clan Tools without scrolling.

Thanks,

J


Code: Select all

// ==UserScript==
// @name       cc Move menus
// @namespace  http://use.i.E.your.homepage/
// @version    0.1
// @description  enter something useful
// @match       *://*.conquerclub.com/*
// @copyright  2012+, You
// ==/UserScript==

var childs = document.getElementById("leftColumn").getElementsByTagName("ul")[0].parentNode.children;

function insertElementBefore(elm1,elm2) {
    childs[elm1].parentNode.insertBefore(childs[elm1], childs[elm2]);
}

insertElementBefore(4,null);
insertElementBefore(4,null);
insertElementBefore(9,null);
insertElementBefore(9,null);
insertElementBefore(9,7);


var maprankCheck = setInterval(function(){
   if (document.getElementById("missed")) {
        clearInterval(maprankCheck);
        insertElementBefore(14,10);
   }
}, 250);
User avatar
PaRKoN
Posts: 406
Joined: Fri Nov 18, 2011 9:21 am
Gender: Male
Location: Barcelona

Re: GM Script: Clan Tools - Version 1.0.1

Post by PaRKoN »

It's not working for me :(
User avatar
dgz345
Posts: 1363
Joined: Thu Oct 07, 2010 10:53 am

Re: GM Script: Clan Tools - Version 1.0.1

Post by dgz345 »

PaRKoN wrote:It's not working for me :(


whats not working??
webbrowser??
User avatar
PaRKoN
Posts: 406
Joined: Fri Nov 18, 2011 9:21 am
Gender: Male
Location: Barcelona

Re: GM Script: Clan Tools - Version 1.0.1

Post by PaRKoN »

Nothing is shown in the left panel.
User avatar
dgz345
Posts: 1363
Joined: Thu Oct 07, 2010 10:53 am

Re: GM Script: Clan Tools - Version 1.0.1

Post by dgz345 »

PaRKoN wrote:Nothing is shown in the left panel.


browser? what other scripts do you use?
WPBRJ
Posts: 1065
Joined: Wed Jul 23, 2008 6:35 pm

Re: GM Script: Clan Tools - Version 1.0.1

Post by WPBRJ »

for some reason i can not open the link to the script at all and i tryed going to user script thru google and it wont open there ether hmmm
Image
User avatar
dgz345
Posts: 1363
Joined: Thu Oct 07, 2010 10:53 am

Re: GM Script: Clan Tools - Version 1.0.1

Post by dgz345 »

userscripts.org is down ATM
User avatar
Bruceswar
Posts: 9713
Joined: Sun Dec 23, 2007 12:36 am
Location: Cow Pastures

Re: GM Script: Clan Tools - Version 1.0.1

Post by Bruceswar »

Do you happen to know when it will be back up??
Highest Rank: 26 Highest Score: 3480
Image
User avatar
Leehar
Posts: 5492
Joined: Fri Mar 06, 2009 12:12 pm
Gender: Male
Location: Johannesburg
Contact:

Re: GM Script: Clan Tools - Version 1.0.1

Post by Leehar »

dgz345 wrote:
PaRKoN wrote:Nothing is shown in the left panel.


browser? what other scripts do you use?

Firefox
Bob, map rank & chatglove

I've removed them all and it still doesn't work.

I do have a beta site link though
show
User avatar
dgz345
Posts: 1363
Joined: Thu Oct 07, 2010 10:53 am

Re: GM Script: Clan Tools - Version 1.0.1

Post by dgz345 »

script should be working for clan ACE now. after some api changes was made
User avatar
Leehar
Posts: 5492
Joined: Fri Mar 06, 2009 12:12 pm
Gender: Male
Location: Johannesburg
Contact:

Re: GM Script: Clan Tools - Version 1.0.1

Post by Leehar »

thanks for the fix
show
User avatar
PaRKoN
Posts: 406
Joined: Fri Nov 18, 2011 9:21 am
Gender: Male
Location: Barcelona

Re: GM Script: Clan Tools - Version 1.0.1

Post by PaRKoN »

Now it is working, thanks :)
User avatar
Bruceswar
Posts: 9713
Joined: Sun Dec 23, 2007 12:36 am
Location: Cow Pastures

Re: GM Script: Clan Tools - Version 1.0.1

Post by Bruceswar »

dgz345 wrote:script should be working for clan ACE now. after some api changes was made




Do you know when Userscripts will be back up?
Highest Rank: 26 Highest Score: 3480
Image
WPBRJ
Posts: 1065
Joined: Wed Jul 23, 2008 6:35 pm

Re: GM Script: Clan Tools - Version 1.0.1

Post by WPBRJ »

i think user scripts has been down for several days now i have yet to be able log on to down load this script
Image
User avatar
dgz345
Posts: 1363
Joined: Thu Oct 07, 2010 10:53 am

Re: GM Script: Clan Tools - Version 1.0.1

Post by dgz345 »

updated first post with a new link
User avatar
jetsetwilly
Posts: 515
Joined: Tue Aug 05, 2008 3:31 am
Gender: Male
Location: United Kingdom

Re: GM Script: Clan Tools - Version 1.0.1

Post by jetsetwilly »

Excellent add on thanks. I wouldn't want to to bog it down with too many options, but more often than not when I PM the clan,it's done as a blind copy to all to discourage mass replies to all. Another option for that would be handy !
Image
User avatar
dgz345
Posts: 1363
Joined: Thu Oct 07, 2010 10:53 am

Re: GM Script: Clan Tools - Version 1.0.1

Post by dgz345 »

jetsetwilly wrote:Excellent add on thanks. I wouldn't want to to bog it down with too many options, but more often than not when I PM the clan,it's done as a blind copy to all to discourage mass replies to all. Another option for that would be handy !


know what you mean. idk how that works ill ask someone about it and maybe see how it can be implemented. tho i think its charmy with mass PM :D
User avatar
Swimmerdude99
Posts: 2580
Joined: Mon Aug 09, 2010 6:07 pm
Gender: Male
Location: North Carolina

Re: GM Script: Clan Tools - Version 1.0.1

Post by Swimmerdude99 »

Dude, thanks for creating this! I think its a great help for all of us!
Image
Post Reply

Return to “Tool Archives”