GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   What is the best way to change links in mass for special promos? (https://gfy.com/showthread.php?t=923438)

Kard63 08-23-2009 04:27 PM

What is the best way to change links in mass for special promos?
 
I need some controls to change this shit. I can't go around like a hoe changing all my blogs. Whats the most efficient way to architect this shit?

Dirty Dane 08-23-2009 04:58 PM

The best way for future links is to create universal redirection links (domain.com/code/). That way you only need to change one place (for instance in database or .htaccess). If you have control panel on your server, you can probably also do it there. Or you can create universal php includes for the links (just like creating standard templates).

If you want to change existing links you can download the db's and do a bulk replace. I use UltraEdit to do bulk editing.

Jayvis 08-23-2009 05:07 PM

I'm not very programmer savvy so I'm not sure what the best solution would be... but I just use php include on all of the sidebars on my blogs. Works for me. :pimp

Dirty Dane 08-23-2009 05:24 PM

Oh... there is another brilliant way to deal with special promos (yes, I am brilliant :winkwink:):

Most have some sort of TGP software, where you can customize the html, but they forget it can be used for more than just FHGs. In fact, you can also use it for general banners/links and schedule when and what to be shown. That way you can plan the special promos, and you do not have to think about it later - or forget it.
Be creative with your TPG software, and you do not need tons of plugins. Dynamic tags, keywords... it is all-in-one, cheaper and lighter... anything is possible, you just need to see it :)

fris 08-23-2009 05:56 PM

Quote:

Originally Posted by Kard63 (Post 16226150)
I need some controls to change this shit. I can't go around like a hoe changing all my blogs. Whats the most efficient way to architect this shit?

using wordpress?

If so search and replace plugin is good for this.

http://wordpress.org/extend/plugins/search-and-replace/

Kard63 08-23-2009 09:40 PM

Quote:

Originally Posted by Jayvis (Post 16226211)
I'm not very programmer savvy so I'm not sure what the best solution would be... but I just use php include on all of the sidebars on my blogs. Works for me. :pimp

Linking directly to the tour?

What if you link to FHGs? You have to rip the fhg, host it yourself, and put the include on it.

Zorgman 08-23-2009 09:55 PM

Check this thread
http://www.gofuckyourself.com/showthread.php?t=905248

Kard63 08-24-2009 06:03 AM

Quote:

Originally Posted by Zorgman (Post 16226919)

Isn't that a stat tracking script? I missed the point I guess.

Hentaikid 08-24-2009 08:30 AM

you can replace a text string in phpmyadmin if it's a wordpress blog

fris 08-24-2009 08:39 AM

or use a perl one liner to do it if its just static html

Kard63 08-24-2009 09:10 AM

What if you are sending to a FHG instead of a tour?

Zorgman 08-24-2009 10:35 AM

Quote:

Originally Posted by Kard63 (Post 16227769)
Isn't that a stat tracking script? I missed the point I guess.

It's a redirector script using search engine friendly urls.
It does count clicks to each link. But if you just want to redirect links it's perfect for that. Sames me a lot of time when a sponsor takes his program offline, so I dont need to change all the pages with his links, I simple go into my TALS admin and edit the links to another site or where ever I want.

BigRod 08-24-2009 10:42 AM

I use .htaccess to control all my outbound links. It makes updating very easy!

seeandsee 08-24-2009 10:54 AM

Quote:

Originally Posted by Dirty Dane (Post 16226194)
The best way for future links is to create universal redirection links (domain.com/code/). That way you only need to change one place (for instance in database or .htaccess). If you have control panel on your server, you can probably also do it there. Or you can create universal php includes for the links (just like creating standard templates).

If you want to change existing links you can download the db's and do a bulk replace. I use UltraEdit to do bulk editing.

that is nice option, but banner rotator and text link rotator is best option!

Doctor Feelgood 08-24-2009 07:32 PM

if you want something more complicated then try openx


All times are GMT -7. The time now is 06:36 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc