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 Mark Forums Read
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 01-27-2008, 09:31 PM   #1
Kard63
Confirmed User
 
Kard63's Avatar
 
Join Date: Nov 2003
Location: 237 619 975
Posts: 8,944
Wordpress question

Can you insert the blogroll links and categories into the code before you upload it?
__________________
Kard63 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2008, 09:38 PM   #2
beta-tester
Rock 'n Roll Baby!
 
Join Date: Sep 2004
Location: USA, temporarly
Posts: 22,562
Why would anyone do that at first place? Everything is of course possible, I just don't find the reason for doing it manually when you can add them automatically.
__________________

Sig for sale. Affordable prices. Contact me and get a great deal ;)

My contact:
ICQ: 944-320-46
e-mail: manca {AT} HotFreeSex4All.com
beta-tester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2008, 09:42 PM   #3
Fat Panda
Porn is Dead. Move along.
 
Fat Panda's Avatar
 
Industry Role:
Join Date: Aug 2006
Posts: 13,295
I am confused by your question?
Fat Panda is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2008, 09:43 PM   #4
pornask
So Fucking Banned
 
Join Date: Aug 2006
Location: 253-233-241
Posts: 6,518
it's an open source script so technically if you got a programmer who is good at PHP, he/she could modify the install files for you so when someone installs it, there will be different links in blog roll from default ones.
pornask is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-29-2008, 08:42 AM   #5
wpkings
Registered User
 
wpkings's Avatar
 
Join Date: Jan 2008
Posts: 98
What's the end result you're looking for?

From what you wrote it sounds like you want your blogroll and categories populated before you setup WP on a live server. Which is pretty simple to do, but is that your question?

Maybe you can elaborate on your question?
wpkings is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-29-2008, 09:26 AM   #6
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,384
Didn't get it.
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-29-2008, 11:09 AM   #7
Kard63
Confirmed User
 
Kard63's Avatar
 
Join Date: Nov 2003
Location: 237 619 975
Posts: 8,944
Quote:
Originally Posted by wpkings View Post
What's the end result you're looking for?

From what you wrote it sounds like you want your blogroll and categories populated before you setup WP on a live server. Which is pretty simple to do, but is that your question?

Maybe you can elaborate on your question?
You are exactly right. That is what I want.
__________________
Kard63 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-29-2008, 11:17 AM   #8
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
Quote:
Originally Posted by Kard63 View Post
You are exactly right. That is what I want.
install wordpress on a domain, do everything you would want the default setup to do, links, themes, etc

dump your database, backup your files, replace the config with the sample one again
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-29-2008, 11:19 AM   #9
Deej
I make pixels work
 
Deej's Avatar
 
Industry Role:
Join Date: Jun 2005
Location: I live here...
Posts: 24,386
just throw your DB into place... your DB holds the gold
__________________

Deej's Designs n' What Not
Hit me up for Design, CSS & Photo Retouching


Icq#30096880
Deej is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-29-2008, 11:21 AM   #10
Boobs
Confirmed User
 
Join Date: Aug 2006
Posts: 7,875
edit the php in text? ... a little confused about ur question
Boobs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-29-2008, 11:44 AM   #11
wpkings
Registered User
 
wpkings's Avatar
 
Join Date: Jan 2008
Posts: 98
Quote:
Originally Posted by Kard63 View Post
You are exactly right. That is what I want.
As Jace also suggested, the way to do it would be to create a local database filled with the data you want, then just import it into the live database.

You could do the dump of the local database and import it into the live database, or run the queries manually. For example, to insert a category into the database:
Code:
INSERT INTO `wp_categories` ( `cat_ID` , `cat_name` , `category_nicename` , `category_description` , `category_parent` )
VALUES (
'', 'test cat name', 'test-cat-name', '', '0'
);
To insert a basic link into your blogroll:
Code:
INSERT INTO `wp_links` ( `link_id` , `link_url` , `link_name` , `link_image` , `link_target` , `link_category` , `link_description` , `link_visible` , `link_owner` , `link_rating` , `link_updated` , `link_rel` , `link_notes` , `link_rss` )
VALUES (
'', 'httpwwwtesturlcom', 'Test Blogroll Friend', '', '', '1', '', 'Y', '1', '0', '0000-00-00 00:00:00', '', '', ''
);
* both of these examples assume your table prefix is 'wp_'
Make sure "httpwwwtesturlcom" in the above example is fixed (include colon, slashes, periods) before adding. I'm unable to post links apparently.

Hope this helps.
wpkings 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
Thread Tools



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.