PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
themadhacker
Worker
Worker


Joined: May 30, 2006
Posts: 100

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

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 Back to top

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


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

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

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 Visit poster's website
themadhacker
Worker
Worker


Joined: May 30, 2006
Posts: 100

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

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


Joined: May 30, 2006
Posts: 100

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

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
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

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

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.
View user's profile Send private message Send e-mail Visit poster's website
themadhacker
Worker
Worker


Joined: May 30, 2006
Posts: 100

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

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

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum