vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Save Drafts (Remember Everything) Updated! (https://vborg.vbsupport.ru/showthread.php?t=77659)

OrangeFlea 03-10-2005 02:01 AM

Can you, or anyone else here, provide step-by-step instructions on how to "load 'drafts.sql' into my forums database"? from the phpmyadmin area or admincp?

why-not 03-10-2005 02:25 AM

Hi

Does your database use a table prefix?

Look in your ./includes/config.php file!

FIND THIS

Code:

// Prefix that your vBulletin tables have in the database.
// For example: $tableprefix = 'vb3_';
$tableprefix = '';


Post back what this line from your file, then we will go from there!

Code:

$tableprefix = '';

Sonia

OrangeFlea 03-10-2005 08:23 AM

Yes, I found it:

Code:

// Prefix that your vBulletin tables have in the database.

// For example: $tableprefix = 'vb3_';

$tableprefix = '';



// Prefix that all vBulletin cookies will have

// For example

$cookieprefix = 'bb';


Neutral Singh 03-10-2005 09:05 AM

Hi, very important hack indeed ** Click Install **

I have one issue... just installed it... it shows the following error :

I have this option enable for admin only for testing...

when i click Save Draft button

it takes me to the following page:
but then returns the following error:
Quote:

Fatal error: Call to undefined function: draft_folders() in profile.php at some line.
Please guide me.

Thanks

why-not 03-10-2005 11:15 AM

Hi

Sorry, that was my fault. I updated my (version control system), when I had checked out (/save_drafts_1/edits/forum/profile.txt), so when I checked it back into the system, it did not know I had made changes!

Anyway...

I updated the zip file to fix this not being added to the install!


Just do this!


FIND THIS script => profile.php
Code:

require_once('./includes/functions_register.php');
- REPLACE WITH script => profile.php
Code:

require_once('./includes/functions_register.php');
include_once ( './includes/functions_drafts.php' );


Again I am sorry for this over sight!

Sonia

OrangeFlea 03-11-2005 12:03 AM

The zip doesn't work. I just tried to download it.

EDIT: Works now.

In the instructions, I find this list of directories to where the changes are made:

1. database (mysql folder)
2. language (language folder)
3. templates (template folder)
4. edits (edits folder)
4 A. admin
4 B. includes
4 C. Forum

How do I load the sql file into the forum's database? Step-by-step instructions would be nice.

Neutral Singh 03-11-2005 05:52 AM

Quote:

Again I am sorry for this over sight!

Sonia
Oh Common, no need for sorry, Sonia. :) Kudos !! This is simply an incredible facility for my members and works like a charm !!

Thanks a lot !!

** Aman, gladly clicks install 100 times **

Neutral Singh 03-11-2005 05:58 AM

Rated 5 ***** z :)

OrangeFlea 03-12-2005 12:17 AM

I don't have a folder called "mysql". Do you mean /forum ?

why-not 03-12-2005 01:05 AM

Hi OrangeFlea

If you tell me what you having trouble with, I can try to help. The zip file just contains the things you must do to install this mod! There is no refrence to (MySQL) being a directory on your forum, it is just place holder that tells you the files contained with in that directory, are related to MySQL!

To install the database table for the drafts system and to add phrases and default permissions you must load the file contained in the directory (MySQL) into your database!

To do this follow the directions in the readme file in that directory! After you have done exactly what the readme file (install.txt) says to do, you will need to copy the content of that file and use (phpmyadmin) and place the contents in the SQL text window then run the update! You may also use the upload option, click on 'SQL' and look at the bottom of that page, you will see a 'browse button', click on that to locate the 'drafts.sql' file on your system, after, click 'Go' (make sure *Compression* radio button is selected 'NO")!

If this is not what you are needing, then please explain what you are needing!

Sonia


All times are GMT. The time now is 09:26 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
  • Page Generation 0.01217 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete