Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-15-2007, 01:47 PM   #1
alexg
IL4L.com
 
Join Date: Aug 2003
Location: Israel - ICQ: 162136565
Posts: 11,287
Wordpress question - Bulk links insertion

Let's say I have a blogroll with about 50 links in Blog A, and I want Blog B to have these exact same links (can be useful for blog directory recip links for example). Is there a way I can just transfer all the links with one click, instead of adding them manually one by one?

I tried to edit the mysql tables, but it only allows me to copy a table to another table in the same mysql database. I want to copy to a different database. is that possible?

Or instead, is there a way to add a bulk list of links with wordpress? a plugin for this maybe?
alexg is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-15-2007, 02:20 PM   #2
smutx
Confirmed User
 
Industry Role:
Join Date: Jan 2004
Location: interwebs
Posts: 1,190
what i did was i deleted the blogroll and made a php include that had all my links.
__________________

icq: 236148465
smutx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-15-2007, 02:22 PM   #3
alexg
IL4L.com
 
Join Date: Aug 2003
Location: Israel - ICQ: 162136565
Posts: 11,287
Quote:
Originally Posted by smutx View Post
what i did was i deleted the blogroll and made a php include that had all my links.
yeah that's an option...

I should've done it this way from the beginning, and not waste my time on this stupid blogroll...
alexg is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-15-2007, 02:24 PM   #4
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Export your table. Import on other database. About 3 clicks, instead of one. Or, pay someone to do this for you in PHP. What's the problem?
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-15-2007, 02:24 PM   #5
scouser
marketer.
 
Industry Role:
Join Date: Aug 2006
Location: bcn
Posts: 2,280
just export it, so you get something like

insert into ...

and then run that query (paste it in, if you use something like phpmyadmin) into the new db

if that makes sense? sorry im vague. too tired to go into detail.
scouser is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-15-2007, 02:25 PM   #6
smutx
Confirmed User
 
Industry Role:
Join Date: Jan 2004
Location: interwebs
Posts: 1,190
Quote:
Originally Posted by alexg View Post
yeah that's an option...

I should've done it this way from the beginning, and not waste my time on this stupid blogroll...
the best one, messing with tables each time would be a hassle.
one include file would be so much easier
__________________

icq: 236148465
smutx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-15-2007, 02:27 PM   #7
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,111
Quote:
Originally Posted by alexg View Post
I tried to edit the mysql tables, but it only allows me to copy a table to another table in the same mysql database. I want to copy to a different database. is that possible?
insert into newdatabasename.tablename(fieldlist) select fieldlist from olddatabasename.tablename

Where fieldlist is the lsit of fields you are pulling from one database/table into the other database/table
__________________
All cookies cleared!
sarettah is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-15-2007, 02:30 PM   #8
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by sarettah View Post
insert into newdatabasename.tablename(fieldlist) select fieldlist from olddatabasename.tablename

Where fieldlist is the lsit of fields you are pulling from one database/table into the other database/table
If he's using different databases, the chances are high that he does not have them on the same system... or just loves to use multiple databases.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-15-2007, 02:35 PM   #9
alexg
IL4L.com
 
Join Date: Aug 2003
Location: Israel - ICQ: 162136565
Posts: 11,287
Quote:
Originally Posted by GrouchyAdmin View Post
Export your table. Import on other database. About 3 clicks, instead of one. Or, pay someone to do this for you in PHP. What's the problem?
yeah, i think it might be easier than i thought...

will try this soon on the new DB...
alexg is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-15-2007, 03:17 PM   #10
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,111
Quote:
Originally Posted by GrouchyAdmin View Post
If he's using different databases, the chances are high that he does not have them on the same system... or just loves to use multiple databases.
I use multiple databases for many things...lol... So I assumed they are on the same system as he was asking if he could just copy from one to the other.

But you may be right too.
__________________
All cookies cleared!
sarettah is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-15-2007, 03:29 PM   #11
Scotty.T
Confirmed User
 
Join Date: Nov 2004
Location: Scotland
Posts: 1,062
Your links are stored in an OPML file

www.yourdomain.com/wp-links-opml.php

Under the 'Links' or 'Blogroll' link in admin there is then an option to import them again.
__________________
.
Scotty.T is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-15-2007, 04:55 PM   #12
alexg
IL4L.com
 
Join Date: Aug 2003
Location: Israel - ICQ: 162136565
Posts: 11,287
Quote:
Originally Posted by Scotty.T View Post
Your links are stored in an OPML file

www.yourdomain.com/wp-links-opml.php

Under the 'Links' or 'Blogroll' link in admin there is then an option to import them again.
Hey, thanks man! I had no idea about this...
this is neat
alexg is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2007, 03:18 AM   #13
alexg
IL4L.com
 
Join Date: Aug 2003
Location: Israel - ICQ: 162136565
Posts: 11,287
I have to bump this thread again, because I have another question.

Did it happen to you that you make any changes in wordpress, like add or remove links, and the results don't appear instantly, but instead there is a delay of like up to an hour or so?

it happens all the time lately and I have no idea why

so many issues with wordpress lately...
alexg is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2007, 03:25 AM   #14
Scotty.T
Confirmed User
 
Join Date: Nov 2004
Location: Scotland
Posts: 1,062
Quote:
Originally Posted by alexg View Post
I have to bump this thread again, because I have another question.

Did it happen to you that you make any changes in wordpress, like add or remove links, and the results don't appear instantly, but instead there is a delay of like up to an hour or so?

it happens all the time lately and I have no idea why

so many issues with wordpress lately...
I've never had that but I don't make a lot of those kind of changes to be honest.

I have had a couple of 'future' posts that didn't post when they were supposed to though. Haven't found out why though.
__________________
.
Scotty.T is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2007, 04:15 AM   #15
HairToStay
Confirmed User
 
HairToStay's Avatar
 
Join Date: Oct 2002
Location: Southcoast, Mass.
Posts: 1,521
http://www.blogrolling.com
HairToStay is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.