|
Post by Draco Malfoy on Dec 31, 2007 14:15:32 GMT
|
|
|
Post by Eton Bones on Dec 31, 2007 18:04:40 GMT
I'm not considered staff on puremalfoy so I can't even login
|
|
|
Post by Draco Malfoy on Dec 31, 2007 18:49:49 GMT
Ah. Good point!! OK hold on and I'll let you in.
I have another small fix too.
|
|
|
Post by Draco Malfoy on Dec 31, 2007 18:52:23 GMT
OK you should be able to get in now, sorry! OK the small fix was again the miniprofile - on the Lucius Patronus skin, there is no border around the tables. Could you put in a border like the BlackFamily one, but in color 666666? here's a preview of how it looks at the moment: Thank you.
|
|
|
Post by Draco Malfoy on Dec 31, 2007 21:48:38 GMT
ahh, I was trying to think what these members had in common that made their profiles like that. It seems to be members in groups that I have chosen not to have any rank images.
I would prefer them not to have rank images, and have the fix for it, if you could? Hope that helps. Strangely though, the 'Muggle (non rper) group doesn't have a rank image and their profiles are ok.
|
|
|
Post by Eton Bones on Jan 1, 2008 8:49:37 GMT
Did you remove the chosen avatars for those profiles because all I see are defaults. I can't fix it if I don't have something to work with. OK you should be able to get in now, sorry! OK the small fix was again the miniprofile - on the Lucius Patronus skin, there is no border around the tables. Could you put in a border like the BlackFamily one, but in color 666666? here's a preview of how it looks at the moment: Thank you. You would have to do that. The problem stems from the titlebg class having a background color of black under the patronus skin and the miniprofile background also having black. Black on black looks like no border on mp table. Edit the patronus skin and give the titlebg background-color value other than black. I'm not sure which skin color corresponds to that but the titlebg background-color is #003300 under the BlackFamily skin but #0000000 under patronus skin. --or--- Leave it as is and accept it as part of the look of the patronus skin
|
|
|
Post by Draco Malfoy on Jan 1, 2008 12:16:01 GMT
Ah OK ! Cool. Ill have a fiddle. And Miss Serpente sees this error in IE 7 : i212.photobucket.com/albums/cc5/rosesummer/mmscreen.jpgAs you can see, the last cell on the forum seems messed up. I really don't get it as it's fine for me in IE 7. Is there anything we can do about that?
|
|
|
Post by Draco Malfoy on Jan 1, 2008 12:24:52 GMT
Did you remove the chosen avatars for those profiles because all I see are defaults. I can't fix it if I don't have something to work with. Nope I didn't remove anything. OK done you some screen shots: Take Morgana's profile for example. This is what I see in IE 6: This is what I see in Opera and FF In the first screenshot you can see the double Avatar and the members AV in the wrong place. In the second, it doubles the online/offline status. Does that help at all?
|
|
|
Post by Eton Bones on Jan 1, 2008 16:10:11 GMT
OK the problem was my fault. I forgot I had avatars disabled on the site so all I saw was the default avatar. I've edited the code but since there are no members on the test forum fitting the criteria I'll have to apply it to the main site untested.
I'm leaning towards the protected mode security setting in Serpy's IE7 being the issue since it doesn't happen when I view in IE7. Edit: further info -- she's on vista which may be why she even has a 'protected mode' in her status bar since I've never seen it before. I know almost nothing about vista but perhaps you could work with her to figure out how to get at least MM off protected mode since she's claiming all sorts of problems.
Made edit for stats on staff only boards to be hidden to people without permission to view but decided on keying on the presence of the 'contact staff' icon rather than enumerating board IDs to make the decision on whether to hide. This meant adding a new variable named contactIcon and assigning it the value of /contactstaff\.gif/. If you decide to change the icon in the future remember to also change that variable. I left the main site unmodified until you can test the change. Apply the change yourself or post any unforseen bug here.
|
|
|
Post by Draco Malfoy on Jan 1, 2008 19:49:41 GMT
Eton, just quickly, I've noticed that the 2nd lot of header/base images are back on the main site now in the miniprofiles, which was an earlier fix you did for me. Could you revert it back to no header/base images on the main site please? SEE POST BELOW!! Re: Serpy, yeah I think too it's some kind of setting on her browser, since Tallia has vista and she can browse IE with no problems. Im trying to help her now. Re the staff board thing, cool, I'll let you know how it turns out! Thanks for all your help and don't forget to enjoy the main site too! You're a member, not just the coder.
|
|
|
Post by Draco Malfoy on Jan 1, 2008 19:54:05 GMT
RE the miniprofile fix - it seems those members have lost their AVs now. However, they still show in their Modify Profile form as their chosen AV. What I can do, is revert the code back to how it was before your fix and edit both our groups here to not include a rank image so it can be tested here. That way I get my no header/base image fix back temporarily and those members' avs until a fix can be figured out in your own time and you dont feel as if you need to rush it coz its out live.
ETA here was your attempted fix incase you needed it:
<script type="text/pbscript" id='mpremodel'>
var aCheck = false; var tabWidth = "128"; // Mini Profile Table Width (Can be a number or a percentage)
var headImage = "http://i45.photobucket.com/albums/f71/Malfoyboy/MMv3/mpHeader2.jpg"; // Head Image var baseImage = "http://i45.photobucket.com/albums/f71/Malfoyboy/MMv3/mpBase3-1.gif"; // Base Image
var maleColor = "003399"; // Male Color var femaleColor = "FF00FF"; // Female Color
var dvAvatar = "http://i45.photobucket.com/albums/f71/Malfoyboy/MMRPGdefaultAvatar.gif"; // Default Avatar var dvAvatarHeight = "128"; // Height of Default Avatar var dvAvatarWidth = "95"; // Width of Default Avatar var karmaWord = "Reputation"; // Change the karma word var karmaExalt = "+"; // Change the exalt word var karmaSmite = "-"; // Change the smite word var remove={Joined:1}
var td = document.getElementsByTagName("td"); if (document.title.match(/-\s(Preview\sPersonal|Modify\sPost)/i) || location.href.match(/on=(displ|search2|viewpr|pmv|(user)?rece|cal\w+iew)/i)) { for (i=0; i<td.length; i++) { if (td.item(i).width == "20%" && td.item(i).innerHTML.match(/Posts:/i)) { var c = (td.item(i).className.match(/^windowbg2$/))? 'class="windowbg"' : 'class="windowbg2"'; var pInfo = new Array();
var cL = '<tr><td width="40%"' + c + ' style="font-size: xx-small;">'; var cM = '</td><td colspan="2"' + c + ' style="font-size: xx-small;">'; var cR = '</td></tr>'; var cN = '<tr><td colspan="3"' + c + 'align="center">'; var ii=0; var userName = td.item(i).innerHTML.split(/<br\s?\/?>/i)[ii++]; var rank = td.item(i).innerHTML.split(/<br\s?\/?>/i)[ii++]; var stars = td.item(i).innerHTML.split(/<br\s?\/?>/i)[ii]; if(/<img\s/.test(stars))ii++; else stars=''; var customTitleCheck = td.item(i).innerHTML.split(/<br\s?\/?>/i)[ii++]; var customTitle = (customTitleCheck.match(/member\sis\s(.+?)/i))? '' : cN + customTitleCheck + cR; var statusCheck = (td.item(i).innerHTML.match(/member\sis\s(.+?)<\/b>/i))? RegExp.$1 + '</b>' : 'Offline' ; pInfo.push(["Status", statusCheck]);
var breakSplit = td.item(i).innerHTML.split(new RegExp("<br>", "gi")); var contactIcons = avatar = pText = kExalt = kSmite = ""; var karma = false;
for (j=4; j<breakSplit.length; j++) { if (breakSplit[j].match(/\[Avatar\]/i)) { avatar = breakSplit[j]; aCheck = true; } else if (breakSplit[j].match(/\[(icq|yim|aim|msn|homepage|email|send\spm)\]/i)) { contactIcons += breakSplit[j]; } else if (breakSplit[j].match(/^Gender:\s(.+?)$/i)) { var tempG = RegExp.$1; if (tempG.match(/Female/)) { pInfo.push(["Gender", tempG.replace(/Female/, '<font color="' + femaleColor + '">Female</font>')]); } else if (tempG.match(/Male/)) { pInfo.push(["Gender", tempG.replace(/Male/, '<font color="' + maleColor + '">Male</font>')]); } } else if (breakSplit[j].match(/^Location:\s(.+?)$/i)) { pInfo.push(["Residence", RegExp.$1]); } else if (breakSplit[j].match(/^Karma:\s([0-9,-]+)$/i)) { pInfo.push([karmaWord, RegExp.$1]); } else if (breakSplit[j].match(/^(.+?):\s(.+?)$/i)) { if(!(RegExp.$1 in remove)) pInfo.push([RegExp.$1, RegExp.$2]); } }
(!aCheck)? avatar = '<img src="' + dvAvatar + '" height="' + dvAvatarHeight + '" width="' + dvAvatarWidth + '" />' : "" ;
var cen = td.item(i).getElementsByTagName("center"); if (cen.item(cen.length-1).innerHTML.match(/(<br\s?\/?>){2}(.+?)(<br\s?\/?>){2}/i)) { var pText = RegExp.$2 + '<br/><br/>'; }
if (td.item(i).innerHTML.match(/<br\s?\/?>\[\s(.+?)\s\|\s(.+?)\s\]/i)) { kExalt = RegExp.$1; kSmite = RegExp.$2; }
var newModel = ''; newModel += '<img src="' + headImage + '" /><table width="' + tabWidth + '" cellspacing="1" cellpadding="4" align="center" class="titlebg">'; newModel += '<tr><td colspan="3" class="windowbg" align="center">' + userName + cR; newModel += cN + rank + cR + ((stars.length)?cN + stars + cR:'') + customTitle + '</table><img src="' + baseImage + '" />'; newModel += '<br/><br/>' + avatar + '<br/><br/>' + pText + '<img src="' + headImage + '" />'; newModel += '<table width="' + tabWidth + '" cellspacing="1" cellpadding="4" align="center" class="titlebg">'; for (p=0; p<pInfo.length; p++) { newModel += cL.replace(/(windowbg2?)/,"$1 "+pInfo[p][0].replace(/\s/g,"_")) + pInfo[p][0] + ":" + cM.replace(/(windowbg2?)/,"$1 "+pInfo[p][0].replace(/\s/g,"_")) + pInfo[p][1] + cR; } if (kExalt != '') { newModel += cL + 'Opinion:' + '</td>' + '<td ' + c + 'align="center" width="20">'; newModel += kExalt.replace(/Exalt/i, karmaExalt); newModel += '</td><td ' + c + 'align="center" width="20">'; newModel += kSmite.replace(/Smite/i, karmaSmite) + cR; } if (contactIcons != '') { newModel += cN + contactIcons + cR; } td.item(i).innerHTML = newModel + '</table><img src="' + baseImage + '" />'; td.item(i).align = "center"; } else if (td.item(i).width == "20%" && td.item(i).innerHTML.match(/Guest/i)) { var c = (td.item(i).className.match(/^windowbg2$/))? 'class="windowbg"' : 'class="windowbg2"'; var newModel = ''; newModel += '<img src="' + headImage + '" /><table width="' + tabWidth + '" cellspacing="1" cellpadding="4" align="center" class="titlebg>'; newModel += '<tr><td align="center"' + c + '>' + td.item(i).innerHTML.replace(/Guest/i, "(Guest)"); td.item(i).innerHTML = newModel + '</td></tr></table><img src="' + baseImage + '" />'; td.item(i).align = "center"; } } } </script>
|
|
|
Post by Draco Malfoy on Jan 1, 2008 20:15:54 GMT
Have now made the settings with no rank images on this board. My miniprofile shows one example, yours shows the other. No rush on this one Eton, now that its on the test site and not live.
|
|
|
Post by Eton Bones on Jan 2, 2008 1:47:24 GMT
Oops I modified an earlier version of the code which is why the base/head images returned on the bottom table-- simple fix -- I don't however see how the chosen avatars are disappearing. I did notice Morgana's avatar was missing but I attribute that to her image host bandwidth quota since I was refreshing her profile and a non-rper's several times and then it disappeared, not to any edit made in the code.
|
|
|
Post by Draco Malfoy on Jan 2, 2008 21:13:09 GMT
OK so can I now just copy and paste the miniprofile code that is on this site now and it will be OK?
I dont know why the AVs had gone, I didn't have AVs turned off in my profile - but I will try the code again and have a look!
|
|
|
Post by Eton Bones on Jan 2, 2008 21:59:58 GMT
The code should work as is... I see no avatar issues with it on this test site
On another note I seem to suddenly be having problems using the multiquote code in firefox on some pages.
|
|