Commit graph

77 commits

Author SHA1 Message Date
sajjadcb
eedd5c6d78 fixed: photo uploader \n updated: photo uploader design 2014-04-03 08:48:02 +00:00
sajjadcb
e1c5c9cffb fixed: phots.php, photos are now showing 2014-03-31 11:01:25 +00:00
sajjadcb
72a6b693ae updating 2014-03-31 10:53:11 +00:00
IMRAN HASSAN
1acb272eb6 Update function for user 2014-03-27 05:47:07 +00:00
sajjadcb
2f63e2fd64 corrected : photo upload problem 2014-03-17 10:09:17 +00:00
sajjadcb
bcf2ca1d62 updating includes 2014-03-17 07:48:56 +00:00
IMRAN HASSAN
1b9a7af39a Update: SEO links updated 2014-03-12 12:09:32 +00:00
Arslan Hassan
d97bdda2da Fixed : Orphan photos in admin area 2014-02-03 12:04:00 +00:00
sajjadcb
db46368bae modified: collections.class.php, photos.class.php, db.class.php and functions_photo.php for photo_upload page 2014-02-03 10:49:41 +00:00
sajjadcb
b9cb3dc5f0 modified the form.class.php to add label class on checkboxes 2014-01-29 06:17:03 +00:00
Fawaz
83a2f8b9de Added : Simple class for controlling database columns @/classes/columns.class.php
Updated : Videos and photos field selection now uses columns.class.php
2013-11-07 20:05:44 +00:00
Fawaz
b0accd544f Updated : Photo uploader to plupload. Design has been neglected deliberately
Updated : structure.sql and upgrade_2.7.sql for 'file_directory' column for photos
Added : file_directory support for photos
Added : A Helper function cb_create_html_tag
Added : ANCHOR cb_head @styles/global/head.html
2013-10-30 13:03:33 +00:00
Fawaz
e788a0a157 Updated : Broken functions.php into functions_OBJECT.php
Updated : videos.class, photos.classes, lang.classes, my_queries.class, pm.class, user.class
2013-10-08 12:24:07 +00:00
Fawaz
e3b2b6aad9 Added : 2.7 @trunk 2013-10-07 12:17:06 +00:00
Fawaz
2ca6204e5b Removed : v3.0 Beta from Trunk since it has been moved to GitHub 2013-10-07 11:23:00 +00:00
Fawaz
1f5991e169 Updated : Cover photo method. Now instead of id, few json encode details are saved
Updated : get_collections, Private collections are only visible to admin or owner
Updated : collection search, only collections with photos will be disabled and no avatar collection
Updated : photo search, no avatar photos
Updated : Add more button will not be displayed on avatar collection
Added : Callbacks for user content "collections"
Added : get_collection_thumb and get_collection_fields functions
Added : is_collection_cover_mature, This checks if cover photo is mature or not
Added : is_collection_cover, Checks if photo is cover photo or not
Added : get_photo_fields() function
Added : user profile item callback for photo
Added : add_profile_item_type_callback, First parameter is type and second is callback function. Object id is passed to callback function
Added : display_profile_item, Parameter is uid, if not current userid is used
Added : user profile item callback for video
2013-01-09 06:57:40 +00:00
Fawaz
5dbbb246c2 Updated : User photos link according to usercontent.class.php
Updated : How photo tagging is set on view_item
Updated : User videos and contacts link according to usercontent.class.php
Updated : startup.php
Registered : Filters to user object count. These are template specific registered filters
2013-01-05 09:35:43 +00:00
Fawaz
78060d00bb Added : get_private_thumb function
Updated : functions_dashboard.php functions comments
Removed : Unwanted options from add_dashboard_widget
Added : Private collections photos will now show private thumb
Registered : get_photo_private_function @custom_get_photo_funcs
Changed : video thumb size to 300x250
Updated : default, search and view_channel styles
Fixed : Search options z-index bug
2013-01-02 07:01:24 +00:00
Fawaz
b0ee95fb4f Updated: myaccount Dashboard widgets
Added : User's widget state and order
Added : fetch_template_file function
Updated : includes/startup.php
2012-12-31 09:17:06 +00:00
Fawaz
455c0c08ea Fixed : getProfileItem method @$userquery
Updated : get_mature_thumb function
Added : Two new functions get_image_file and _recheck_photo_code
2012-12-27 13:06:35 +00:00
Fawaz
b99a663e95 Added : Auto Collection Creation if no collection is found
Fixed : getProfileItem method
Added : file_directory update query
Updated : cb_install/sql/upgrade_3.0.sql
2012-12-18 12:11:12 +00:00
Fawaz
d5f43443bb Updated : upgrade_3.0.sql
Updated : edit_account.php, Now when avatar is set it redirects to user profile
Updated : EXIF Data url
Updated : queryString function regex. Old one was removing complete query string
Updated : display_manager_links(), now all variables except omo are removed from url
Added : Make profile link for photos @startup.php
Added : return_object_order in template_functions.php, This returns the order of provided omo value
Updated : Order checking @manage_collections.php and @manage_photos.php. Now only return_object_order is used
Updated : Updating of photo when it is uploaded
Updated : photo.html, single_feed.html, single_feed_comment.html, photo_form.html, user.html, video.html, /view_channel/feed.html, manage_photos.html, view_channel.html
Added : user_contacts.html, user_photos.html and user_videos.html
Added : autoComplete parameter for photo tagging
Updated : default.css, feeds.css and view_channel.css
Updated : user_contacts.php
Added : Next and Previous photos links @view_item.php
Fixed : Avatar Delete
Fixed : getProfileItem method of $userquery
2012-12-04 13:27:13 +00:00
Fawaz
829f713142 Fixed : recreate_thumbs.php
Fixed : edit_photo.php. Moved photo_manager_link_callbacks() at top of page
Updated : set_cover_photo method in collection.class.php
Added : Manage Avatars link in account manager
Added : Documentation for functions @functions_photos.php
Fixed : Few functions
Added : Front end dynamic photo manager links
Added : New functions @functions_photos.php at the end
Added : New functions for adding/displaying/getting manager orders
Added : Dynamic order and Avatar manager in Photos Manager for front end
Changed : view_channel playlist according to widgets. Now they will display perfect on both sides
Added : images and css file
2012-10-03 19:00:29 +00:00
Fawaz
077daa7cd0 Fixed : Mass Recreation of photos
Fixed : Uploading/Making/Changing user avatar will also update collection cover to current one
Fixed : $crop variable to $cropping in generate_photos. In resizer.class.php we are using $cropping
Added : New cropping case, 10. Read it's example to understand what it does
Added : Documentation for few function in functions_photos.php
Added : new function called display_user_custom_background in functions_users.php
Added : Custom Dimensions for photos in startup.php. Now these will also be produced, 75x75,100x100,150x150,240,320,500,640,800,1024
Updated : default.css
Added : new display_method in blocks/video.html
Added : Change background form
Fixed : photo embed code
2012-09-26 12:35:05 +00:00
Fawaz
399c9a8581 Fixed : Photo download function
Updated : add_photo_manager_link function
Updated : display_manager_links function
Added : photo_manager_link_callbacks function
Updated : Actions links at admin_area/edit_photo.php to new function
Added : photo_manager_link_callbacks at admin_area/photo_manager.php. This will call the respective callback provided from callback_id variable
Removed : Popover from photos thumb at photo_manager.html
2012-09-14 09:46:27 +00:00
Fawaz
b56ac5b0bf Updated : I have removed svn:ignore proterty from all folder, added most probably by Dreamweaver6
Fixed : Typo of sharpit in thumb_dimensions array
Removed : Default array of embed_types
Added : $name in add_custom_photo_size
Added : All of documentation of photo functions
Added : new photo functions: get_photo_embeds, add_photo_embed_type, display_photo_embed_sizes
Added : 6 types of photo embed @startup.php
Added : Error div in photo_form.html
Added : Share and Report in view_item.html
Updated : default.css
Added : Photo Embed javascript in head.html, so every designer doesn't have copy paste the jquery
2012-09-13 12:18:39 +00:00
Fawaz
547ed5e62d Fixed : Photo manager actions.
Updated : get_photo_date_folder function. Changed date_dir to file_directory
Updated : upload functions
Updated : photo_uploader.php to plupload
Added : Plupload files @photo_upload page in photo.class.php
Added : object parameter in uploader.php
Added : secondsToHms function in js/functions.js
Fixed : Few thing at view_item.html
Fixed : videos.php category query. ID was not passing to function
2012-09-11 07:05:29 +00:00
Fawaz
2767d02906 Added : Photo Tags Manager
Added : Tags manager for photo
Added : bootstrap-transition.js for unsupported browsers
Added : New method get_tags for cbphoto class
Optimized : remove_photo_tag method
Fixed : load_tagging function
2012-07-25 11:53:42 +00:00
Fawaz
e8c4e96d8d Updated : edit_photo.php
Removed : unnecessary code from photo_manager.php
Updated : Edit Photo layout
Updated : Selector for jQuery tooltip plugin
Updated : main.html sub_heading to legends
Updated : Photo Settings save option layout
Updated : Recreate Thumbs save option layout
Fixed : get_photo_tags, get_photo and load_required_forms methods photos.class.php
Fixed : confirm_collection_type function
Added : Inline for documentation for template functions
2012-07-23 19:44:23 +00:00
Fawaz
05bd69c71b Added : Actions for active/deactive and mature/unmature
Updated : Photo Manager Page
Updated : Added 1px top for buttons
Added : mature param in get_photos function
Added : Two new actions in photo_actions
Added : Comments for few functions
Updated : cbphoto-actions.js plugin
2012-07-18 22:38:02 +00:00
Fawaz
b0c13f3a5b Fixed : Style of view_item/view_photo page
Added : RSS Feeds for photos
2012-07-02 07:05:39 +00:00
Fawaz
8ec3779f31 Updated : photos ajax ajax/photos.php
Updated : upgrade_3.0.sql
Updated : photo_links method
Fixed : Memory exhausted error. Large images takes a lot of memory. So when CB_Resizer initializes we set memory limit to 256MB for current process
Renamed : includes/exif.php to exif_source.php
Updated : exif.php file to exif_source.php in functions.php
Fixed : exif data weird json encode thing
Updated : canon, nikon and olympus Makers
Added : exif.php, colors.html and exif.html in global folder
Updated : Few template files
2012-06-01 11:57:50 +00:00
Fawaz
340c6261d8 Added : Date Folder Structure. From now on, all photos instances will uploaded in date folder structure Y/m/d
Added : Removal of photo tags and meta while deleting photo
2012-05-29 11:53:39 +00:00
Fawaz
ef791c0b7c Fixed : Admin Area Recreate thumbs page
Added : Set as avatar code
Added : Avatar Collection for user
Added : new param avatar_collection in get_collections() method
Fixed : crop value in thumbs_dimensions
Added : is_avatar param in get_photos() method
Added : photo_dimensions filter in generate_photos() method
Fixed : insert_photo() method
Moved : insert_photo_colors in insert_photo() method from view_item.php page
Updated : get_image_type() method
Updated : getFileSmarty() method
Added : An anchor in getFileSmarty() 'photo_thumb'
Fixed : cropping cases in resizer.class.php
Updated : $Upload->upload_user_file to upload_new_avatar
Removed : cb_create_user_avatar_collection() from common.php
Registered : delete_photo_avatar() function @delete_photo
Added : validate_image_file() function. It uses our old image.class.php method
Added : get_mature_thumb() function. It has three parameters, object_array, size, output. You can also register custom thumb @mature_thumb
Added : Few new functions for photos. get_all_custom_size_photos(), get_photo_dimensions(), clean_custom_photo_size(), get_avatar_photos() and is_photo_viewable()
Added : new js function, displayConfirm(). It accepts four parameters. id( modal box id), confirmMessage( modal box body), onConfirm( either url or function ) and heading(modal box header)
2012-05-28 07:10:27 +00:00
Fawaz
bf71180b54 Added : All the spaces and tabs left behind because of testing code
Added : Send photo PM ajax. Temporarily will be moved once ajax structure is up
Fixed : Move avatar from photo to a function called upload_new_avatar() in functions_users.php
Fixed : & in collection links
Updated : Updated the function createTextfield. It was missing some important fields
Updated : Photo & Watermark resizing by new resizer.class.php
Added : LEFT JOIN for collection in get_photo function
Added : function join_collection_table in function_photos.php
Registered : Two photo function at cb_head ANCHOR called load_tagging & load_photo_actions in common.php
Registered : photo_action_links filter to add 'Send in private message' link
Added : Photo PM Handlers using attach_photo_pm_handlers
Fixed : CB Tagger CSS and CB Tagger JS
Updated : Some Template files just for testing purpose
Added : Some Template files, again just for testing purpose
2012-05-18 13:47:20 +00:00
Fawaz
e0cca79526 Added : Photo EXIF Data in insert_photo()
Added : Make Avatar from any photo
Added : Collection cover photo
Added : An array for thumb creations. Includes, code, width, height, watermark, sharpit
Added : Resizer class in common.php
Added : jquery.Jcrop.js in edit_account
Added : A common function called cb_filename. All filenames used in clipbucket follow a specific syntax
Added : Four new function for photos. get_original_photo, insert_photo_colors, insert_exif_data & add_custom_photo_size
Added : User Avatar collection functions. But they are not in use right now. This need proper thinking
Added : New files: mobile-form-class.php, resizer.class.php, exif.php, makers files for exif, jquery.Jcrop plugin, some template files
2012-05-16 07:27:54 +00:00
Fawaz
00b9d1c9de Fixed : Admin area collection view link
Updated : jQuery UI Version
Removed : jquery.dimensions.js from admin_area
Removed : Video collections instances from ajax.php
Registered : load_photo_controls smarty function
Added : jquery_plugs/jquery.cbtagger.js
Added : New functions cb_show_page and cb_parse_args_string
Added : load_photo_controls function in functions_photos.php
Defined : PARENT_PAGE and THIS_PAGE in module.php
2012-04-30 10:49:46 +00:00
Arslan Hassan
5962836294 Added : template.php as template file
Added : function filters files replacing function hooks
Added : add_admin_menu a whole new function and replaced all existing functions with new
Added : New Admin Area with Bootstrap and new icons
Added : functions for widgets
Added : Sidebars and Widgets
2012-04-28 20:11:43 +00:00
Arslan Hassan
ee101b63b9 Fixed : Current page and Next Page
Fixed : Photo Download Issue
Fixed : Video by filename issue
Added : ClipBucket Security Key
Fixed : SEO URls little more
Cleaned : Functions
Added : Logout Hooks
Added : Module
Added : Signup Hooks
2012-03-17 12:50:07 +00:00
Arslan Hassan
efaa5fc765 Added : Plugin permissions in user levels
Fixed : Video links option | in admin area
Updatet : Template static variable to Cbucket->template
Moved : User permissions in classes/collections.class.php
Fixed : Video listing Most Viewed
2011-09-20 14:04:11 +00:00
Fawaz
f039293ba0 Fixed : getimagesize problem
Added : new column added photo_details
Added : update file in sql folder 2.5~2.5.1
Updated : getFileSmarty function.
2011-06-29 08:20:54 +00:00
Arslan Hassan
3441f115eb Fixed : Photo download for multiserver 2011-06-27 16:40:06 +00:00
Arslan Hassan
7913a5c657 Added : Photos Multiserver option with SubDirectory
Fixed : FFMPEG audio rate problem
Fixed : Plugins Embed Code
2011-06-20 10:38:38 +00:00
Fawaz
8a38ac9872 Updated : 2.4~2.4.5.txt
Updated : Rating system from Stars to Likes
Added : New function update_user_voted un userquery
Added : New styles for like system
Fixed : Disable button problem while saving video
2011-05-21 07:04:33 +00:00
Arslan Hassan
6380420070 Fixed : Pagination error 2011-05-14 10:10:58 +00:00
Arslan Hassan
851a4481b9 Fixed : Quotation problems in Video, Photos title. 2011-05-14 08:48:31 +00:00
Arslan Hassan
c1cc31102a Fixed : Language phrases
Fixed : Photo thumb load problem
Replace : Orphans with user album
Fixed : Editors pick
Fixed : please in cb_install
2011-04-25 09:37:47 +00:00
Arslan Hassan
5050d05116 Fixed : flowsrc error
Added : Pakplayer solid integeration wth ClipBucket
Update : Now only those collections will be displayed wich have objects
Fixed : ClipBucket Sorting
Update : Set_Websote_Config function , it will add config if not exists
Update : GetBaseUrl Function
Removed : Collection id for photo upload
Added : FB_SRC function
Update : PM will only show latest 10 videos
Added : Remember Me
Fixed : Pakplayer
Improved: YTCode
2011-04-21 14:41:57 +00:00
Arslan Hassan
c37a1bd004 Added : New Cookie based login system with view online users and details along with your browsers and os as well as what page they are browsing :D
Added : Custom Head Menu
Fixed : group invitation code 
Fixed : Dynamic baseurl
Added : custom delete photos
Update : Session class
Added : getonline users
removed: test from recaptchalib.php
2011-04-06 13:53:39 +00:00
Fawaz
f40e6f0282 Fixed : Gif upload
Updated : Subscription upload
Updated : manage_photos.php
Fixed : Width of Photo thumb 
Updated : Style of Subscription html
2011-04-01 11:11:55 +00:00