Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 08-22-2005, 06:25 PM
darnoldy darnoldy is offline
 
Join Date: Dec 2004
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default About to install my first code modification!

Folks-

I don't have a degree in computer sciences, I don't know php, I'm pretty good at following clear directions.

What do I need to know before I install this thing? What should I do that the directions may not include? What are the gotchas?

--don
Reply With Quote
  #2  
Old 08-22-2005, 06:27 PM
Colin F's Avatar
Colin F Colin F is offline
 
Join Date: Jul 2004
Location: Switzerland
Posts: 1,551
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by darnoldy
Folks-

I don't have a degree in computer sciences, I don't know php, I'm pretty good at following clear directions.

What do I need to know before I install this thing? What should I do that the directions may not include? What are the gotchas?

--don
Make sure to backup both your files and your database, so that you can revert to that in case it should go wrong
Reply With Quote
  #3  
Old 08-22-2005, 06:27 PM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Backup, backup, backup!
Reply With Quote
  #4  
Old 08-22-2005, 07:15 PM
darnoldy darnoldy is offline
 
Join Date: Dec 2004
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Colin F
Make sure to backup both your files and your database, so that you can revert to that in case it should go wrong
Sounds like very reasonable advice.

I am on a shared server at my hosting company. Is it sufficient to simply use my ftp client to copy the files to my local disk and then copy them back to the server if disaster strikes.

Also, I cannot see a file that I recognize as my database--would it be among the vBulletin files or somewhere else on the server?

--don
Reply With Quote
  #5  
Old 08-22-2005, 11:50 PM
merk merk is offline
 
Join Date: Nov 2001
Location: Canberra, Australia
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The database is not stored as a file.

You will be able to download the database backup from your control panel, or if you cant find that, vBulletin has a backup option. (Which isnt recomended for large sites)
Reply With Quote
  #6  
Old 08-23-2005, 12:04 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by merk
The database is not stored as a file.

You will be able to download the database backup from your control panel, or if you cant find that, vBulletin has a backup option. (Which isnt recomended for large sites)
Most control panels are known to timeout aswell, the problem is not directly related to vBulletin but it caused by the timeout restriction imposed on php processes.

The only safe way to backup is via SSH or Telnet.

http://www.vbulletin.com/docs/html/m...nce_ssh_backup

http://www.vbulletin.com/docs/html/m...ce_ssh_restore

As for the process of editing the php files, my advice is to keep back-ups (not only fresh back-ups but back-ups of working modfied files). You should also take your time and make sure you understand the instructions given to the letter.

As always hacks should be installed on a test forum/database before installation is attempted on the live site. You should also have a look over the thread to make sure there are no known issues with the modification.
Reply With Quote
  #7  
Old 08-23-2005, 03:17 AM
darnoldy darnoldy is offline
 
Join Date: Dec 2004
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brad
As always hacks should be installed on a test forum/database before installation is attempted on the live site.
Makes sense. Lucky for me my site is not yet live.

At this point, my stats are--Threads: 12, Posts: 40, Members: 7 (and three of those are dummy test accounts)I assume this is not considered a "large" forum <g>

Quote:
Most control panels are known to timeout as well, the problem is not directly related to vBulletin but it caused by the timeout restriction imposed on php processes.

The only safe way to backup is via SSH or Telnet.
Okay, the last time I telnet'ed was to a gopher site--using a 300-baud modem--guess I can remember how to do that. Off to e-mail my host to see if I have telnet access!

I'll be back...


--don
Reply With Quote
  #8  
Old 08-23-2005, 04:09 AM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not as bad as people say, if you run into any problems, we can give you a hand.
Reply With Quote
  #9  
Old 08-23-2005, 07:17 AM
darnoldy darnoldy is offline
 
Join Date: Dec 2004
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brad
The only safe way to backup is via SSH or Telnet.
Well, I have good news and bad news...
  • I found my terminal application and can telnet or ssh.
  • The instructions on what to do once I launch the terminal appear to be written in some wierd polish/chinese/urdu pidgin.
  • I have to pay my web host extra for them to enable ssh (they don't do telnet?).

I am not opposed to paying them to enable ssh if its important and I will need to use it in the future. Is it, will I?

A couple of people here have made reference to backing up the database through my control panel. Is that the hosting control panel on my site or the admin control panel in vB? It looks like I can do a backup from either--is one better than the other?

--don
Reply With Quote
  #10  
Old 08-23-2005, 07:55 PM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you have phpmyadmin you can export your database tables through there into an .SQL file. It's usually free... if it isn't, then your host is a ripoff.
Reply With Quote
Reply

Thread Tools
Display Modes

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 02:10 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04197 seconds
  • Memory Usage 2,255KB
  • Queries Executed 13 (?)
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
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete