[Clipart] [PATCH] cchost user

Bryce Harrington bryce at bryceharrington.org
Sat Feb 11 15:21:10 PST 2006


Modifies some of the user viewing text, to generalize 'remixes'.

Bryce

--- cchost-1.0.3/cclib/cc-user.php	2005-10-22 11:20:32.000000000 -0700
+++ cchost-bwh/cclib/cc-user.php	2006-02-11 15:18:58.000000000 -0800
@@ -229,21 +229,21 @@
                                'flags'      => CCFF_POPULATE ),
 
                     'user_whatido' =>
-                        array( 'label'      => cct('What I Pound On'),
-                               'form_tip'   => cct('(e.g. vinyl, guitar, ACID Pro, vocals, beat slicer)'),
+                        array( 'label'      => cct('What I Do'),
+                               'form_tip'   => cct('(e.g. symbols, people, flags, coding...)'),
                                'formatter'  => 'tagsedit',
                                'flags'      => CCFF_POPULATE ),
 
                     'user_whatilike' =>
                         array( 'label'      => cct('What I Like:'),
-                               'form_tip'   => cct('(e.g. Django, Old Skool, Miles Davis, Acid House)'),
+                               'form_tip'   => cct('(e.g. vehicles, electronics, icons...)'),
                                'formatter'  => 'tagsedit',
                                'flags'      => CCFF_POPULATE ),
 
                     'user_lookinfor' =>
                         array( 'label'      => cct("What I'm Looking For:"),
-                               'form_tip'   => cct("List attributes of musicians you'd like to hook up with ".
-                                               '(e.g. Producer, singer, drummer)'),
+                               'form_tip'   => cct("List attributes of clipart you'd like to see".
+                                               '(e.g. technical symbols, pets, woodworking plans...)'),
                                'formatter'  => 'tagsedit',
                                'flags'      => CCFF_POPULATE ),
 
@@ -626,9 +626,9 @@
                     else
                     {
                         $msg =<<<END
-You've registered an account and logged in, but you haven't uploaded any remixes yet.
+You've registered an account and logged in, but you haven't uploaded anything yet.
 
-Use the 'Submit Files' menu items on the left to start uploading your sampled tracks and sample libraries.
+Use the 'Submit Files' menu items on the left to start uploading your work.
 END;
 
                          $R['user_fields'][] = array( 'label' => '', 
@@ -638,7 +638,8 @@
                 }
                 else
                 {
-                        $msg = $name . cct(' has not uploaded any remixes yet.');                         $R['user_fields'][] = array( 'label' => '', 
+                        $msg = $name . cct(' has not uploaded anything yet.');
+                        $R['user_fields'][] = array( 'label' => '', 
                                                       'value' => $msg );
                 }
             }
@@ -650,8 +651,10 @@
 
             CCPage::PageArg('artist_page',$username);
             CCFeeds::AddFeedLinks($username,'',cct('Uploads by ').$username);
-            CCFeeds::AddFeedLinks('','remixesof=' .$username,cct('Remixes of ').$username);
-            CCFeeds::AddFeedLinks('','remixedby=' .$username,cct('Remixed by ').$username);
+/* TODO:  Make remixes configurable so we can turn them off for ocal
+ *            CCFeeds::AddFeedLinks('','remixesof=' .$username,cct('Remixes of ').$username);
+ *            CCFeeds::AddFeedLinks('','remixedby=' .$username,cct('Remixed by ').$username);
+ */
 
             if( CCUser::IsAdmin() && !empty($_REQUEST['dump_rec']) )
                 CCDebug::PrintVar($records);
@@ -715,7 +718,7 @@
     * Event handler for getting renaming/id3 tagging macros
     *
     * @param array $record Record we're getting macros for (if null returns documentation)
-    * @param array $patterns Substituion pattern to be used when renaming/tagging
+    * @param array $patterns Substitution pattern to be used when renaming/tagging
     * @param array $mask Actual mask to use (based on admin specifications)
     */
     function OnGetMacros(&$record,&$file,&$patterns,&$mask)



More information about the clipart mailing list