Miscellaneous features and usage
Use this space to share information relating to miscellaneous features and usage
In addition to the community-editable documentation above, we have the following official tutorials:
In addition to the community-editable documentation above, we have the following official tutorials:
- ocPortal keyboard shortcuts
Many functions may be activated by key code, rather than clicking. Find out the key codes you can use in this tutorial. - Searching your website
Find out how ocPortal's search engine can make it easy to search all the content on your website at once. - Running advertisements
Use the banners system to run multiple advertising campaigns on your website, using multiple media profiles. - Feedback, and user interaction
ocPortal helps you create a highly interactive site, with features for user interaction/feedback at your disposal. - eCommerce
Use the eCommerce system to sell things. Usergroup subscription and member invoicing are available out-of-the-box. - OcCLE's True Potential
Did you know you can reconfigure half your site's systems in a few easy keystrokes? We explore this and more…
Child pages:
-
Create a recent video block
(body content, 0 posts, 0 children)
|
Posted
|
|
|---|---|
|
Submitted by Hamburgler
|
This was suggested by Rick Henson on the forum and I thought I would have a look at the software. I realised you can add a video chat box without an API and just pasting in some HTML and I've written a brief step by step to go through the process. 1. Sign up for an account at TokBox 2. Create a Comcode page on your site where you want the video chat/conferencing to be located 3. Go to http://www.tokbox.com/#embed= and log in using the user name and password from step 1 if you aren't already logged in. 4. Select the size you want your video chat to be 5. Choose whether you want to add text chat or not 6. Choose whether you want to show the list of participants or not 7. Click "Add to my site" 8. Click "Copy code" 9. Go to your previously created video chat/conference page and click to edit it 10. Disable the WYSIWYG editor 11. On the pop up agree and convert the page to Comcode 12. After the title or the text where you want to box to appear paste the code you have copied in between and tags which will look something like this Code
[html]<object type="application/x-shockwave-flash" data="http://www.tokbox.com/vc/zy57q6aodg1k7lvw" width="800" height="600" pid="4b9a2b80beb18ab2"> <param name="movie" value="http://www.tokbox.com/vc/zy57q6aodg1k7lvw"/> <param name="flashvars" value="guestList=true&textChat=true&showExpandButton=true"/></object><br /><a href="http://www.tokbox.com/">TokBox - Free Video Chat and Video Messaging</a>[/html]
13. Fill in the rest of the page data and save the page If the size is not quite right you can modify the width and height easily to make sure it fits into your website nicely. Your website users will need to sign up to TokBox to use the video conference. Hope this is helpful |
|
Posted
|
|
|
Submitted by Hamburgler
|
This tutorial is basically a simple how to for adding a second random quote block this on is a random "reasons why ocPortal rocks" Firstly create a .txt file called ocprocks.txt then add a list of reasons why ocPortal rocks each on their own line with word wrap turned off which will look something like this Code
"ocPortal has no licensing costs - it is completely free, even for commercial use"
*Please note I've taken these from this page - ocPortal.com - Why we're different Save the text file to the yourinstalldirectory/text_custom/EN folder Next goto your install of ocPortal and where you want the new block to be placed add the following comcode Code
[block="ocprocks"]main_quotes[/block]
This should add your new random reason why ocPortal rocks block, of course you can make the subject about anything, best Hamburger places for example Hamburgler |
|
Posted
|
|
|
Submitted by SoccerDad
|
Code
ocp/sources/site.php
Code
define('BREADCRUMB_CROP_LENGTH',26);
|
|
Posted
|
|
|
Submitted by SoccerDad
|
Code
ocp/themes/default/templates/BLOCK_MAIN_FORUM_TOPICS_TOPIC.tpl
Code
{$TRUNCATE_SPREAD,{TITLE`},25}
|
|
Posted
|
|
|
Submitted by SoccerDad
|
Code
if (is_null($order)) $order=get_param('order','t.text_original ASC');
Code
if (is_null($order)) $order=get_param('order','add_date DESC');
|
|
Posted
|
|
|
Submitted by Hamburgler
|
Following from the above post i've made a 50 Homer Simpson Quotes list as i was adding them to my quotes list, thought i'd share them on here too. I'm hoping to create a few more of these as well |
|
Posted
|
|
|
Submitted by SoccerDad
|
|
|
Posted
|
|
|
Submitted by Can.do
|
Full details here / I didn't have permissions allowing a full quote of all the info. |
|
Posted
|
|
|
Submitted by Can.do
|
- Get ocPortal's login ID from another script <?php- Show an ocPortal page using a certain desired login ID (full HTML) <?php- Show an ocPortal page using a certain desired login ID (HTML snippet) <?php- Force open an ocPortal session to a given login ID and redirect to the front page ! Login without a password, use with caution ! !! Note for use with SSO (Single-Sign -On) You can verify the user externally and pass a secure (temporary) token (using SSL); Verifiying the secure token (possibly done several different ways) is not shown with this snippet. <?php |
|
Posted
|
|
|
Submitted by kenno
|
Seperate forums for additional zone via virtual rootHope this helps others, what I wanted to achieve was the look and feel that I had separate forums for certain clubs, which in my eyes looks a little better then just giving them a sub forum on the main forums pages. I also wanted it so that you could not view either forum on each main page. What I had to do was virtual root both sections (more if you have more clubs you want to show separate) which in essence gives the look to the user that both of these run separate when in essence they actually don`t. once finished you will have to replace all links to the normal forumview as this will now be a virtual rooted page link, otherwise your users will see both forums in the same page which is not what you are wanting to achieve. Here is some info provided by Chris Graham in how to do this Ok so in ocPortal there are content modules, which are a kind of page. For the forum, this is forumview and topicview. They are in the forum zone. If you want them to be able to operate from another zone you can do this, via setting transparent redirects. Go to Admin Zone > Structure > Redirects, and set them up. Let's say our new zone is called foo. You'd set foo:forumview -> forum:forumview, with transparent checked. You'd also set foo:topicview -> topic:topicview, with transparent checked. Now we have the forum pages running from another zone. However, if we were to link to them directly, it'd go to the forum root which we do not want. This is where virtual roots come in. You can generate a URL that "pretends" that it is the root of the forum tree, and then use this URL on that menu. Add foo:forumview to the menu of your foo zone. It will take you to the forum home. I'm assuming your desired new forum root has been added. So now, browse to that. Then in the breadcrumbs, click the final node in it, which corresponds to the forum you are at. After clicking it you will see magically the breadcrumbs change so it appears this is the root forum. Now grab the URL you're at, go edit your foo zone's menu, and put this URL in. Please follow this topic for more details in regards to what I wanted to achieve http://ocportal.com/forum/topicview/misc/deploying/seperate-forums-for.htm?kfs233=30&threaded=0 Also this tutorial gives a little better understanding of what can be achieved for these types of sites http://ocportal.com/docs/tut_subcom.htm#title__4 Hope this helps someone |





