PDA

View Full Version : vBulletin 3.8.0 question


cindy helmond
01-08-2009, 02:40 PM
hi i have update now to 3.8 but i do have to revert 13 templates i have the feelings that i lose my mods in 3.7 ? can ik let it so i do not revert the templates of 3.8 ?

thx

Lynne
01-08-2009, 02:51 PM
I would go through each of those templates - edit > view history > compare - and add in any new Jelsoft code.

cindy helmond
01-08-2009, 03:09 PM
I would go through each of those templates - edit > view history > compare - and add in any new Jelsoft code.


thx but where i must added the new Jelsoft code?

Lynne
01-08-2009, 03:22 PM
If you do a compare, it will highlight the differences (I like to click on the Side by Side comparison) and then you'll see what you need to add and where.

Brandon Sheley
01-08-2009, 03:40 PM
If you do a compare, it will highlight the differences (I like to click on the Side by Side comparison) and then you'll see what you need to add and where.

I also like the side by side, wonder why the 3.8.x versions don't have that as default anymore :(

Lynne
01-08-2009, 04:04 PM
I also like the side by side, wonder why the 3.8.x versions don't have that as default anymore :(
I don't know. I found it so much more useful to see the differences side-by-side.

cindy helmond
01-08-2009, 04:28 PM
I don't know. I found it so much more useful to see the differences side-by-side.


so this its not working ?

If you do a compare, it will highlight the differences (I like to click on the Side by Side comparison) and then you'll see what you need to add and where.

Lynne
01-08-2009, 04:32 PM
Yes, it is working. I was agreeing with Brandon about how side to side is better than the default.

cindy helmond
01-08-2009, 05:02 PM
Yes, it is working. I was agreeing with Brandon about how side to side is better than the default.

ok so if a update to 3.8 and i change nothing then its the same as 3.7 ?
thx

Lynne
01-08-2009, 06:15 PM
If you upgrade to 3.8, but don't revert the templates, then you won't have many of the new features from 3.8. And, in fact, some of the links or forms may do strange things if they have changed variables for them.

cindy helmond
01-08-2009, 06:45 PM
If you upgrade to 3.8, but don't revert the templates, then you won't have many of the new features from 3.8. And, in fact, some of the links or forms may do strange things if they have changed variables for them.

ok thx is there a Tutorial how to compare and how to add the new codes from 3.8?

Lynne
01-08-2009, 08:49 PM
I've never seen a tutorial. You just select the template to Edit and hit View History and then Compare to compare your template to the Jelsoft one. I like to them hit the Side by Side button on the bottom to see them compared side by side. Then I copy anything I need and paste it back into the template. It's really not that hard - just try it.

cindy helmond
01-08-2009, 08:52 PM
I've never seen a tutorial. You just select the template to Edit and hit View History and then Compare to compare your template to the Jelsoft one. I like to them hit the Side by Side button on the bottom to see them compared side by side. Then I copy anything I need and paste it back into the template. It's really not that hard - just try it.


he thx !!

Dismounted
01-09-2009, 05:12 AM
I've familiarised myself with the not side-by-side version now. :) It works well once you get used to it.

Marco van Herwaarden
01-09-2009, 08:19 AM
I would go through each of those templates - edit > view history > compare - and add in any new Jelsoft code.
I would suggest the opposite:

Go through the templates and (copy the current contents first) revert and re-add the modification changes. If you add the Jelsoft 3.8 changes to your template, it wil be marked as needing a revert again the next update, even if nothing has changed. If you revert and re-add the modification code, it will be seen as an up2date template, and unless the next upgrade changes the same template, it will not be marked as needing attention.

Lynne
01-09-2009, 02:36 PM
I would suggest the opposite:

Go through the templates and (copy the current contents first) revert and re-add the modification changes. If you add the Jelsoft 3.8 changes to your template, it wil be marked as needing a revert again the next update, even if nothing has changed. If you revert and re-add the modification code, it will be seen as an up2date template, and unless the next upgrade changes the same template, it will not be marked as needing attention.
Actually, that is what I usually do (but not all the time). I select my template to edit, hit view history > compare, then in the other window I revert my template and go add in my changes from the Compare screen. I didn't know about the whole up2date thing though but will now make sure I always do the revert first.

Marco van Herwaarden
01-09-2009, 02:41 PM
Exatly how i do it myself. Only if i am updating a lot of templates, i sometimes forget to hit history before i revert. :oops:

cindy helmond
01-09-2009, 07:17 PM
Actually, that is what I usually do (but not all the time). I select my template to edit, hit view history > compare, then in the other window I revert my template and go add in my changes from the Compare screen. I didn't know about the whole up2date thing though but will now make sure I always do the revert first.

ok but if i compare i get red and green tekst Text in Old Version
and the red is the new tekst must i do now to add the green tekst in the new template i added or ?
thx

Lynne
01-09-2009, 07:32 PM
When you hit View History > Compare, it should open the page up in a new window. You should be able to Copy any thing you need from the Compare page, and then go back to the template and Paste it in.

cindy helmond
01-09-2009, 07:32 PM
ok but if i compare i get red and green tekst Text in Old Version
and the red is the new tekst must i do now to add the green tekst in the new template i added or ?
thx

got it its working cool !! thx

cindy helmond
01-11-2009, 12:49 PM
hhmmmz not working for all my templates i have 5 templates that i get an error that i missing an if tag i add the green tekst from the compare thing , but what about the grey tekst ? must have the change that to?
thx

Lynne
01-11-2009, 04:01 PM
Gray is text that is the same between the two templates. On the bottom of the Compare screen, it shows what the different colors mean.

cindy helmond
01-11-2009, 06:04 PM
Gray is text that is the same between the two templates. On the bottom of the Compare screen, it shows what the different colors mean.

ok th but why is that template giving an error if i copy the green tekst en added in the template? is it the numbers or space between the codes?
thx

Lynne
01-11-2009, 06:27 PM
Are you also removing the code that needs to be removed (in red)? I'm not sure if that is why.

Make sure that everytime you add an <if> that you also add an </if>. They must be added as a pair or you will get an error.

cindy helmond
01-11-2009, 06:31 PM
Are you also removing the code that needs to be removed (in red)? I'm not sure if that is why.

Make sure that everytime you add an <if> that you also add an </if>. They must be added as a pair or you will get an error.


</if>. and the end ?

red ore remove? thats the old template? if i remove that are lost mine mods?
thx

Lynne
01-11-2009, 06:54 PM
I'm not sure what you are asking. If you add an <if>, you always have to add an </if>. So, when you are copying the code over to make your changes, make sure you always check to see you are adding both before you hit Save.

cindy helmond
01-11-2009, 07:40 PM
I'm not sure what you are asking. If you add an <if>, you always have to add an </if>. So, when you are copying the code over to make your changes, make sure you always check to see you are adding both before you hit Save.

yes i mean if you remove the red code then i lose all my mods from 3.7 ? so i searche the 3.7 codes on the templates and add the green code from the new template so you must have add the </if> code before and after the new codes ?
thx

Lynne
01-11-2009, 08:27 PM
Forget about the comment regarding red code - it all depends on how you view the items to compare. So, forget about that comment.

But, as I said, when adding code to your existing template.... make sure that if you add an <if>, that is also comes with a corresponding </if> somewhere. Don't just add a </if>, make sure you see it shown in the code to be added. And, make sure you don't split up the <if></if> pair. They are like html.... if you do a <b> and then an <i>, you must close the </i> before you close the </b> - the same is true for <if>s.

cindy helmond
01-11-2009, 08:33 PM
Forget about the comment regarding red code - it all depends on how you view the items to compare. So, forget about that comment.

But, as I said, when adding code to your existing template.... make sure that if you add an <if>, that is also comes with a corresponding </if> somewhere. Don't just add a </if>, make sure you see it shown in the code to be added. And, make sure you don't split up the <if></if> pair. They are like html.... if you do a <b> and then an <i>, you must close the </i> before you close the </b> - the same is true for <if>s.

ok i think i did it wrong i paste the green code in the template added so first i search the code in the red then underneath the new green code , if someone missed the <if> code then i paste it before or after the green added code ? if its not there in the green code ?
thx

Lynne
01-11-2009, 08:36 PM
Are you using Side by Side comparison? It's much easier to see what is going on that way.

cindy helmond
01-11-2009, 08:45 PM
Are you using Side by Side comparison? It's much easier to see what is going on that way.

i choose edit then compare template

Lynne
01-11-2009, 09:25 PM
Yeah..... and then click Side by Side on the bottom.

CrashfAB
01-13-2009, 02:14 AM
I was pointed to this thread and learned a few things--mainly I had never heard of the side by side comparison--very nice..

Ok so my question. I too have a bunch of modified templates and I have never updated my VBB.

So just make sure I understand the template portion of the update(and the only part that confuses me).

So I do the update--and the modified templates stay in the template history but are over writen as the current? So since it stays in history--I can easily do the side by side comparison so easily get the templates back to how I had them?

Am I understanding this correctly?

Lynne
01-13-2009, 02:19 AM
When you do an upgrade, if your templates were not touched (edited), then they will get upgraded by the vbulletin script. It you had touched them (they were listed in red - you had edited tehm at some point), the vbulletin upgrade script will not upgrade them and you will get a notice on the front of your admin cp saying "There are currently X templates out-of-date that need to be upgraded or reverted" (or something like that). If you open one of those out-of-date templates to edit, you may hit View History > Compare and see the differences between that out-of-date template and the default Jelsoft one.

CrashfAB
01-13-2009, 02:28 AM
When you do an upgrade, if your templates were not touched (edited), then they will get upgraded by the vbulletin script. It you had touched them (they were listed in red - you had edited tehm at some point), the vbulletin upgrade script will not upgrade them and you will get a notice on the front of your admin cp saying "There are currently X templates out-of-date that need to be upgraded or reverted" (or something like that). If you open one of those out-of-date templates to edit, you may hit View History > Compare and see the differences between that out-of-date template and the default Jelsoft one.

Ahhh--ok... So in fact it doesn't replace the edited templates--but basicly flags them.

So is the best method to revert them before the upgrade, then open history-compare and add the modded code to the new templates--since I assume no matter what the edited template is always saved in history?

Bellardia
01-13-2009, 02:44 AM
If you revert it vbulletin will overwrite it and won't give you the option to compare.

Lynne
01-13-2009, 03:35 AM
Once you hit Revert on a template, any history you have on it is deleted. So you don't want to revert it and then upgrade unless you want to lose all your template edits.

CrashfAB
01-13-2009, 03:42 AM
Perfect--thanks guys. This is slowly making more sense and understanding...


;)