Please login or register.

Login with username, password and session length
Advanced search  

News:

Anzeige:

SOBI2 Featured Listings Plugin
Featured Listings
SOBI2 Radius Distance Search Plugin
Radius Distance Search
SOBI2 Import & Backup Plugin
SOBI2 Import & Backup
SOBI2 Search Module
Search Module
SOBI Donation/Spende
Pages: 1 ... 7 8 [9] 10 11 ... 15   Go Down

Author Topic: Bash Script to clone SOBI2 and Plugins (Cloning Tool)  (Read 78664 times)

0 Members and 2 Guests are viewing this topic.

digiweb

  • SOBI Newbie
  • *
  • Thanx from users: 3
  • Offline Offline
  • Posts: 2

  • Reviews:

    What is it?

Re: Bash Script to clone SOBI2 and Plugins (Cloning Tool)
« Reply #80 on: 06. March 2009, 16:04:06 »
Thank you thank you thank you to the Sobi2 and clone creators!

This is how to achieve a clone on a windows system.

  • Unzip the com_sobi installation to a fresh directory
  • Name the directory your clone target name. Mine was a second install for adoptable animals so the directory is named com_sobi2adopt
  • Get a bulk file renamer tool that knows how to recurse subdirectories. I used File and MP3 Tag Renamer from 123renamer.com. Point the renamer utility to com_sobi2adopt. Replace all instances of sobi with sobiadopt so that all filenames in com_sobi2adopt that have the word sobi in them are now named (in part) sobi2adopt instead.
  • Get a bulk search and replace tool that knows how to recurse subdirectories. I used Actual Search and Replace by divlocsoft.com. This is a two step process. Point the tool to com_sobi2adopt. (1) find all instances of sobi (lowercase) and do a case sensitive replacement with sobiadopt. (2) find all instances of SOBI (uppercase) and do a case sensitive replacement with SOBIADOPT.
  • In com_sobi2adopt, open sobiadopt2.xml. All of its sobi and SOBI instances should already be changed to sobiadopt and SOBIADOPT. Edit this file only to change what you will see when you click the Administrator components tab. Otherwise both installations will have the same menu item title. Change

   <administration>
      <menu img="components/com_sobiadopt2/images/sobiadopt_sm.jpg">Sigsiu Online Business Index 2</menu>
to
   <administration>
      <menu img="components/com_sobiadopt2/images/sobiadopt_sm.jpg">Sigsiu 2 Adopt</menu>


  • Use a ZIP creation tool like IZarc or JZip to create a new zip installation file. Pack all of com_sobi2adopt file folder into com_sobi2adopt.zip.
  • Go to the Administrator, Extensions, Install/Uninstall. In Upload Package File, Browse to your new com_sobi2adopt.zip. Upload and Install.
  • View your components menu for the instance Sigsiu 2 Adopt.


Logged
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile
Do you want continued ongoing development, new features and active support?
Please write a review or just vote for SOBI on JED.

colorado2rein

  • Sponsor
  • SOBI Newbie
  • *
  • Thanx from users: 1
  • Offline Offline
  • Posts: 26

  • Reviews:

    What is it?

Re: Bash Script to clone SOBI2 and Plugins (Cloning Tool)
« Reply #81 on: 08. March 2009, 22:46:59 »
Hi there,

First off, THANK YOU to the developers and the forum community.  This is my first post but I have referenced the forum and documentation lots. 

After researching the best way to have three different types of ads, including paid and non paid, I decided to try making some clones.

I used the link a few posts up and successfully created the TOBI named clone.  Then I did another one, changing the names of the original zip and rezipping to HOBI.

The original SOBI works fine front and back.  The second clone, TOBI, works fine front and back. 

The third clone, HOBI, is visible and usable from the front, however when I try to access any of the backend pages (General Configuration, etc.) I get completely blank pages.  No error messages, nothing.  It did work alright originally, as evidenced by being able to title it and add two categories.  I can't even figure out what I did to change it, although I did change the css files I'd customized and used with SOBI and TOBI, and uploaded that.  I can't see how that would do anything...?

Please help!  I am not a programmer (obviously) and know just enough to be dangerous.  I try not to bug support too much, but I'm really stuck as to what to do. 

Thanks in advance...
Logged
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile

verdyruditono

  • SOBI Newbie
  • *
  • Thanx from users: 2
  • Offline Offline
  • Posts: 9

  • Reviews:

    What is it?

Re: Bash Script to clone SOBI2 and Plugins (Cloning Tool)
« Reply #82 on: 10. March 2009, 13:52:39 »
Colorado,

Have you double check that all the source code in your clone HOBI2 in the css file has been changed to HOBI, not just simply copy and paste from SOBI/TOBI source code?
Logged
Country: Australia Australia |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile

colorado2rein

  • Sponsor
  • SOBI Newbie
  • *
  • Thanx from users: 1
  • Offline Offline
  • Posts: 26

  • Reviews:

    What is it?

Re: Bash Script to clone SOBI2 and Plugins (Cloning Tool)
« Reply #83 on: 10. March 2009, 14:25:40 »
Thanks for replying.... yep, all is well there.  Again, what's weird is that it works fine on the front end, so I'm reluctant to uninstall and try again just yet.  The fact that it's only the admin site that gives me a blank page makes me wonder what's in the administrator/com_hobi2 files.  But it's all guesswork to me.  Anyone?
Logged
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile

linuxbastard

  • SOBI Newbie
  • *
  • Thanx from users: 0
  • Offline Offline
  • Posts: 1

  • Reviews:

    What is it?

Re: Bash Script to clone SOBI2 and Plugins (Cloning Tool)
« Reply #84 on: 14. March 2009, 12:01:32 »
HI Colorado,

I have successfully cloned sobi2 three times and have them all running without any problems.

The only thing I can think of that may be causing your problem is that you cloned the clone?  Just a guess though.

Make sure you extract a new copy of sobi2 for the third clone don't clone the clone. :D

If you're sure this is not the case, I would suggest doing a new clone and un-installing and re-installing.
Logged
Country: Philippines Philippines |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile

colorado2rein

  • Sponsor
  • SOBI Newbie
  • *
  • Thanx from users: 1
  • Offline Offline
  • Posts: 26

  • Reviews:

    What is it?

Re: Bash Script to clone SOBI2 and Plugins (Cloning Tool)
« Reply #85 on: 14. March 2009, 15:00:42 »
Thanks for replying... I've pretty much came to this same conclusion too, and am going to uninstall and create a fresh clone today - I'll post how it turned out.
Logged
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile

pelloq1

  • SOBI Experte
  • ****
  • Thanx from users: 26
  • Offline Offline
  • Posts: 243

  • Reviews:

    What is it?

Re: Bash Script to clone SOBI2 and Plugins (Cloning Tool)
« Reply #86 on: 21. March 2009, 21:02:13 »
How to use a clone with sh404sef:

01/ open extplorer (or your ftp client)
02/ goto: components/com_sh404sef/sef_ext
03/ download the com_sobi2.php
04/ copy this file on a temp directory of your computer
05/ put the cloning tool into
06/ hello I am the step 06  ;)
07/ clone the file with your cloned sobi2 component name
08/ goto: administrator/components/com_sh404sef/languages/plugins
09/ download the com_sobi2.php
10/ copy this file on a temp directory of your computer
11/ put the cloning tool into
12/ clone the file with your cloned sobi2 component name
13/ upload the 2 cloned files in originals respectives directory, and now all work fine

You can see a sample here "Vin suisse" under Annuaire du vin (sobi2) and Vinothèque (clone).

Cédric
« Last Edit: 22. March 2009, 08:00:17 by pelloq1 »
Logged
Z. Rick - More SOBI2 Extensions: http://www.myjoom.com
Country: Switzerland Switzerland |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile WWW

Sana

  • SOBI Newbie
  • *
  • Thanx from users: 0
  • Offline Offline
  • Posts: 2

  • Reviews:

    What is it?

Re: Bash Script to clone SOBI2 and Plugins (Cloning Tool)
« Reply #87 on: 02. April 2009, 16:51:28 »
Maybe I’m asking a stupid question, but it is possible to upgrade a clone? Have I just to make a new clone from the actual sobi2 version (with the clone tool), to name the new clone like the old clone and follow the normal upgrading instructions (FAQ on the website)? ^_^
Logged
Gyaboo!
Country: Austria Austria |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile

Epsylon

  • SOBI Newbie
  • *
  • Thanx from users: 0
  • Offline Offline
  • Posts: 27

  • Reviews:

    What is it?

Re: Bash Script to clone SOBI2 and Plugins (Cloning Tool)
« Reply #88 on: 07. April 2009, 18:49:25 »
OK, another successfull install.

Just an hint for those who are hosting it on Mac Os X server 10.5.6. While I was trying to install my clone, I had several maximum runtime exec errors ( although for the original SOBI I didn't have it), so I had to modify my php.ini settings. Pb is that on Mac Os X server, this file doesn't exist. The solution is to copy /private/etc/php.ini.default , rename it like php.ini, make your modifications and restart Apache !
Logged
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile

BuRacK

  • SOBI Newbie
  • *
  • Thanx from users: 0
  • Offline Offline
  • Posts: 2

  • Reviews:

    What is it?

Re: Bash Script to clone SOBI2 and Plugins (Cloning Tool)
« Reply #89 on: 26. April 2009, 18:25:21 »
Hi! Here are 2 clones.

Have fun!

Regards
Thanks mate :)
Logged
Country: Turkey Turkey |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile
Pages: 1 ... 7 8 [9] 10 11 ... 15   Go Up
« previous next »
 

Page created in 0.233 seconds with 26 queries.

Partner Sites: Joomla Web Design  |  Yagendoo Templates  |  LayDev - Joomla Templates  |  Joomla Downloads  |  CyberTyper.ch  |  Codingfish  |  Akeeba Backup  |  FLEXIcontent  |  templates4ALL  |  Joomla! InSecurity