HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Disable Module Points and Points Score?

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#53131 (In Topic #11570)
Avatar

Fan in training

Going around in circles trying to disable points

I know I must be missing something really simple.
I have spent a few hours now trying to disable, not delete the points and Points score Module.

I have been to Structure/Site Tree Editor and Structure/Zones and Zones editor followed Site but can only seem to delete not disable the Modules.

What is it I am missing?

I do not wish to Delete as I may use the Modules later on.

I use Joomla, Drupal, Zikula, Moodle, (to name a few), but seem to have a little trouble getting to grips with this task.

A simple Breadcrumb list like above would be help as I keep going to the rather good documentation here, (get side tracked reading about something else), normal I suppose but cannot find anything telling me how to disable Modules.

Any help would be appreciated as it would give me a better understanding once I have cracked this simple task.

Never say 'Never', anything is possible!
Back to the top
 
Posted
Rating:
#53132
Avatar

Well-settled

Hi,

You'd do this by denying permission to the points and pointstore pages (Permission Tree Editor), and also there's a global specific permission called something like 'Use points' you can disable.
This way nobody can access the features except the administrator.

Alternatively you can uninstall the pointstore addon then the points addon, and put them back if you want them later - it should be point+click both ways. The only disadvantage there is existing data in these systems would be lost when you uninstall (e.g. configured pointstore products), if there is any.
Back to the top
 
Posted
Rating:
#53135
Avatar

Fan in training

Thanks duder911 Nothing Works

Followed Security/Permissions Tree Editor/Zone Site/Module Points & Module Points Store.
I unchecked all permissions below the tree on both, Pressed 'Set'. Had Confirmation.
Went to Structure/Zones/EditZones and tried to delete but the ftp will not connect. Why ftp is so important when I have one is beyond me at the moment.
Also been through the other menu sections and unchecked anything that may be to do with points.
I also deleted the php files in site/pages/modules.

It's still there after cleaning all cache in osPortal and cleaning cache in browsers, (I tried 6).

I suppose I will go into the sql and delete anything there next.

Only taken 8 hours to try and disable a Zone/Module.


Never say 'Never', anything is possible!
Back to the top
 
Posted
Rating:
#53136
Avatar

There's quite a lot in your last post I need to talk about, before you do some damage to your site.

Why are you trying to delete a zone? The points stuff isn't in it's own zone, so it sounds like are trying to delete the whole site zone, which would be very unwise as most of the website's functionality is in there.

I'm not sure what you mean about 'having one FTP' (the form is taking your existing FTP details, not creating a new account). ocPortal can use FTP to delete things because on many servers PHP doesn't have access to do this directly. However, you can tell it to try directly from that form if you like.

Deleting PHP files or parts of the database manually isn't a good idea to say the least, as it could lead to many bugs. Did you try removing the addons from the proper ocPortal interface like duder911 suggested?

You haven't told us exactly what it is you're seeing. If you post just a screenshot of where you're seeing these features someone probably can answer within a few minutes. It sounds like it may be a simple case of opening up the menu editor and clicking 'Delete' next to a link. Getting frustrated and being sarcastic about hours taken before seriously asking for help isn't going to work well as a constructive approach – there's no need to spend hours on something simple, people here are happy to help if you give them a chance.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#53139
Avatar

Fan in training

I edited the front page in the end and deleted the reference to the block.

I did of course download the php files I deleted prior to deleting them.
I suppose I am used to checking boxes to enable or disable content.

So in the end I have just edited the content and deleted the line:

(block)main_leader_board(/block)

It has now gone and the files have been uploaded back into their directory.

At the moment because I am new to osPortal I do not want to delete, I want to easily disable blocks/Zones/Modules, something I am finding difficult to do.

The easiest solution seems to be to only enable certain menu content and leave the rest running in the background.

The problem with this idea is that it does nothing to improve page loading speed which is my main concern, although osPortal is pretty fast compared to other php scripts.

As usual the obvious solution, ie editing the page seems to at least solve the immediate problem of not having something in the site which I do not wish to appear at the moment. It does not stop the scripts from loading though.

As for the ftp issue I use a few different clients and and not totally happy to have them in the site. When I tried to delete the Modules I had no other option to delete them without ftp. If it is a core Module it would be nice to have a Method to disable rather than delete or keep.

Maybe I just haven't figured that out yet but after about 8 hours of going around in circles I feel like two weeks holiday somewhere where it isn't raining all the time.:cool:

I must admit not all the 8 hours was trying to solve the issue, I kept getting side tracked by the easy to read documentation. So I am not saying the 8 hours was wasted.

Never say 'Never', anything is possible!
Back to the top
 
Posted
Rating:
#53166
Avatar

Fan in training

You talk about wanting to disable, not delete ocPortal modules. You can do this in Setup > Addons - just uninstall any addons to disable them (it backs up the files so you can always reinstall later). I'm not sure if you've done this, or this is exactly what you want, but I didn't see you mention this and want to make sure you've seen it.
Back to the top
 
Posted
Rating:
#53217
Avatar

Hi,

I've gone over this topic again and now I understand where the confusion was. It's quite common for people with experience of other software to not immediately realise how ocPortal's front pages are made from Comcode that references blocks - rather than controlled via a set of checkboxes.
We are considering solutions (long-term strategy).

The problem with this idea is that it does nothing to improve page loading speed which is my main concern, although osPortal is pretty fast compared to other php scripts.

If you're not seeing something then it's not likely to be eating up any CPU/memory.

As for the ftp issue I use a few different clients and and not totally happy to have them in the site. When I tried to delete the Modules I had no other option to delete them without ftp. If it is a core Module it would be nice to have a Method to disable rather than delete or keep.

As gabriel58 says above, and also via permissions is the other approach. Block configuration is configured via the Setup Wizard anyway, so when you remove Comcode for it you're not really removing part of ocPortal, you're just changing something that ocPortal expects to be changed anyway. There are dozens of blocks and they can easily be put back in place later - removing the Comcode is just like removing a menu link, easy to put back. However if you do want to leave block code in your Comcode pages you can use a Comcode staff_note tag around it to comment it out (like [staff_note][block]main_leader_board[/block][/staff_note]).

As for the ftp issue I use a few different clients and and not totally happy to have them in the site. When I tried to delete the Modules I had no other option to delete them without ftp. If it is a core Module it would be nice to have a Method to disable rather than delete or keep.

Our view is you should never need to use external software to manage your site. This is why the FTP stuff is built in, so you don't need to go launch up a separate client and follow a list of instructions.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: