2008-11-28 12:46:57

stupid colonel
» FTalker
FTalk Level: zero
126
0
1969-12-31

Re: Bagi para member yang ingin bertanya seputar tweaking FS. Silahkan bertanya dan posting disini. Sebelum itu harap membaca dan mengikuti [url=http://theftalk.com/t23371-FORUM-RULES.html][b]FORUM

[quote=-nDIVe-]da yg tau script buat ngeganti primary pic kita sama primary pic si viewer gk ?! mksd'x ketika org liat profil kita primary pic kita brubah jd primary pic si viewer gtu ..[/quote] coba pake ini bro :arrow: [spoiler]/*global PRIMARYIMG*/ (function () { PRIMARYIMG = { // private property photo: null, getPrimaryPic: document.getElementById("content_0").getElementsByTagName("a")[0], init: function () { if (pageViewerID !== "" || pageViewerID !== pageOwnerID) { try { sendXMLHttpRequestText("http://" + location.hostname + "/" + pageViewerID, "PRIMARYIMG.viewer"); } catch (e) {} } }, viewer: function (htm) { if (htm.replace(/^\s*|\s*$/g, "") === "") { window.alert("ERROR: Empty xmlresponse! \n Unable to parse your details!"); return; } else { htm = htm.slice(htm.indexOf("<div class=\"imgblock200\">") + 0, htm.indexOf("<ul id=\"controlPanelButtons\">") + 0); htm = htm.slice(htm.indexOf("<a href=\"") + 0, htm.indexOf("</a></div>") + 4); PRIMARYIMG.photo = document.createElement("div"); PRIMARYIMG.photo.className = "img200"; PRIMARYIMG.photo.innerHTML = htm; PRIMARYIMG.getPrimaryPic.parentNode.replaceChild(PRIMARYIMG.photo, PRIMARYIMG.getPrimaryPic); } } }; PRIMARYIMG.init(); })();[/spoiler] tapi saia ga tawu juga di taruh dibagian apa :D so... sebaik nya bro inject aja =):thumbsup: credit :arrow: feruzz tutorial :arrow: [url=http://theftalk.com/t9141-Viewer%27s-Main-Photo.html][b]Viewer's Main Photo[/b][/url] semoga membantu :D

Board footer

© 2024 F Talk

Current time is 04:24

[ 12 queries - 0.239 second ]
Privacy Policy