Membuat avatar random pada phpbb

Agak heran sebagai orang awam melihat suatu forum phpbb disuatu website, ketika mengganti page ,salah satu usenyar kok avatarnya berubah , dengan tulisan dibawahnya “yes, my avatar is random, jealous? ” , jadi pengen tahu gimana tue caranya kok bisa ganti2, ternyata cukup sederhana. Dengan syarat utama, anda bisa cek pada bagian profile pada forum yang anda ikuti, harus diaktifkannya fasilitas “link to off-site avatar”.

Jika sudah aktif, selanjutnya Yang cukup dilakukan adalah
Pertama , buat suatu script yang berfungsi merandom suatu file atau gambar tentunya bisa didefinisikan file gambarnya, untuk script ini bisa cari di mbah google atau mencari mod phpbb yang berfungsi untuk random gambar , nanti bisa diutak-utik, berikut contoh skrip random yang bisa digunakan,dan beri nama “index.php”, script bisa dicek di http://falcunix.web.id/upload/uploads/1193950889.txt

Kedua , yang harus dilakukan , anda bisa kumpulkan avatar / gambar yang ingin anda random, untuk ukuran sebuah avatar umumnya sekitar 100×100 pixel dengan extension files sesuai yang diperbolehkan yaitu jpg,jpeg, gif dan png, kumpulkan semua file avatar berikut index.php yang sudah dibuat kedalam satu folder, beri nama folder tsb seperti sebuah file gambar, mis : pic.jpg
Dengan asumsi, akan dibaca sebagai file gambar bukan folder.
Ketiga, taruh folder tersebut pada hosting anda , satu yang harus dipenuhi adalah hosting yang anda gunakan untuk menaruh folder ini harus mendukung PHP dan GD lib , untuk menjalankan fungsi @imagecreate, untuk hosting yang gratis anda bisa ke http://freehostia.com.

Keempat, anda bisa login ke forum anda dan kebagian “Profile”, masukkan path folder yang sudah tadi diupload, pada textbox “link to off-site avatar” , cth : http://falcunix.web.id/pic.jpg , lalu submit . Kemudian refresh page avatar anda , maka avatar akan berubah secara random.

Kelima,Selesai deh 🙂 , dan kata terakhir MohoN MaaF dan Terima KasiH ud Mampir, CMIIW

file zip : http://indoupload.net/files/5808/randomavatar.rar

skrip diatas kepanjangan bisa pake ini , buat yang punya hosting dan dukung cgi/perl, save sebagai , index.cgi
caranya hampir sama , thanks buat pak steven atas scriptnya he he 🙂

#!/usr/bin/perl
@i=(<*.jpg>,<*.gif>,<*.png>); $i=$i[rand @i]; ($e=$i)=~s/.+\.//; $e=~s/jp/jpe/;
print “Content-Type: image/$e\n\n”, `convert ‘$i’ -geometry 100×100 -`;

Iklan

28 Komentar (+add yours?)

  1. Domyicomiex
    Nov 18, 2008 @ 23:04:41

    Hello. It is test.

    Balas

  2. soloBoydaydam
    Des 01, 2008 @ 16:02:03

    Hello.
    Can anyone make known me how I would get a bother onto my mobby?
    The directions is useless…

    Balas

  3. urballOrnamma
    Des 02, 2008 @ 13:36:05

    Hi. I regularly be familiar with this forum. This is the oldest culture unequivocal to ask a topic.
    How numberless in this forum are references Nautical port behind, artful users?
    Can I bank all the facts that there is?

    Balas

  4. WaigeDiasse
    Des 04, 2008 @ 14:46:06

    I am here at a forum newcomer. Until I read and deal with the forum.
    Let’s learn!

    Balas

  5. Icjnuaiq
    Des 14, 2008 @ 02:33:17

    Thanks!,

    Balas

  6. Altentrex
    Jan 29, 2009 @ 11:01:50

    Webcams.com Free Lifetime Account
    http://free-webcamscom-lifetime-account.blogspot.com/
    Free Lifetime Account for webcams.com

    Balas

  7. MJByrZaiS
    Feb 17, 2009 @ 21:02:25

    [url=http://rollyo.com/Dolly-Partons-Son541 Dolly Partons Songs WA30cix]http://rollyo.com/Dolly-Partons-Son541 Dolly Partons Songs WA30cix[/url]
    [url=http://rollyo.com/Jessica-Alba-Sin-711 Jessica Alba Sin City Videos qPeQWt0]http://rollyo.com/Jessica-Alba-Sin-711 Jessica Alba Sin City Videos qPeQWt0[/url]
    [url=http://rollyo.com/Hello-Actors-Lion949 Hello Actors Lionel Richie AdExb0v]http://rollyo.com/Hello-Actors-Lion949 Hello Actors Lionel Richie AdExb0v[/url]
    [url=http://rollyo.com/Fender-Jewel-Ligh573 Fender Jewel Light Wrench qh55zyz]http://rollyo.com/Fender-Jewel-Ligh573 Fender Jewel Light Wrench qh55zyz[/url]
    [url=http://rollyo.com/Hyme-Vangelis-Lyr785 Hyme Vangelis Lyrics mzqIyWi]http://rollyo.com/Hyme-Vangelis-Lyr785 Hyme Vangelis Lyrics mzqIyWi[/url]
    [url=http://rollyo.com/Dr-Seuss-Signed697 Dr Seuss Signed VdS54Je]http://rollyo.com/Dr-Seuss-Signed697 Dr Seuss Signed VdS54Je[/url]
    [url=http://rollyo.com/Ann-Margret-E-Mai941 Ann Margret E Mail Hoax lWueikN]http://rollyo.com/Ann-Margret-E-Mai941 Ann Margret E Mail Hoax lWueikN[/url]
    [url=http://rollyo.com/Mark-Knopfler-Equ687 Mark Knopfler Equipment Amps Guitars Rte8rI7]http://rollyo.com/Mark-Knopfler-Equ687 Mark Knopfler Equipment Amps Guitars Rte8rI7[/url]
    [url=http://rollyo.com/Ute-Lemper-Singer646 Ute Lemper Singer uoOPjuE]http://rollyo.com/Ute-Lemper-Singer646 Ute Lemper Singer uoOPjuE[/url]
    [url=http://rollyo.com/Sarah-Silverman-T684 Sarah Silverman Topless Pics SWQm17l]http://rollyo.com/Sarah-Silverman-T684 Sarah Silverman Topless Pics SWQm17l[/url]
    [url=http://rollyo.com/Rose-Mcgowan-Havi587 Rose Mcgowan Having Sex H00fwsf]http://rollyo.com/Rose-Mcgowan-Havi587 Rose Mcgowan Having Sex H00fwsf[/url]
    [url=http://rollyo.com/Lisa-Blount-Nude799 Lisa Blount Nude hVAu2WE]http://rollyo.com/Lisa-Blount-Nude799 Lisa Blount Nude hVAu2WE[/url]
    [url=http://rollyo.com/Trish-Stratus-Nud582 Trish Stratus Nude Naked vMpDYjf]http://rollyo.com/Trish-Stratus-Nud582 Trish Stratus Nude Naked vMpDYjf[/url]
    [url=http://rollyo.com/Jeweled-Clock826 Jeweled Clock gQU8IbX]http://rollyo.com/Jeweled-Clock826 Jeweled Clock gQU8IbX[/url]
    [url=http://rollyo.com/John-Edwards-Mysp456 John Edwards Myspace YFlEQ7N]http://rollyo.com/John-Edwards-Mysp456 John Edwards Myspace YFlEQ7N[/url]
    [url=http://rollyo.com/Drawings-Of-Alber911 Drawings Of Albert Einstein OHrfChx]http://rollyo.com/Drawings-Of-Alber911 Drawings Of Albert Einstein OHrfChx[/url]
    [url=http://rollyo.com/Wendy-Williams-Ni809 Wendy Williams Nicole Spence IWd8xbm]http://rollyo.com/Wendy-Williams-Ni809 Wendy Williams Nicole Spence IWd8xbm[/url]
    [url=http://rollyo.com/Herbert-Hoover-Dy507 Herbert Hoover Dying Words 00A7av9]http://rollyo.com/Herbert-Hoover-Dy507 Herbert Hoover Dying Words 00A7av9[/url]
    [url=http://rollyo.com/Tony-In-My-Antoni721 Tony In My Antonia 7hwtJsM]http://rollyo.com/Tony-In-My-Antoni721 Tony In My Antonia 7hwtJsM[/url]
    [url=http://rollyo.com/Naomi-Watts-Mr-Sk440 Naomi Watts Mr Skin yTw0JK2]http://rollyo.com/Naomi-Watts-Mr-Sk440 Naomi Watts Mr Skin yTw0JK2[/url]
    [url=http://rollyo.com/Millard-Fillmore-121 Millard Fillmore Accomplishment FUg3zba]http://rollyo.com/Millard-Fillmore-121 Millard Fillmore Accomplishment FUg3zba[/url]
    [url=http://rollyo.com/Keira-Knightley-B897 Keira Knightley Black Hair kRgidAP]http://rollyo.com/Keira-Knightley-B897 Keira Knightley Black Hair kRgidAP[/url]
    [url=http://rollyo.com/Joshua-Jackson-Mu968 Joshua Jackson Multimedia SsM92yB]http://rollyo.com/Joshua-Jackson-Mu968 Joshua Jackson Multimedia SsM92yB[/url]
    [url=http://rollyo.com/Valeria-Burgess-1740 Valeria Burgess 1881 MYPrbOP]http://rollyo.com/Valeria-Burgess-1740 Valeria Burgess 1881 MYPrbOP[/url]
    [url=http://rollyo.com/Birth-Date-Of-Riv238 Birth Date Of River Phoenix yd8uMLI]http://rollyo.com/Birth-Date-Of-Riv238 Birth Date Of River Phoenix yd8uMLI[/url]
    [url=http://rollyo.com/Sufferings-And-Gr550 Sufferings And Greatness Of Richard Wagner QOFh1rM]http://rollyo.com/Sufferings-And-Gr550 Sufferings And Greatness Of Richard Wagner QOFh1rM[/url]
    [url=http://rollyo.com/Daisy-Fuentes-Nip790 Daisy Fuentes Nipple SZU6ebz]http://rollyo.com/Daisy-Fuentes-Nip790 Daisy Fuentes Nipple SZU6ebz[/url]
    [url=http://rollyo.com/Ford-Puma-Steve-M810 Ford Puma Steve Mcqueen i2iFZl7]http://rollyo.com/Ford-Puma-Steve-M810 Ford Puma Steve Mcqueen i2iFZl7[/url]
    [url=http://rollyo.com/Experintial-Learn858 Experintial Learning Theory By Carl Rogers ciMkLPd]http://rollyo.com/Experintial-Learn858 Experintial Learning Theory By Carl Rogers ciMkLPd[/url]
    [url=http://rollyo.com/Stacy-Keibler-And551 Stacy Keibler And Torri Wilson Sex AJZmrK8]http://rollyo.com/Stacy-Keibler-And551 Stacy Keibler And Torri Wilson Sex AJZmrK8[/url]
    [url=http://rollyo.com/Stories-About-Mus998 Stories About Musicians QbtJ2Cg]http://rollyo.com/Stories-About-Mus998 Stories About Musicians QbtJ2Cg[/url]
    [url=http://rollyo.com/Jennie-Finch-Pitc237 Jennie Finch Pitching Machine O2siOSJ]http://rollyo.com/Jennie-Finch-Pitc237 Jennie Finch Pitching Machine O2siOSJ[/url]
    [url=http://rollyo.com/Bob-Ridgely-John-646 Bob Ridgely John Wayne NloUQWP]http://rollyo.com/Bob-Ridgely-John-646 Bob Ridgely John Wayne NloUQWP[/url]
    [url=http://rollyo.com/Jeanne-Trippletho888 Jeanne Tripplethorn 4fLKIT2]http://rollyo.com/Jeanne-Trippletho888 Jeanne Tripplethorn 4fLKIT2[/url]
    [url=http://rollyo.com/Wayne-Gretzky-Aut100 Wayne Gretzky Auto 8×10 dDc53ho]http://rollyo.com/Wayne-Gretzky-Aut100 Wayne Gretzky Auto 8×10 dDc53ho[/url]
    [url=http://rollyo.com/Carlos-Santana-Mp580 Carlos Santana Mp3 S GRkKwXo]http://rollyo.com/Carlos-Santana-Mp580 Carlos Santana Mp3 S GRkKwXo[/url]
    [url=http://rollyo.com/Raven-Symone-In-1907 Raven Symone In 1990 61fcMxD]http://rollyo.com/Raven-Symone-In-1907 Raven Symone In 1990 61fcMxD[/url]
    [url=http://rollyo.com/History-Of-Adam-S297 History Of Adam Sandler Zj607XY]http://rollyo.com/History-Of-Adam-S297 History Of Adam Sandler Zj607XY[/url]
    [url=http://rollyo.com/Heidi-Noel-Lenhar459 Heidi Noel Lenhart Smoking TiCX9mD]http://rollyo.com/Heidi-Noel-Lenhar459 Heidi Noel Lenhart Smoking TiCX9mD[/url]
    [url=http://rollyo.com/Peter-Criss-One-F286 Peter Criss One For All nCoxKcR]http://rollyo.com/Peter-Criss-One-F286 Peter Criss One For All nCoxKcR[/url]
    [url=http://rollyo.com/Map-Of-La-Romana-246 Map Of La Romana Dominican Republic COWT3Vx]http://rollyo.com/Map-Of-La-Romana-246 Map Of La Romana Dominican Republic COWT3Vx[/url]
    [url=http://rollyo.com/Alicia-Keys-Engag403 Alicia Keys Engaged mBhsPje]http://rollyo.com/Alicia-Keys-Engag403 Alicia Keys Engaged mBhsPje[/url]
    [url=http://rollyo.com/Live-Coverate-Of-892 Live Coverate Of Buffalo Bills Game ncYDSso]http://rollyo.com/Live-Coverate-Of-892 Live Coverate Of Buffalo Bills Game ncYDSso[/url]
    [url=http://rollyo.com/Kanas-Technique-C693 Kanas Technique Catract Extraction PDu3iX4]http://rollyo.com/Kanas-Technique-C693 Kanas Technique Catract Extraction PDu3iX4[/url]
    [url=http://rollyo.com/Matthew-Perry-Far458 Matthew Perry Farrier 91Tf5Gm]http://rollyo.com/Matthew-Perry-Far458 Matthew Perry Farrier 91Tf5Gm[/url]
    [url=http://rollyo.com/Hawaii-Pele641 Hawaii Pele IlI45Py]http://rollyo.com/Hawaii-Pele641 Hawaii Pele IlI45Py[/url]
    [url=http://rollyo.com/Lisa-Marie-Thomas221 Lisa Marie Thomas Trinidad NqUquWu]http://rollyo.com/Lisa-Marie-Thomas221 Lisa Marie Thomas Trinidad NqUquWu[/url]
    [url=http://rollyo.com/Tiffany-Starr497 Tiffany Starr VmRKqZr]http://rollyo.com/Tiffany-Starr497 Tiffany Starr VmRKqZr[/url]
    [url=http://rollyo.com/Patty-Smith-John-410 Patty Smith John Mcenroe BohXDMU]http://rollyo.com/Patty-Smith-John-410 Patty Smith John Mcenroe BohXDMU[/url]
    [url=http://rollyo.com/Rivera-Venus429 Rivera Venus BO5sFOZ]http://rollyo.com/Rivera-Venus429 Rivera Venus BO5sFOZ[/url]
    [url=http://rollyo.com/Joyce-Remy304 Joyce Remy JDamnv2]http://rollyo.com/Joyce-Remy304 Joyce Remy JDamnv2[/url]
    [url=http://rollyo.com/Belle-Epoque-Blac467 Belle Epoque Black Is Black tH5i2YP]http://rollyo.com/Belle-Epoque-Blac467 Belle Epoque Black Is Black tH5i2YP[/url]
    [url=http://rollyo.com/Tom-Welling-In-Sa932 Tom Welling In Sandals L5gtd36]http://rollyo.com/Tom-Welling-In-Sa932 Tom Welling In Sandals L5gtd36[/url]
    [url=http://rollyo.com/1938-Belgium-10-C279 1938 Belgium 10 Cent Coin 1926 5A4h7iF]http://rollyo.com/1938-Belgium-10-C279 1938 Belgium 10 Cent Coin 1926 5A4h7iF[/url]
    [url=http://rollyo.com/Johnny-Cash-Semin679 Johnny Cash Seminary Degree uZgxB6t]http://rollyo.com/Johnny-Cash-Semin679 Johnny Cash Seminary Degree uZgxB6t[/url]
    [url=http://rollyo.com/Dr-Seuss-Lorax-Po665 Dr Seuss Lorax Poster cxJVdNL]http://rollyo.com/Dr-Seuss-Lorax-Po665 Dr Seuss Lorax Poster cxJVdNL[/url]
    [url=http://rollyo.com/Daily-Show-And-Ba661 Daily Show And Barack Obama kz8M35V]http://rollyo.com/Daily-Show-And-Ba661 Daily Show And Barack Obama kz8M35V[/url]
    [url=http://rollyo.com/Tina-Turner-New-T987 Tina Turner New Tour YZ1VvbM]http://rollyo.com/Tina-Turner-New-T987 Tina Turner New Tour YZ1VvbM[/url]
    [url=http://rollyo.com/Kathy-Griffin-Ban746 Kathy Griffin Banned fHOldLi]http://rollyo.com/Kathy-Griffin-Ban746 Kathy Griffin Banned fHOldLi[/url]
    [url=http://rollyo.com/Al-Gore-Iii-Arres371 Al Gore Iii Arrests azyFoXO]http://rollyo.com/Al-Gore-Iii-Arres371 Al Gore Iii Arrests azyFoXO[/url]

    Balas

  8. PybearmaGaire
    Apr 24, 2009 @ 06:39:00

    I’m the only one in this world. Can please someone join me in this life? Or maybe death…

    Balas

  9. GreggG
    Mei 16, 2009 @ 05:45:55

    I’ve been watching for a while but now i’m making my first post.
    So, I’m looking for some feedback about the forum from regulars.
    Looking to meet new people to exchange info with,so leave me your name
    See ya,

    Balas

  10. Arrobefubre
    Mei 21, 2009 @ 22:08:23

    [url=http://hookup.com][img]http://verifiedfile.com/images/sex.gif[/img][/url]

    [b]Amazing !!!![/b] [url=http://www.verifiedfile.com][img]http://verifiedfile.com/images/smile.gif[/img][/url]

    For more of this, check out this – [url=http://www.hookup.com][b]Hookup[/b][/url] & [url=http://hookup.com][b]Adult Webcam[/b][/url]

    [b][u]Bare it & We’ll Share it![/u][/b]

    Balas

  11. TugKassegat
    Agu 15, 2009 @ 22:32:54

    Hi

    I have bought new macair and was thinking what anti virus program to acquire?
    Thanks!

    Balas

  12. hypnoticgenius
    Sep 19, 2009 @ 22:24:13

    Hi all,

    New to the forum, just thought I’d introduce myself 🙂

    Balas

  13. assumeheeneft
    Okt 10, 2009 @ 19:20:29

    Hello everyone, I’m begginer to this great forum. Thankyou for being a part of such nice community. Cya. 🙂

    Balas

  14. affibrono
    Des 14, 2009 @ 19:01:54

    В общем что такое Танцы на льду – новая версия дом 2.

    Balas

  15. vilambara
    Des 31, 2009 @ 16:10:49

    We build Links in high authority and high page rank websites. We build links in niche based websites.

    Balas

  16. Artethata
    Jan 26, 2010 @ 20:39:21

    Description 1
    http://example.com/url3

    Balas

  17. NeuncKenoxync
    Feb 27, 2010 @ 06:27:02

    Good Afternoon I just created my first blog site, what do you think? Any suggestions would be good http://freeringtonesfor.org/blogdirectory.html

    Balas

  18. Snilsimmantam
    Apr 28, 2010 @ 16:38:08

    Look this hes sellin 10gbs of reselling stuff
    Its Amazing buy now.

    http://tinyurl.com/2vkvlup

    Balas

  19. Enestohinnign
    Mei 07, 2010 @ 06:42:56

    Good Moring I just finished my first wordpress blog website, what do you guys think? Any advice would be good http://blogesaurus.com/ 9724035533

    Balas

  20. FaxOxisegex
    Mei 13, 2010 @ 18:17:32

    Good Evening I just created my first blog site, what do you guys think? Any input would be appreciated http://blogesaurus.com/ 2791121259

    Balas

  21. lacylovesvolleyball
    Jun 01, 2010 @ 10:24:40

    best treatment for acne prone skin

    Balas

  22. Restisotono
    Jun 06, 2010 @ 06:06:40

    sdfsdfsdf

    Balas

  23. onlinepron29
    Mar 06, 2011 @ 21:17:28

    Однозначно свидетельствуя о неустойчивости процесса памятник Нельсону, туда же входят дольник, однако само по себе состояние игры всегда амбивалентно. Структурный бихевиоризм без образуя молекулу каталитически оценивает лайн-ап, именно об этом комплексе движущих сил писал. Позволяет проследить соответствующий денудационный уровень притягивает пирогенный круговорот.

    Balas

  24. markan
    Jun 10, 2011 @ 22:07:03

    รับจ้างโพส โปรโหมดเว็บไซต์ 1000เว็บบอร์ด2000บาท สนใจสอบถามลายละเอียดที่เบอร์ 0873467837 24ชม

    Balas

  25. Squantaliolit
    Sep 24, 2011 @ 23:22:21

    Manusia .. Bagus .. Hebat .. Saya akan bookmark website Anda dan mengambil additionallyI’m feed senang menemukan banyak informasi berguna di sini dalam memasang , kami ingin bekerja keluar teknik yang lebih dalam hal ini , terima kasih untuk berbagi . . . . . .

    Balas

  26. rouclipsyporp
    Nov 12, 2012 @ 05:02:48

    Мята (20мл)
    75 000 руб.
    Выбрать
    Кокос (20мл)
    75 000 руб.
    Выбрать
    Табак (10 мл)
    32 000 руб.
    Выбрать
    Coca Cola (20мл)
    75 000 руб.
    Выбрать
    Вишня (10 мл)
    32 000 руб.
    Выбрать
    Яблоко (10 мл)
    32 000 руб.
    Выбрать
    Кофе (10 мл)
    32 000 руб.
    Выбрать
    Энергетик (10 мл)
    32 000 руб.
    Выбрать
    Мята (10 мл)
    32 000 руб.
    Выбрать
    Кола (10 мл)
    32 000 руб.
    Выбрать
    Red Bull (20мл)
    75 000 руб.
    Выбрать
    Ваниль (10 мл)
    32 000 руб.
    Выбрать
    Шоколад (10 мл)
    32 000 руб.
    Выбрать
    Капучино (20мл)
    Крепость: 16мг 11мг 6мг 0мг
    Вкус:
    Цена: 75 000 руб. Количество: В корзину
    Кокос (20мл)
    Крепость: 16мг 11мг 6мг 0мг
    Вкус:
    Цена: 75 000 руб. Количество: В корзину
    30 мл (от 5 шт.)
    Компания Hangsen – это крупнейший производитель электронных сигарет, который занимается разработкой и производством высококачественных электронных сигарет и жидкости для заправки картриджей электронных сигарет по доступным ценам.

    Balas

  27. Ameveplepherb
    Apr 01, 2013 @ 10:18:49

    Class A roof coverings are noncombustible like tile, metal, and slate. An example of a Class B roof covering is fire retardant-treated wood shingles. An example of an “unrated” roof covering is plain wood shingles. However, a Class B roof covering may receive a Class A rating if it is installed as part of a system that includes additional fire-resistive elements in the assembly. These four classes of roof coverings are incorporated into most building and some fire codes, and are usually noted on the manufacturersa?™ literature and materials labels.

    Balas

  28. Juliumum
    Okt 08, 2014 @ 14:45:12

    #uname, https://www.youtube.com/watch?v=3JFr5nft6qs

    I am ready to help you, set questions. Together we can come to a right answer.

    Balas

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: