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.


ocPortal Developer's Guide: Miscellaneous

» Return to Contents



sources/misc_scripts.php

Global_functions_misc_scripts.php

Function summary


void gd_text_script()

Script to make a nice textual image.

Parameters…

(No return value)


Return to the function index for this class Expand: View the source code to this function

void simple_tracker_script()

Script to track clicks to external sites.

Parameters…

(No return value)


Return to the function index for this class Expand: View the source code to this function

void zone_jump_script()

Script to jump between zones using a URL parameter.

Parameters…

(No return value)


Return to the function index for this class Expand: View the source code to this function

void preview_script()

Script to show previews of content being added/edited.

Parameters…

(No return value)


Return to the function index for this class Expand: View the source code to this function

void cron_bridge_script(PATH caller)

Script to perform ocPortal CRON jobs called by the real CRON.

Parameters…

Name caller
Description File path of the cron_bridge.php script
Type PATH

(No return value)


Return to the function index for this class Expand: View the source code to this function

void iframe_script()

Script to handle iframe.

Parameters…

(No return value)


Return to the function index for this class Expand: View the source code to this function

void pagelink_redirect_script()

Redirect the browser to where a pagelink specifies.

Parameters…

(No return value)


Return to the function index for this class Expand: View the source code to this function

void page_link_chooser_script()

Outputs the page link chooser popup.

Parameters…

(No return value)


Return to the function index for this class Expand: View the source code to this function

?object staff_tips_script(boolean ret)

Outputs the staff tips iframe.

Parameters…

Name ret
Description Whether to get the output instead of outputting it directly
Default value boolean-false
Type boolean

Returns…

Description Output (NULL: outputted it already)
Type ?object

Return to the function index for this class Expand: View the source code to this function

void block_helper_script()

Shows an HTML page for making block Comcode.

Parameters…

(No return value)


Return to the function index for this class Expand: View the source code to this function

void emoticons_script()

Shows an HTML page of all emoticons clickably.

Parameters…

(No return value)


Return to the function index for this class Expand: View the source code to this function

void thumb_script()

Allows conversion of a URL to a thumbnail via a simple script.

Parameters…

(No return value)


Return to the function index for this class Expand: View the source code to this function

void question_ui_script()

Outputs a modal question dialog.

Parameters…

(No return value)


Return to the function index for this class Expand: View the source code to this function

The requested resource does not exist.


sources/multi_site_networks.php

Global_functions_multi_site_networks.php

Function summary

tempcode do_netlink (URLPATH redir_url)

tempcode do_netlink(URLPATH redir_url)

Get a netlink block / direct to a netlink site.

Parameters…

Name redir_url
Description The URL we grab our netlink from. If this is not blank, instead of getting a netlink block, we direct to a netlink site.
Default value
Type URLPATH

Returns…

Description The netlink block
Type tempcode

Return to the function index for this class Expand: View the source code to this function