|
|
Mod Options |
|
#1
|
|||
|
|||
|
Save template to textfile
To compare templates easily I'd like to have a script that will save each template of a style to a textfile named like the template or even something like styelid_templatename.txt.
I think its easier to update modified or translated templates when you can use a comparison tool like BeyondCompare for example. Perhaps someone has got the time to make this script. I don't have it right now. :( Thanks. No members have liked this post.
|
| Comments |
|
#2
|
|||
|
|||
|
Definately needed!
No members have liked this post.
|
|
#3
|
||||
|
||||
|
Here's the script. Not very nice but works for now:
Put the script in your admin dir. Just change the $tempsetid to save a different template set. All templates will be saved in a directory called after the templatesetid. Perhaps I will improve it later.... No members have liked this post.
|
||||
|
#4
|
|||
|
|||
|
Now it's much nicer with the ability to select the style via dropdown box.
You can name the directory now. If you leave the field blank it will name the directory after the templatesetid. Put the script in your admin dir an run it. I hope you can read german ![]() No members have liked this post.
|
|
#5
|
|||
|
|||
|
I have dared to translate it into English!
![]() If you want me to remove the English version from this post just tell me! No members have liked this post.
|
|
#6
|
|||
|
|||
|
One question:
I got a lot of error messages as I ran it! I tried it then with your original German version and it was the same! Can it be that it only works with Windows servers? No members have liked this post.
|
|
#7
|
|||
|
|||
|
What kind of error messages?
I only used it on my Windows machine. No members have liked this post.
|
|
#8
|
||||
|
||||
|
I guess it only works with Windows:
Nothing is created! No members have liked this post.
|
||||
|
#9
|
||||
|
||||
|
Create your directory and chmod it 777.
__________________
Wayne Luke Get started with your own social network. Purchase and download vBulletin today. Take vBulletin to the next level - vBCodex. Find Tips, Tutorials, and Resources. No members have liked this post.
|
|
#10
|
|||
|
|||
|
I get the following error when I run this utility:
Fatal error: Call to undefined function: maketableheader() in /home/msports/michigan-sportsman-www/forum/admin/savetemplates.php on line 47 Any ideas? I desperately need to run this utility to make upgrading my templates managable. No members have liked this post.
|
|
#11
|
||||
|
||||
|
this function is not in previous vb versions. so try this script
i hope this will do it. No members have liked this post.
|
||||
|
#12
|
|||
|
|||
|
Can a moderator move this thread to the Releases-Forum
__________________
ChemieOnline No members have liked this post.
|
|
#13
|
|||
|
|||
|
*bump* Can this hack be moved to the other releases please. This hack would be helpful for other members.
__________________
ChemieOnline No members have liked this post.
|
|
#14
|
|||
|
|||
|
Yes indeed it would!
No members have liked this post.
|
|
#15
|
|||
|
|||
|
Does this hack work with 2.03 or is it incompatible? I need to compare the new 2.03 templates with my old 2.01 templates. The hack seems to wirte my old 2.01 templates out fine, but the 2.03 templates never seem to get written out....
No members have liked this post.
|
«
Previous Mod
|
Next Mod
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Mod Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 12:53.

