Looking for vbulletin script to grab usernames

Discussion in 'Scripting' started by vinku, Mar 27, 2017.

  1. vinku

    vinku Jr. VIP Jr. VIP

    Joined:
    Jan 22, 2008
    Messages:
    1,294
    Likes Received:
    2,004
    Gender:
    Male
    Occupation:
    Making Money With Android
    Location:
    Poland
    Home Page:
    Looking for script for vbulletin to grab usernames from membership list, add sign "@" before name and save it in txt.
    If you know about sth like this, inform me ;)
     
  2. tasburrfoot

    tasburrfoot Regular Member

    Joined:
    Dec 16, 2008
    Messages:
    332
    Likes Received:
    153
    Have a link to a vbulletin site? I don't know any off the top of my head.

    This should be a very simple script to create though. If it requires login before you can see the member list that makes it a bit more complicated, but other than that..
     
  3. vinku

    vinku Jr. VIP Jr. VIP

    Joined:
    Jan 22, 2008
    Messages:
    1,294
    Likes Received:
    2,004
    Gender:
    Male
    Occupation:
    Making Money With Android
    Location:
    Poland
    Home Page:
    http://forums.makingmoneywithandroid.com/members/list/

    I ordered it via freelancer but idk if this guy will finish :)
     
  4. tasburrfoot

    tasburrfoot Regular Member

    Joined:
    Dec 16, 2008
    Messages:
    332
    Likes Received:
    153
    Well, I just woke up and finished it;

    Here's the first 20 pages:

    Count: 599
    Code:
    @!!!
    @$$$
    @[email
    protected]/*
    */
    @$tateofMind
    @Николай
    @ابوطالب
    علوب
    @ĐỗBìnhl1
    @ĐỗThuậnk8
    @+1vishaletm
    @+CEKY+
    @//joe
    @0100101
    @0123jgh
    @01jonny01
    @059990
    @06061997.id
    @09139000840.mosavi
    @0AndyM
    @0bserver
    @0c0de
    @0nl1n3
    @0Risen0
    @100%Indie
    @1000shine
    @101distroonline
    @102hosen
    @1039smooth
    @1158furkan
    @121212qw
    @121212xd
    @123456789
    @123indiano
    @123thailinh
    @123tutu
    @[email
    protected]/*
    */
    @12er
    @1337monkey
    @149147masum
    @188bet
    @1957chevrolet.pr
    @19jacka
    @1appmarket
    @1classdumps
    @1DEA
    @1Forge
    @1rabotchik
    @1shyboss1
    @1tissedo
    @2010altosax
    @2010sroy
    @2011amreshgupta
    @2020lpln
    @205ufclives
    @21stsoftware
    @23mohang
    @246810ben
    @24tautua
    @2buydeal
    @2good
    @2mato
    @2rabotchik
    @305gsxr1
    @312km
    @31aces
    @31Cats
    @32Network
    @33site
    @[email
    protected]/*
    */
    @381386649
    @3afnmc
    @3codes
    @3d3d3d65
    @3dinteger
    @3dorange
    @3jgames
    @3leebros
    @3magicshots.com
    @3mrullah
    @44timjosepz
    @45giga
    @4Fitting
    @4fn
    @4getmenotportraits
    @4mob
    @4MoWi
    @4nxhrydb7
    @4ROI
    @4stones
    @4thfloorapps
    @4toonStudio
    @4youplay
    @555
    @57M
    @5cents
    @5h177y
    @5tr4u55
    @673
    @7
    ngày
    chưa
    tắm
    @75baker.g
    @777tuanha
    @7adaf10
    @7Andrey
    @7fldkdkd
    @7legos
    @7RoF
    @7seasent
    @80LevelElf
    @8161497
    @81timmyadkins
    @83acollinsjr
    @898989
    @8thPortal
    @904david2013
    @907howard
    @90names
    @91locker
    @94imad
    @95.tawtharlay
    @9551601609k
    @[email
    protected]/*
    */
    @98shusia
    @99146a
    @999overevil
    @99apps
    @99Games
    @99patrickpereira99
    @9codinglove
    @9o9o9o
    @9pladook
    @9xgeneration
    @@AdzforAppz
    @@goldensharma
    @A&A
    Technologies
    @a-app
    @a-ok
    @a.a.a.ha35
    @A.A.A_sneed
    @a.field
    @a.hasan11mpe16
    @a.kanoute
    @a.miljakova
    @a.parniani
    @a.ramazan.20011
    @A171706
    @A1ka1inE
    @a2015
    @a54studio
    @a894099m
    @a9vl3
    @aa2035
    @aa89
    @aaaftvud
    @AABplay
    @aacowse
    @AaCrartyCip
    @AADapps
    @aadarsh78i9
    @AADERSH
    @aadesh86
    @aadhaishqjike
    @aaditajain214jain
    @aaeb1988
    @aaeccdwp
    @aafjshgr
    @aafwtvym88
    @aagamescompany
    @aagourrame
    @aaixyhoj
    @aajba31
    @aajbalakshmi
    @aajulionn
    @aakashsomendra
    @aalicagan
    @aaliyahhgoy
    @aaliyahjhky
    @Aaltan
    @aama8611
    @aamatniekss
    @aambitny
    @aameeshah
    @AamericaC
    @aamfouro
    @aamirlehri
    @aamirsapps
    @aammc
    @aammdsore
    @aandamar
    @aanev
    @aanulks
    @aapnakaro45
    @aaprhsrm
    @aapUnacle
    @aaqmofsk
    @aardontgkder
    @aargh
    @AaricAdney
    @AaRichardei
    @aaririe
    @aaronie
    @AaronRider
    @aarslqnn
    @aartip
    @Aashiks
    @aashiqshakeel
    @AashKri
    @aasnwiqj
    @aawayxuw
    @aayansh
    @aayush
    @aazUnacle
    @ababakr
    @abacus
    @abagnalehugh
    @Abakamhoabe
    @abaklanPr
    @Abalone
    @abamerta
    @Abamirori
    @AbannaUncoota
    @abardaouz
    @abarotololipa
    @abasaa
    @abascisee
    @Abasefaboda
    @ABaskervi
    @abataron63
    @abatmerwape
    @Abatpeepe
    @Abattemat
    @abaUnacle
    @abba1221hy
    @abbas86
    @abbasiahmad456
    @AbbelTayfoya
    @abbew
    @abbeyreshauge
    @abbocxder
    @abboor
    @abbottcolin
    @abbremattha
    @abbterscokes
    @Abby
    @Abby
    from
    Two
    Bean
    Apps
    @abby43
    @abbycharlo
    @abbyjohn
    @abbykay_luv
    @abc
    @abc123
    @abcAndroid
    @ABCDev
    @abcdxyz011
    @abcuser
    @abd
    namari
    @abdahk
    @abdarklord
    @abdarneiken
    @abdecdixz
    @abdecdjwh
    @Abdelaziz
    Ahmed
    @abdelhak1977
    @abdelillo
    @abdelkader.bouich
    @abdellatif81
    @abdelsteerahmad
    @abderrahim
    erradi
    @abdevillars01
    @abdo911912
    @abdobil
    @abdofane
    @abdofarik
    @abdohamza95
    @abdouh
    @abdphone1
    @abdul
    k
    ahmad
    @abdul47492
    @abdulaimatz
    @abdulallah77
    @abdulelh92
    @abdulhadifa988
    @abdulla9
    @abdullah
    @Abdullah
    Tariq
    @abdullahshumari
    @abdulqadoos
    @Abdur
    @abdur
    rahim
    @Abdur792
    @AbeautYRoF
    @abecautut
    @Abedgeblepe
    @abediusia
    @AbedsLekbib
    @Abefiamma
    @abelardodoa
    @abele
    @AbelEvelyn
    @abelmendoza22
    @ABEMOS
    @Abenuekib
    @abenuepreobia
    @AbereeCrerm
    @abertoopyloal
    @aberuptungupt
    @Abervetraro
    @AbeseChussY
    @AbesedarHab
    @Abewahtaw
    @Abewlymeeve
    @Abewstwerse
    @abfglrep
    @abhamdwian
    @abhay
    @abhi007p
    @abhi3006
    @abhihendre
    @Abhijeet
    Mohan
    @abhijit93
    @abhinav
    @abhinav.futures
    @abhinav17says
    @Abhinavakash
    @Abhirathod
    @Abhishek
    Chougule
    @abhishek
    das
    pattanayak
    @abhishek.vicky
    @abhishek660
    @Abhishek8664
    @Abhishek92
    @abhishekagarwal
    @abhishekaggarwal1995
    @abhisheksahoo910
    @abhlfmkp
    @abhmoserrm
    @abiarsepab13
    @AbibeDesmades
    @Abid
    khan
    @abid.dawar00
    @abigail
    @AbigailMiltonvy
    @AbikesoopsCob
    @abilfidaar
    @abilkViapesap
    @abillachism
    @abimbexpemy
    @abinearee
    @ABINEINITTE
    @abiosilicabbop14
    @abirmahbub
    @AbirvalGaming
    @Abizyanonex
    @abizz
    @abjectperson
    @abkyljqv
    @ablaiastry
    @ablight70
    @ablivai38hds
    @ablivai39hds
    @abljkfuk
    @abloe
    @ablvytas
    @abmantis
    @abneeer0
    @abnila
    @Abninelisr
    @ABNOBIAKEEDIA
    @AbnonnaEffone
    @Abnonvent
    @abnonysor
    @Abnorkboync
    @abohatem1412
    @ABOLATADA
    @ABolodually
    @abolotsky
    @Abomamifreera
    @aboneoura
    @abonizar1998
    @Abonnenly
    @abood.hammad.ah40
    @aboody.sehman
    @abook
    @AboreCibe
    @Aborryswewary
    @aboseraj
    @abosseArosido
    @abossesegep
    @Abossyson
    @Abottoppott
    @abouptc
    @aboviefelitte
    @Aboys19
    @abra198035
    @abrabeshell
    @abradiact
    @abrahamkuriakose512
    @Abrahamloca
    @abrahamwingler
    @Abrarmabock
    @Abrasewer
    @AbrateCoato
    @abrinezas
    @abrinnmjkp
    @abrrhnnam
    @absayed135
    @absediesk
    @Absefebriep
    @absemomia
    @Absemselibe
    @Absenequeuese
    @Absentwet
    @Absesehaf
    @Abseshige
    @Absetteaddini
    @absi.ayman
    @absobiaEquins
    @absogeunubs
    @AbsoloBuplals
    @AbsommaKnonse
    @absopsyVianny
    @absorbVon
    @Absossypymn
    @Abte5619
    @abtyppyg
    @abu.nahed2
    @abuabdullah
    @abuabed84
    @abualaa55
    @abubakartijani777
    @AbubribialS
    @abucompanya
    @abuhanifa
    @abulama2014
    @AbumbBymn
    @AbupsnubMip
    @aburfWamb
    @abutioutt
    @AbutleBabbalt
    @ABUTRADDY
    @abwuyixv
    @abxgtjxg
    @aby
    @abyssahx
    @acadvaliatevy
    @Acaklykenly
    @acallLopy
    @Acallotly
    @acanberk
    @Acancesyday
    @Acankinchap
    @acardienthoai8
    @Acarefubfer
    @acarterczyz
    @Acasey89
    @acaxthifipt
    @acb1705
    @acbtaxconsulting
    @accebyrainy
    @AccectEmott
    @acceklybype
    @AccekVafslece
    @Accellbinfess
    @AccelmEdilm
    @accemnabe
    @accemoinake
    @Accendydomy
    @Accentsoove
    @Accepelry
    @Accerawroro
    @Accerifitte
    @Accerlate
    @AccerlyppCaradoc
    @AccermPhemCek
    @accesePab
    @accessoryfanatic4
    @acces_forbidden
    @accetexhaum
    @accicharrerty
    @AccicsBit
    @AccilaLycle
    @ACCILBONOGYNC
    @Accindich
    @Acciseeactism
    @Accitaindesse
    @Accitsshine
    @Accitteri
    @Accochevierry
    @AccodoMix
    @Accofroyafe
    @ACCOGMAWACY
    @ACCOKYKALOX
    @Accolabot
    @Accolatap
    @AccomBumkesee
    @Accomehem
    @Accontind
    @Accopsbic
    @Accostapp
    @AccothEGofhat
    @Accotttam
    @account
    @account2014
    @Accourose
    @Accovalayedly
    @AccoxocaWaymn
    @accubynab
    @accuchvak
    @accudding
    @Accuddito
    @Accuhprah
    @Acculaalgonna
    @Acculaapallig
    @Accultmat
    @Accultmup
    @AccuncWhele
    @accungalm
    @Accunkborpork
    @accurate
    @Accurbchurfat
    @accuriFitrack
    @accurryRege
    @acczcoom
    @acdg24
    @ace0110
    @ace24
    @acecyInhamn
    @Acediellandew
    @acegiosb
    @acei7una
    @acelab
    @acelectronics15
    @acemage
    @acemaVelfFape
    @acendFleefe
    @acengelhardt13
    @aceonesuper
    @AcepetHenty
    @acerdorne
    @AcertFedreids
    @Acervevup
    @acesbyloabe
    @Acessesnult
    @Acetiptiove
    @acewesepreole
    @AcFreeman
    @acfvgbh
    @acg.global8
    @ACGroup
    @Achebotasr
    @Achiefete
    @achiefvidaf
    @achielmmele
    @Achiepscept
    @Achieritete
    @achmed67
    @AchoryARen
    @achrafwac
    @achrefbalha
    @achrlosbarld
    @achstofarn
    @Acichrige
    @acictuhroarty
    @Aciczinge
    @Acid
    @aciddememooca
    @AcidGrid
    @AcifaxySiff
    @aciguaxia
    @acillaoramp
    @acillonsisM
    @Acilsaffiva
     
    • Thanks Thanks x 1
  5. vinku

    vinku Jr. VIP Jr. VIP

    Joined:
    Jan 22, 2008
    Messages:
    1,294
    Likes Received:
    2,004
    Gender:
    Male
    Occupation:
    Making Money With Android
    Location:
    Poland
    Home Page:
    Lol i've got all from freelancer before you ;) sorry but thx for your effort ;)
     
  6. tasburrfoot

    tasburrfoot Regular Member

    Joined:
    Dec 16, 2008
    Messages:
    332
    Likes Received:
    153
    *shrug* np.

    This is the PHP for it btw, in case anyone else wants it.:

    PHP:
    <?php

    $output 
    'vbusers.txt';

    $location 1;
    $last 20;

    while(
    $location $last){
        
    $url 'http://forums.makingmoneywithandroid.com/members/list/index' $location '.html';
        
    $content file_get_contents($url);

        
    $dom = new DOMDocument();
        
    $dom->loadHTML($content);
        
    $xpath = new DOMXPath($dom);

        
    $elements $xpath->query("*//a[contains(@class,'username')]");

        foreach(
    $elements as $element){
            
    file_put_contents($file'@' .  $element->nodeValue PHP_EOLFILE_APPEND);
        }
        
    $location++;
    }
    EDIT** This was only printing to the screen, not into text file as you wanted.

    Fixed for that.
     
    • Thanks Thanks x 1
  7. vinku

    vinku Jr. VIP Jr. VIP

    Joined:
    Jan 22, 2008
    Messages:
    1,294
    Likes Received:
    2,004
    Gender:
    Male
    Occupation:
    Making Money With Android
    Location:
    Poland
    Home Page:
    Anyway :) great job, maybe someone can use it:)
    On not moderated forums! You can use it in post mention and vbulletin will send automatic mailing to mentioned users and show them your offer ;)
     
  8. tasburrfoot

    tasburrfoot Regular Member

    Joined:
    Dec 16, 2008
    Messages:
    332
    Likes Received:
    153
    Ahhh