Author Topic: Duplicate image gallery  (Read 10841 times)

0 Members and 1 Guest are viewing this topic.

Offline jeyjoo

  • Newbie
  • *
  • Posts: 46
  • Jeyjoo Web Design
    • View Profile
    • Sheffield Web Design
Duplicate image gallery
« on: December 07, 2011, 10:56:40 PM »
Hi,

I am on version 1.7.6. I am also high
My image gallery is http://www.jeyjoo.com/gallery/

I would like to duplicating my own gallery and adapting it on a seperate website for a client.
Is this as simple as copy paste and delete images and thumsb or am I missing something?
In particular has anyone done this already?

Help appreciated,
Jeyjoo - kick ass web design, SEO and online marketing packages.

http://www.jeyjoo.com/gallery/ - free stock images (a 4images gallery)  |
http://www.jeyjoo.com - Sheffield web design  |  http://www.jeyjoo.com - Sheffield SEO  |  http://it.jeyjoo.com - Web Design Milano  |  http://it.jeyjoo.com - SEO Italiano

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Duplicate image gallery
« Reply #1 on: December 08, 2011, 03:02:52 AM »
In theory should be pretty simple: copy all files (exclude data directory) and using phpmyadmin backup database structure (settings table you probably want make full backup), and finally add two users with this database query (again via phpmyadmin)
Code: [Select]
INSERT INTO 4images_users VALUES (-1, -1, 'Guest', '0493984f537120be0b8d96bc9b69cdd2', '', 0, 0, 0, 0, '', 0, '', 0, 0, '', '');
INSERT INTO 4images_users VALUES (1, 9, 'admin', '21232f297a57a5a743894a0e4a801fc3', 'admin@yourdomain.com', 1, 1, 0, 1016023608, '1e3457c0b2052a9633b886fd75ef91e0', 1016023608, '', 0, 0, '', '');

login with username/pass: admin/admin
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline jeyjoo

  • Newbie
  • *
  • Posts: 46
  • Jeyjoo Web Design
    • View Profile
    • Sheffield Web Design
Re: Duplicate image gallery
« Reply #2 on: December 16, 2011, 02:54:30 PM »
"In theory" aaaaahhhh - that bit is scary. Like the rest.
I am giving this a go right now.

Just to check I understand:
  • Back up entire gallery (I downloaded it with dreamweaver and created second copy on my hardrive)
  • Copy all files less data folder
  • phpmyadmin backup database structure  (on Control panel home screen under "General" select "Backup database" and backup all files
  • Settings table you probably want make full backup - what exactly do you mean by this - I cant find phpmyadmin?
  • Add two users with this database query - Where do I add the query?

Much appreciated
Jeyjoo - kick ass web design, SEO and online marketing packages.

http://www.jeyjoo.com/gallery/ - free stock images (a 4images gallery)  |
http://www.jeyjoo.com - Sheffield web design  |  http://www.jeyjoo.com - Sheffield SEO  |  http://it.jeyjoo.com - Web Design Milano  |  http://it.jeyjoo.com - SEO Italiano

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Duplicate image gallery
« Reply #3 on: December 16, 2011, 08:07:29 PM »
  • Settings table you probably want make full backup - what exactly do you mean by this - I cant find phpmyadmin?
in phpmyadmin when you open your database it will list you all the tables in that database. Click on settings table, from there you can use export feature, where you should select both structure and data (I don't have access to phpmyadmin interface right now, so can't tell exactly where and what it called)

  • Add two users with this database query - Where do I add the query?
I believe there is a link on top menu of phpmyadmin interface called "run" "SQL" or something similar. It will allow you execute any mysql commands. Just paste the queries in that field and run it. Mind you, this must be done on the "new" database where you going to copy everything, not database you are making copy of.
« Last Edit: December 19, 2011, 12:42:53 PM by V@no »
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline jeyjoo

  • Newbie
  • *
  • Posts: 46
  • Jeyjoo Web Design
    • View Profile
    • Sheffield Web Design
Re: Duplicate image gallery
« Reply #4 on: December 19, 2011, 10:06:58 AM »
I am still not following here. I am on version 1.7.6.

Should I be in User Gallery control pannel or my computers file manager?
I cannot find anything called phpmyadmin.

Thanks again
Jeyjoo - kick ass web design, SEO and online marketing packages.

http://www.jeyjoo.com/gallery/ - free stock images (a 4images gallery)  |
http://www.jeyjoo.com - Sheffield web design  |  http://www.jeyjoo.com - Sheffield SEO  |  http://it.jeyjoo.com - Web Design Milano  |  http://it.jeyjoo.com - SEO Italiano

Rembrandt

  • Guest
Re: Duplicate image gallery
« Reply #5 on: December 19, 2011, 10:55:23 AM »
...Should I be in User Gallery control pannel or my computers file manager?
I cannot find anything called phpmyadmin.
...
phpmyadmin is a GUI for your Database.
Login in your Database and you can see it.

mfg And

Offline jeyjoo

  • Newbie
  • *
  • Posts: 46
  • Jeyjoo Web Design
    • View Profile
    • Sheffield Web Design
Re: Duplicate image gallery
« Reply #6 on: December 19, 2011, 09:25:20 PM »
I assume I am missing something obious here... or just on an older version.
Where do I log into my database? I use the 4images control panel, and cannot find a phpmyadmin option.
Jeyjoo - kick ass web design, SEO and online marketing packages.

http://www.jeyjoo.com/gallery/ - free stock images (a 4images gallery)  |
http://www.jeyjoo.com - Sheffield web design  |  http://www.jeyjoo.com - Sheffield SEO  |  http://it.jeyjoo.com - Web Design Milano  |  http://it.jeyjoo.com - SEO Italiano

Rembrandt

  • Guest
Re: Duplicate image gallery
« Reply #7 on: December 19, 2011, 09:30:49 PM »
i think the best way for you is ask your ISP how do you login to your database server.

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Duplicate image gallery
« Reply #8 on: December 20, 2011, 02:01:00 AM »
@jeyjoo

... "phpmyadmin" is a control panel for your database ...
... and the database control panel has nothing to do with 4images ...
... it comes with the database form your host ...
... so there is sure a link to your "phpmyadmin" in your host control panel ...
...
... maybe a link from this type can help you : http : // phpmyadmin . <your_website_name> . com (directly, without your hcp) ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline jeyjoo

  • Newbie
  • *
  • Posts: 46
  • Jeyjoo Web Design
    • View Profile
    • Sheffield Web Design
Re: Duplicate image gallery
« Reply #9 on: December 20, 2011, 02:35:22 PM »
Ok thanks for that.
Jeyjoo - kick ass web design, SEO and online marketing packages.

http://www.jeyjoo.com/gallery/ - free stock images (a 4images gallery)  |
http://www.jeyjoo.com - Sheffield web design  |  http://www.jeyjoo.com - Sheffield SEO  |  http://it.jeyjoo.com - Web Design Milano  |  http://it.jeyjoo.com - SEO Italiano