| Author |
Message |
themadhacker Worker


Joined: May 30, 2006 Posts: 100
|
Posted:
Sat Nov 04, 2006 1:59 pm |
|
Just as the subject reads.
Any "easy" way to disable the subscription feature? I have been approached by some members wanting an explanation of why it says "You are not subscribed to xxxxxxxx.
I dont ever plan on using any of the subscription features....so to avoid any of these questions in the future I thought about just disabling it...or at least removing those couple of lines from "Your Account"
Thanks |
|
|
|
 |
hitwalker Sells PC To Pay For Divorce

Joined: Posts: 5661
|
Posted:
Sun Nov 05, 2006 7:44 am |
|
do you use the subscriptions ? |
|
|
|
 |
Guardian2003 Site Admin

Joined: Aug 28, 2003 Posts: 6373 Location: Vsetin, Czech Republic
|
Posted:
Sun Nov 05, 2006 11:26 am |
|
Do not alter the core index page, it is not worth the hassle.
The best way to do this is look for the text in YA language files (though it is probably actually in the main root/language/ ) and you'll see something like
| Code: | | define("_SOMETHING_HERE","The page text about subscriptions"); |
Just delete the text between the SECOND set of quotes.
Edited by me - I forgot to close the code tag |
Last edited by Guardian2003 on Sun Nov 05, 2006 3:41 pm; edited 1 time in total |
|
|
 |
themadhacker Worker


Joined: May 30, 2006 Posts: 100
|
Posted:
Sun Nov 05, 2006 2:29 pm |
|
| hitwalker wrote: | | do you use the subscriptions ? |
No...I do not.
| Guardian2003 wrote: | Do not alter the core index page, it is not worth the hassle.
The best way to do this is look for the text in YA language files (though it is probably actually in the main root/language/ ) and you'll see something like
[code]define("_SOMETHING_HERE","The page text about subscriptions");
Just delete the text between the SECOND set of quotes. |
Thanks...I'll take a look and give it a try. |
|
|
|
 |
themadhacker Worker


Joined: May 30, 2006 Posts: 100
|
Posted:
Sun Nov 05, 2006 6:01 pm |
|
It was the main language file and not the YA lang file that needed the edit.
This of course doesnt disable the subscription...which is fine. But will definately stop the questions regarding the string for sure.
Thanks |
|
|
|
 |
Guardian2003 Site Admin

Joined: Aug 28, 2003 Posts: 6373 Location: Vsetin, Czech Republic
|
Posted:
Sun Nov 05, 2006 6:06 pm |
|
Yeah I knew it was in there but thought the practice would be good as you'll be doing more of that kind of thing when customising your site
Just for clarification, I think the subscription thing was introduced in nuke v7.4
Provided you don't set any modules or blocks with an access permission of 'subscribers only' in the modules/block admin area, I don't think your users should be any the wiser. |
|
|
|
 |
themadhacker Worker


Joined: May 30, 2006 Posts: 100
|
Posted:
Mon Nov 06, 2006 7:03 pm |
|
Yeah....I took an in depth look at the file and made a mental note of the variables there....so down the road if I need to know where a text value is stored, I will be able to locate it faster.
Again....thanks for the help! And BTW...Im not sure that I will "never" need to use the sub feature...and its nice that if I ever do I can still use it without any further tweaks.  |
|
|
|
 |
|
|
|
|