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-10-2006, 02:17 PM   #1
a1ka1ine
Confirmed User
 
Industry Role:
Join Date: Apr 2002
Posts: 3,387
ever hacked wordpress to use a querystring?

making a hosted blog for our affiliates, and need to grab their ID from a querystring. the programming is simple but i dont know what files in wordpress containt the code which goes through the posts in the db and prints them :@ anyone know where to look?
a1ka1ine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-10-2006, 02:42 PM   #2
Solid Bob
Confirmed User
 
Join Date: Apr 2006
Location: Easy Webcam Pro
Posts: 1,213
Don't know it bud. Not trying to crash your thread but if you are trying to get into RSS / blogs in a big way please contact me. Got something special I can offer today only.

ICQ: 286334516
__________________
[email protected]
Solid Bob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-10-2006, 02:54 PM   #3
fusionx
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Location: Olongapo City, Philippines
Posts: 4,618
Quote:
Originally Posted by a1ka1ine
making a hosted blog for our affiliates, and need to grab their ID from a querystring. the programming is simple but i dont know what files in wordpress containt the code which goes through the posts in the db and prints them :@ anyone know where to look?
Grab it from the URL in the header, then add that variable to the links in "the loop". You'll need to add the variable in any template that contains post links and any links in the sidebar or footer that lead to your site(s), including single post view, archive and category views.
fusionx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-10-2006, 02:55 PM   #4
Dirty F
Too lazy to set a custom title
 
Dirty F's Avatar
 
Industry Role:
Join Date: Jul 2001
Posts: 59,204
Jjjjaaaammmes
Dirty F is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-10-2006, 02:56 PM   #5
Dirty F
Too lazy to set a custom title
 
Dirty F's Avatar
 
Industry Role:
Join Date: Jul 2001
Posts: 59,204


^--- James trying on his favourite panties.
Dirty F is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-10-2006, 03:01 PM   #6
fusionx
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Location: Olongapo City, Philippines
Posts: 4,618
Quote:
Originally Posted by fusionx
Grab it from the URL in the header, then add that variable to the links in "the loop". You'll need to add the variable in any template that contains post links and any links in the sidebar or footer that lead to your site(s), including single post view, archive and category views.
Forgot to mention - you'll need to cookie it or pass it from page to page in the internal links..
fusionx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-10-2006, 03:55 PM   #7
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
there is a wordpress plugin that allows you to use a php string in the blog posts, many are doing it already
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-10-2006, 04:21 PM   #8
quantum-x
Confirmed User
 
quantum-x's Avatar
 
Join Date: Feb 2002
Location: ICQ: 251425 Fr/Au/Ca
Posts: 6,863
Even easier, open up the header.php in your current template.
Either include a file that tracks your codes, or dump the code there.

Basically, to carry the codes across all pages w/o leaks, you'll need to use sessions.

If you want a prewritten solution, give me a yell.
quantum-x 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.