Welcome Guest ( Log In | Register )

UploadScript

2 Pages V   1 2 >  
Reply to this topicStart new topic
Automatic XML image extraction
cvxdes
post Sep 1 2006, 12:26 AM
Post #1


Member
**

Group: Members
Posts: 178
Joined: 5-February 05
Member No.: 143,609
IPB Version: 2.0.x



Automatic XML image extraction

Category: Admin Helper Tools
Compatibility: Invision Power Board 2.0
Quick Description:
Let's face it, IPB's xml extraction isnt perfect. Infact, for me it nearly never works. So, I made this to automaticly extract all files fro

Description:
Let's face it, IPB's xml extraction isnt perfect. Infact, for me it nearly never works. So, I made this to automaticly extract all files from the XML!

What you have to do:
Download Winrar, or other client to extract .gz files.
Extract the XML file inside your skins GZ file, and upload it in the same dir as the script.
Go to the script, and type in the file name and folder to extrat to
Submit

and you're done! Congrats.

Does not work with safe mode!

View Tool
Go to the top of the page
 
+Quote Post
chas2u
post Sep 1 2006, 12:33 AM
Post #2


Invisionized
*****

Group: Members
Posts: 1,776
Joined: 20-January 05
Member No.: 141,449
IPB Version: Not Applicable



nice, ipb seems to have trouble extracting new folders
Go to the top of the page
 
+Quote Post
ob.nikon
post Sep 24 2006, 01:43 AM
Post #3


Newbie
*

Group: Members
Posts: 44
Joined: 26-December 05
Member No.: 194,008



At 2.1 that bug of extracting new folders solved?
Go to the top of the page
 
+Quote Post
marked
post Nov 12 2006, 01:51 AM
Post #4


Newbie
*

Group: Members
Posts: 71
Joined: 10-July 06
Member No.: 233,019
IPB Version: Not Applicable



I dont fully understand how to get this working. Where EXACTLY do I put everything?
Can someone please explain this in depth, I really need to use it.
Thanks.
Go to the top of the page
 
+Quote Post
SIMSLIM
post Nov 21 2006, 02:49 AM
Post #5


Newbie
*

Group: Members
Posts: 7
Joined: 1-April 04
Member No.: 96,334



i also dun understand it...but after i ran it, my acount at funpic became not availeble....
Go to the top of the page
 
+Quote Post
rashy
post Jan 11 2007, 12:14 PM
Post #6


Newbie
*

Group: Members
Posts: 94
Joined: 2-October 06
Member No.: 249,075



Same here i also don't get it sad.gif


--------------------
Our character is what we do when we think no one is looking.
Never explain yourself. Your friends don’t need it and your enemies won’t believe it.
Go to the top of the page
 
+Quote Post
steve777
post Jan 20 2007, 06:31 AM
Post #7


Design Team Admin
Group Icon

Group: Team Leaders
Posts: 18,817
Joined: 19-April 03
From: UK
Member No.: 4,649
IPB Version: 3.0.x



exactly as per the instructions but for more detailed instructions

e.g.

Create a folder somewhere on your server (e.g. extract_images)

upload the unzipped extract_img.php file into it

using winzip (or other unzip prog) extract the images xml.gz file of the skin so you end up with xml file only

upload this images xml file to the folder you created earlier

run the uploaded extract_img.php file via your browser

enter the images filename in top box

enter where you want them extracted to (e.g. images/)

Click submit button

when finished ... check the images folder (or whatever name you entered in 2nd box) and all being well .. lo and behold ... the images etc should be there

Have tested this and also works with 2.2.1 skin images



--------------------
Please do not PM your questions to me, please post in forum and someone will reply, thankyou

If found I have helped you then please feel free to post a comment in my profile, better still how about a small donation to IZE (link at bottom left of page).

Webmaster resource site for javascripts and other webmaster resources

|| ukcomputingservices.co.uk domain name for sale ||
||FAQ - How to CHMOD || FAQ - Safe Mode/Manual Import || FAQ - Basic Guide to Skinning ||
|| Different Category Image || Extract xml image files ||
|| FAQ - How to install 1.3.x skin || FAQ - How to install 2.0.x skin || FAQ - How to Install 2.1.x skin ||
Go to the top of the page
 
+Quote Post
safcfan4eva
post Jan 20 2007, 07:29 AM
Post #8


Newbie
*

Group: Members
Posts: 42
Joined: 16-May 06
Member No.: 222,679
IPB Version: 2.2.x



QUOTE(steve777 @ Jan 20 2007, 12:31 PM) [snapback]1776535[/snapback]
exactly as per the instructions but for more detailed instructions

e.g.

Create a folder somewhere on your server (e.g. extract_images)

upload the unzipped extract_img.php file into it

using winzip (or other unzip prog) extract the images xml.gz file of the skin so you end up with xml file only

upload this images xml file to the folder you created earlier

run the uploaded extract_img.php file via your browser

enter the images filename in top box

enter where you want them extracted to (e.g. images/)

Click submit button

when finished ... check the images folder (or whatever name you entered in 2nd box) and all being well .. lo and behold ... the images etc should be there

Have tested this and also works with 2.2.1 skin images



this looks good but complicated to me
Go to the top of the page
 
+Quote Post
steve777
post Jan 20 2007, 08:15 AM
Post #9


Design Team Admin
Group Icon

Group: Team Leaders
Posts: 18,817
Joined: 19-April 03
From: UK
Member No.: 4,649
IPB Version: 3.0.x



if complicated then can't help that ... someone asked for more detailed instructions ... thats what that is

have you really tried to understand it ... or just looked and it and said 'looks like too much involved' ... without even trying it ??


--------------------
Please do not PM your questions to me, please post in forum and someone will reply, thankyou

If found I have helped you then please feel free to post a comment in my profile, better still how about a small donation to IZE (link at bottom left of page).

Webmaster resource site for javascripts and other webmaster resources

|| ukcomputingservices.co.uk domain name for sale ||
||FAQ - How to CHMOD || FAQ - Safe Mode/Manual Import || FAQ - Basic Guide to Skinning ||
|| Different Category Image || Extract xml image files ||
|| FAQ - How to install 1.3.x skin || FAQ - How to install 2.0.x skin || FAQ - How to Install 2.1.x skin ||
Go to the top of the page
 
+Quote Post
vadim88
post Jan 21 2007, 09:01 AM
Post #10


Lead Developer
*****

Group: Members
Posts: 1,103
Joined: 7-January 06
From: Los-Angeles, California, USA / Israel
Member No.: 196,532
IPB Version: 2.3.x



it's as simple as 123


--------------------
Vince Gabriel, Lead Developer.



formerly known as vadimg88
Go to the top of the page
 
+Quote Post
ryuchroplast
post Jan 24 2007, 05:27 AM
Post #11


Newbie
*

Group: Members
Posts: 2
Joined: 21-January 07
Member No.: 267,195
IPB Version: 2.1.x



Is it compatible with 2.1.6?
Go to the top of the page
 
+Quote Post
steve777
post Jan 24 2007, 08:28 AM
Post #12


Design Team Admin
Group Icon

Group: Team Leaders
Posts: 18,817
Joined: 19-April 03
From: UK
Member No.: 4,649
IPB Version: 3.0.x



if worked originally on 2.0.x and also works on 2.2.x then can't see why it won't for versions inbetween


--------------------
Please do not PM your questions to me, please post in forum and someone will reply, thankyou

If found I have helped you then please feel free to post a comment in my profile, better still how about a small donation to IZE (link at bottom left of page).

Webmaster resource site for javascripts and other webmaster resources

|| ukcomputingservices.co.uk domain name for sale ||
||FAQ - How to CHMOD || FAQ - Safe Mode/Manual Import || FAQ - Basic Guide to Skinning ||
|| Different Category Image || Extract xml image files ||
|| FAQ - How to install 1.3.x skin || FAQ - How to install 2.0.x skin || FAQ - How to Install 2.1.x skin ||
Go to the top of the page
 
+Quote Post
pcrat
post Feb 15 2007, 08:41 AM
Post #13


Newbie
*

Group: Members
Posts: 51
Joined: 21-March 06
From: Michigan
Member No.: 211,419
IPB Version: Not Applicable



no matter where i do it keeps telling me you dont have permission to access /aqua or whatever or where ever i put it, on this server.

ps. this is what i get when i go to your file

NOTE: do not put in a .gz file here. You must extract the XML archive from the .gz file. You can do this with WinRar.
' method='post'> XML location

Where to extract to?


', '', $file); $file = str_replace('', '', $file); $file = str_replace('', '', $file); $files = explode('', $file); foreach($files as $finfo){ $content = explode('', $finfo); $content = base64_decode($content[1]); $filename = explode('', $finfo); $path = explode('', $finfo); @mkdir("./".$_POST['xt2']); @chmod("./".$_POST['xt2'], 0777); @mkdir("./".$_POST['xt2']."/".$path[1]); $ddd = @fopen($_POST['xt2']."/".$path[1]."/".$filename[1], 'a+'); @fwrite($ddd, $content); @fclose($ddd); chmod("./".$_POST['xt2']."/".$path[1], 0777); echo "File: ".$path[1]."/".$filename[1]." extracted... created... filled... moving on...
"; } } ?>

note: then when i hit submit when all the info is accepted i get you dont have permmission to acces/< on this server, theres always a /< after whatever i put in, so theres an error in the php file...


--------------------
Go to the top of the page
 
+Quote Post
mrsirpantsalot
post Feb 18 2007, 01:29 AM
Post #14


Newbie
*

Group: Members
Posts: 72
Joined: 30-July 06
From: Tuscon, Arizona
Member No.: 236,868
IPB Version: 2.3.x



all the file does is create the folders, no image appear anywhere(only folders)


--------------------
Go to the top of the page
 
+Quote Post
Elad Nava
post Mar 17 2007, 07:12 PM
Post #15


Programming Team Admin
Group Icon

Group: Team Leaders
Posts: 3,378
Joined: 17-March 07
Member No.: 276,124
IPB Version: 3.0.x



OMG I needed this so much since my host has safe mode on!!!

If you can't import any images as well (because of the stupid safe mode) then find a host (http://www.cp-free.com/ is great! no stupid safe mode) and upload the script and the xml and extract, download, and upload to the forum on the safe mode host!!!!

THANK YOU SO MUCH AUTHOR!

edit: TESTED AND WORKS!

This post has been edited by Dania: Mar 17 2007, 07:18 PM
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 12th March 2010 - 07:49 AM

Search Engine Keywords
Invision Skins · IPB Skins