News:

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

Main Menu

confused on paid subscriptions

Started by zackrussell, August 29, 2010, 10:58:40 PM

Previous topic - Next topic

zackrussell

like what if someone wanted to buy a subscription on my site if you go to it in the menu bar their is no place to click to look at the subscriptions you can buy? so how do they know where to go to buy them?

Kill Em All



My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

zackrussell

it doesnt have a link on my index page where all members can look at them though???

Kill Em All

No... although you can create one in your Subs.php file in your Sources directory. Feel free to attach it if you want so I can add it.


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

zackrussell

can you pleas tell me what you mean?

Kill Em All

Your nav bar grabs what links to put up on it through the ./Sources/Subs.php file. You can add the needed code to it.

The code should look something like this:

'help' => array(
'title' => $txt['help'],
'href' => $scripturl . '?action=help',
'show' => true,
'sub_buttons' => array(
),
),


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

zackrussell

thats like really confusing can you pleas be more clear maby

Kill Em All

Look for that help code that I posted above in your websites Subs.php. Then you should be at the spot where it generates the tabs. Then add this code in that location.


    'paid' => array(
            'title' =>'Paid Subscriptions',
            'href' => $scripturl . '?action=profile;area=subscriptions',
            'show' => true,
            'sub_buttons' => array(
            ),
         ),


Like I said, if still confused, please feel free to upload your Subs.php as an attachment here and I'll add it for you.


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

zackrussell

i just want to get the paid subscriptions in the navagation bar so all members can view it and maby buy
pleas tell me how?

Kill Em All

Download this:
http://filezilla-project.org/download.php?type=client

Install it, then ask your host what your FTP info is, they can help you with that as we can't.

Then go to your SMF directory, then Sources, than you will see the Subs.php file. Right click on it and select View/Edit. It will download and then open up your default editor.

Hit the keyboard combination, Crtl+F. Then paste this in it:
'help' => array(

Right above that, copy and paste this and place it above.

       'paid' => array(
            'title' =>'Paid Subscriptions',
            'href' => $scripturl . '?action=profile;area=subscriptions',
            'show' => true,
            'sub_buttons' => array(
            ),
         ),


Then go to File>Save. Go back to the filezilla window, and a upload box will popup, select yes. Then you can close your FTP client and file editor and the button should be added.


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

zackrussell

so right above

'help' => array(

past

       'paid' => array(
            'title' =>'Paid Subscriptions',
            'href' => $scripturl . '?action=profile;area=subscriptions',
            'show' => true,
            'sub_buttons' => array(
            ),
         ),


so it should look like this?
       'paid' => array(
            'title' =>'Paid Subscriptions',
            'href' => $scripturl . '?action=profile;area=subscriptions',
            'show' => true,
            'sub_buttons' => array(
            ),
         ),

'help' => array(


is that right?

Kill Em All



My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

zackrussell

can i attach my subs.php file on here and you edit it for me and send me the new one and me just upload it so i know i dont mess up pleas?

Kill Em All



My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

zackrussell

im still installing my forum cuz i redid it all does it matter if as soon as the install is done if i add this or do i need to finish everything first???

Kill Em All

What? I don't understand what you just said, sorry. Please be more specific.


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

zackrussell

at the moment i am uploading smf to my site i had to delete my older forum does it matter if its new or can you still add it?

Kill Em All

Yeah, you could of still added it without any problems, you didn't have to reinstall it...


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

zackrussell

no i didnt reinstall because of that
thas not what i meant at all
i said i reinstalled it because i upgraded from smf 1.1 and then the newer forum had to many problems so i uninstalled and reinstalled
i asked is as soon as the new one is done can you add that code you gave?

Kill Em All

Only if you attach the Subs.php for me to your post.


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

Advertisement: