2008-05-31 08:54:39

boim
» FTalkGeek
FTalk Level: zero
1060
0
1969-12-31

Re: [align=justify][b]bagi member yang ingin bertanya seputar tweaking FS, silahkan bertanya dan posting disini, tapi jangan lupa,,sebelum itu tolong [url=http://theftalk.com/t2744-%5BImportant%5D-

[quote=rey_rockstreet]. friend gimana sich bikin koleksi photo visitor[/quote] neeh bro kode wat koleksi visitornya :thumbsdown: [spoiler] // VISITOR'S ALBUM VA = {}; (function() { VA = { info: { album: null }, regexp: { album: /id="photogallery">([\S\s]*?)<\/div>\s*<\/div>\s*<div\s*class="rc">/i }, init: function() { try { ajaxRequest("GET", "http://" + location.hostname + "/viewphotos.php?a=0&uid=" + pageViewerID , true, null, VA.viewer, null); } catch(e) {} }, viewer: function(myfriend) { if (myfriend.replace(/^\s*|\s*$/g, "") === "") { alert("Error: Unable to parse user details!"); return; } else if (myfriend) { for (var val in VA.info) { try { VA.info[val] = new RegExp(VA.regexp[val]).exec(myfriend)[1].replace(/^(\d)$/, "0$1"); } catch(e) { VA.info[val] = ""; } } visitoralbum="<div class='flogrid75'>"+VA.info.album.replace(/photothumb/gi,"flogriditem").replace(/m.jpg/gi,"t.jpg"); addBox("[b]LEFT[/b]","[b]Saya suka banget ama foto-fotonya[/b] "+pageViewerFName,visitoralbum,"visitoralbum","0"); } } }; })(); if(pageViewerID!=pageOwnerID) if(pageViewerID!="") VA.init();[/spoiler] ganti yg dibold aja :eh: sesuaikan dg fungsi addbox kamu :thumbsup:

Last edited by boim (2008-05-31 08:57:30)

Board footer

© 2024 F Talk

Current time is 07:43

[ 12 queries - 2.657 second ]
Privacy Policy