Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-25-2012, 05:09 PM
dsantana dsantana is offline
 
Join Date: Dec 2011
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default VB Rookie here with questions...

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?
Reply With Quote
  #2  
Old 01-25-2012, 05:15 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 01-25-2012, 05:45 PM
dsantana dsantana is offline
 
Join Date: Dec 2011
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, I've never been good at documenting changes...

How do you keep track of your changes?
Reply With Quote
  #4  
Old 01-25-2012, 06:14 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The changes I make specifically? What I do is probably a little excessive, but I...
  1. Copy the default template into Notepad++
  2. Save that as [Default] template_name
  3. Copy the modified template into Notepad++
  4. Save that as [Modified] template_name
  5. Open them up in DiffMerge to compare the changes, and document them in a separate Notepad++ file
Then if/when the time comes, I reapply those changes if necessary
Reply With Quote
Благодарность от:
setishock
  #5  
Old 01-26-2012, 04:35 AM
setishock setishock is offline
 
Join Date: Feb 2008
Location: Houma, La.
Posts: 1,177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Благодарность от:
HMBeaty
  #6  
Old 01-26-2012, 09:09 PM
dsantana dsantana is offline
 
Join Date: Dec 2011
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HMBeaty View Post
The changes I make specifically? What I do is probably a little excessive, but I...
  1. Copy the default template into Notepad++
  2. Save that as [Default] template_name
  3. Copy the modified template into Notepad++
  4. Save that as [Modified] template_name
  5. Open them up in DiffMerge to compare the changes, and document them in a separate Notepad++ file
Then 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
Reply With Quote
  #7  
Old 01-27-2012, 12:17 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AdminCP > Attachments > Attachment Manager
Reply With Quote
  #8  
Old 01-27-2012, 08:37 PM
dsantana dsantana is offline
 
Join Date: Dec 2011
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #9  
Old 01-27-2012, 11:21 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do a search on vbulletin.com for center* logo*

There are literally hundreds of threads on how to do this
Reply With Quote
  #10  
Old 01-27-2012, 11:46 PM
dsantana dsantana is offline
 
Join Date: Dec 2011
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Funny... I did that search and one of the threads https://www.vbulletin.com/forum/show...=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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:14 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04088 seconds
  • Memory Usage 2,252KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete