![]() |
New Template Options / Updates
OK here is what this does and what has been updated.
1) Gives you the ability to copy one template to another template set. If the template already exsists then it will copy over it, if not it will make a new one 2) gives you the ability to copy all templates to another template set. If the templates already exsists then it will copy over it, if not it will make a new one 3) updated make makechoosercode 4) When editing a template the chooser will be at the correct template set you are in (if it doesnt alread do it... it didnt do it for me though...) I hope this help some of you out there. I know this will help we greatly with sit organizing and time. Enjoy. Updated!!! |
Awesome! :)
|
This will spare me alot of time, thanks for the usefull hack Neo. Well done.
|
Your welcome.
|
UPDATED!!!
|
Hi Neo thanks for your hack!
I really would like to use it, but I just found a bug. You missed that also other *.php files are using the makechoosercode. For example the user.php does not make anymore a correct combobox! I don't know how many other files are using this function... With the change of the interface of makecoosercode we have to replace any call to this function :-( wouldn't it be better to add the new parameters to the end of the function so that other function calls are not disturbed? change this code: PHP Code:
PHP Code:
PHP Code:
thanks for comments or an update ;-) |
The code had already been changed before you posted this... *points to update*
|
ok neo thanks for the update. Please tell the next time in a few lines what you have updated (I just didn't saw that you have changed the file).
And it would be nice to say what we have to revert to install the new hack. But thanks it works now. just one little thing PHP Code:
PHP Code:
tia chisel |
It could stay the same and work the same.
|
Hello Neo
Im getting this error in: Warning: Missing argument 7 for makechoosercode() in /home/ /forums/admin/adminfunctions.php on line 312 How can I fix it? |
Hi dm
To fix this, you have to add a default value to the parameter $tablename2 in the function makechoosercode() look at my last post! your code should then look like this PHP Code:
chisel |
sweet, I was looking for an answer for getting that to stop...thanks
|
Thank You chisel :)
working now dm |
hey, is it posable to make an add on that lets you move multi-templates at the same time??
|
anyone care to help out a newbie with my last question?? ^^^^^^^^^
|
works great as usual, neo.
top bloke. :) |
No problem :)
|
sure, no one answers any of my questions :( I guess I'm invisable/ghost here :(
here's my question, again. Quote:
|
Well there is the option to move all the edited templates over to another template set that doesnt have it :)
|
Thanks, Neo installed and working great :) Only question I have is on the 'copy over all' feature. It doesn't allow me to pick where these are copying to, only when I select them individually. Am I missing something or is this not implemented all the way as of yet? Either way its still a great hack and will save me a lot of time while working on new themes :)
|
Hmmm I though I did that. Let me take a look :)
|
Ahh I see what it does, it copy over all styles templates with this feature. Perhaps, and this is only a suggestion, it would be better if you allowed it to pick just one style to copy over all to. This way if you wanted to start on a new style you could just make a new style and copy all templates from one to the new one.
|
Quote:
|
hate to do this, but ^bumb^
|
you can always copy all of them over one by one, or copy all of them and revert the ones that you wish to stay default
|
Hmmm.... I have been really busy sorry I will work up something as soon as I can
|
thanks neo
|
Very Very Nice!
Bravo! Satan |
I have install it...and...i see 2 new buttons. Preview & Copy. I have click preview on a template and it looks like this see attachment :
It shoult look like that ? |
Preview and Copy should of been there in the first place when you first installed vBulletin, it's built in...this hack doesn't give you it.......you might have noticed it before, but it been there, way before you installed this hack ;)
btw...I'm still waiting for that combo box to just slect the onces I want to copy over :rolleyes: |
bump for scsa20 ;)
|
I have a question about this thing. I have it installed. And i have a test 1 template and a test2 template test1 is hacked to bits and test 2 is in normal untouched. Now when i copy test1 template to test2's All i get is the new templates that i added to the test1 template. I dont get postbit carried over to test2 at all or anything liek that. Only the templates i added. Not modified. How do i get it so it copied over everything and i mean everything. Unless i hacked it wrong or something i dont no. Please tell me thanks.
|
can someone help please?
|
Cool. Thanks neo - had to do a copy over a few times here and there to get what I wanted, but I got what I wanted. :)
|
Quote:
|
i click on Copy Over All and it goes to a blank screen whats up with it :(
|
thanks alot
its a very useful hack will save me alot of time! |
Awesome hack, thanks for saving me hours of copy and paste.
|
This hack only works sometimes.
It does however add any new templates but does _not_ copy over modified templates even though it says "Copy over completed" |
Hmmm I need to update this I take it.
|
All times are GMT. The time now is 04:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|