Advertise Here

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

0 Members and 1 Guest are viewing this topic.

Offline Mythe

  • SMF For Free Member
  • *
  • Posts: 53
    • View Profile

  • Total Badges: 8
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 50 Posts
Re: [Code] Membergroup Image
« Reply #45 on: May 21, 2011, 05:39:03 am »
Please provide us with:

Your forum URL
The code that is in your footers that is not working
I already have something in the footers, another image for the group, because i dont like the stars.

Offline ut shady

  • SMF For Free Full Member
  • *
  • Posts: 172
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 100 Posts
Re: [Code] Membergroup Image
« Reply #46 on: May 21, 2011, 08:23:03 am »
He asked for that info because you said it wasn't working. Is it working now?

Offline Mythe

  • SMF For Free Member
  • *
  • Posts: 53
    • View Profile

  • Total Badges: 8
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 50 Posts
Re: [Code] Membergroup Image
« Reply #47 on: May 21, 2011, 09:06:34 am »
No, it still doesn't work

Offline ut shady

  • SMF For Free Full Member
  • *
  • Posts: 172
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 100 Posts
Re: [Code] Membergroup Image
« Reply #48 on: May 21, 2011, 09:52:36 am »
so give us the code you put in your footers so we can fix it for you.

Offline Andrew

  • Helpers
  • *
  • Posts: 2060
  • Andrew at your service
    • View Profile
    • Alabama Weather Prediction

  • Total Badges: 32
    Badges: (View All)
    10 Poll Votes Level 6 Eighth year Anniversary Seventh year Anniversary Sixth year Anniversary
Re: [Code] Membergroup Image
« Reply #49 on: May 21, 2011, 11:24:05 am »
@Speedy did you not get my last post at all? You even quoted it...

Your forum URL and the code that is not working MUST be provided if you want us to help you. We're not mind readers. ;)

Tips For Using Support Forum

Offline Mythe

  • SMF For Free Member
  • *
  • Posts: 53
    • View Profile

  • Total Badges: 8
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 50 Posts
Re: [Code] Membergroup Image
« Reply #50 on: May 21, 2011, 05:30:30 pm »
www.kmtscape.freesmfhosting.com/

Code: [Select]
[/b]<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array();

vfour[vfour.length] = ["Delusion","Delusion","royalblue","<img src='http://www.menacescape.com/images/rankimg/admin.png' />"];
vfour[vfour.length] = ["TheOnlyOne","TheOnlyOne","RoyalBlue","<img src='http://www.menacescape.com/images/rankimg/admin.png'/>"];
vfour[vfour.length] = ["OWNER","OWNER","RoyalBlue","<img src='http://www.menacescape.com/images/rankimg/admin.png'/>"];
vfour[vfour.length] = ["Tristan","Tristan","RoyalBlue","<img src='http://www.menacescape.com/images/rankimg/admin.png'/>"];
vfour[vfour.length] = ["cedric4life","Cedric4life","Red","<img src='http://i31.tinypic.com/2djcg2f.png' />"];
vfour[vfour.length] = ["GLOBAL","GLOBAL","Green","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod.gif' />"];
vfour[vfour.length] = ["iTz","iTz","Orange","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/modcrownaw2.png' />"];
vfour[vfour.length] = ["Ice","Ice","#3BB9FF","<img src='http://i25.tinypic.com/af8unp.png' />"];
vfour[vfour.length] = ["Vonic","Vonic","3BB9FF","<img src='http://i25.tinypic.com/af8unp.png' />"];
vfour[vfour.length] = ["LEGEND","LEGEND","yellow","<img src='http://www.menacescape.com/images/rankimg/legend.png' />"];
vfour[vfour.length] = ["OLD NAME","NEW NAME","COLOR","<img src='IMAGE URL' />"];

for(f=0;f<vfour.length;f++){
$("a[href*='u=']").each(function() {
if(this.innerHTML.match(vfour[f][0])){
this.innerHTML = this.innerHTML.replace(vfour[f][0],"<font color='" + vfour[f][2] + "'>" + vfour[f][3] + vfour[f][(vfour[f][1] != "" ? 1 : 0)] + "</font>");
};});};}
name_across_board();
</script>

<script type='text/javascript'>
/*
Change Any Image On Page
Created by iFusion
*/
var img_b = new Array();


img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1staraqua.gif" , "http://www.menacescape.com/images/ranks/admin.png" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1stargold.gif" , "http://img375.imageshack.us/img375/5764/redphat.png" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1starlime.gif" , "http://www.menacescape.com/images/ranks/donator.jpg" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1starorange.gif" , "http://img710.imageshack.us/img710/1750/veteran1.png" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1starpink.gif" , "http://i42.tinypic.com/2wlsp52.png" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1starpurple.gif" , "http://www.menacescape.com/images/designer.png" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1starred.gif" , "http://www.menacescape.com/images/ranks/developer.jpg" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/2music.gif" , "http://i43.tinypic.com/20dja.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/2music1.gif" , "http://i26.tinypic.com/1zv6gra.jpg" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/2music2.gif" , "http://www.menacescape.com/images/ranks/sectional1.png" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/2music3.gif" , "http://i38.tinypic.com/2v3lzma.png" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/star.gif" , "http://i538.photobucket.com/albums/ff349/lets_photoshop/junmem.png" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/3green.gif" , "http://i32.tinypic.com/2nqtkd5.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/3invert.gif" , "http://i40.tinypic.com/f5kpu.png" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/3orange.gif" , "http://i56.tinypic.com/2viffae.png" ]
img_b[img_b.length++] = [ "http://images.www.smfboards.com/ranks/3cyan.gif" , "http://i538.photobucket.com/albums/ff349/lets_photoshop/junmem.png" ]
img_b[img_b.length++] = [ "http://images.www.smfboards.com/ranks/2music2.gif" , "http://i44.tinypic.com/28rywt3.gif" ]
img_b[img_b.length++] = [ "http://images.www.smfboards.com/ranks/2music1.gif" , "http://i26.tinypic.com/1zv6gra.jpg" ]
img_b[img_b.length++] = [ "http://images.www.smfboards.com/ranks/2music3.gif" , "http://i38.tinypic.com/2v3lzma.png" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/3yellow.gif" , "http://www.menacescape.com/userranks/rune.png" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/3red.gif" , "http://www.menacescape.com/userranks/dragon.png" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/3purple.gif" , "http://www.menacescape.com/userranks/obby.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/3palegreen.gif" , "http://www.menacescape.com/userranks/firecape.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/staradmin.gif" , "http://www.menacescape.com/images/ranks/legend.png" ]
var all_images = document.getElementsByTagName('IMG');
for(i=0;i<all_images.length;i++){
for(j=0;j<img_b.length;j++){
   if(all_images[i].src == img_b[j][0]){
     all_images[i].src = img_b[j][1];
}}}
</script>[/b]
« Last Edit: May 23, 2011, 05:57:04 am by Speedy »

Offline ut shady

  • SMF For Free Full Member
  • *
  • Posts: 172
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 100 Posts
Re: [Code] Membergroup Image
« Reply #51 on: May 21, 2011, 06:18:46 pm »
Code: [Select]
vfour[vfour.length] = ["Delusion","Delusion","royalblue","<img src='http://www.menacescape.com/images/rankimg/admin.png' />"];
vfour[vfour.length] = ["TheOnlyOne","TheOnlyOne","RoyalBlue","<img src='http://www.menacescape.com/images/rankimg/admin.png'/>"];
vfour[vfour.length] = ["OWNER","OWNER","RoyalBlue","<img src='http://www.menacescape.com/images/rankimg/admin.png'/>"];
vfour[vfour.length] = ["Tristan","Tristan","RoyalBlue","<img src='http://www.menacescape.com/images/rankimg/admin.png'/>"];
vfour[vfour.length] = ["cedric4life","Cedric4life","Red","<img src='http://i31.tinypic.com/2djcg2f.png' />"];
vfour[vfour.length] = ["GLOBAL","GLOBAL","Green","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod.gif' />"];
vfour[vfour.length] = ["iTz","iTz","Orange","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/modcrownaw2.png' />"];
vfour[vfour.length] = ["Ice","Ice","#3BB9FF","<img src='http://i25.tinypic.com/af8unp.png' />"];
vfour[vfour.length] = ["Vonic","Vonic","3BB9FF","<img src='http://i25.tinypic.com/af8unp.png' />"];
vfour[vfour.length] = ["LEGEND","LEGEND","yellow","<img src='http://www.menacescape.com/images/rankimg/legend.png' />"];
In that part of the code, for the colors, i think you need to use HTML codes.
You can use this site http://www.computerhope.com/htmcolor.htm
Code: [Select]
vfour[vfour.length] = ["OLD NAME","NEW NAME","COLOR","<img src='IMAGE URL' />"];In that part of your code, you don't keep that line, thats a line you edit.

Also to add, for this code, you don't want this code and the across the name across board code together.

Offline Seldom Fail

  • Helpers
  • *
  • Posts: 2082
  • Helping for 3 years! :)
    • View Profile
    • My Site!

  • Total Badges: 26
    Badges: (View All)
    Sixth year Anniversary Fifth year Anniversary Apple User Search Poll Voter
Re: [Code] Membergroup Image
« Reply #52 on: May 21, 2011, 06:25:57 pm »
code looks like it's working to me. Names appear fine.

PS - did you not use the footer info for the theme you're using?
<--- Donate to SMF For Free! :D

Offline Andrew

  • Helpers
  • *
  • Posts: 2060
  • Andrew at your service
    • View Profile
    • Alabama Weather Prediction

  • Total Badges: 32
    Badges: (View All)
    10 Poll Votes Level 6 Eighth year Anniversary Seventh year Anniversary Sixth year Anniversary
Re: [Code] Membergroup Image
« Reply #53 on: May 21, 2011, 07:44:33 pm »
Also, is this code in your header?
Code: [Select]
<script src="/jquery.js"></script>

Offline Mythe

  • SMF For Free Member
  • *
  • Posts: 53
    • View Profile

  • Total Badges: 8
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 50 Posts
Re: [Code] Membergroup Image
« Reply #54 on: May 22, 2011, 06:50:05 am »
Also, is this code in your header?
Code: [Select]
<script src="/jquery.js"></script>
Yes it is.

Offline Seldom Fail

  • Helpers
  • *
  • Posts: 2082
  • Helping for 3 years! :)
    • View Profile
    • My Site!

  • Total Badges: 26
    Badges: (View All)
    Sixth year Anniversary Fifth year Anniversary Apple User Search Poll Voter
Re: [Code] Membergroup Image
« Reply #55 on: May 22, 2011, 08:42:24 am »
Speedy, the code is working on your forum. Can you still not see it?
<--- Donate to SMF For Free! :D

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [Code] Membergroup Image
« Reply #56 on: May 22, 2011, 10:45:57 am »
Seldom - The code this thread is about is not even in his Footer.   He is using the name across board code.   (See his post with the code AND see his source code)

Speedy - If you tried to use THIS code along with the code you currently are using you can NOT (as it says in the directions)
This code can not be used along with the "name across board" codes.   

That code (the "name across board")  is working fine.  I can see the colors and the images for the names you setup -  in both IE and Firefox.
« Last Edit: May 22, 2011, 10:54:24 am by simply sibyl »

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
1030 Views
Last post August 21, 2007, 02:20:47 pm
by Xarjin
0 Replies
689 Views
Last post July 01, 2008, 04:00:16 pm
by raggi5
2 Replies
874 Views
Last post July 07, 2008, 11:17:17 am
by simply sibyl
2 Replies
1723 Views
Last post November 26, 2008, 03:38:15 pm
by - Lawrence -
1 Replies
2696 Views
Last post February 16, 2013, 07:22:58 pm
by simplyaura