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 09-23-2006, 01:04 PM   #1
Boobs
Confirmed User
 
Join Date: Aug 2006
Posts: 7,875
Wordpress Question

on Wordpress say you have about 200 posts and you decide to use a trade script... is there anyway to edit the posts to use the script or do i need to fix the links one by one to include the "out" file/script

any input appreciated thanks
Boobs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-23-2006, 01:11 PM   #2
spasmo
Confirmed User
 
Join Date: Dec 2005
Location: Couch
Posts: 2,678
You can do a search/replace in the db. Make sure you make a backup first though...
__________________

Surfers: Go here for hot babes.
spasmo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-23-2006, 01:12 PM   #3
martinsc
Too lazy to set a custom title
 
Industry Role:
Join Date: Jun 2005
Location: 127.0.0.1
Posts: 27,047
Quote:
Originally Posted by spasmo
You can do a search/replace in the db. Make sure you make a backup first though...
the backup part is the most important part
__________________
Make Money
martinsc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-23-2006, 01:14 PM   #4
OG LennyT
Wall Street Pimp
 
OG LennyT's Avatar
 
Industry Role:
Join Date: Jun 2003
Location: Phoenix, AZ
Posts: 14,345
one of my wp backup files is a 20 Mb text file
OG LennyT is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-23-2006, 01:14 PM   #5
Boobs
Confirmed User
 
Join Date: Aug 2006
Posts: 7,875
i'm not that good with mysql.. when you say search/replace what is it exactly i should look for
Boobs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-23-2006, 01:16 PM   #6
mrkris
Confirmed User
 
Join Date: May 2005
Posts: 2,737
You can also build a wordpress plugin, that way it will take affect on any post.
__________________

PHP-MySQL-Rails | ICQ: 342500546
mrkris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-23-2006, 01:16 PM   #7
Boobs
Confirmed User
 
Join Date: Aug 2006
Posts: 7,875
i'd guess searching for "href=" would pretty much cover all the links right? so i can replace that for "href=xout?" for example.
Boobs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-23-2006, 01:17 PM   #8
Boobs
Confirmed User
 
Join Date: Aug 2006
Posts: 7,875
mrkris how can i make a plugin that adds a code in the URL in each post
Boobs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-23-2006, 01:22 PM   #9
spasmo
Confirmed User
 
Join Date: Dec 2005
Location: Couch
Posts: 2,678
Start with a basic MySQL cheat sheet: http://www.pantz.org/database/mysql/mysqlcommands.shtml and it will start making sense.

Play around with a copy of your db until you understand what you're actually changing.
__________________

Surfers: Go here for hot babes.
spasmo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-23-2006, 01:27 PM   #10
mrkris
Confirmed User
 
Join Date: May 2005
Posts: 2,737
Take a look at codex.wordpress.org and look into the add_action() calls. You can do exactly what you want.
__________________

PHP-MySQL-Rails | ICQ: 342500546
mrkris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-23-2006, 01:33 PM   #11
spasmo
Confirmed User
 
Join Date: Dec 2005
Location: Couch
Posts: 2,678
Quote:
Originally Posted by mrkris
Take a look at codex.wordpress.org and look into the add_action() calls. You can do exactly what you want.
Far better idea than what I was recommending.
__________________

Surfers: Go here for hot babes.
spasmo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-23-2006, 01:33 PM   #12
Boobs
Confirmed User
 
Join Date: Aug 2006
Posts: 7,875
thanks for the replies
Boobs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-23-2006, 01:40 PM   #13
The Sultan Of Smut
Confirmed User
 
The Sultan Of Smut's Avatar
 
Join Date: Dec 2004
Location: Vancouver
Posts: 4,325
http://thedeadone.net/software/searc...dpress-plugin/
The Sultan Of Smut 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.