FarSe Posted July 5, 2013 Report Share Posted July 5, 2013 Nu cred ca se mai poarta userbar-urile insa ma cam plictiseam si de template-uri bootstrap n-am chef sa ma apuc.http://farse.me/rst/?uname=farse&type=1Pana acuma are doar un 'type'(nu ma pricep la photoshop).Va treceti numele dupa cum apare pe profil(ex: rstforums.com/forum/members/farse/ )Daca cineva se pricepe la photoshop si doreste sa faca ni?te backgrounduri frumoase, sa'mi lase PM cu .png .PHP:<?php$uname = str_replace('/','',$_GET['uname']);if(!$uname) die("&uname=X&type=1");$data = file_get_contents('https://rstforums.com/forum/members/'.$uname.'/');header("Content-type: text/plain");if(strpos($data,'This user has not registered and therefore does not have a profile to view.')!==false)die("No user found with name $uname");if(preg_match('$ lastnavbit"><span>(.*?)</span>.*?Likes Received \(([0-9]+)\).*?<dt>Join Date</dt>.*?<dd> (.*?)</.*?<dt>Total Posts</dt>.*?<dd> ([0-9,]+)</$is',$data,$res)){$name = $res[1];$likes = $res[2];$join = $res[3];$ndate = date('d M \'\'y',strtotime($join));$posts = $res[4];}if($_GET['type']==1){ $img = ImageCreateFromPNG("rstmini.png"); imagettftext2($img, 11, 0.0, 10, 17, "0xFFFFFF", 'fonts/Sansation_Bold.ttf', "$name since $ndate with $posts posts and $likes likes"); header("Content-type: image/png"); ImagePng($img); ImageDestroy($img);}else { echo "Nume:$name\nLikes:$likes\nJoindate:$ndate\nPosts:$posts\n\n\n\n";}function imagettftext2( $image , $size , $angle , $x , $y , $color , $fontfile , $text ){ $negru = "0x000000"; imagettftext( $image , $size , $angle , $x-1 , $y-1 , $negru , $fontfile , $text ); imagettftext( $image , $size , $angle , $x+1 , $y-1 , $negru , $fontfile , $text ); imagettftext( $image , $size , $angle , $x-1 , $y+1 , $negru , $fontfile , $text ); imagettftext( $image , $size , $angle , $x+1 , $y+1 , $negru , $fontfile , $text ); return imagettftext( $image , $size , $angle , $x , $y , $color , $fontfile , $text );}?> Quote Link to comment Share on other sites More sharing options...
m1dst1k Posted July 5, 2013 Report Share Posted July 5, 2013 404 la imagine si la link imi da eroare Quote Link to comment Share on other sites More sharing options...
FarSe Posted July 5, 2013 Author Report Share Posted July 5, 2013 Da' nu stiu de ce tot da 404 la imagini,orice imagine as pune.Ce eroare da? mie-mi merge... Quote Link to comment Share on other sites More sharing options...
m1dst1k Posted July 5, 2013 Report Share Posted July 5, 2013 Hopa! Google Chrome nu a putut g?si farse.me Quote Link to comment Share on other sites More sharing options...
lutulik Posted July 5, 2013 Report Share Posted July 5, 2013 Mie imi merge bine... Quote Link to comment Share on other sites More sharing options...
Renegade Posted July 5, 2013 Report Share Posted July 5, 2013 @FarSe urca-o aici Postimage.org - free image hosting / image upload, cam face fuguri daca extensia link a pozei e .png Quote Link to comment Share on other sites More sharing options...
JohnyCNAM Posted July 5, 2013 Report Share Posted July 5, 2013 Am o problema.Daca ai username mare nu apare calumea.Incearca cu usernameul meu. Quote Link to comment Share on other sites More sharing options...
FarSe Posted July 5, 2013 Author Report Share Posted July 5, 2013 Idea e ca sunt imagini dinamice,iti pui numele si arata cand te-ai inregistrat,postarile si numarul de likeuri. Quote Link to comment Share on other sites More sharing options...
StrXt Posted July 5, 2013 Report Share Posted July 5, 2013 (edited) Fac eu designul.Va place asa?// De mentionat faptul ca nu e voie cu imagini generate prin php la samnaturile de pe RST... Edited July 5, 2013 by StrXt Quote Link to comment Share on other sites More sharing options...
onslaught Posted July 5, 2013 Report Share Posted July 5, 2013 O implementez maine, dupa ce o termin:Asta arata cool rau Nice one. Quote Link to comment Share on other sites More sharing options...
totti93 Posted July 6, 2013 Report Share Posted July 6, 2013 Imi place, mai ales designul lui Gecko. Problema e ca se loveste de regulament daca il punem pe forum.1. Ac?iuni pentru care ve?i primi avertisment sau chiar ban: offtopic, post dublu(ave?i buton de editare), post inutil, redeschidere topic, insultare membru(atac la persoan?), nume topic inadecvat, informa?ie deja postat?, limbaj inadecvat(IRC style - sh, tz, CAPS, în culori sau agramat total), avatare mari sau care întrec bunul sim?, semn?turi penibile, linkuri cu referrer, imagini dinamice în semn?tur?. 1 Quote Link to comment Share on other sites More sharing options...
Silviu Posted July 6, 2013 Report Share Posted July 6, 2013 Imi place, mai ales designul lui Gecko. Problema e ca se loveste de regulament daca il punem pe forum.Cred c? regulamentul se refer? la gif-uri d-?lea stresante. Quote Link to comment Share on other sites More sharing options...
JohnyCNAM Posted July 6, 2013 Report Share Posted July 6, 2013 Respect Gecko. Quote Link to comment Share on other sites More sharing options...
Matt Posted July 6, 2013 Report Share Posted July 6, 2013 No.. mai bine intai ne punem toti userbarurile si apoi sa asteptam ca la loterie sa vedem care pica Quote Link to comment Share on other sites More sharing options...
onslaught Posted July 6, 2013 Report Share Posted July 6, 2013 Multam , e tzutz felicitari. Quote Link to comment Share on other sites More sharing options...
mrreboot Posted July 6, 2013 Report Share Posted July 6, 2013 Interesanta ideea si un design frumos. Quote Link to comment Share on other sites More sharing options...