ever hacked wordpress to use a querystring?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • a1ka1ine
    Confirmed User
    • Apr 2002
    • 3387

    #1

    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
    Confirmed User
    • Apr 2006
    • 1213

    #2
    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]

    Comment

    • fusionx
      Confirmed User
      • Nov 2003
      • 4618

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

      Comment

      • Dirty F
        Too lazy to set a custom title
        • Jul 2001
        • 59204

        #4
        Jjjjaaaammmes

        Comment

        • Dirty F
          Too lazy to set a custom title
          • Jul 2001
          • 59204

          #5


          ^--- James trying on his favourite panties.

          Comment

          • fusionx
            Confirmed User
            • Nov 2003
            • 4618

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

            Comment

            • Jace
              FBOP Class Of 2013
              • Jan 2004
              • 35562

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

              Comment

              • quantum-x
                Confirmed User
                • Feb 2002
                • 6863

                #8
                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.
                PrettyInCash.com - BoozedGFs.com - TeenGFs.com - JizzGFs.com- MilfUploads.com -

                Comment

                Working...