Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > vbArticles
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[Answered] Possible to have two instances of vbArticles? Articles/Reviews Details »»
[Answered] Possible to have two instances of vbArticles? Articles/Reviews
Version: , by rjerina rjerina is offline
Developer Last Online: Apr 2013 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 02-25-2005 Last Update: Never Installs: 0
 
No support by the author.

Wondering if it was possible to have two instances of vbArticles. I have a PC forum and I want to do Articles and Reviews.

Show Your Support

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

Comments
  #2  
Old 02-25-2005, 02:08 PM
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Posts: 1,398
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has been done by some here.
Just be warned, there is quite a bit of changes to be made, both in the script and in the install files.

Should not pose much of a problem if you are familiar with PHP.
Reply With Quote
  #3  
Old 02-25-2005, 02:26 PM
KTBleeding's Avatar
KTBleeding KTBleeding is offline
 
Join Date: Feb 2004
Location: Tooele, UT
Posts: 756
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm currently running two instances of this hack. I had a little trouble getting it to work correctly, but thanks to cinq all is well.

I have noticed one small problem. During the install of my second script, database errors came up when inserting phrases due to some phrases already existing (from the first insall of the hack). So in the admincp/vbarticles settings.. some of the phrases don't show up on the second install.

I didn't see that big of a problem with that, cause I can easily look at the first install and see what the phrases are. Plus, no one has access to it but me, so I was fine with it.

I always have a hard time explaining these things so they make sense, so I hope it did?

Anyways, you could pull it off by doing a "find and replace" but you must keep certain things intact somewhat. For example, if you're going to name one of them "Reviews" you'll have to find every instance of "article" and replace it with "review", then every instance of "Article" and replace with "Review". Same with "ARTICLE" to "REVIEW" and finally "art" with "rev".

Doing it that way installed fine for me, after that there are a few template edits you'll need to do in order to get uploading to function right, but other than that I have had no problems.

Oh yeah, you'll have to re-edit the "powered by" so it links up correctly.. otherwise it ends up showing a red X, and you look like a jerk for removing it. hah


EDIT:
Just keep in mind that if you do this, you MUST backup your database first because you can break it very easily by doing something like this. There's your warning, so I can't be held liable.

I also recommend trying it out on a test vBulletin first.
Reply With Quote
  #4  
Old 02-25-2005, 10:29 PM
RaZor Edge's Avatar
RaZor Edge RaZor Edge is offline
 
Join Date: Jan 2002
Location: Quebec city
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You will need to modify the FCKeditor too (config).
Reply With Quote
  #5  
Old 02-26-2005, 12:00 AM
KTBleeding's Avatar
KTBleeding KTBleeding is offline
 
Join Date: Feb 2004
Location: Tooele, UT
Posts: 756
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RaZor Edge
You will need to modify the FCKeditor too (config).
Ah, true.
I didn't do it because I don't use it..
Reply With Quote
  #6  
Old 02-27-2005, 03:25 PM
rjerina rjerina is offline
 
Join Date: Jan 2004
Location: Cleveland, OH
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this seems like a lot of hassle. are there any other ways of doing this? lol
Reply With Quote
  #7  
Old 02-27-2005, 06:46 PM
KTBleeding's Avatar
KTBleeding KTBleeding is offline
 
Join Date: Feb 2004
Location: Tooele, UT
Posts: 756
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No. In order to run two instances you need to do what was stated above. It's not a lot of hassle if you have a program that will "Find and replace" for you.
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 12:30 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.04229 seconds
  • Memory Usage 2,257KB
  • Queries Executed 20 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete