Conquer Club

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.

Script: Clan Tools - Version 1.0.4

Postby dgz345 on Mon May 05, 2014 6:40 am

Clan Tools
by: dgz345


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 Extreme Ways
- Now sends messages as BCC

show: version history


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
User avatar
Lieutenant dgz345
 
Posts: 1362
Joined: Thu Oct 07, 2010 10:53 am

Re: GM Script: Clan Tools - Version 1.0.1

Postby benga on Mon May 05, 2014 9:39 am

can you make it BCC instead of TO
User avatar
Sergeant benga
 
Posts: 6925
Joined: Tue Nov 17, 2009 4:15 pm

Re: GM Script: Clan Tools - Version 1.0.1

Postby dgz345 on Mon May 05, 2014 10:00 am

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

do you know a way?
User avatar
Lieutenant dgz345
 
Posts: 1362
Joined: Thu Oct 07, 2010 10:53 am

Re: GM Script: Clan Tools - Version 1.0.1

Postby Agent 86 on Mon May 05, 2014 1:06 pm

If it can be made BCC, then it would be priceless ;)
Image
We are the Fallen, an unstoppable wave of Darkness.
User avatar
Major Agent 86
 
Posts: 1193
Joined: Mon Dec 29, 2008 6:15 pm
Location: Cone of silence

Re: GM Script: Clan Tools - Version 1.0.1

Postby jghost7 on Mon May 05, 2014 2:36 pm

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
Major jghost7
 
Posts: 743
Joined: Fri May 01, 2009 10:52 am

Re: GM Script: Clan Tools - Version 1.0.1

Postby dgz345 on Mon May 05, 2014 2:44 pm

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
Lieutenant dgz345
 
Posts: 1362
Joined: Thu Oct 07, 2010 10:53 am

Re: GM Script: Clan Tools - Version 1.0.1

Postby dgz345 on Mon May 05, 2014 2:45 pm

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
Lieutenant dgz345
 
Posts: 1362
Joined: Thu Oct 07, 2010 10:53 am

Re: GM Script: Clan Tools - Version 1.0.1

Postby dgz345 on Mon May 05, 2014 3:16 pm

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
Lieutenant dgz345
 
Posts: 1362
Joined: Thu Oct 07, 2010 10:53 am

Re: GM Script: Clan Tools - Version 1.0.1

Postby PaRKoN on Mon May 05, 2014 4:57 pm

It's not working for me :(
User avatar
Brigadier PaRKoN
 
Posts: 406
Joined: Fri Nov 18, 2011 9:21 am
Location: Barcelona

Re: GM Script: Clan Tools - Version 1.0.1

Postby dgz345 on Tue May 06, 2014 7:03 am

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


whats not working??
webbrowser??
User avatar
Lieutenant dgz345
 
Posts: 1362
Joined: Thu Oct 07, 2010 10:53 am

Re: GM Script: Clan Tools - Version 1.0.1

Postby PaRKoN on Tue May 06, 2014 8:11 am

Nothing is shown in the left panel.
User avatar
Brigadier PaRKoN
 
Posts: 406
Joined: Fri Nov 18, 2011 9:21 am
Location: Barcelona

Re: GM Script: Clan Tools - Version 1.0.1

Postby dgz345 on Tue May 06, 2014 8:39 am

PaRKoN wrote:Nothing is shown in the left panel.


browser? what other scripts do you use?
User avatar
Lieutenant dgz345
 
Posts: 1362
Joined: Thu Oct 07, 2010 10:53 am

Re: GM Script: Clan Tools - Version 1.0.1

Postby WPBRJ on Tue May 06, 2014 7:00 pm

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
Lieutenant WPBRJ
 
Posts: 1065
Joined: Wed Jul 23, 2008 6:35 pm

Re: GM Script: Clan Tools - Version 1.0.1

Postby dgz345 on Tue May 06, 2014 7:15 pm

userscripts.org is down ATM
User avatar
Lieutenant dgz345
 
Posts: 1362
Joined: Thu Oct 07, 2010 10:53 am

Re: GM Script: Clan Tools - Version 1.0.1

Postby Bruceswar on Tue May 06, 2014 9:14 pm

Do you happen to know when it will be back up??
Highest Rank: 26 Highest Score: 3480
Image
User avatar
Corporal Bruceswar
 
Posts: 9713
Joined: Sun Dec 23, 2007 12:36 am
Location: Cow Pastures

Re: GM Script: Clan Tools - Version 1.0.1

Postby Leehar on Wed May 07, 2014 6:38 am

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
Colonel Leehar
 
Posts: 5487
Joined: Fri Mar 06, 2009 12:12 pm
Location: Johannesburg

Re: GM Script: Clan Tools - Version 1.0.1

Postby dgz345 on Wed May 07, 2014 10:18 am

script should be working for clan ACE now. after some api changes was made
User avatar
Lieutenant dgz345
 
Posts: 1362
Joined: Thu Oct 07, 2010 10:53 am

Re: GM Script: Clan Tools - Version 1.0.1

Postby Leehar on Wed May 07, 2014 1:47 pm

thanks for the fix
show
User avatar
Colonel Leehar
 
Posts: 5487
Joined: Fri Mar 06, 2009 12:12 pm
Location: Johannesburg

Re: GM Script: Clan Tools - Version 1.0.1

Postby PaRKoN on Wed May 07, 2014 2:33 pm

Now it is working, thanks :)
User avatar
Brigadier PaRKoN
 
Posts: 406
Joined: Fri Nov 18, 2011 9:21 am
Location: Barcelona

Re: GM Script: Clan Tools - Version 1.0.1

Postby Bruceswar on Wed May 07, 2014 4:23 pm

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
User avatar
Corporal Bruceswar
 
Posts: 9713
Joined: Sun Dec 23, 2007 12:36 am
Location: Cow Pastures

Re: GM Script: Clan Tools - Version 1.0.1

Postby WPBRJ on Thu May 08, 2014 4:32 pm

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
Lieutenant WPBRJ
 
Posts: 1065
Joined: Wed Jul 23, 2008 6:35 pm

Re: GM Script: Clan Tools - Version 1.0.1

Postby dgz345 on Thu May 08, 2014 8:45 pm

updated first post with a new link
User avatar
Lieutenant dgz345
 
Posts: 1362
Joined: Thu Oct 07, 2010 10:53 am

Re: GM Script: Clan Tools - Version 1.0.1

Postby jetsetwilly on Fri May 09, 2014 10:50 am

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
Sergeant 1st Class jetsetwilly
 
Posts: 515
Joined: Tue Aug 05, 2008 3:31 am
Location: United Kingdom

Re: GM Script: Clan Tools - Version 1.0.1

Postby dgz345 on Fri May 09, 2014 12:21 pm

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
Lieutenant dgz345
 
Posts: 1362
Joined: Thu Oct 07, 2010 10:53 am

Re: GM Script: Clan Tools - Version 1.0.1

Postby Swimmerdude99 on Fri May 09, 2014 3:00 pm

Dude, thanks for creating this! I think its a great help for all of us!
Image
User avatar
Major Swimmerdude99
 
Posts: 2443
Joined: Mon Aug 09, 2010 6:07 pm
Location: North Carolina
2435

Next

Return to Tool Archives

Who is online

Users browsing this forum: No registered users