News:

Create A Forum Installed

Author Topic: [Code] Membergroup Image  (Read 14971 times)

0 Members and 1 Guest are viewing this topic.

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile

Badges: (View All)
Level 6 Sixth year Anniversary Fifth year Anniversary
Re: [Code] Membergroup Image
« Reply #30 on: April 21, 2012, 04:43:52 pm »
When I compared the code you used with the original code, I noticed that you were missing a couple of things in there which would cause it to not work. Did you use any sort of compression tool on this code or something? I don't have any other explanation on how you missed some parts of the code unless you didn't copy and paste it.
Use this code instead:
Code: [Select]
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript">
function GroupImage(Group, Image){
//Created by Agent Moose
var PostGroup = document.getElementsByTagName("li");
for(x=0;x<PostGroup.length;x++){
if(PostGroup[x].className === "membergroup" && PostGroup[x].innerHTML.toLowerCase() === Group.toLowerCase()){
$(PostGroup[x]).parent().prev().find("a:last").prepend("<img src='" + Image + "' />");
};
if(PostGroup[x].className !== "membergroup" && PostGroup[x].className === "postgroup" && PostGroup[x].innerHTML.toLowerCase() === Group.toLowerCase()){
$(PostGroup[x]).parent().prev().find("a:last").prepend("<img src='" + Image + "' />");
};
};
};
GroupImage("Administrator", "http://i277.photobucket.com/albums/kk51/jssmiles/10qhzb8.png");
</script>

What exactly do you mean by "the one before 2.0"?
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Offline Matt

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
    • View Profile

Badges: (View All)
Search Level 2 Linux User
Re: [Code] Membergroup Image
« Reply #31 on: April 21, 2012, 06:04:09 pm »
That code didnt work...so im guessing we have a dif version?

Offline Matt

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
    • View Profile

Badges: (View All)
Search Level 2 Linux User
Re: [Code] Membergroup Image
« Reply #32 on: April 21, 2012, 06:08:12 pm »
We never updated our forums so its the reg one, request another code.

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile

Badges: (View All)
Level 6 Sixth year Anniversary Fifth year Anniversary
Re: [Code] Membergroup Image
« Reply #33 on: April 21, 2012, 06:23:03 pm »
I've just checked your forum right now and it DOES work. The problem is that you need to update your web browser to latest version available or get a new one.
Chrome:                              http://www.google.com/intl/en/chrome/
Firefox:                                http://www.mozilla.org/en-US/firefox/new/
IE9(Windows Vista/7 only): http://windows.microsoft.com/en-US/internet-explorer/downloads/ie-9/worldwide-languages
« Last Edit: April 21, 2012, 06:40:59 pm by xboi209 »
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Offline Matt

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
    • View Profile

Badges: (View All)
Search Level 2 Linux User
Re: [Code] Membergroup Image
« Reply #34 on: April 21, 2012, 06:40:17 pm »
It matter?

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile

Badges: (View All)
Level 6 Sixth year Anniversary Fifth year Anniversary
Re: [Code] Membergroup Image
« Reply #35 on: April 21, 2012, 06:40:40 pm »
Yes it actually does
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Offline Matt

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
    • View Profile

Badges: (View All)
Search Level 2 Linux User
Re: [Code] Membergroup Image
« Reply #36 on: April 21, 2012, 06:43:59 pm »
So once i dl that firefox is should work ?

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile

Badges: (View All)
Level 6 Sixth year Anniversary Fifth year Anniversary
Re: [Code] Membergroup Image
« Reply #37 on: April 21, 2012, 06:44:43 pm »
Yes, any of the 3 I listed above will work.
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Offline Matt

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
    • View Profile

Badges: (View All)
Search Level 2 Linux User
Re: [Code] Membergroup Image
« Reply #38 on: April 21, 2012, 06:48:03 pm »
Once i dled do i go on that browser of firefox and re enter code?

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile

Badges: (View All)
Level 6 Sixth year Anniversary Fifth year Anniversary
Re: [Code] Membergroup Image
« Reply #39 on: April 21, 2012, 06:49:12 pm »
You don't have to re-enter the code again, you will see the code work because the image will appear next to your name.
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Offline Matt

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
    • View Profile

Badges: (View All)
Search Level 2 Linux User
Re: [Code] Membergroup Image
« Reply #40 on: April 21, 2012, 06:52:45 pm »
Thanks it worked.

Offline Matt

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
    • View Profile

Badges: (View All)
Search Level 2 Linux User
Re: [Code] Membergroup Image
« Reply #41 on: April 21, 2012, 07:04:37 pm »
How do i change the colour of name? I change the color in memeber group thinkingit would change it but it didnt

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile

Badges: (View All)
Level 6 Sixth year Anniversary Fifth year Anniversary
Re: [Code] Membergroup Image
« Reply #42 on: April 21, 2012, 07:06:29 pm »
There isn't an option or a code for that yet.
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Offline halokiller38

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile

Badges: (View All)
Level 4 Combination Level 3
Re: [Code] Membergroup Image
« Reply #43 on: May 09, 2012, 03:04:36 am »
How do I do this?

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile

Badges: (View All)
Level 6 Sixth year Anniversary Fifth year Anniversary
Re: [Code] Membergroup Image
« Reply #44 on: May 09, 2012, 01:34:21 pm »
Instructions are already in the original post, if you be more specific then I can help you
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
697 Views
Last post October 28, 2012, 01:35:55 pm
by terrel8125
9 Replies
2767 Views
Last post March 13, 2013, 10:51:19 pm
by aIURbliS
5 Replies
3539 Views
Last post July 19, 2020, 05:59:23 am
by Cobra C
4 Replies
33071 Views
Last post November 23, 2015, 03:26:07 am
by Agent Moose
0 Replies
375 Views
Last post October 18, 2015, 07:51:49 pm
by e a t p l z