BleepingComputer.com: Invisionfree forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Invisionfree forums

#1 User is offline   samuel3 

  • Forum Addict
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 2,224
  • Joined: 13-June 08
  • Gender:Male

Posted 20 November 2008 - 01:57 PM

Right baiscly i need help doing colour ranks like BC has like this:

Posted Image

Ive put it in the footer but doesn't seem to be working, its a script here it is.

<script>/*
Colors Key in Users Stats Box v1.2
Created by iFusion
*/

var irGroup = []
irGroup[0]=["Administrator" , "white" , "filter:(color=white, strength=4); height: 2px;font-weight:bold;"]

irGroup[1]=["|" , "#C0C0C0" , "filter:(color=white, strength=4); height: 2px;font-weight:bold;"]

irGroup[2]=["Leader" , "#0066CC" , "filter:(color=white, strength=4); height: 2px;font-weight:bold;"]

irGroup[3]=["|" , "#C0C0C0" , "filter:(color=white, strength=4); height: 2px;font-weight:bold;"]

irGroup[4]=["Assistant Leader" , "#AA0099" , "filter:(color=white, strength=4); height: 2px;"]

irGroup[5]=["|" , "#C0C0C0" , "filter:(color=white, strength=4); height: 2px;font-weight:bold;"]

irGroup[6]=["Moderator" , "green" , "filter:(color=white, strength=4); height: 2px;"]

irGroup[7]=["|" , "#C0C0C0" , "filter:(color=white, strength=4); height: 2px;font-weight:bold;"]

irGroup[8]=["Elite" , "#C0C0C0" , "filter:(color=white, strength=4); height: 2px;"]

irGroup[9]=["|" , "#C0C0C0" , "filter:(color=white, strength=4); height: 2px;font-weight:bold;"]

irGroup[10]=["PK Leader" , "#FF5500" , "filter:(color=white, strength=4); height: 2px;"]

irGroup[11]=["|" , "#C0C0C0" , "filter:(color=white, strength=4); height: 2px;font-weight:bold;"]

irGroup[12]=["Assistant PK Leader" , "#FFCC99" , "filter:(color=white, strength=4); height: 2px;"]

irGroup[13]=["|" , "#C0C0C0" , "filter:(color=white, strength=4); height: 2px;font-weight:bold;"]

irGroup[14]=["Elite Mentor" , "#FFFF00" , "filter:(color=white, strength=4); height: 2px;"]

irGroup[15]=["|" , "#C0C0C0" , "filter:(color=white, strength=4); height: 2px;font-weight:bold;"]

irGroup[16]=["Recruiter" , "#33FFCC" , "filter:(color=white, strength=4); height: 2px;"]

irGroup[17]=["|" , "#C0C0C0" , "filter:(color=white, strength=4); height: 2px;font-weight:bold;"]

irGroup[18]=["Events Coordinator" , "#CCFFFF" , "filter:(color=white, strength=4); height: 2px;"]

irGroup[19]=["|" , "#C0C0C0" , "filter:(color=white, strength=4); height: 2px;font-weight:bold;"]

irGroup[20]=["Warlord" , "CCCCFF" , "filter:(color=white, strength=4); height: 2px;"]

irGroup[21]=["|" , "#C0C0C0" , "filter:(color=white, strength=4); height: 2px;font-weight:bold;"]

irGroup[22]=["Clan Friend" , "996600" , "filter:(color=white, strength=4); height: 2px;"]

irGroup[23]=["|" , "#C0C0C0" , "filter:(color=white, strength=4); height: 2px;font-weight:bold;"]

irGroup[24]=["Clan Ally" , "#663333 " , "filter:(color=white, strength=4); height: 2px;font-weight:bold;"]

irGroup[23]=["|" , "#C0C0C0" , "filter:(color=white, strength=4); height: 2px;font-weight:bold;"]

irGroup[24]=["TBE Programmer" , "#11ccff" , "filter:(color=white, strength=4); height: 2px;"]

irGroup[25]=["|" , "#C0C0C0" , "filter:(color=white, strength=4); height: 2px;font-weight:bold;"]

irGroup[26]=["Banned/Vagrant" , "red" , "filter:(color=white, strength=4); height: 2px;"]

var usersInput=""
for (i=0;i<irGroup.length;i++){
usersInput+="<font style='" + irGroup[2] + "' color='" + irGroup[1] + "'>" + irGroup[0] + "</font> "
}

var tCell = document.getElementsByTagName('TD')
for (i=0;i<tCell.length;i++){
if (tCell.width=="95%" && tCell.innerHTML.match(/anonymous members/i)){
tCell.getElementsByTagName('DIV')[0].innerHTML+="<br /><br />Key: " + usersInput



If it should be anywhere else, or if you know why its not working please help!

Cheers,
Samuel3.

This post has been edited by samuel3: 20 November 2008 - 02:12 PM


#2 User is offline   Aanders5 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 53
  • Joined: 28-October 08
  • Gender:Male
  • Location:USA, MI

Posted 21 November 2008 - 02:57 PM

For invisionfree/Invisionpower forums, you actually edit the color, special effects, and images within the group itself, under manage user groups. There's no need for extra scripts or codes.

If you need information on how to actually do this, or add other affects just let me know, but its pretty straightforward.

-Aanders5

#3 User is offline   Aanders5 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 53
  • Joined: 28-October 08
  • Gender:Male
  • Location:USA, MI

Posted 22 November 2008 - 09:00 AM

Here's my own little guide that I quickly whipped up for editing a user group's; color, affects, and group image icons.
This guide applies to the to Invisionfree and InvisionPower forum boards.


I. Edit Location
1. Goto Manage User Groups
2. then click on Edit Group for any of the groups you have made.
3 In the first category of the edit settings you will see a edit choice called Online List Format [Prefix] and there will be a text field to the right of it. Within that text field is where you make all the changes, such as color or group effects.




II. Edit Choices
Once you have found that text field you can preform a large number of things.
As you move down this list, the code will expand, however in order to remove certain parts you don't want, just remove them from the code. All the editable parts of the code will be in red {brackets}. Remove brackets when using code.



1. Group color: Enter the following code into the Online List Format [Prefix] text field.

Quote

<span style='color:{your_color}'>

An example would be:

Quote

<span style='color:green'>

The only thing editable in this code, is the color.



2. Group name, text effects (progressed from step 1) Enter the following code into the Online List Format [Prefix] text field.

Quote

<span style="color:{your_color}; font-weight: {font_type}; filter:{filter_type}(color={your_font_type_color}, strength={number}); height: {number}px">

An example would be:

Quote

<span style="color:cyan; font-weight: bold; filter:glow(color=black, strength=4); height: 1px">

The editable parts in this code are; color, font weight, filter type, filter color, filter strength, and font height.



3. For an image icon, next to group (progressed from step 2): Enter the following code into the Online List Format [Prefix] text field.

Quote

<span style="color:{your_color}; font-weight: {font_type}; filter:{filter_type}(color={your_font_type_color}, strength={number}); height: {number}px"> <img src="{Image_URL}" />

An example would be:

Quote

<span style="color:cyan; font-weight: bold; filter:glow(color=black, strength=4); height: 1px"> <img src="http://i000.photobucket.com/albums/cc260/aanders5/group_image.jpg" />

The editable parts in this code are; color, font weight, filter type, filter color, filter strength, font height, and image URL.




III. Final Step
This last step is very easy.


1. Right below the Online List Format [Prefix], is an option called Online List Format [Suffix], with a text field to the right of it.
2. Add the following into the Online List Format [Suffix] text field

Quote

</span>

The </span>, is the ending tag for the group color/effect/image changing code.




That pretty much sums it all up. Remember each code was progressive and built on the last one, but you can add or remove any sections of the script to still have a complete code.

If you have any additional questions, please ask.
Enjoy!

-Aanders5

#4 User is offline   samuel3 

  • Forum Addict
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 2,224
  • Joined: 13-June 08
  • Gender:Male

Posted 22 November 2008 - 10:12 AM

How do i get this lot, so people know who and whats ranks and what.

Posted Image

#5 User is offline   Aanders5 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 53
  • Joined: 28-October 08
  • Gender:Male
  • Location:USA, MI

Posted 22 November 2008 - 11:38 AM

View Postsamuel3, on Nov 22 2008, 10:12 AM, said:

How do i get this lot, so people know who and whats ranks and what.

Posted Image


ah, well, you could manually code it. But if you want that exact setup, InvisionPower board, already has a special feature coded into it. Its very nice and simple. The only downside is that IPBFree boards, are for "advanced" invisionfree users. I suggest that you use your invisionfree board for about 2 months, then just transfer everything over to an IPBFree board.

True, you could learn straight from going into IPBFree, however I'm thinking that you will get lost, very quickly.

(If you look at bottom of forum, you will see that BC has, and uses, IPB boards, just like me.)
The one you want however is IPBFree.com's board, IPB is like a paid IPBFree board, which is basically is the exact same as an IPB boards, except that you get the license and some extra software.

so ya....that may have been somewhat confusing, sorry if you didn't get it entirely (the IPB and IPBFree part, that is).

-Aanders5

#6 User is offline   samuel3 

  • Forum Addict
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 2,224
  • Joined: 13-June 08
  • Gender:Male

Posted 22 November 2008 - 11:50 AM

Do you know how to make it so its like that, thats what the script was for i think.

#7 User is offline   Aanders5 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 53
  • Joined: 28-October 08
  • Gender:Male
  • Location:USA, MI

Posted 23 November 2008 - 07:20 AM

View Postsamuel3, on Nov 22 2008, 11:50 AM, said:

Do you know how to make it so its like that, thats what the script was for i think.



Well, the code I gave you changes the look of the user groups themselves, now for an actual legend/key you will just have to make a really simple HTML script for that.
such as the one below, and then just keep adding more groups to the list, right before the </h5> tag.

<table>
<tr>
<td>
<h5><font color="red">Administrator</font> | <font color="purple">Moderator</font> | </h5>
</td>
</tr>
</table>


Once you got that, just mess around with it until you like how it looks, and then stick it in your board wrappers.

If you want the group names to go to all the members in that group once clicked upon (redirect to members list), just add a <a href> tag to the group's name.
like so.

Quote

<h5><font color="red"><a href="{Administrator_group_link}">Administrator</a></font> |.....</h5>


Is there anything else I can help you with? And if you do get lost, or don't understand something, just let me know.

-Aanders5

#8 User is offline   Timh09 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 1
  • Joined: 22-July 09

Posted 22 July 2009 - 10:33 PM

Most of the term s you used i didnt understand, lol sorry. But, i dont know if you were asking the question i was wanting to ask.

How do i get groups that i choose listed on the bottom of my forums (invisionfree of course) so poeple can choose from them themselves, i own a rpg sort of thing, but im not a techi so i dont know code. Its more of a group, and we need the diversity. Theres different classes that people would be able to choose from if i could just get the there. Help please ;P

#9 User is offline   1337DV 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 2
  • Joined: 18-August 09

Posted 18 August 2009 - 06:47 AM

Hey how do we add this forum legend to the side of the online list?

#10 User is offline   maugrim 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 1
  • Joined: 06-January 10

Posted 06 January 2010 - 05:47 PM

hey

can someone please help me? i'd like to do the group members in different colors. This is my first time using IF andi 'm not really sure about it. there are basically three groups i'd like to add, not including staff. can someone give me a step by step on how to do it? also are hex codes visible when doing IF like for color you type in IF34B. thanks

#11 User is offline   groovicus 

  • Hail Groovicus!
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 9,605
  • Joined: 05-June 04
  • Gender:Male
  • Location:Centerville, SD

Posted 06 January 2010 - 07:57 PM

Perhaps you would consider starting your own topic?
"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users