Community Support Forums — WordPress® ( Users Helping Users ) — 2011-11-27T18:45:47-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=15941 2011-11-27T18:45:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15941&p=54009#p54009 <![CDATA[Re: Single Page Restrictions]]> $page_ids and $hours.

* @param str|int $sp_ids Comma-delimited list of Specific Post/Page IDs *( numerical )*.
* @param int|str $hours Optional. A numeric expiration time for this link, in hours. Defaults to `72`.

Statistics: Posted by Cristián Lávaque — November 27th, 2011, 6:45 pm


]]>
2011-11-22T15:32:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15941&p=53706#p53706 <![CDATA[Re: Single Page Restrictions]]> Statistics: Posted by fcp2011 — November 22nd, 2011, 3:32 pm


]]>
2011-11-22T15:19:16-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15941&p=53703#p53703 <![CDATA[Re: Single Page Restrictions]]> Statistics: Posted by fcp2011 — November 22nd, 2011, 3:19 pm


]]>
2011-11-21T08:19:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15941&p=53619#p53619 <![CDATA[Re: Single Page Restrictions]]> Statistics: Posted by fcp2011 — November 21st, 2011, 8:19 am


]]>
2011-11-21T02:13:54-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15941&p=53579#p53579 <![CDATA[Re: Single Page Restrictions]]> viewtopic.php?f=40&t=13074&src_doc_v=111105

Yeah, your idea seems good. With sp_access_link_gen create the URL that you'll redirect the person to. viewtopic.php?f=40&t=13074&src_doc_v=111105

Code:
header('Location: ' sp_access_link_gen ($page_ids$hoursfalse)); 

* Haven't tested it.

I hope it helps. :)

Statistics: Posted by Cristián Lávaque — November 21st, 2011, 2:13 am


]]>
2011-11-17T21:04:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15941&p=53382#p53382 <![CDATA[Re: Single Page Restrictions]]>
form submission is complete
run sp_access_link_gen() function
then redirect to page with the php code header( 'Location: http://www.yoursite.com/new_page.html' ) ;

Anyone have any extra help to throw my way on this?

Statistics: Posted by fcp2011 — November 17th, 2011, 9:04 pm


]]>
2011-11-17T11:25:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15941&p=53317#p53317 <![CDATA[Single Page Restrictions]]>
So, is there a way to dynamically create the link after the form submission and then refer the webbrowser to that page. I have access to perform php code upon submission of the form, I am just not sure what php code I need to run.

I see that the source code for s2member has a function that would allow the creation of a link, I am just not exactly sure how to use it.

Any help? Thanks in advance.

Daniel

Statistics: Posted by fcp2011 — November 17th, 2011, 11:25 am


]]>