Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Agent Moose

Pages: [1] 2 3
1
Create a Forum Codes and Support / Re: BBCode spoiler
« on: May 31, 2018, 03:57:39 am »
Not a ton, but few are, yes.  It's more likely it will not work than will work.

2
Create a Forum Codes and Support / Re: BBCode spoiler
« on: April 20, 2018, 01:31:04 am »
EDIT:  Nevermind, I didn't read the whole post.  Whoops.  I thought you wanted a spoiler code for the forum.  But there already is one.  Again, woops.

This code should theoretically work for you.  (It's an old code from SMF for Free.
Code: [Select]
<script type="text/javascript src="/jquery.js></script><script>
b = document.getElementsByTagName("div");
for(x=0;x<b.length;x++){
if(b[x].className=="post" && b[x].innerHTML.match(/\[spoiler\](.*)\[\/spoiler\]/i)){
b[x].innerHTML = b[x].innerHTML.replace("[spoiler]"+RegExp.$1+"[/spoiler]","<div><div><a href='javascript:void(0)' onclick='$(this).parent().next().toggle()'>(Click to Show/Hide Spoiler)</a></div><div style='display:none' id='spoiler'>"+RegExp.$1+"</div></div>");
};};
</script>

3
This code has been completed! :D  It's been awhile since I've done a code, but here ya are!
http://support.createaforum.com/5/(code)-hoverover-member-legend/

4
Create a Forum Codes and Support / [Code] Hoverover Member Legend
« on: November 23, 2015, 03:23:42 am »
Add this to your footers:
Code: [Select]
<script type="text/javascript">
var Groups = new Array(), YES;
//Created by Agent Moose (November 22, 2015)
Groups["#00aabb"] = "Administrator";
Groups["green"] = "Moderator";
Groups["COLOR"] = "MEMBERGROUP NAME";

//Only Edit the word "Newbie".  This is used for Membergroups who don't have a color.
Groups["none"] = "Newbie";
 
var hc = document.getElementById("upshrinkHeaderIC");
var para = hc.getElementsByTagName("p");
for(x=0;x<para.length;x++){
if(para[x].innerHTML.match(/Users active in/i)){
para[x].innerHTML += "<br /><br />Legend: <span id='legend'></span>";
var h = para[x].getElementsByTagName("a");
for(i=0;i<h.length;i++){
h[i].innerHTML = "<span onmouseover='red(this);' onmouseout='blue();'>" + h[i].innerHTML + "</span>";
};
};
};
function red(AgentMoose){
(AgentMoose.parentNode.style.color) ? YES = AgentMoose.parentNode.style.color : YES = "none";
if(YES !== undefined && /rgb\((.*)\,(.*)\,(.*)\)/i.test(YES)){
var SEY = "#" + toHex(RegExp.$1) + toHex(RegExp.$2) + toHex(RegExp.$3);
YES = SEY;
};
document.getElementById("legend").innerHTML = Groups[YES.toLowerCase() || YES.toUpperCase()];
};
function blue(){
setTimeout(function(){
document.getElementById("legend").innerHTML = "&n" + "bsp;";
}, 500);
};
function toHex(N) {
if(N === null){
return "00";
};
N = parseInt(N);
if(N === 0 || isNaN(N)){
return "00";
};
N = Math.max(0,N);
N = Math.min(N,255);
N = Math.round(N);
return "0123456789ABCDEF".charAt((N - N % 16) / 16) + "0123456789ABCDEF".charAt(N % 16);
};
</script>

It's been awhile since I've created a code. Years, probably.  Anyway, this code has been created for some time, but I never did release it.

It adds a member legend to the bottom of your forum under the users online list.  When you hover of a user, it will tell you what membergroup that person is in.

You can edit the code by adding more of these lines:
Code: [Select]
Groups["COLOR"] = "MEMBERGROUP NAME";Replace the COLOR with the color of the membergroup name.  You can use HEX (#00aabb) or color codes (red, blue, green, ect.)
Replace MEMBERGROUP NAME with the name of the membergroup that color resides with.  (Admin, Moderator, ect.)

There is this line:
Code: [Select]
Groups["none"] = "Default";That line is there so that if there is no color for that membergroup, it will default to showing the word "Default".  You can change that if you wish.

As always, enjoy the code!  If you have any questions, please ask.  I'll try to answer as soon as I can.

5
Create a Forum Codes and Support / Re: [Code] Name Across Board
« on: December 06, 2014, 03:19:02 am »
There is not a way for me to do that, sadly.

I mean, is the whole "cavatars" thing a board or what?  I've never seen anything with that url on any forum.

6
Create a Forum Codes and Support / Re: changing hosts
« on: December 02, 2014, 01:30:19 am »
You are not able to get a backup of the forum due to this being a free host.  You will need to start from scratch on a new host.

7
Create a Forum Codes and Support / Re: [Code] Membergroup Image
« on: November 27, 2014, 04:24:38 am »
Tony, ipvpforum and CyanProductions, your request has been filled! :D  I'm surprised I never made a code like taht for this forum.

http://support.createaforum.com/5/%28code%29-name-across-board/msg14864/#msg14864

8
Create a Forum Codes and Support / [Code] Name Across Board
« on: November 27, 2014, 04:21:53 am »
It's been a long time since I've made a code :P  I decided to look up and see how this board is going and noticed people wanted a code that would add a crown to their username.  Solution is here!

Place in Footers:
Code: [Select]
<script type="text/javascript">
function NAB(real, owned){
//Created by Agent Moose
for(i in document.links){
if(document.links[i].innerHTML === real){
document.links[i].innerHTML = owned;
};};};
NAB("Agent Moose", "<font color='#00aabb'><b>Agent Caboose</b></font>");
NAB("OLD NAME", "NEW NAME");
</script>

So as I said above, this code will change all the links that have whatever username you say, to whatever new username you will want it to be.

Code: [Select]
NAB("OLD NAME", "NEW NAME");OLD NAME = Current Username (THIS IS CASE SENSITIVE)
NEW NAME = What you want your users to see. (You can use the same OLD NAME as the NEW NAME if you just want to add an image in front or bold ect)

As in the example above, you can use any HTML you would like.  You can use the font tag, bold, add an image before and after the name, whatever.

Here's an example if you want an image before the name:
Code: [Select]
NAB("Agent Moose", "<img src='IMAGE URL HERE' />Agent Moose");
Also, you can add as many of these lines as you wish:
Code: [Select]
NAB("OLD NAME", "NEW NAME");
Enjoy! :)

9
Create a Forum Codes and Support / Re: [Code] UserPage
« on: November 27, 2012, 02:07:59 am »
Going to be honest, probably wont be posting very long :P  Not sure how long I will be back. :P

EDIT:
Had to edit the first post.  I updated the code because it wasn't running on IE or FF from where I uploaded the code at.

10
Create a Forum Codes and Support / Re: [Code] UserPage
« on: November 27, 2012, 01:53:49 am »
As I said, sooner or later.  It was more later than sooner, but it's done :D

The first post has been edited with the code.  If you find any bugs, please report it to this topic.

11
Create a Forum Codes and Support / Re: [Code] UserPage
« on: March 20, 2012, 02:13:50 am »
It is.  The day I posted this I noticed a problem with the code though, so I couldn't add it :\  Sorry about that.  I will get it up sooner or later, I promise.

12
Create a Forum Codes and Support / Re: Question Related to money code
« on: March 14, 2012, 02:03:17 pm »
this is a very simple code, so you will probably not like this answer, but: to reset a persons money, you have to lower their post count.

How much money they ahve depends on their post couint.  If they have zero posts, they will have no money.

13
Create a Forum Codes and Support / Re: [Code] UserPage
« on: March 14, 2012, 01:58:28 pm »
It's been awhile since I have released anything coding wise, but I am always updating codes (mainly UserPage :P)

I have recently did a major update on this code.  I have got the first post of this topic ready for you all, but the code isn't uploaded yet because it is on my computer, which I am not on right now.

I will inseart the code in the first post later today though :)  For now, you can look at the new features here:
http://usercombo.createaforum.com/?action=profile;u=1;sa=UserPage

14
You can't resize Ads.  Ads are created with an adobe script I believe, not just plain images.

If it was an image, you could resize it, but since it isn't, I'm pretty sure you can't.

15
Bugs / Re: [ATTN CAF] Can't use Back Slashes in Headers/Footers
« on: March 26, 2011, 05:09:24 pm »
Sweet, works perfectly, Thanks guys :)

Pages: [1] 2 3