Easy Profile Uploader

Download, Present, and receive support for third party WoWRoster AddOns and modifications
WoWRoster AddOns and Mods are supported by the author only
Please understand that some AddOns and Mods may require advanced skills to employ

Do you like this?

Yes
8
80%
No
2
20%
 
Total votes : 10

Easy Profile Uploader

Postby Nightfel » Mon Jun 18, 2007 3:12 am

I made this AutoIt3 Program which makes it easy for Guild members who know nothing about computers to upload there profile

It will install the profiler for them and open up internet explorer to there guilds profile update page and tell them what to put in the input boxs and what to do.

To use 1st the guild master or web master must set the profile update page in the .ini file and the password for the update page then they can send the files to there guild members. Have the guild members read the ReadMe.txt

Heres the source for AutoIt3 users
Code: Select all
; WoWRoster Uploader
; Created By: Nightfel
#include <GUIConstants.au3>
#include <IE.au3>

; #################
; Variables
; #################
$inifile = "WoWRosterUploader.ini"
$UpPage = IniRead ( $inifile, "Uploader", "Update Page", "None" )
$WoWLoc = IniRead ( $inifile, "Uploader", "WoW Folder", "None" )
$WoWWTF = IniRead ( $inifile, "Uploader", "Account Folder", "None" )
$SavVari = IniRead ( $inifile, "Uploader", "Saved Variables", "None" )
$AcctNam = IniRead ( $inifile, "Uploader", "Account Name", "None" )
$GuildPass = IniRead ( $inifile, "Uploader", "Roster Password", "None" )
$UpdateNote = IniRead ( $inifile, "Uploader", "Update Note", "None" )
$FilePic = "Upload.gif"
; #################
; Variables
; #################


; #################
; GUI
; #################
GUICreate ( "WoWRoster Uploader", 360, 125 )
GUICtrlCreateLabel ( "Location of WoW Default:C:\Program Files\World of Warcraft\", 5, 5, 350 )
$GUIWoWLoc = GUICtrlCreateInput ( "", 5, 20, 350 )
GUICtrlSetData ( $GUIWoWLoc, $WoWLoc )
GUICtrlCreateLabel ( "Account Name In Caps Note: This is to get location of Saved Variables Folder", 5, 50, 350 )
$GUIAcctNam = GUICtrlCreateInput ( "", 5, 65, 350 )
GUICtrlSetData ( $GUIAcctNam, $AcctNam )
$GUIButton1 = GUICtrlCreateButton ( "Upload Files", 5, 95 )
$GUIButton2 = GUICtrlCreateButton ( "Install Character Profiler", 71, 95 )
GUISetState ()
; #################
; GUI
; #################


; #################
; Upload Files
; #################
Func UploadFiles()
   $CtrlWoWLoc = GUICtrlRead ( $GUIWoWLoc )
   $CtrlAcctNam = GUICtrlRead ( $GUIAcctNam )
   IniWrite ( $inifile, "Uploader", "WoW Folder", $CtrlWoWLoc )
   IniWrite ( $inifile, "Uploader", "Account Name", $CtrlAcctNam )
   $UpPage = IniRead ( $inifile, "Uploader", "Update Page", "None" )
   $WoWLoc = IniRead ( $inifile, "Uploader", "WoW Folder", "None" )
   $WoWWTF = IniRead ( $inifile, "Uploader", "Account Folder", "None" )
   $SavVari = IniRead ( $inifile, "Uploader", "Saved Variables", "None" )
   $AcctNam = IniRead ( $inifile, "Uploader", "Account Name", "None" )
   $GuildPass = IniRead ( $inifile, "Uploader", "Roster Password", "None" )
   $UpdateNote = IniRead ( $inifile, "Uploader", "Update Note", "None" )
   GUICtrlSetData ( $GUIWoWLoc, $WoWLoc )
   GUICtrlSetData ( $GUIAcctNam, $AcctNam )
   GUICreate ( "Upload File", 734, 275 )
   $GUI11 = GUICtrlCreateInput ( $WoWLoc&$WoWWTF&$AcctNam&$SavVari&"CharacterProfiler.lua", 393, 89, 335, 17 )
   $GUI22 = GUICtrlCreateInput ( $WoWLoc&$WoWWTF&$AcctNam&$SavVari&"PvPLog.lua", 393, 116, 335, 17 )
   $GUI33 = GUICtrlCreateInput ( $GuildPass, 393, 208, 335, 17 )
   $GUI44 = GUICtrlCreateInput ( $UpdateNote, 393, 249, 335, 17 )
   $GUIBack = GUICtrlCreatePic ( $FilePic, 0, 0, 391, 275 )
   GUISetState ()   
   $IEPU = _IECreate ("http://angst.freehostia.com/Joomla/apps/roster/update.php")
   WinActivate ( "Upload File" )
EndFunc   
; #################
; Upload Files
; #################


; #################
; Install Char
; #################
Func InstallChar()
   DirCreate ( $WoWLoc&"Interface\AddOns\CharacterProfiler\" )
   FileInstall ( "CharacterProfiler\CharacterProfiler.lua", $WoWLoc&"Interface\AddOns\CharacterProfiler\CharacterProfiler.lua", 1 )
   FileInstall ( "CharacterProfiler\CharacterProfiler.toc", $WoWLoc&"Interface\AddOns\CharacterProfiler\CharacterProfiler.toc", 1 )
   FileInstall ( "CharacterProfiler\localization.lua", $WoWLoc&"Interface\AddOns\CharacterProfiler\localization.lua", 1 )
   FileInstall ( "CharacterProfiler\readme.txt", $WoWLoc&"Interface\AddOns\CharacterProfiler\readme.txt", 1 )
   FileInstall ( "CharacterProfiler\rpgo.core.lua", $WoWLoc&"Interface\AddOns\CharacterProfiler\rpgo.core.lua", 1 )
   FileInstall ( "CharacterProfiler\rpgo.lib.lua", $WoWLoc&"Interface\AddOns\CharacterProfiler\rpgo.lib.lua", 1 )
EndFunc
; #################
; Install Char
; #################


; #################
; GUI Read
; #################
While 1
$msg = GUIGetMsg()
Select
   Case $msg = $GUI_EVENT_CLOSE
      Exit
   Case $msg = $GUIButton1
      Call ( "UploadFiles" )
   Case $msg = $GUIButton2
      Call ( "InstallChar" )
EndSelect
WEnd
; #################
; GUI Read
; #################
Attachments
rosteruploader.zip
This includes everything you need
(311.06 KiB) Downloaded 133 times
Last edited by Nightfel on Mon Jun 18, 2007 3:14 am, edited 1 time in total.
Nightfel
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Mon Jun 18, 2007 3:04 am

Easy Profile Uploader

Postby danbk » Wed Aug 29, 2007 11:25 am

Problem ... Seems when I downloaded this, even though I've updated the .ini file, and try to upload, it still goes to your website. I think you've got something hard-coded that's causing an issue.
danbk
WR.net Apprentice
WR.net Apprentice
 
Posts: 14
Joined: Tue Jul 04, 2006 6:09 pm

Re: Easy Profile Uploader

Postby swampy » Thu Aug 30, 2007 4:39 am

danbk wrote:Problem ... Seems when I downloaded this, even though I've updated the .ini file, and try to upload, it still goes to your website. I think you've got something hard-coded that's causing an issue.


Check the line that reads:
Code: Select all
$IEPU = _IECreate ("http://angst.freehostia.com/Joomla/apps/roster/update.php")


Change that to your update.php page.
<br /><a href="http://www.argentdawnexiles.org" rel="nofollow" target="_blank" title="http://www.argentdawnexiles.org" ><img src="http://www.argentdawnexiles.org/wowroster/sig/Jakob.png" style="border:0;" alt="" /></a><br />
User avatar
swampy
WR.net Apprentice
WR.net Apprentice
 
Posts: 43
Joined: Mon Sep 25, 2006 9:38 pm
Location: UK

Easy Profile Uploader

Postby Vanterax » Thu Aug 30, 2007 8:02 am

So why use this over UniUploader? When combined with UniAdmin, UU has so much more to offer over just uploading one's profile... Among other things, you can update everyone's CharacterProfiler remotely when there's a new version out.
Vanterax
WR.net Apprentice
WR.net Apprentice
 
Posts: 66
Joined: Wed Dec 13, 2006 6:58 am

Easy Profile Uploader

Postby danbk » Thu Aug 30, 2007 10:18 am

I had done that. This is what the INI file shows.

Code: Select all
For Guild Members:
Dont touch anything in here enless you know what your doing
For Webmasters:
Set the address of your profile page and the password for the roster update. Also you can set a not to display as step for in the update steps did this so you can say somthing like update every monday

[Uploader]
Update Page=http://www.silent-strike.org/roster/update.php
WoW Folder=e:\world of warcraft\
Account Folder=WTF\Account\
Saved Variables=\SavedVariables\
Account Name=**hidden for security**
Roster Password=
Update Note=Click Update and Wait


I left Roster Password empty as I don't want anyone besides certain people and myself updating the roster and using the config tools.
Last edited by danbk on Thu Aug 30, 2007 10:20 am, edited 2 times in total.
danbk
WR.net Apprentice
WR.net Apprentice
 
Posts: 14
Joined: Tue Jul 04, 2006 6:09 pm

Easy Profile Uploader

Postby danbk » Thu Aug 30, 2007 10:25 am

Now that I look back at your reply... I guess you want me to alter the source and recompile? What's the point of putting the server info in the .ini file if the program isn't set to use it? I can look into hard coding the script and re-compiling it, but I'd have to grab AutoIt i guess you said you used?
danbk
WR.net Apprentice
WR.net Apprentice
 
Posts: 14
Joined: Tue Jul 04, 2006 6:09 pm


Return to AddOns and Mods

Who is online

Users browsing this forum: No registered users and 0 guests

cron