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 11-17-2010, 06:19 PM   #1
rogueteens
So fucking bland
 
rogueteens's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: England
Posts: 8,005
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!!
rogueteens is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2010, 06:39 PM   #2
FlexxAeon
Confirmed User
 
FlexxAeon's Avatar
 
Industry Role:
Join Date: May 2003
Posts: 3,765
could pretty easily pass a variable around that keeps count
__________________
flexx [dot] aeon [at] gmail
FlexxAeon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2010, 07:03 PM   #3
rogueteens
So fucking bland
 
rogueteens's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: England
Posts: 8,005
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!!
rogueteens is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2010, 07:05 PM   #4
StinkyPink
It's all goooood.
 
Industry Role:
Join Date: Aug 2009
Location: The Hoe Stroll
Posts: 1,591
Just write your posts backwards. Post 1=Join Now! Post 4=Welcome to my new paysite!
StinkyPink is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2010, 07:08 PM   #5
stocktrader23
Let's do some business.
 
stocktrader23's Avatar
 
Industry Role:
Join Date: Jan 2003
Location: The dirty south.
Posts: 18,781
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."
stocktrader23 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2010, 07:11 PM   #6
ArsewithClass
So Fucking Banned
 
Industry Role:
Join Date: Mar 2007
Location: UK
Posts: 7,957
Quote:
Originally Posted by rogueteens View Post
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
ArsewithClass is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2010, 07:13 PM   #7
ArsewithClass
So Fucking Banned
 
Industry Role:
Join Date: Mar 2007
Location: UK
Posts: 7,957
Quote:
Originally Posted by stocktrader23 View Post
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
ArsewithClass is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2010, 07:24 PM   #8
stocktrader23
Let's do some business.
 
stocktrader23's Avatar
 
Industry Role:
Join Date: Jan 2003
Location: The dirty south.
Posts: 18,781
Quote:
Originally Posted by ArsewithClass View Post
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."
stocktrader23 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2010, 07:44 PM   #9
rogueteens
So fucking bland
 
rogueteens's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: England
Posts: 8,005
Quote:
Originally Posted by stocktrader23 View 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.
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!!
rogueteens is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2010, 07:48 PM   #10
rogueteens
So fucking bland
 
rogueteens's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: England
Posts: 8,005
Quote:
Originally Posted by ArsewithClass View Post
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.
__________________
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!!

Last edited by rogueteens; 11-17-2010 at 07:50 PM..
rogueteens is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2010, 08:25 PM   #11
ArsewithClass
So Fucking Banned
 
Industry Role:
Join Date: Mar 2007
Location: UK
Posts: 7,957
Quote:
Originally Posted by rogueteens View Post
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
ArsewithClass is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2010, 08:42 PM   #12
harvey
Confirmed User
 
harvey's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: 127.0.0.1
Posts: 9,266
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
harvey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2010, 09:01 PM   #13
BSleazy
Confirmed User
 
Industry Role:
Join Date: Aug 2002
Location: USA
Posts: 6,721
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
BSleazy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2010, 09:12 PM   #14
rogueteens
So fucking bland
 
rogueteens's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: England
Posts: 8,005
Quote:
Originally Posted by ArsewithClass View Post
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


Quote:
Originally Posted by harvey View Post
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!!
rogueteens is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2010, 09:23 PM   #15
FlexxAeon
Confirmed User
 
FlexxAeon's Avatar
 
Industry Role:
Join Date: May 2003
Posts: 3,765
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
FlexxAeon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2010, 09:46 PM   #16
ArsewithClass
So Fucking Banned
 
Industry Role:
Join Date: Mar 2007
Location: UK
Posts: 7,957
Quote:
Originally Posted by rogueteens View Post

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.
ArsewithClass is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2010, 10:02 PM   #17
rogueteens
So fucking bland
 
rogueteens's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: England
Posts: 8,005
Quote:
Originally Posted by ArsewithClass View Post
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!
__________________
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!!

Last edited by rogueteens; 11-17-2010 at 10:05 PM..
rogueteens is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2010, 10:10 PM   #18
ArsewithClass
So Fucking Banned
 
Industry Role:
Join Date: Mar 2007
Location: UK
Posts: 7,957
Quote:
Originally Posted by rogueteens View Post
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
ArsewithClass is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2010, 10:10 PM   #19
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
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 at 10:11 PM..
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2010, 10:14 PM   #20
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
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
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-18-2010, 02:29 AM   #21
bjlover
Confirmed User
 
Join Date: Nov 2006
Posts: 514
Quote:
Originally Posted by ArsewithClass View Post
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
bjlover is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-18-2010, 05:57 AM   #22
DamianJ
Too lazy to set a custom title
 
DamianJ's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: A magical land
Posts: 15,808
Quote:
Originally Posted by ArsewithClass View Post
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.
DamianJ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-18-2010, 06:39 AM   #23
rogueteens
So fucking bland
 
rogueteens's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: England
Posts: 8,005
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!!
rogueteens is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-18-2010, 06:53 AM   #24
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
Quote:
Originally Posted by rogueteens View Post
bump ....
did you try any of my ideas?
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-18-2010, 07:03 AM   #25
rogueteens
So fucking bland
 
rogueteens's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: England
Posts: 8,005
Quote:
Originally Posted by Brujah View Post
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!!
rogueteens is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-18-2010, 07:31 AM   #26
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
Quote:
Originally Posted by rogueteens View Post
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 at 07:38 AM..
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-18-2010, 07:47 AM   #27
rogueteens
So fucking bland
 
rogueteens's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: England
Posts: 8,005
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!!
rogueteens is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-18-2010, 08:10 AM   #28
HowlingWulf
Confirmed User
 
HowlingWulf's Avatar
 
Join Date: Nov 2001
Posts: 1,662
Have you tried any of the membership plugins for wordpress?
__________________
WP Porn directory/review theme Maddos $35.

webmaster AT howling-wulf.com
HowlingWulf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-18-2010, 12:35 PM   #29
harvey
Confirmed User
 
harvey's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: 127.0.0.1
Posts: 9,266
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';
     };
} 
?>
__________________
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

Last edited by harvey; 11-18-2010 at 12:37 PM..
harvey 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.