Advertise Here

Author Topic: Rank Help  (Read 1407 times)

0 Members and 1 Guest are viewing this topic.

Offline Ugotclaydough

  • SMF For Free Newbie
  • *
  • Posts: 3
    • View Profile

  • Total Badges: 4
    Badges: (View All)
    Topic Starter Level 1 First Post One year Anniversary
Rank Help
« on: June 19, 2011, 10:34:06 am »
Forum Url: Not Active
Can anyone convert this to smf 2.0?
Code: [Select]
<script>
var v7 = new Array();

v7[v7.length] = ["1","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.gif'><b>Hope</b>","#0000FF"]; v7[v7.length] = ["10","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.gif'><b>Evisonny</b>","#FFFF00"];


 
 
function name_across_board(){
var Name = document.links;
for(v=0;v<Name.length;v++){
for(x=0;x<v7.length;x++){
if(Name[v].href.match("action=profile;u=" + v7[x][0] + "$")){
Name[v].innerHTML = v7[x][1] != "" ? v7[x][1] : Name[v].innerHTML;
Name[v].style.color = v7[x][2];
};};};};
name_across_board();

</script>

Thats the footer, and the header is:
Code: [Select]
<script src="/jquery.js"></script>The problem seems to be only in the forum area... It puts the icon far off to the right of the name.

Thanks in advance.

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: Rank Help
« Reply #1 on: June 19, 2011, 12:45:27 pm »
The forums hosted here run SMF 1.1.x. We can't help you with a code for 2.0 here.

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
1033 Views
Last post May 02, 2008, 04:50:21 am
by Mr_smith
6 Replies
2527 Views
Last post June 26, 2008, 09:49:40 pm
by yoge999
8 Replies
1735 Views
Last post August 26, 2008, 10:08:44 pm
by God11
17 Replies
5097 Views
Last post April 14, 2009, 12:58:29 pm
by - Lawrence -
2 Replies
1233 Views
Last post December 15, 2009, 04:07:16 pm
by Purple Silence