Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Ryangel's vB3 Journal -> vBJournal 1.0.0 Importer Details »»
Ryangel's vB3 Journal -> vBJournal 1.0.0 Importer
Version: 0.31 PBETA, by Oblivion Knight Oblivion Knight is offline
Developer Last Online: Nov 2016 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 03-28-2005 Last Update: 04-01-2005 Installs: 4
DB Changes
Is in Beta Stage  
No support by the author.

Introducing.. Jim Port!


[high]Who is Jim Port?[/high]
Jim Port is the name that I gave to the import script..
Journal Import -> admincp/jimport.php -> Jim Port


[high]What can Jim Port do for me?[/high]
He will automatically do the following:
  • Backup Ryangel's Journal database tables
  • Revert database changes made by Ryangel's Journal
  • Remove Ryangel's Journal templates
  • Remove Ryangel's Journal phrases
  • Install vBJournal database tables
  • Alter database tables for vBJournal compatability
  • Transfer data from Ryangel's Journal to vBJournal
  • Install vBJournal phrases
  • Install vBJournal templates

[high]Are there any known issues to using Jim Port?[/high]
Obviously, the database tables aren't 100% compatible with each other.. Jim Port cannot identify which of the journal entries is the journal's latest, and therefore no data is inserted in to the latest entry title or date fields. This was a worthy sacrifice as the majority of users will update their journals on a common basis anyway, and once a new entry is posted the latest entries will continue to function as intended.

Jim Port currently cannot strip the slashes from entry or comment titles and text. As such, journal.php must be modified slightly in order to display these correctly and the edits have been documented in the readme. These edits will not have any side-effects on any new comments or entries made beyond this point.

Also, during the beta testing phase it was reported that any deleted journals (ie. if a user had deleted all of their entries) would still show up as empty, but the comments from these deleted entries would continue to be displayed in the Recent Comments section of the journal. There is no easy fix for this other than manual deletion..


[high]What versions of Ryangel's Journal is Jim Port compatible with?[/high]
To cut a long story short, I don't know 100%. However, as long as you are running a ported vB3 version of Ryangel's Journal and not the original vB2 version, then this should work as it was intended.. I tested it on version 1.1d and at least one of the beta testers tried it on version 1.2 and both appeared to import flawlessly.


[high]What versions of vBulletin is Jim Port compatible with?[/high]
It should work on ANY version of 3.0.0..


[high]Jim Port looks similar to the v3arcade Installer, are they twins?[/high]
Yup, the journal import script is heavily based on the v3arcade Installer by John. I've tried to get in touch with him on numerous occasions about making sure it was ok with him, but currently remain unsuccessful. Should he wish me to cease using it, the zip will be removed and I will attempt to try and write this in some other way.

I feel that I have learnt a lot from his work, and would like to thank him for this.


[high]Miscellaneous notes about Jim Port[/high]
Lines of code in admincp/jimport.php: 1816
Days to write: 4
Private beta testers: tmhall, DanielP (vb.nl)

The backed up Ryangel's Journal database tables *ARE NOT* removed automatically. This was intentional in case admins wanted something to fall back on should anything go wrong, and can be deleted manually if you are satisfied with the import process.


[high]I'd like to buy Jim Port a beer![/high]
Well, you can't buy him one as he's nothing but code, however, if you'd like to buy me a beer my Paypal address is [high]obk395@yahoo.co.uk[/high]. All donations will be drunk with thanks!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 04-02-2005, 02:04 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
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.
Reply With Quote
  #33  
Old 04-02-2005, 02:06 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #34  
Old 04-02-2005, 02:30 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #35  
Old 04-02-2005, 02:32 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #36  
Old 04-02-2005, 03:25 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #37  
Old 04-02-2005, 05:30 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem, and for future reference there's no "_" in my name..
Reply With Quote
  #38  
Old 04-03-2005, 10:15 AM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oops... What am I like lol.
Reply With Quote
  #39  
Old 04-03-2005, 03:36 PM
zetetic's Avatar
zetetic zetetic is offline
 
Join Date: Apr 2004
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #40  
Old 04-03-2005, 06:02 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #41  
Old 04-03-2005, 06:22 PM
zetetic's Avatar
zetetic zetetic is offline
 
Join Date: Apr 2004
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No worries, already taken care of. Thanks.
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 08:48 PM.


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.06788 seconds
  • Memory Usage 2,318KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • 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