PDA

View Full Version : VB Rookie here with questions...


dsantana
01-25-2012, 05:09 PM
I am working on converting my forum from SMF to VB...

There are mods I know I want to do to the forum...
My question is, when an update comes out for VB, how will it affect the mods that have been done to the css templates?

HMBeaty
01-25-2012, 05:15 PM
If you make any modifications to any of the css templates, best way to go about doing that and keeping track of your changes, is to document what you change. If that template you edited gets updated in a future version, you may need to reapply the changes you made. Hope that helps answer your question :)

dsantana
01-25-2012, 05:45 PM
Thanks, I've never been good at documenting changes... :o

How do you keep track of your changes?

HMBeaty
01-25-2012, 06:14 PM
The changes I make specifically? What I do is probably a little excessive, but I...

Copy the default template into Notepad++
Save that as [Default] template_name
Copy the modified template into Notepad++
Save that as [Modified] template_name
Open them up in DiffMerge to compare the changes, and document them in a separate Notepad++ fileThen if/when the time comes, I reapply those changes if necessary :)

setishock
01-26-2012, 04:35 AM
It's not excessive. It's some good advice. I do something like that. When an upgrade comes along I want to jump to, I can refer to the modded template from the previous version and apply them to the new version. Last jump took about 30 minutes to update by hand.

dsantana
01-26-2012, 09:09 PM
The changes I make specifically? What I do is probably a little excessive, but I...

Copy the default template into Notepad++
Save that as [Default] template_name
Copy the modified template into Notepad++
Save that as [Modified] template_name
Open them up in DiffMerge to compare the changes, and document them in a separate Notepad++ fileThen if/when the time comes, I reapply those changes if necessary :)

Thanks for that... That is a great template for me to use...

The next issue I'm having are the settings for the album sizes.
When I go to upload an image those are my choices below.
Where do I go to increase those limits? I looked high and low and can't find that anywhere?

Filetype Max File-size Max Width Max Height
bmp 19.5 KB 620 280
gif 19.5 KB 620 280
jpe 19.5 KB 620 280
jpeg 195.3 KB 620 280
jpg 97.7 KB 620 280
png 19.5 KB 620 280

HMBeaty
01-27-2012, 12:17 AM
AdminCP > Attachments > Attachment Manager

dsantana
01-27-2012, 08:37 PM
I figured out the problem...
I didn't read it clearly the first time...

Set in BYTES... Not kilobytes or megabytes but BYTES!!! LOL...

Okay knock that off my list...

Next problem I'm having is centering my logo...

HMBeaty
01-27-2012, 11:21 PM
Do a search on vbulletin.com for center* logo* ;)

There are literally hundreds of threads on how to do this

dsantana
01-27-2012, 11:46 PM
Funny... I did that search and one of the threads https://www.vbulletin.com/forum/showthread.php/394964-Top-logo-centering-and-ad-placement-question?p=2257119&viewfull=1#post2257119 says to ask over here...

I have search and found a few threads that tell me to find this string

<div id="pagetitle">
<h1>{vb:raw vboptions.bbtitle}</h1>
<p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p>
</div>

and it doesn't find it...

I also found Settings > Options > Forum Home Page Options > Script Name for Forum Home Page with instructions that say

"This option allows you to set the script name of the page that acts as your forum home page. By default this will be 'forum' (meaning forum.php but you may want to call it whatever else you like for your own purposes.

If you change this value you must manually rename the forumhome PHP script to match the new value."

But I don't understand the instructions :o