inherit
180537
0
Aug 11, 2013 9:57:55 GMT -8
chilld28
48
June 2012
chilld28
|
Post by chilld28 on Jun 4, 2013 15:54:31 GMT -8
Hello, On the old version of Proboards, we had a code that allowed members to select a favorite team and it would place the team logo next to their screen name.With the new upgrade, there is now [L1] or something similar next to the screen name where the logos should be. Could someone help me to fix this code and to get rid of the [L1] next to the names? Your help is greatly appreciated. www.thehoundztooth.combamafamily.proboards.comExample of how it looks now: I also found the code but it's extremely long and probably too long to post here. Thanks so much
|
|
inherit
173855
0
Apr 23, 2024 9:59:44 GMT -8
Texas
I check in every once in a while...
869
November 2011
petermaggio
|
Post by Texas on Jun 4, 2013 16:06:39 GMT -8
If you pm it to me I can take a look. I'm not sure if I'll be able to fix it for you but I'll give it a try.
|
|
inherit
180537
0
Aug 11, 2013 9:57:55 GMT -8
chilld28
48
June 2012
chilld28
|
Post by chilld28 on Jun 4, 2013 16:15:12 GMT -8
Thank you Just sent it to you
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jun 4, 2013 23:27:36 GMT -8
Isnt there a code in the library for images next to displayname?
|
|
inherit
180537
0
Aug 11, 2013 9:57:55 GMT -8
chilld28
48
June 2012
chilld28
|
Post by chilld28 on Jun 4, 2013 23:30:04 GMT -8
Isnt there a code in the library for images next to displayname? I'll double check and see. This code had like a drop down where you would select your team, and then the image would automatically be place by your member name. I dont remember seeing anything like that looking over it today but I could have missed it. I've been overwhelmed with the changes though LOL
|
|
inherit
173855
0
Apr 23, 2024 9:59:44 GMT -8
Texas
I check in every once in a while...
869
November 2011
petermaggio
|
Post by Texas on Jun 5, 2013 6:26:10 GMT -8
I got it. It works pretty much the same way you other one did and I made the plugin editable so you can just add or remove teams the same way the other one did. The only setup it requires (since I just copied the array from the old code so all the images are already there) is to create a custom profile fields with the EXACT name of "Favorite Team" (don't forget the caps) Also make sure that the custom field is viewable in both the profile and the mini-profile. (The code will hide them from view so the only way to tell if the code is working is to go and select a favorite team) C:\Users\Dad\Downloads\Favorite Team (1).pbp (3.53 KB)
|
|
inherit
180537
0
Aug 11, 2013 9:57:55 GMT -8
chilld28
48
June 2012
chilld28
|
Post by chilld28 on Jun 5, 2013 10:01:00 GMT -8
Thank you. I'll set it up and give it a try. Will report back in this thread sin a bit
|
|
inherit
180537
0
Aug 11, 2013 9:57:55 GMT -8
chilld28
48
June 2012
chilld28
|
Post by chilld28 on Jun 5, 2013 10:35:05 GMT -8
I went in to the custom profile field and edited everything so that it looks like this: Then I added the text from the old code with the team names, URL and removed the spaces. I got this to pop up in the profile area: However when you select your team and save it at the bottom, it goes back to the first selection and doesnt add the image.
|
|
inherit
173855
0
Apr 23, 2024 9:59:44 GMT -8
Texas
I check in every once in a while...
869
November 2011
petermaggio
|
Post by Texas on Jun 5, 2013 11:02:19 GMT -8
Have you viewed your profile page?
|
|
inherit
180537
0
Aug 11, 2013 9:57:55 GMT -8
chilld28
48
June 2012
chilld28
|
Post by chilld28 on Jun 5, 2013 11:07:28 GMT -8
Have you viewed your profile page? That's where I edited it from. Went to profile, then edit and then personal. Once we select the team and save it at the bottom, it automatically goes back to Air Force which is the first selection in the drop down
|
|
inherit
173855
0
Apr 23, 2024 9:59:44 GMT -8
Texas
I check in every once in a while...
869
November 2011
petermaggio
|
Post by Texas on Jun 5, 2013 11:32:24 GMT -8
Sorry, it's fixed now. Either copy the code (in the spoiler) below and insert into the already installed plugin or remove the old one and install this new one. Favorite Team(1).pbp (3.6 KB)
$(document).ready(function(){ var logoURL = new Array(); /////////////////////////// Edit Below logoURL[0] = 'http://images.thehoundztooth.com/team_logos/airforce.gif|Air Force'; logoURL[1] = 'http://images.thehoundztooth.com/team_logos/Alabama.gif|Alabama'; logoURL[2] = 'http://images.thehoundztooth.com/team_logos/Arizona.gif|Arizona'; logoURL[3] = 'http://images.thehoundztooth.com/team_logos/ArizonaState.gif|Arizona State'; logoURL[4] = 'http://images.thehoundztooth.com/team_logos/Arkansas.gif|Arkansas'; logoURL[5] = 'http://images.thehoundztooth.com/team_logos/Army.gif|Army'; logoURL[6] = 'http://images.thehoundztooth.com/team_logos/Auburn.gif|Auburn'; logoURL[7] = 'http://images.thehoundztooth.com/team_logos/Baylor.gif|Baylor'; logoURL[8] = 'http://images.thehoundztooth.com/team_logos/BostonCollege.gif|Boston College'; logoURL[9] = 'http://images.thehoundztooth.com/team_logos/BowlingGreen.gif|Bowling Green'; logoURL[10] = 'http://images.thehoundztooth.com/team_logos/Butler.gif|Butler'; logoURL[11] = 'http://images.thehoundztooth.com/team_logos/CSU.gif|Colorado State'; logoURL[12] = 'http://images.thehoundztooth.com/team_logos/Cal.gif|California'; logoURL[13] = 'http://images.thehoundztooth.com/team_logos/CalStateFullerton.gif|Cal State Fullerton'; logoURL[14] = 'http://images.thehoundztooth.com/team_logos/CentralFlorida.gif|Central Florida'; logoURL[15] = 'http://images.thehoundztooth.com/team_logos/Cincy.gif|Cincinnati'; logoURL[16] = 'http://images.thehoundztooth.com/team_logos/Clemson.gif|Clemson'; logoURL[17] = 'http://images.thehoundztooth.com/team_logos/Duke.gif|Duke'; logoURL[18] = 'http://images.thehoundztooth.com/team_logos/Florida.gif|Florida'; logoURL[19] = 'http://images.thehoundztooth.com/team_logos/FloridaState.gif|Florida State'; logoURL[20] = 'http://images.thehoundztooth.com/team_logos/FresnoSt.gif|Fresno State'; logoURL[21] = 'http://images.thehoundztooth.com/team_logos/GATech.gif|Georgia Tech'; logoURL[22] = 'http://images.thehoundztooth.com/team_logos/GeoMason.gif|George Mason'; logoURL[23] = 'http://images.thehoundztooth.com/team_logos/Georgetown.gif|Georgetown'; logoURL[24] = 'http://images.thehoundztooth.com/team_logos/Georgia.gif|Georgia'; logoURL[25] = 'http://images.thehoundztooth.com/team_logos/Gonzaga.gif|Gonzaga'; logoURL[26] = 'http://images.thehoundztooth.com/team_logos/Hawaii.gif|Hawaii'; logoURL[27] = 'http://images.thehoundztooth.com/team_logos/Illinois.gif|Illinois'; logoURL[28] = 'http://images.thehoundztooth.com/team_logos/Indiana.gif|Indiana'; logoURL[29] = 'http://images.thehoundztooth.com/team_logos/Iona.gif|Iona'; logoURL[30] = 'http://images.thehoundztooth.com/team_logos/Iowa.gif|Iowa'; logoURL[31] = 'http://images.thehoundztooth.com/team_logos/Iowastate.gif|Iowa State'; logoURL[32] = 'http://images.thehoundztooth.com/team_logos/KState.gif|Kansas State'; logoURL[33] = 'http://images.thehoundztooth.com/team_logos/Kansas.gif|Kansas'; logoURL[34] = 'http://images.thehoundztooth.com/team_logos/Kentucky.gif|Kentucky'; logoURL[35] = 'http://images.thehoundztooth.com/team_logos/lsu.png|LSU'; logoURL[36] = 'http://images.thehoundztooth.com/team_logos/LaTech.gif|Louisiana Tech'; logoURL[37] = 'http://images.thehoundztooth.com/team_logos/Lamar.gif|Lamar'; logoURL[38] = 'http://images.thehoundztooth.com/team_logos/Louisville.gif|Louisville'; logoURL[39] = 'http://images.thehoundztooth.com/team_logos/Marquette.gif|Marquette'; logoURL[40] = 'http://images.thehoundztooth.com/team_logos/Maryland.gif|Maryland'; logoURL[41] = 'http://images.thehoundztooth.com/team_logos/McNeeseState.gif|Mcneese State'; logoURL[42] = 'http://images.thehoundztooth.com/team_logos/Memphis.gif|Memphis'; logoURL[43] = 'http://images.thehoundztooth.com/team_logos/Miami%28FL%29.gif|Miami'; logoURL[44] = 'http://images.thehoundztooth.com/team_logos/Miami%28OH%29.gif|Miami Ohio'; logoURL[45] = 'http://images.thehoundztooth.com/team_logos/Michigan.gif|Michigan'; logoURL[46] = 'http://images.thehoundztooth.com/team_logos/MichiganState.gif|Michigan State'; logoURL[47] = 'http://images.thehoundztooth.com/team_logos/Minn.gif|Minnesota'; logoURL[48] = 'http://images.thehoundztooth.com/team_logos/MissSt.gif|Mississippi State'; logoURL[49] = 'http://images.thehoundztooth.com/team_logos/Missouri.gif|Missouri'; logoURL[50] = 'http://images.thehoundztooth.com/team_logos/NCstate.gif|NC State'; logoURL[51] = 'http://images.thehoundztooth.com/team_logos/NWst.gif|Northwestern State'; logoURL[52] = 'http://images.thehoundztooth.com/team_logos/Navy.gif|Navy'; logoURL[53] = 'http://images.thehoundztooth.com/team_logos/Nebraska.gif|Nebraska'; logoURL[54] = 'http://images.thehoundztooth.com/team_logos/NotreDame.gif|Notre Dame'; logoURL[55] = 'http://images.thehoundztooth.com/team_logos/OhioState.gif|Ohio State'; logoURL[56] = 'http://images.thehoundztooth.com/team_logos/Oklahoma.gif|Oklahoma'; logoURL[57] = 'http://images.thehoundztooth.com/team_logos/OklahomaState.gif|Oklahoma State'; logoURL[58] = 'http://images.thehoundztooth.com/team_logos/Olemiss.gif|Ole Miss'; logoURL[59] = 'http://images.thehoundztooth.com/team_logos/Oregon.gif|Oregon'; logoURL[60] = 'http://images.thehoundztooth.com/team_logos/OregonState.gif|Oregon State'; logoURL[61] = 'http://images.thehoundztooth.com/team_logos/Penn.gif|Pensylvania'; logoURL[62] = 'http://images.thehoundztooth.com/team_logos/PennState.gif|Penn State'; logoURL[63] = 'http://images.thehoundztooth.com/team_logos/Pitt.gif|Pitt'; logoURL[64] = 'http://images.thehoundztooth.com/team_logos/Purdue.gif|Purdue'; logoURL[65] = 'http://images.thehoundztooth.com/team_logos/Rice.gif|Rice'; logoURL[66] = 'http://images.thehoundztooth.com/team_logos/Rutgers.gif|Rutgers'; logoURL[67] = 'http://images.thehoundztooth.com/team_logos/SMU.gif|SMU'; logoURL[68] = 'http://images.thehoundztooth.com/team_logos/SWMissouriState.gif|SW Missouri State'; logoURL[69] = 'http://images.thehoundztooth.com/team_logos/SouthCarolina.gif|South Carolina'; logoURL[70] = 'http://images.thehoundztooth.com/team_logos/SouthernCal.gif|Southern Cal'; logoURL[71] = 'http://images.thehoundztooth.com/team_logos/Southern.gif|Southern'; logoURL[72] = 'http://images.thehoundztooth.com/team_logos/USF.gif|South Florida'; logoURL[73] = 'http://images.thehoundztooth.com/team_logos/SouthernMiss.gif|Southern Miss'; logoURL[74] = 'http://images.thehoundztooth.com/team_logos/Stanford.gif|Standford'; logoURL[75] = 'http://images.thehoundztooth.com/team_logos/Syracuse.gif|Syracuse'; logoURL[76] = 'http://images.thehoundztooth.com/team_logos/TCU.gif|TCU'; logoURL[77] = 'http://images.thehoundztooth.com/team_logos/Tennessee.gif|Tennessee'; logoURL[78] = 'http://images.thehoundztooth.com/team_logos/Texas.gif|Texas'; logoURL[79] = 'http://images.thehoundztooth.com/team_logos/TexasAM.gif|Texas A&M'; logoURL[80] = 'http://images.thehoundztooth.com/team_logos/TexasTech.gif|Texas Tech'; logoURL[81] = 'http://images.thehoundztooth.com/team_logos/Toledo.gif|Toledo'; logoURL[82] = 'http://images.thehoundztooth.com/team_logos/Troy.gif|Troy'; logoURL[83] = 'http://images.thehoundztooth.com/team_logos/Tulane.gif|Tulane'; logoURL[84] = 'http://images.thehoundztooth.com/team_logos/UAB.gif|UAB'; logoURL[85] = 'http://images.thehoundztooth.com/team_logos/UCLA.gif|UCLA'; logoURL[86] = 'http://images.thehoundztooth.com/team_logos/UConn.gif|UCONN'; logoURL[87] = 'http://images.thehoundztooth.com/team_logos/ULL.gif|ULL'; logoURL[88] = 'http://images.thehoundztooth.com/team_logos/UNC.gif|UNC'; logoURL[89] = 'http://images.thehoundztooth.com/team_logos/UNO.gif|UNO'; logoURL[90] = 'http://images.thehoundztooth.com/team_logos/USA.gif|United States'; logoURL[91] = 'http://images.thehoundztooth.com/team_logos/UTEP.gif|UTEP'; logoURL[92] = 'http://images.thehoundztooth.com/team_logos/Nova.gif|Villanova'; logoURL[93] = 'http://images.thehoundztooth.com/team_logos/VCU.gif|VCU'; logoURL[94] = 'http://images.thehoundztooth.com/team_logos/Valpo.gif|Valpo'; logoURL[95] = 'http://images.thehoundztooth.com/team_logos/Vanderbilt.gif|Vanderbilt'; logoURL[96] = 'http://images.thehoundztooth.com/team_logos/Virginia.gif|Virginia'; logoURL[97] = 'http://images.thehoundztooth.com/team_logos/VATech.gif|Virginia Tech'; logoURL[98] = 'http://images.thehoundztooth.com/team_logos/WakeForest.gif|Wake Forest'; logoURL[99] = 'http://images.thehoundztooth.com/team_logos/Washington.gif|Washington'; logoURL[100] = 'http://images.thehoundztooth.com/team_logos/WestVirginia.gif|West Virginia'; logoURL[101] = 'http://images.thehoundztooth.com/team_logos/WesternIllinois.gif|Western Illinois'; logoURL[102] = 'http://images.thehoundztooth.com/team_logos/UWM.gif|Western Michigan'; logoURL[103] = 'http://images.thehoundztooth.com/team_logos/Wisconsin.gif|Wisconsin'; logoURL[104] = 'http://images.thehoundztooth.com/team_logos/Xavier.gif|Xavier'; logoURL[105] = 'http://images.thehoundztooth.com/team_logos/marshall.png|Marshall'; logoURL[106] = 'http://images.thehoundztooth.com/team_logos/corndog.png|Funny LSU'; logoURL[107] = 'http://images.thehoundztooth.com/team_logos/ohio.png|Ohio';
logoURL[108] = 'http://images.thehoundztooth.com/team_logos/arizona%20cards.png|Arizona'; logoURL[109] = 'http://images.thehoundztooth.com/team_logos/atlanta%20falcons.png|Atlanta'; logoURL[110] = 'http://images.thehoundztooth.com/team_logos/baltimore%20ravens.png|Baltimore'; logoURL[111] = 'http://images.thehoundztooth.com/team_logos/buffalo%20bills.png|Buffalo'; logoURL[112] = 'http://images.thehoundztooth.com/team_logos/carolina%20panthers.png|Carolina'; logoURL[113] = 'http://images.thehoundztooth.com/team_logos/chicago%20bears.png|Chicago'; logoURL[114] = 'http://images.thehoundztooth.com/team_logos/cincinnati%20bengals.png|Cincinnati'; logoURL[115] = 'http://images.thehoundztooth.com/team_logos/cleveland%20browns.png|Cleveland'; logoURL[116] = 'http://images.thehoundztooth.com/team_logos/dallas%20cowgirls.png|Dallas'; logoURL[117] = 'http://images.thehoundztooth.com/team_logos/denver%20broncos.png|Denver'; logoURL[118] = 'http://images.thehoundztooth.com/team_logos/detroit%20lions.png|Detroit'; logoURL[119] = 'http://images.thehoundztooth.com/team_logos/green%20bay%20packers.png|Green Bay'; logoURL[120] = 'http://images.thehoundztooth.com/team_logos/houston%20texans.png|Houston'; logoURL[121] = 'http://images.thehoundztooth.com/team_logos/indianapolis%20colts.png|Indianapolis'; logoURL[122] = 'http://images.thehoundztooth.com/team_logos/jacksonville%20jags.png|Jacksonville'; logoURL[123] = 'http://images.thehoundztooth.com/team_logos/kansas%20city%20chiefs.png|Kansas City'; logoURL[124] = 'http://images.thehoundztooth.com/team_logos/miami%20dolphins.png|Miami'; logoURL[125] = 'http://images.thehoundztooth.com/team_logos/minnesota%20vikings.png|Minnesota'; logoURL[126] = 'http://images.thehoundztooth.com/team_logos/new%20england%20pats.png|New England'; logoURL[127] = 'http://images.thehoundztooth.com/team_logos/new%20orleans%20saints.png|New Orleans'; logoURL[128] = 'http://images.thehoundztooth.com/team_logos/new%20york%20giants.png|New York Giants'; logoURL[129] = 'http://images.thehoundztooth.com/team_logos/new%20york%20jets.png|New York Jets'; logoURL[130] = 'http://images.thehoundztooth.com/team_logos/oakland%20raiders.png|Oakland'; logoURL[131] = 'http://images.thehoundztooth.com/team_logos/philidelphia%20eagles.png|Philadelphia'; logoURL[132] = 'http://images.thehoundztooth.com/team_logos/pittsburgh%20steelers.png|Pittsburgh'; logoURL[133] = 'http://images.thehoundztooth.com/team_logos/san%20diego%20chargers.png|San Diego'; logoURL[134] = 'http://images.thehoundztooth.com/team_logos/san%20fransico%20niners.png|San Fransico'; logoURL[135] = 'http://images.thehoundztooth.com/team_logos/seattle%20seahawks.png|Seattle'; logoURL[136] = 'http://images.thehoundztooth.com/team_logos/st%20louis%20rams.png|St. Louis'; logoURL[137] = 'http://images.thehoundztooth.com/team_logos/tampa%20bay%20buccs.png|Tampa Bay'; logoURL[138] = 'http://images.thehoundztooth.com/team_logos/tennessee%20titanst.png|Tennessee'; logoURL[139] = 'http://images.thehoundztooth.com/team_logos/washington%20redskins.png|Washington';
logoURL[140] = 'http://images.thehoundztooth.com/team_logos/atlanta%20hawks.png|Atlanta'; logoURL[141] = 'http://images.thehoundztooth.com/team_logos/boston%20celtics.png|Boston'; logoURL[142] = 'http://images.thehoundztooth.com/team_logos/brooklyn%20nets.png|Brooklyn'; logoURL[143] = 'http://images.thehoundztooth.com/team_logos/charlotte%20bobcats.png|Charlotte'; logoURL[144] = 'http://images.thehoundztooth.com/team_logos/chicago%20bulls.png|Chicago'; logoURL[145] = 'http://images.thehoundztooth.com/team_logos/cleveland%20cavs.png|Cleveland'; logoURL[146] = 'http://images.thehoundztooth.com/team_logos/dallas%20mavericks.png|Dallas'; logoURL[147] = 'http://images.thehoundztooth.com/team_logos/denver%20nuggets.png|Denver'; logoURL[148] = 'http://images.thehoundztooth.com/team_logos/detroit%20pistons.png|Detroit'; logoURL[149] = 'http://images.thehoundztooth.com/team_logos/houston%20rockets.png|Houston'; logoURL[150] = 'http://images.thehoundztooth.com/team_logos/houston%20rockets.png|Golden State'; logoURL[151] = 'http://images.thehoundztooth.com/team_logos/indiana%20pacers.png|Indiana'; logoURL[152] = 'http://images.thehoundztooth.com/team_logos/la%20clippers.png|LA Clippers'; logoURL[153] = 'http://images.thehoundztooth.com/team_logos/la%20lakers.png|LA Lakers'; logoURL[154] = 'http://images.thehoundztooth.com/team_logos/memphis%20grizzlies.png|Memphis'; logoURL[155] = 'http://images.thehoundztooth.com/team_logos/miami%20heat.png|Miami'; logoURL[156] = 'http://images.thehoundztooth.com/team_logos/miami%20heat.png|Milwaukee'; logoURL[157] = 'http://images.thehoundztooth.com/team_logos/miami%20heat.png|Minnesota'; logoURL[158] = 'http://images.thehoundztooth.com/team_logos/new%20orleans%20hornets.png|New Orleans'; logoURL[159] = 'http://images.thehoundztooth.com/team_logos/new%20york%20knicks.png|New York'; logoURL[160] = 'http://images.thehoundztooth.com/team_logos/oklahoma%20city%20thunder.png|Oklahoma City'; logoURL[161] = 'http://images.thehoundztooth.com/team_logos/orlando%20magic.png|Orlando'; logoURL[162] = 'http://images.thehoundztooth.com/team_logos/philadelphia%2076ers.png|Philadelphia'; logoURL[163] = 'http://images.thehoundztooth.com/team_logos/phoenix%20suns.png|Phoenix'; logoURL[164] = 'http://images.thehoundztooth.com/team_logos/portland%20trailblazers.png|Portland'; logoURL[165] = 'http://images.thehoundztooth.com/team_logos/sacramento%20kings.png|Sacramento'; logoURL[166] = 'http://images.thehoundztooth.com/team_logos/san%20antonio%20spurs.png|San Antonio'; logoURL[167] = 'http://images.thehoundztooth.com/team_logos/toronto%20raptors.png|Toronto'; logoURL[168] = 'http://images.thehoundztooth.com/team_logos/utah%20jazz.png|Utah'; logoURL[169] = 'http://images.thehoundztooth.com/team_logos/washinton%20wizards.png|Washington'; ///////////////////////////// Don't Touch Below Here var userurl = proboards.data('user').url; var settingsP = RegExp( userurl + "/personal" ) var selector = '<br>' + '<br>' + '<h5>Favorite Team</h5>' + '<div class="description">Displays your favorite team by your username</div>' + '<select name="favorite_team"></select>'; if(location.href.match(settingsP) ){ $("[name='name']").after(selector); $('label').each(function(){ if( $(this).text().match(/Favorite Team/) ){ $(this).next().hide(); $(this).hide(); $(this).next().attr('id','favorite_team'); } }); for(i=0; i<logoURL.length; i++){ var team = logoURL[i].split('|')[1]; $("[name='favorite_team']").append('<option value='+i+'>'+ team + '</option>'); } if( $('#favorite_team').val() == "" ){ if($("[name='favorite_team']").val() == 0){ var team = logoURL[0].split('|')[0]; $('#favorite_team').val(team); } }else{ for(i=0; i<logoURL.length; i++){ if( $('#favorite_team').val().match(logoURL[i]) ){ $('[name="favorite_team"]').val(i); } } } $('[name="favorite_team"] > option').each(function(){ $(this).click(function(){ alert('works'); var number = $(this).val(); var team = logoURL[number].split('|')[0]; $('#favorite_team').val( "|" + team ); }); }); } if( location.href.match(/user/) ){ $('tr').each(function(){ if( $(this).prop('class').match(/custom-field-favoriteteam/) ){ var url = $(this).children().last().text(); favteamurl = url.split('|')[1]; $(this).remove(); } }); $('.big_username').append('<img src='+favteamurl+'>'); } if( location.href.match(/thread/) ){ $('span').each(function(){ if( $(this).text().match(/Favorite Team/) ){ var url = $(this).text().split('|')[1]; $(this).parent().parent().children().first().after('<img src='+url+'>'); $(this).remove(); } }); } });
|
|
inherit
180537
0
Aug 11, 2013 9:57:55 GMT -8
chilld28
48
June 2012
chilld28
|
Post by chilld28 on Jun 5, 2013 11:42:13 GMT -8
I removed the old one and installed the new one and it's still doing the same. You can select the team but after saving it, it goes back to the original setting and no image is posted. Here is how I have Teams and URLs listed in that field: logoURL[0]='http://images.thehoundztooth.com/team_logos/airforce.gif|Air Force'; logoURL[1]='http://images.thehoundztooth.com/team_logos/Alabama.gif|Alabama'; logoURL[2]='http://images.thehoundztooth.com/team_logos/Arizona.gif|Arizona'; and so on. I also downloaded an Icon Next To Members Name Plugin last night but I disabled that when I started working with this one. Could that plugin still being listed have any effect on it? Only others I have enabled are Notifications in Browser Tab and IP Lookup buttons. Im sorry to be such a bother on this but I thank you for sticking with me
|
|
inherit
173855
0
Apr 23, 2024 9:59:44 GMT -8
Texas
I check in every once in a while...
869
November 2011
petermaggio
|
Post by Texas on Jun 5, 2013 11:54:48 GMT -8
I just found the problem. You pointed out a problem and I assumed it was my fault because of a part of the code that I knew would cause the problem you pointed out. So I fixed that problem, but since you were still having the problem I went and checked your pictures and found the problem. The custom field needs to be a text field. Not a drop down. The text field is generated by the code.
|
|
inherit
180537
0
Aug 11, 2013 9:57:55 GMT -8
chilld28
48
June 2012
chilld28
|
Post by chilld28 on Jun 5, 2013 12:03:05 GMT -8
I went back to the Custom Profile Field section and changed that to Text Field. I still have the new version of the plug in loaded and it's still doing the same when you select it. Do I need to reload the original plug in for it to work?
|
|
inherit
173855
0
Apr 23, 2024 9:59:44 GMT -8
Texas
I check in every once in a while...
869
November 2011
petermaggio
|
Post by Texas on Jun 5, 2013 12:14:46 GMT -8
Could you tell me which board to register on so I can view you forum?
|
|