Also in the Network: Acecool Medical | Product Take | Voting Students | Defense Carry There are 6 users currently online! 
Acecool Company - Technology for the future - PHP Resources, Tutorials, MySQL, Java, C++
  Any donations are welcome :-)
 Quote of the Moment: Just because it works, doesn't make it right. - Josh 'Acecool' Moser [ Language: en ] [ Template / Theme: acms / default ] 
 
menu
 
acecool company
 
media section
 
webmasters area
 
developers area
 
acms
 
acepad

This CMS generates CLEAN code
Valid HTML 4.01 Transitional
This page was created with Firefox in mind :-)
Firefox 2
 

About Acecool Company Content Management System (ACMS)


 
Features:
Language Support
Integration Support (phpbb2) with the option to drag and drop more in
In depth permission system
Uploading of images / files allowed
Posting of Polls / Links / Tutorials / Articles Allowed
Easy to develop on platform with classes and functions galore!
Templated Theming
Drag and drop addon system
One click updates via the admin control panel


ACMS Classes... And uses...
  • c.comments
    This is the comments hook class which allows comments to be posted, read, written to any page on a website as long as a unique page identifier is assigned - otherwise more than one page may access the same comments...

    Functions within:
    report(int comment_id, opt String reason)
    ...

  • c.db
    This is the database manager - it lets you connect, select a database (uses default if none selected), disconnect, query and more!

  • c.file
    This is the file manager, it manages uploads, file deletion and more.. If you are using a Unix server then this class will also use the ftp class to give correct chmod stats to each folder during deletion...

  • c.ftp
    This is the FTP Class, it lets you connect to ftp sites, alter files, delete files, list directories, chmod and more!

  • c.rating
    This is the rating class, it allows you to attach a rating (And form, if chosen which will be displayed and accepted only from users with sufficient permissions) to each page with a unique identifier..

  • c.template
    This is the template system class, it imports templates, sub templates, manages replacers, inclusions, acms scripting ability, bbcode and more! - Be nice to it :-)






ACMS Functions... And uses... (* internal functions)
  • * acms_add_permissions(permissions):
    Reads the permissions array, and uses acms_calc_permissions to calculate new permissions.

  • * acms_calc_permissions(permissions, temp_perissions):
    Calculates new permissions

  • acms_login_form(opt post_action):
    Displays the login form - will integrate templation soon...

  • acms_permissions(permission, access_required):
    This is the permissions reader, to read if someone is allowed to view the admin panel, you would call acms_permissions('acp_view', 'view') - you can also use add, edit, delete in place of view for other permissions.

  • * acms_read_permissions(permission):
    Reads a permission number (0-9) and outputs it as a binary like state.

  • acms_seo(String text):
    This function makes a title, name or whatever SEO friendly

  • * acms_write_permissions(permission):
    The opposite of acms_read_permissions(), this converts the binary like state permission value (0000-1111) to (0-9)

  • cfg(config section, config option) (== / != / === / < / <= / > / >= config value?):
    One of the most important functions in ACMS - this function accesses the configuration files... if I wanted to get the url of the site you would use: cfg('site', 'url')

  • decode_header(file):
    This function reads the ACMS style header

  • error(int error):
    This function simply includes a file with a certain error number if it exists.

  • get_current_page(): 1
    This function returns the integer value of the current page you are on.

  • hacking_attempt():
    Kills the process of the page, and records what the user was doing - time, date, page, page post/get values...

  • inner_prep_bbcode_box(String text):
    Prepares the code for regular display and templates the box...

  • inner_prep_php_highlight(String text):
    Prepares the php code to be highlighted

  • outer_prep_php_highlight(String text):
    Final prep on the php code, and templates the box

  • paginate_links(args):
    Generates awesome pagination links :-)

    Pagination (With a snap to feature) that can be used in any page with a query generator!
    Also, when the pagination links are out of its scope, it will reset to the first page...
    Page Demo 10 pages: [ Previous Page ] [1] 2 3 4 5 6 7 8 9 10 [ Next Page ]

    This demonstrates the snap to feature... All using the configuration to set how many links are in the middle, left and right areas :-)
    Page Demo 13 pages SNAP: [ Previous Page ] [1] 2 3 ... 5 6 7 8 9 ... 11 12 13 [ Next Page ]
    Page Demo 500 pages SNAP: [ Previous Page ] [1] 2 3 ... 248 249 250 251 252 ... 498 499 500 [ Next Page ]

  • paginate_query(MySQL query, int per_page):
    Recreates the mysql query with pagination included for the amount of items per page
    The query demo shows that, when the query is out of range, it resets to the first page - or if there arent enough for a page then it leaves it alone!
    Query Demo 10 per page: SELECT * FROM acms_media_categories ORDER BY id LIMIT 0, 10

  • pagination_pages(MySQL query, int per_page):
    Returns the number of pages the that the query contains

  • percent_of_number(int first, int second, opt int decimal_places(Default 0)):
    Take 2 numbers, and gives the percentage of 1 number compared to the other

  • redirect(url, opt sleep):
    Outputs a javascript redirect, with text for non javascript users - the sleep option is optional and is in seconds.

  • strip_newlines(String text):
    Stips <br> and <br />s from the text

  • time_to_time(int timestamp): 123921d 4h 24m 19s
    This function lets you count down to an event; Will one the event is reached, all values will stay at 0...

  • time_from_time(int timestamp): 834d 13h 21m 35s
    This function lets you count up from a set timestamp... useful for uptime, time a user was last active and so on..

  • truncate(String text, int cut off length, String text to append):
    Shortens a piece of text if it is greater than the cutoff length, and appends cut off text, which can be anything - even a link...

  • validate_email(email):
    Attempts to validate an email and Returns true or false




 
To Do List:
  • (High Priority) Reimplement the media section
  • (High Priority) Reimplement the custom bbcode manager
  • (High Priority) Finish writing the image class (Thumbnailer, watermarker, editor???)
  • (Middle Priority) Finish writing the comments class
  • (Middle Priority) Finish writing the rating class
  • (Middle Priority) Finish writing the ftp class
  • (Middle Priority) Finish writing the attachments class
  • (Low Priority) Recreate phpBB2 RSS
  • (Low Priority) Anywhere username is printed, get username style...
  • (Low Priority) Finish the online_now addon - List all users online...
  • (Low Priority) Create a viewprofile page where extra information that was stored about the user by acms can be viewed...
  • (Low Priority) Create a user control panel where they can edit phpBB and ACMS settings related to them...
  • (Low Priority) Create the memberlist page...
  • (Low Priority) Create the Search Page...
  • (Low Priority) Create a private messenging system...
  • (Low Priority) Figure out the phpBB3 new password hashing system...
  • (Low Priority) IPN Integration (Paypal, Moneybookers, Egold)...

Username: Guest
Post Comment:
 




 
user management
Username:

Password:

Register | Forgot Password | Forgot Username

 
Random Image
Flip - Siamese


 
Current Poll

Polls are currently disabled

-- --
-- --
-- --


 
Affiliates

nuk3.com - An interesting, informative and interactive computer gamers' resource XeWeb.net