Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro
Author Message
themadhacker
Worker
Worker



Joined: May 30, 2006
Posts: 100

PostPosted: Sat Nov 04, 2006 1:59 pm Reply with quote

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
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Sun Nov 05, 2006 7:44 am Reply with quote

do you use the subscriptions ?
 
View user's profile Send private message
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Sun Nov 05, 2006 11:26 am Reply with quote

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 
View user's profile Send private message Send e-mail
themadhacker







PostPosted: Sun Nov 05, 2006 2:29 pm Reply with quote

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







PostPosted: Sun Nov 05, 2006 6:01 pm Reply with quote

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







PostPosted: Sun Nov 05, 2006 6:06 pm Reply with quote

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 Wink

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







PostPosted: Mon Nov 06, 2006 7:03 pm Reply with quote

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. Very Happy
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©