TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 123
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 68
  • Total: 69
  • @rjen

[Article] Paid Subscriptions/Membership type Page

Started by bluedevil, January 22, 2009, 01:06:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mick

So im tired of posting in my forums on how to purchase a membership using the "paid Subscriptions" mod.

This code will create a membership type page for your users to read what type of membership your forum have available. (Users will see this page an order.  You just need to create a linked button to the page )

To be used with "PAID SUBSCRIPTIONS" mod only.   Found @ SMF

DEMO: http://www.chevyavalancheclub.com/index.php?action=membership

-Just paste code to a "article" page or to your "custom action" page.   

-Download the 2 images below,upload it to your /image folder and make sure the images have a 755 or better permission.

-Make sure you replace www.YOUR URL.com in the code with your own URL'S.

Its easy to edit the code with your own content.  Just replace as you wish.

The "sign up" button will direct the user to the subscription order page in their profiles.

<div align="center">Content Here</div>
<table width="100%" cellpadding="5" border="0" bgcolor="#ffffff" id="table1">
    <tbody>
        <tr>
            <td width="365" bgcolor="#e3eedf"><strong><font face="Verdana" size="2">Membership Type</font></strong></td>
            <td width="236" bgcolor="#014922"><strong> <font face="Verdana" size="2" color="#ffffff">  Regular Membership</font></strong></td>
            <td width="205" bgcolor="#b90000"><strong><font face="Verdana" size="2">  <font color="#ffffff">Supporting Membership</font></font></strong></td>
        </tr>
        <tr>
            <td width="365" bgcolor="#ffffff"><strong><font face="Verdana" size="2"><span class="main"> <span class="spacing">Recognition:</span></span></font></strong></td>
            <td width="236" bgcolor="#e3eedf"><strong><font face="Verdana" size="2">None </font></strong></td>
            <td width="205" bgcolor="#e9e1dc"><strong><font face="Verdana" size="2"> <br />
            </font></strong></td>
        </tr>
        <tr>
            <td width="365" bgcolor="#ffffff"><strong><font face="Verdana" size="2">Gallery Space:</font></strong></td>
            <td width="236" bgcolor="#e3eedf"><strong><font face="Verdana" size="2">25Kb<br />
            </font></strong></td>
            <td width="205" bgcolor="#e9e1dc"><strong><font face="Verdana" size="2">Unlimited<br />
            </font></strong></td>
        </tr>
        <tr>
            <td width="365" bgcolor="#ffffff"><strong><font face="Verdana" size="2" color="#0000ff">Official Decal</font></strong></td>
            <td width="236" bgcolor="#e3eedf"><strong><font face="Verdana" size="2">No</font></strong></td>
            <td width="205" bgcolor="#e9e1dc"><strong><font face="Verdana" size="2"><img border="0" src="/images/checkmark.gif" alt="Alt Text" /> Yes</font></strong></td>
        </tr>
        <tr>
            <td width="365" bgcolor="#ffffff"><strong><font face="Verdana" size="2">Automatic &quot;Supporting Member&quot; Title:</font></strong></td>
            <td width="236" bgcolor="#e3eedf"><strong><font face="Verdana" size="2">No</font></strong></td>
            <td width="205" bgcolor="#e9e1dc"><strong><font face="Verdana" size="2"><img border="0" src="/images/checkmark.gif" alt="Alt Text" />  Yes</font></strong></td>
        </tr>
        <tr>
            <td height="38" width="365" bgcolor="#ffffff"><strong><font face="Verdana" size="2"><span class="main"> <span class="spacing">Colored Username:</span></span></font></strong></td>
            <td height="38" width="236" bgcolor="#e3eedf"><strong><font face="Verdana" size="2">No</font></strong></td>
            <td height="38" width="205" bgcolor="#e9e1dc"><strong><font face="Verdana" size="2"> <img border="0" src="/images/checkmark.gif" alt="Alt Text" />  Yes</font></strong></td>
        </tr>
        <tr>
            <td height="38" width="365" bgcolor="#ffffff"><strong><font face="Verdana" size="2">Donation:</font></strong></td>
            <td height="38" width="236" bgcolor="#e3eedf"><strong><font face="Verdana" size="2">Free</font></strong></td>
            <td height="38" width="205" bgcolor="#e9e1dc"><font face="Verdana" size="2"><strong>1  Year<br />
            $20.00 USD</strong></font></td>
        </tr>
        <tr>
            <td height="38" width="365" bgcolor="#ffffff"><strong><strong><strong><strong><font size="2" color="#f40606"><br />
            </font></strong></strong></strong></strong></td>
            <td height="38" width="236" bgcolor="#e3eedf">&nbsp;</td>
            <td height="38" width="205" bgcolor="#e9e1dc"><a href="http://www.YOUR URL.com/index.php?action=profile;sa=subscriptions"><img border="0" src="/images/b_sign-up-now_red.png" alt="Alt Text" /></a></td>
        </tr>
    </tbody>
</table>
<center><strong><strong><strong><strong><font size="1">**There will be no refunds given under any circumstances including banning .</font></strong></strong></strong></strong></center>




Enjoy!!!


Ken.

Looks like an excellent addition for anyone using the subscription mod.
Good job BD! :up:
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

Mick

Quote from: Ken. on January 22, 2009, 01:19:21 AM
Looks like an excellent addition for anyone using the subscription mod.
Good job BD! :up:

Thanx Ken.   Frankly i got tired of posting links and reminding members about the subscriptions.   A "order page" is better and its always there.  lol.

Heero

Looks very good, thanks for the submission!

Zetan

This'll be useful for my next site.. A pr0n site!  :P ..










I jest, but I do have a new site in mind, subscription based.


Thanks for sharing bluedevil  :up:

Mick

Youre most welcome.   

In edtor,you can add as many rows and cells as you wish.   Im sure you knew that.   lol

G6Cad

Indeed a good block code :)

Just beware of all the changes everyone wants and will ask to have now  :2funny:

Mick

Quote from: G6 on January 25, 2009, 03:48:38 PM
Indeed a good block code :)

Just beware of all the changes everyone wants and will ask to have now  :2funny:


Lol....im asking for trouble dont i

G6Cad

Quote from: bluedevil on January 25, 2009, 04:18:12 PM
Quote from: G6 on January 25, 2009, 03:48:38 PM
Indeed a good block code :)

Just beware of all the changes everyone wants and will ask to have now  :2funny:


Lol....im asking for trouble dont i

Hahahaha, i think so ;)

Zetan

Hi BlueDevil, I've just started using this on a trial site and notice a few things that could be changed.

The center tag is depreciated. Instead use div:



<div align="center">Content Here</div>





Also, for internal URL's, the full URL isn't required.



<img border="0" src="/images/filename.png" alt="Alt Text" />



This is really helpful if, like me, you are building a site and plan to move it to a different location. It still works, but saves having to go through and correct all the paths.. assuming that they will essentially be in the same place on a new domain.

Mick

Very cool Zetan.  ....edited code.

Thanx,...You Rock!

olifa


Mick



juice

#14
I installed it and made all the changes I needed for my site, but when I the "admin" of the site clicks on the sign up button I get this message:

An Error Has Occurred!
The user whose profile you are trying to view does not exist.

When a normal member clicks the sign up button they get the same message.

The link I have attached to the button is:

http://www.troutpredator.info/index.php?action=profile;sa=subscriptions

Any ideas??? I'm not very good with code but I appreciate any help I can get?

I'm running a pretty urls mod, does that make a difference?

When I navigate to the subscription page, the url reads:

http://troutpredator.info/profile/?u=1;sa=subscriptions

Where the u=1 differs depending on the user trying to subscribe.

Thanks in advance!




Mick

Quote from: juice on February 18, 2009, 08:19:18 PM
I installed it and made all the changes I needed for my site, but when I the "admin" of the site clicks on the sign up button I get this message:

An Error Has Occurred!
The user whose profile you are trying to view does not exist.

When a normal member clicks the sign up button they get the same message.

The link I have attached to the button is:

http://www.troutpredator.info/index.php?action=profile;sa=subscriptions

Any ideas??? I'm not very good with code but I appreciate any help I can get?

I'm running a pretty urls mod, does that make a difference?

When I navigate to the subscription page, the url reads:

http://troutpredator.info/profile/?u=1;sa=subscriptions

Where the u=1 differs depending on the user trying to subscribe.

Thanks in advance!






I am not familiar with the "pretty URL's" mod.   I used it once before for a short while.

Anyways,  i currently use:

/index.php?action=profile;sa=subscriptions

for the "sugn up" button and it works.

For your "pretty url" mod,  i think should work something like:

/subscriptions

or

/profile/subscriptions

just play with it.

Try it and see if it works.   If not, ask at the mod creators thread over at SMF on how the "subscriptions" url would look like.

juice

http://troutpredator.info/profile/?u=1;sa=subscriptions

The subscription url reads like above with the u=1 value being different for each user depending on their subscription order, however that makes it hard for me to create a universal link for every user.

I'm a super novice at this so maybe there is a url that is obvious that I am missing.

Let me know what you think.

Thanks!

Mick

Quote from: juice on February 20, 2009, 03:49:55 AM
http://troutpredator.info/profile/?u=1;sa=subscriptions

The subscription url reads like above with the u=1 value being different for each user depending on their subscription order, however that makes it hard for me to create a universal link for every user.

I'm a super novice at this so maybe there is a url that is obvious that I am missing.

Let me know what you think.

Thanks!

See if any of these links takes you the subscriptions page

http://troutpredator.info/profile/?sa=subscriptions

or

http://troutpredator.info/profile/sa=subscriptions

Sorry but im not much help with pretty urls.

juice

Neither work, perhaps I should ask the pretty url creator???

Mick

Quote from: juice on February 20, 2009, 04:30:57 AM
Neither work, perhaps I should ask the pretty url creator???

Yes..    post in their thread what the URL should be.

If it works you,please post it here.


Mick


wilsy

Loving the membership page - thanks for sharing.

Mick

Quote from: wilsy on February 21, 2009, 02:27:51 PM
Loving the membership page - thanks for sharing.

Glad you like it.   I just registered at your site to snoop around as we use the same theme.   Hehehehe....


wilsy

Quote from: bluedevil on February 21, 2009, 03:51:35 PM
Quote from: wilsy on February 21, 2009, 02:27:51 PM
Loving the membership page - thanks for sharing.

Glad you like it.   I just registered at your site to snoop around as we use the same theme.   Hehehehe....

Lol, just seen you in there - the site's up for grabs if you fancy branching out into motorbikes!!  ;)

This website is proudly hosted on Crocweb Cloud Website Hosting.