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)
-   -   ever hacked wordpress to use a querystring? (https://gfy.com/showthread.php?t=654025)

a1ka1ine 09-10-2006 02:17 PM

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?

Solid Bob 09-10-2006 02:42 PM

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

fusionx 09-10-2006 02:54 PM

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.

Dirty F 09-10-2006 02:55 PM

Jjjjaaaammmes

Dirty F 09-10-2006 02:56 PM

http://teenportals.com/james.jpg

^--- James trying on his favourite panties.

fusionx 09-10-2006 03:01 PM

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..

Jace 09-10-2006 03:55 PM

there is a wordpress plugin that allows you to use a php string in the blog posts, many are doing it already

quantum-x 09-10-2006 04:21 PM

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.


All times are GMT -7. The time now is 09:00 AM.

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