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.


Disabling user registration

Login / Search

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

Fan in training

Disabling user registration

First of all, hello every one. I am really happy to find OcPortal. Its an amazing product. I know its a CMS (very powerful one), but I wanted to use it like a CMS where I am the only user i.e I don't want any other user. So I want to disable user registration completely and even remove the log-in box from the front page. Any idea about it guys?

I am hell bent on using ocPortal because its such a whole some package. I need gallery, download manager and the advanced editing features it offers. Please help me out guys.
Back to the top
 
Posted
Rating:
#65459
Avatar

When you install ocPortal, there's an option to install it with 'no forums or members'. Choose this, and the only account that will be created will be that of the Administrator.


Like ocPortal on Facebook:
Back to the top
 
Posted
Rating:
#65461
Avatar

Community saint

Flash88 I also wanted to eliminate the members module- and I also eliminated the Forum module too. I don't know if you want to go that far but FYI read these Topics below about my experiences. I finally went back and reinstalled with members and Forums.

Here they are:

Can I install ocPortal without the member and forum parts?
Where did my buddy test go?
No Forum-No Members but need a guestbook.
Forward on - Retreat and Charge!

All the best with which ever installation setup you go with.


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#65463
Avatar

Fan in training

Thanks for the all the information.I guess ocPortal's forum would be just fine, as I do want Feedback and guestbook. And about limiting user registration, probably I would do that by removing the log-in box.
Back to the top
 
Posted
Rating:
#65464
Avatar

Community saint

Another way to go may be the 'invites enabled' option in adminzone>setup>configuration>member and forum options.

Then people can not join your site unless they are invited to.
Back to the top
 
Posted
Rating:
#65465
Avatar

Fan in training

@Brian: Thanks a lot. But I am still unable to figure out how to disable the Log-in block at the home page?
Back to the top
 
Posted
Rating:
#65466
Avatar

Community saint

In the left panel? When you are logged in as admin look at the bottom of the panel and click the link to edit it in zone editor. There you can ad or remove blocks from it.
Back to the top
 
Posted
Rating:
#65467
Avatar

Fan in training

Thanks again Brian, I removed the block from the Welcome zone and it was done.

I have another small question, a little off-topic though, Does ocPortal contain any flash player to play the audio/video in the gallery or it relies on the codecs installed on the client PC? I am asking this because I added a MP3 file in the gallery, but when I checked it, It was using quicktime player in firefox and windows media player in IE. I would love to use a standard flash player instead of these players.
Back to the top
 
Posted
Rating:
#65484
Avatar

Probably the easiest way would be to fiddle with sources/mime_types.php. Edit it to change 'mp3'=>'video/x-flv' instead of 'mp3'=>'audio/x-mpeg'. That'll force it to go through the jwplayer template.


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:
#65489
Avatar

Fan in training

Thanks Chris. Fixed it using your solution. There's a small cosmetic problem. Even though I specified the length of track in seconds, the details tab of gallery is stuck at 7 seconds (The player also doesn't show the length I specified while adding the media to the gallery).
Though there is playback and sound One can't drag because the start says 0:00 and the end as well says 0:00
Any suggestions?
Back to the top
 
Posted
Rating:
#65490
Avatar

Not sure why the gallery itself is saying a number of seconds, as it's the "video" in it that would have the duration.
As for the player itself, indeed jwplayer isn't being passed the duration. jwplayer seems not to be able to detect the length right in this case.
I've attached a new version of the template that passes the duration through.
Attachment
themes/default/templates/GALLERY_VIDEO_FLV.tpl
» Download: GALLERY_VIDEO_FLV.tpl (1.18 Kb, 165 downloads so far)



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:
#65500
Avatar

Fan in training

Upon uploading the attached file, and loading the gallery page I received three errors saying:

A parameter, LENGTH, is referenced in the template, GALLERY_VIDEO_FLV, but not passed
and the player still didnt get the time. possible because the length was never passed
Back to the top
 
Posted
Rating:
#65503
Avatar

That would explain why we weren't using the length  :lol:. Does this help? It should cause it to be passed in. I'm assuming you're on 5.0.2.

Attachment
site/pages/modules/galleries.php
» Download: galleries.php (59 Kb, 174 downloads so far)


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:
#65507
Avatar

Fan in training

Thanks Chris!!!
This new file fixed it :)

BTW I am on 5.0.3
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: