vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Ryangel's vB3 Journal -> vBJournal 1.0.0 Importer (https://vborg.vbsupport.ru/showthread.php?t=79005)

Oblivion Knight 04-02-2005 02:04 PM

Quote:

Originally Posted by FleaBag
Yep on a live board, I've always had the luck of the Irish before lol. So am I screwed?

Never, ever use a beta hack on your live board without testing it first.. :p
It's very likely that any hack released in a beta state will be changed at least once before released as "final".


You're not completely screwed, but you're making life difficult for yourself.. Remove the database tables journal_comments, journal_entries, journal_moods, journal_settings and journals. Once you've done that, remove the "b" from the database tables bjournal, bjournal_comments and bjournal_entry. If bjournal_commentcount exists, remove it.


You may need to run these queries too..
[sql]ALTER TABLE user DROP canhavejournal[/sql][sql]ALTER TABLE usergroup DROP journalpermissions[/sql][sql]ALTER TABLE session DROP injournal[/sql]After that, you should be able to run the import script once again. You may want to wait for the next version though.. I'll have it done within the next hour or so.

FleaBag 04-02-2005 02:06 PM

Thanks a lot for your support, especially considering I went ahead and did something blatantly dumb that I know I shouldn't have. The problem I have is that my vB database is 400 meg, it's a bit of a bugger to back up as regularly as I'd like to - my host keeps backups on my behalf but his response time is 1-3 weeks. But I will learn from my mistakes! I'll get onto undoing my actions as per your advice and will wait for the new release. ;)

Looking forward to getting your journal running!

Oblivion Knight 04-02-2005 02:30 PM

Quote:

Originally Posted by tmhall
Under Control Panel Stop Messages:

journal_mood_deleted_successfully --> Mood deleted successfully.
journal_mood_updated_successfully --> Mood updated successfully.
journal_inserted_mood_successfully --> Inserted {1} successfully.

:)

journal_inserted_mood_successfully already exists, but the others have been added in v0.31 of the importer.. :)


Quote:

Originally Posted by FleaBag
Thanks a lot for your support, especially considering I went ahead and did something blatantly dumb that I know I shouldn't have. The problem I have is that my vB database is 400 meg, it's a bit of a bugger to back up as regularly as I'd like to - my host keeps backups on my behalf but his response time is 1-3 weeks. But I will learn from my mistakes! I'll get onto undoing my actions as per your adive and will wait for the new release. ;)

Looking forward to getting your journal running!

Don't worry about it, everyone has different circumstances.. ;)
However, before using any script that automatically runs queries on your live database I would recommend backing up beforehand and/or testing it on a seperate test board.

vBJournal isn't my Journal script, but hopefully I will be working with AN-net at some point on the project.

v0.31 of Jim Port is now released.. :)

FleaBag 04-02-2005 02:32 PM

Aha sorry a little confusion on my part there. That's all those brain cells dying from substance abuse lol. It actually just occured to me that I can just make a dump of those tables as a backup... Silly me. Will fire it up in a moment!

FleaBag 04-02-2005 03:25 PM

Success! I had to edit the jimport a little to remove certain steps but it all worked like a dream from thereon in! I've now got the journal script up and running 100% with all of my existing entries. Thanks a whole lot Oblivion_Knight. :)

Oblivion Knight 04-02-2005 05:30 PM

No problem, and for future reference there's no "_" in my name.. ;)

FleaBag 04-03-2005 10:15 AM

Oops... What am I like lol. :D

zetetic 04-03-2005 03:36 PM

I can't remember if I created this myself or if it was part of RyAngel's hack, but I had a phrase called viewing_journals --> Viewing Journals and matching entries in functions_online so Who's Online would be accurate when people were in journals. That phrase seems to have been removed by the importer.

Oblivion Knight 04-03-2005 06:02 PM

Quote:

Originally Posted by tmhall
I can't remember if I created this myself or if it was part of RyAngel's hack, but I had a phrase called viewing_journals --> Viewing Journals and matching entries in functions_online so Who's Online would be accurate when people were in journals. That phrase seems to have been removed by the importer.

Yup, the importer removes any phrases that contain the words "journal" or "jbuddy".

I'm afraid you'll have to re-add these (they sound like custom ones to me).

zetetic 04-03-2005 06:22 PM

No worries, already taken care of. Thanks. :)


All times are GMT. The time now is 02:02 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.01223 seconds
  • Memory Usage 1,741KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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