![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
So fucking bland
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!! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: May 2003
Posts: 3,765
|
could pretty easily pass a variable around that keeps count
__________________
flexx [dot] aeon [at] gmail |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
So fucking bland
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!! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
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!
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Let's do some business.
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." |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
So Fucking Banned
Industry Role:
Join Date: Mar 2007
Location: UK
Posts: 7,957
|
Quote:
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 ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
So Fucking Banned
Industry Role:
Join Date: Mar 2007
Location: UK
Posts: 7,957
|
Quote:
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 ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Let's do some business.
Industry Role:
Join Date: Jan 2003
Location: The dirty south.
Posts: 18,781
|
Quote:
__________________
![]() 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." |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
So fucking bland
Industry Role:
Join Date: Jul 2006
Location: England
Posts: 8,005
|
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!! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
So fucking bland
Industry Role:
Join Date: Jul 2006
Location: England
Posts: 8,005
|
Quote:
__________________
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!! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
So Fucking Banned
Industry Role:
Join Date: Mar 2007
Location: UK
Posts: 7,957
|
Quote:
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 ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | ||
So fucking bland
Industry Role:
Join Date: Jul 2006
Location: England
Posts: 8,005
|
Quote:
Quote:
![]()
__________________
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!! |
||
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
So Fucking Banned
Industry Role:
Join Date: Mar 2007
Location: UK
Posts: 7,957
|
Quote:
Code:
<a href="http://blablabla.com/blabla"> |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 | |
So fucking bland
Industry Role:
Join Date: Jul 2006
Location: England
Posts: 8,005
|
Quote:
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!! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
So Fucking Banned
Industry Role:
Join Date: Mar 2007
Location: UK
Posts: 7,957
|
Quote:
luck with it Rogue ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
Beer Money Baron
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 }
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Beer Money Baron
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
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 | |
Confirmed User
Join Date: Nov 2006
Posts: 514
|
Quote:
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2006
Location: A magical land
Posts: 15,808
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
So fucking bland
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!! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 |
So fucking bland
Industry Role:
Join Date: Jul 2006
Location: England
Posts: 8,005
|
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!! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#26 | |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
Quote:
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(); } ?> Code:
if ($_GET['page_id']=='4') { header("Location: http://www.myself.com/?page_id=2"); exit(); }
__________________
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#27 |
So fucking bland
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!! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#29 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |