Is this possible in wordpress?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rogueteens
    So fucking bland
    • Jul 2006
    • 8005

    #1

    Is this possible in wordpress?

    I'm trying to make a tour using wordpress and so far so good but is it possible in wordpress to make a person go to a special page on the 4th next post link?

    EG: The surfer starts off on the home page but if they click on the Previous Posts" link more than a couple of time then they get sent to a Join page (made from a WP page post).

    I hope this makes sense!

    I'm wondering if there is a way to make the site say "if ?paged=4 then goto ?paged=join"

    I think i'm gibbering on a bit now.
    Free traffic and backlinks from one of the fastest growing adult pinsites on the net - SAUCY PICTURES!
    Easily my best performing webcam sponsor - CLICK HERE!!
  • FlexxAeon
    Confirmed User
    • May 2003
    • 3765

    #2
    could pretty easily pass a variable around that keeps count
    flexx [dot] aeon [at] gmail

    Comment

    • rogueteens
      So fucking bland
      • Jul 2006
      • 8005

      #3
      And how do i do that, please?
      Free traffic and backlinks from one of the fastest growing adult pinsites on the net - SAUCY PICTURES!
      Easily my best performing webcam sponsor - CLICK HERE!!

      Comment

      • StinkyPink
        It's all goooood.
        • Aug 2009
        • 1591

        #4
        Just write your posts backwards. Post 1=Join Now! Post 4=Welcome to my new paysite!

        Comment

        • stocktrader23
          Let's do some business.
          • Jan 2003
          • 18781

          #5
          Why not put your own links in the post, that way they can be more prominent and say what you want?


          Hands Free Adult - Join Once, Earn For Life

          "I try to make a habit of bouncing my eyes up to the face of a beautiful woman, and often repeat “not mine” in my head or even verbally. She’s not mine. God has her set aside. She’s not mine. She’s His little girl, and she needs me to fight for her by keeping my eyes where they should be."

          Comment

          • ArsewithClass
            So Fucking Banned
            • Mar 2007
            • 7957

            #6
            Originally posted by rogueteens
            I'm trying to make a tour using wordpress and so far so good but is it possible in wordpress to make a person go to a special page on the 4th next post link?

            EG: The surfer starts off on the home page but if they click on the Previous Posts" link more than a couple of time then they get sent to a Join page (made from a WP page post).

            I hope this makes sense!

            I'm wondering if there is a way to make the site say "if ?paged=4 then goto ?paged=join"

            I think i'm gibbering on a bit now.
            I see that you are wanting to force a join page to the surfer, but truthfully, a join button on the side, at the bottom & at the top is going to be more affective considering you may lose the surfer altogether as he could think, this is all he is going to see.

            unless I have jumped the gun & considering that 4 posts later is the definate number. I would have really thought that 10 maybe 15 posts later could be more affective. Obviously you still have the same problem.

            Just my thoughts if I was surfing your great website & get a join here after a set time, I would leave to enjoy looking through some others before joining, maybe theirs

            Hoping you get someone posting, that knows WP rogue

            Comment

            • ArsewithClass
              So Fucking Banned
              • Mar 2007
              • 7957

              #7
              Originally posted by stocktrader23
              Why not put your own links in the post, that way they can be more prominent and say what you want?
              This way, the post would have to have the join here link from the start, which personally would certainly not be any good...

              I can consider what Rogue is trying to create, of which it could be affective. But most people prefer to buy when they feel right & not feel pressured into a sale as said in my previous post

              Comment

              • stocktrader23
                Let's do some business.
                • Jan 2003
                • 18781

                #8
                Originally posted by ArsewithClass
                This way, the post would have to have the join here link from the start, which personally would certainly not be any good...

                I can consider what Rogue is trying to create, of which it could be affective. But most people prefer to buy when they feel right & not feel pressured into a sale as said in my previous post
                If he's trying to make the entire blog content protected after page 4 he's going to have a lot more problems than the join prompt.


                Hands Free Adult - Join Once, Earn For Life

                "I try to make a habit of bouncing my eyes up to the face of a beautiful woman, and often repeat “not mine” in my head or even verbally. She’s not mine. God has her set aside. She’s not mine. She’s His little girl, and she needs me to fight for her by keeping my eyes where they should be."

                Comment

                • rogueteens
                  So fucking bland
                  • Jul 2006
                  • 8005

                  #9
                  Originally posted by stocktrader23
                  If he's trying to make the entire blog content protected after page 4 he's going to have a lot more problems than the join prompt.
                  No, just the tour.
                  Free traffic and backlinks from one of the fastest growing adult pinsites on the net - SAUCY PICTURES!
                  Easily my best performing webcam sponsor - CLICK HERE!!

                  Comment

                  • rogueteens
                    So fucking bland
                    • Jul 2006
                    • 8005

                    #10
                    Originally posted by ArsewithClass
                    I see that you are wanting to force a join page to the surfer, but truthfully, a join button on the side, at the bottom & at the top is going to be more affective considering you may lose the surfer altogether as he could think, this is all he is going to see.
                    The idea is that my blog/tour will show a page of three or so randomly generated posts (using a random post plugin), the same with page 2 and 3 then page 4 shows the join. Much like a "reality tour". Going to a join page at the end is a pretty much accepted way of doing it, I think its a better way of ending the tour than just a sudden stop.
                    Last edited by rogueteens; 11-17-2010, 05:50 PM.
                    Free traffic and backlinks from one of the fastest growing adult pinsites on the net - SAUCY PICTURES!
                    Easily my best performing webcam sponsor - CLICK HERE!!

                    Comment

                    • ArsewithClass
                      So Fucking Banned
                      • Mar 2007
                      • 7957

                      #11
                      Originally posted by rogueteens
                      The idea is that my blog/tour will show a page of three or so randomly generated posts (using a random post plugin), the same with page 2 and 3 then page 4 shows the join. Much like a "reality tour". Going to a join page at the end is a pretty much accepted way of doing it, I think its a better way of ending the tour than just a sudden stop.
                      I can see your idea, but considering it would only be blog posts & only 3 maybe 4, this wouldnt be much material to show what you have to offer.

                      I do like the idea of each post using a random plugin, at least everytime the surfer looks, they would see new material all the time

                      Comment

                      • harvey
                        Confirmed User
                        • Jul 2001
                        • 9266

                        #12
                        I don't think the way you're doing it is the best, but well, you can try something like this, didn't test it since I'd never do it that way, but just try it and see if it works:

                        Code:
                        <?php wp_reset_query();
                        if (is_page('4') ) 
                        {
                        echo "action you want to perform";
                        } 
                        ?>
                        This post is endorsed by CIA, KGB, MI6, the Mafia, Illuminati, Kim Jong Il, Worldwide Ninjas Association, Klingon Empire and lolcats. Don't mess around with it, just accept it and embrace the truth

                        Comment

                        • BSleazy
                          Confirmed User
                          • Aug 2002
                          • 6721

                          #13
                          Not exactly what you're looking for but you might be able to mod this or use it somehow

                          http://wordpress.org/extend/plugins/page-links-to/
                          icq 156131086

                          Comment

                          • rogueteens
                            So fucking bland
                            • Jul 2006
                            • 8005

                            #14
                            Originally posted by ArsewithClass
                            I can see your idea, but considering it would only be blog posts & only 3 maybe 4, this wouldnt be much material to show what you have to offer.

                            I do like the idea of each post using a random plugin, at least everytime the surfer looks, they would see new material all the time
                            No, there will be three or four posts per page (i havent decided how many yet) and 3 pages of posts. so the surfer will see at least nine posts before going to the join. I plan on having 20 or so posts in the blog database so that if the surfer returns, the chances are he'll see different posts


                            Originally posted by harvey
                            I don't think the way you're doing it is the best, but well, you can try something like this, didn't test it since I'd never do it that way, but just try it and see if it works:

                            Code:
                            <?php wp_reset_query();
                            if (is_page('4') ) 
                            {
                            echo "action you want to perform";
                            } 
                            ?>
                            Cheers, it works, as in i get it to show up "action you want to perform" on the desired page. I just dont know the code needed to redirect to the desired page - I havent programmed anything in almost 20 years!
                            Free traffic and backlinks from one of the fastest growing adult pinsites on the net - SAUCY PICTURES!
                            Easily my best performing webcam sponsor - CLICK HERE!!

                            Comment

                            • FlexxAeon
                              Confirmed User
                              • May 2003
                              • 3765

                              #15
                              using "if is_page 4", if they go back to page 3 it will show them the previous page still.

                              sounded to me like you wanted them to be sent to join after they viewed 4 pages, no matter what. if so, that means you gotta store that tally somewhere.

                              or did i misunderstand?
                              flexx [dot] aeon [at] gmail

                              Comment

                              • ArsewithClass
                                So Fucking Banned
                                • Mar 2007
                                • 7957

                                #16
                                Originally posted by rogueteens

                                Cheers, it works, as in i get it to show up "action you want to perform" on the desired page. I just dont know the code needed to redirect to the desired page - I havent programmed anything in almost 20 years!
                                I think, in the "action you want to perform" you place in
                                Code:
                                <a href="http://blablabla.com/blabla">
                                Ill look at wp but this should be the place you want the viewer to goto.

                                Comment

                                • rogueteens
                                  So fucking bland
                                  • Jul 2006
                                  • 8005

                                  #17
                                  Originally posted by ArsewithClass
                                  I think, in the "action you want to perform" you place in
                                  Code:
                                  <a href="http://blablabla.com/blabla">
                                  I'll shoot myself if that works!



                                  I'm pretty sure its something like get_page-{id} but i'll be damned if i can get it to work, harvey's code works great, it finds page 4, i just cannot get it to redirect to my "join" page after its found it

                                  LOL, if Wordpress was in BASIC or COBOL i'd be able to do it, hell, i'd proberbly manage to do it in DBase!
                                  Last edited by rogueteens; 11-17-2010, 08:05 PM.
                                  Free traffic and backlinks from one of the fastest growing adult pinsites on the net - SAUCY PICTURES!
                                  Easily my best performing webcam sponsor - CLICK HERE!!

                                  Comment

                                  • ArsewithClass
                                    So Fucking Banned
                                    • Mar 2007
                                    • 7957

                                    #18
                                    Originally posted by rogueteens
                                    I'll shoot myself if that works!



                                    I'm pretty sure its something like get_page-{id} but i'll be damned if i can get it to work, harvey's code works great, it finds page 4, i just cannot get it to redirect to my "join" page after its found it

                                    LOL, if Wordpress was in BASIC or COBOL i'd be able to do it, hell, i'd proberbly manage to do it in DBase!
                                    you maybe right.. i was thinking html Doh!

                                    luck with it Rogue

                                    Comment

                                    • Brujah
                                      Beer Money Baron
                                      • Jan 2001
                                      • 22157

                                      #19
                                      Best way would be to code the page to display the join page contents inside the conditional, but you could try some javascript since it's easier.

                                      Code:
                                      if (is_page('4') ) 
                                      {
                                      ?>
                                      <script>
                                      window.location="http://domain.com/page";
                                      </script>
                                      <?php
                                      }
                                      Last edited by Brujah; 11-17-2010, 08:11 PM.

                                      Comment

                                      • Brujah
                                        Beer Money Baron
                                        • Jan 2001
                                        • 22157

                                        #20
                                        If the url is always the same, ie... yoursite.com/page/4, you might just .htaccess it.

                                        Redirect 302 /page/4 http://yoursite.com/joinpage

                                        Comment

                                        • bjlover
                                          Confirmed User
                                          • Nov 2006
                                          • 514

                                          #21
                                          Originally posted by ArsewithClass
                                          I think, in the "action you want to perform" you place in
                                          Code:
                                          <a href="http://blablabla.com/blabla">
                                          Ill look at wp but this should be the place you want the viewer to goto.
                                          fucking hell you are stupid.

                                          why not keep your ugly mouth shit so you dont keep reminding people how retarded you are
                                          Arsewithclass has models who claim he wont pay them. Read his pathetic excuse here http://www.gfy.com/showpost.php?p=17...&postcount=102

                                          Comment

                                          • DamianJ
                                            Too lazy to set a custom title
                                            • Jul 2006
                                            • 15808

                                            #22
                                            Originally posted by ArsewithClass
                                            I think, in the "action you want to perform" you place in
                                            Code:
                                            <a href="http://blablabla.com/blabla">
                                            Ill look at wp but this should be the place you want the viewer to goto.
                                            Fucking LOL.

                                            Comment

                                            • rogueteens
                                              So fucking bland
                                              • Jul 2006
                                              • 8005

                                              #23
                                              bump ....
                                              Free traffic and backlinks from one of the fastest growing adult pinsites on the net - SAUCY PICTURES!
                                              Easily my best performing webcam sponsor - CLICK HERE!!

                                              Comment

                                              • Brujah
                                                Beer Money Baron
                                                • Jan 2001
                                                • 22157

                                                #24
                                                Originally posted by rogueteens
                                                bump ....
                                                did you try any of my ideas?

                                                Comment

                                                • rogueteens
                                                  So fucking bland
                                                  • Jul 2006
                                                  • 8005

                                                  #25
                                                  Originally posted by Brujah
                                                  did you try any of my ideas?
                                                  i did but no success, it came up with errors (the javascript one). Also, in all honesty, i dont really want to jump languages if i can help it.

                                                  The page i want to jump to is called http://www.myself.com/?page_id=2 so i've been trying variations of get_?page_id=2 but i'm shooting in the dark as i dont know the first thing about php!
                                                  Free traffic and backlinks from one of the fastest growing adult pinsites on the net - SAUCY PICTURES!
                                                  Easily my best performing webcam sponsor - CLICK HERE!!

                                                  Comment

                                                  • Brujah
                                                    Beer Money Baron
                                                    • Jan 2001
                                                    • 22157

                                                    #26
                                                    Originally posted by rogueteens
                                                    i did but no success, it came up with errors (the javascript one). Also, in all honesty, i dont really want to jump languages if i can help it.

                                                    The page i want to jump to is called http://www.myself.com/?page_id=2 so i've been trying variations of get_?page_id=2 but i'm shooting in the dark as i dont know the first thing about php!
                                                    What about the .htaccess tip? I think this one is the easiest to implement.

                                                    The problem with php redirection it needs to happen before anything is output, so you'd want to put it in your header at the very top. Maybe in the header.php file of your theme at the very top. Some code like this:

                                                    Code:
                                                    <?php
                                                    if ($_SERVER['REQUEST_URI']=='/?page_id=4') 
                                                    {
                                                      header("Location: http://www.myself.com/?page_id=2");
                                                      exit();
                                                    }
                                                    ?>
                                                    Is it "?page_id=4" ?

                                                    Code:
                                                    if ($_GET['page_id']=='4') 
                                                    {
                                                      header("Location: http://www.myself.com/?page_id=2");
                                                      exit();
                                                    }
                                                    Last edited by Brujah; 11-18-2010, 05:38 AM.

                                                    Comment

                                                    • rogueteens
                                                      So fucking bland
                                                      • Jul 2006
                                                      • 8005

                                                      #27
                                                      thanks, Brujah! your advice (as well as Harvey's) as well as someone on another forum solved this for me
                                                      Many thanks
                                                      Free traffic and backlinks from one of the fastest growing adult pinsites on the net - SAUCY PICTURES!
                                                      Easily my best performing webcam sponsor - CLICK HERE!!

                                                      Comment

                                                      • HowlingWulf
                                                        Confirmed User
                                                        • Nov 2001
                                                        • 1662

                                                        #28
                                                        Have you tried any of the membership plugins for wordpress?
                                                        WP Porn directory/review theme Maddos $35.

                                                        webmaster AT howling-wulf.com

                                                        Comment

                                                        • harvey
                                                          Confirmed User
                                                          • Jul 2001
                                                          • 9266

                                                          #29
                                                          Sorry, didn't see it yesterday. Anyway, the idea behind conditionals is that under certain condition you need to do something different. In your case, when they get to page 4. So, you need to have both required actions: the one you want to regularly perform and the conditional one. In your case, it would be something like this:

                                                          Code:
                                                          <?php wp_reset_query();
                                                          if (is_page('4') ) 
                                                          {
                                                          echo '<a href="YOUR_JOIN_PAGE">Next Page </a>';
                                                          } else {
                                                                    echo 'YOUR_REGULAR_CODE';
                                                               };
                                                          } 
                                                          ?>
                                                          Last edited by harvey; 11-18-2010, 10:37 AM.
                                                          This post is endorsed by CIA, KGB, MI6, the Mafia, Illuminati, Kim Jong Il, Worldwide Ninjas Association, Klingon Empire and lolcats. Don't mess around with it, just accept it and embrace the truth

                                                          Comment

                                                          Working...