News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

How to add Subscriptions

Started by FallenBoy, April 06, 2009, 05:29:50 PM

Previous topic - Next topic

FallenBoy

how can I add Subscriptions so people can buy my vip?
oh yea also how can i have a user legend bar?
last thing how to install a chat box?

shadow82x

Quotehow can I add Subscriptions so people can buy my vip?
Admin > Core Features > Paid Subscriptions

Quoteoh yea also how can i have a user legend bar?
Admin > Current Theme > Show group key on board index

Quotelast thing how to install a chat box?
http://custom.simplemachines.org/mods/index.php?action=search;basic_search=chat

Admin > Packages > Upload > From File

If you are using a custom theme you *may* need to manual install it.
Colin B
Former Spammer, Customize, & Support Team Member

FallenBoy

Alright I did what you site how do I set up the payments?
I don't really understand that part

FallenBoy

Bumb can some1 reply why dont I have another page? like you know there home,admin,mod,profile why there is no subsciptions?

shadow82x

Once enabled under: Admin > Core Features

You should notice a new link: Admin > Members > Paid Subscriptions (/index.php?action=admin;area=paidsubscribe)

Once there, you can configure the paid subscription options.
Colin B
Former Spammer, Customize, & Support Team Member

FallenBoy

I can only click on profile then actions and then paid subscriptions why?

shadow82x

Quote from: FallenBoy on April 06, 2009, 09:22:01 PM
I can only click on profile then actions and then paid subscriptions why?
You have to setup the paid subscription ofeature in the admin panel before it will show in the profile.

Quote from: Shadow82x on April 06, 2009, 09:14:36 PM
Once enabled under: Admin > Core Features

You should notice a new link: Admin > Members > Paid Subscriptions (/index.php?action=admin;area=paidsubscribe)

Once there, you can configure the paid subscription options.


Colin B
Former Spammer, Customize, & Support Team Member

FallenBoy

Yea that the problem I dont want it in profile section I want it to have its own section like gameanarchy.net you see they have buy vip (must register to see it)

FallenBoy


shadow82x

#9
Ah so you want it added to your forum menu??? What theme are you using and mind attaching ../sources/subs.php?
Colin B
Former Spammer, Customize, & Support Team Member

FallenBoy


FallenBoy


shadow82x

#12
Can you please not bump unless 24 hours have reached. We are all volunteer here.  ;D

Anyway lets get to adding a menu button for subscriptions shall we?  ;)

To add a subscription menu tab

Find in ../Sources/Subs.php
            'home' => array(
                'title' => $txt['home'],
                'href' => $scripturl,
                'show' => true,
                'sub_buttons' => array(
                ),
            ),


Add After[/u
            'Subscriptions' => array(
                'title' => $txt['subscriptions'],
                'href' => $scripturl . '?action=profile;area=subscriptions',
                'enabled' => !empty($modSettings['paid_enabled']),
                'show' => $context['user']['is_logged'],
                'sub_buttons' => array(
                    ),
                ),


Than in ../Themes/default/languages/index.english.php
Add (After  <php)
$txt['subscriptions'] = 'Subscriptions';

Than be sure to clear your file cache after adding the new language string. (Admin > Maintenance > Routine > Clear File Cache)

Goodluck :)
Colin B
Former Spammer, Customize, & Support Team Member

FallenBoy

Could you please  give me the file for
/Sources/Subs.php  with the edited
'Subscriptions' => array(
                'title' => $txt['subscriptions'],
                'href' => $scripturl . '?action=profile;area=subscriptions',
                'enabled' => !empty($modSettings['paid_enabled']),
                'show' => $context['user']['is_logged'],
                'sub_buttons' => array(
                    ),
                ),

and
/Themes/default/languages/index.english.php
$txt['subscriptions'] = 'Subscriptions';
because when I do it I get error

shadow82x

#14
What error do you get?

I attached a edited ./Sources/Subs.php

Note: You may NOT to overwrite the attached file if you have mods that touch the file as it may cause certain mods to be reinstalled.
Colin B
Former Spammer, Customize, & Support Team Member

Advertisement: