[wp-hackers] (no subject)

Daniel Fenn danielx386 at gmail.com
Fri Nov 18 06:52:05 UTC 2011


Hello,

The idea of it is to get all the messages in one email every day
instead of getting an email everytime someone send a message to the
mailing list.

I hope I've explained it.

On 18/11/2011, VIJAY VERMA <vijayverma2011 at hotmail.com> wrote:
>
>
> Hi, I could not understand the purpose of the we-hackers list updates.
> Could I know how it is useful to the subscribers? Regards
> VIJAY
>
>
>> From: wp-hackers-request at lists.automattic.com
>> Subject: wp-hackers Digest, Vol 82, Issue 39
>> To: wp-hackers at lists.automattic.com
>> Date: Thu, 17 Nov 2011 16:37:14 +0000
>>
>> Send wp-hackers mailing list submissions to
>> 	wp-hackers at lists.automattic.com
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	http://lists.automattic.com/mailman/listinfo/wp-hackers
>> or, via email, send a message with subject or body 'help' to
>> 	wp-hackers-request at lists.automattic.com
>>
>> You can reach the person managing the list at
>> 	wp-hackers-owner at lists.automattic.com
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of wp-hackers digest..."
>>
>>
>> Today's Topics:
>>
>>    1. Re: CPT VS Plugin (Leo Baiano)
>>    2. Re: CPT VS Plugin (Caio Rogerio Ribeiro)
>>    3. Re: Auto creating custom menu (Tom Barrett)
>>    4. Re: Auto creating custom menu (Christian Wach)
>>    5. Forking Hyper Cache to be *more* WPMU friendly (Vitor Carvalho)
>>    6. Re: Auto creating custom menu (Tom Barrett)
>>    7. Re: CPT VS Plugin (Leo Baiano)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Thu, 17 Nov 2011 11:05:54 -0200
>> From: Leo Baiano <ljunior2005 at gmail.com>
>> Subject: Re: [wp-hackers] CPT VS Plugin
>> To: wp-hackers at lists.automattic.com
>> Message-ID:
>> 	<CAL1O-KX_UJ-bUjQp_aNV5EBnbm-FFyswN+fKJDSudS=b_56G_Q at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Paul, many thanks for the references I read carefully. Carl, I have
>> the EER but all in Portuguese, help?
>>
>> 2011/11/17 Caio Rogerio Ribeiro <caiorogerio at gmail.com>
>>
>> > Leo,
>> >
>> > Do you have some diagram of this schema to send us, for me it sound
>> > like strange...
>> >
>> > Caio Rogerio
>> >
>> > Enviado via iPhone
>> >
>> > Em 16/11/2011, ?s 18:55, Leo Baiano <ljunior2005 at gmail.com> escreveu:
>> >
>> > >>> You can make the URLs however you want with a little PHP coding
>> > >>> effort.
>> > >
>> > > First desclpa difficulty in expressing myself, my English is not
>> > > great.
>> > >
>> > > So, with respect to friendly URL's I think would have to use PHP
>> > > and. Htaccess, WP already has some rules in. Htaccess and my concern
>> > > is
>> > to
>> > > generate conflict between the rules.
>> > >
>> > > Thanks for listening, I'm starting to lean the construction based
>> > > on CPT right, I'm riding a diagram here on this basis to have a better
>> > idea
>> > > of what will be.
>> > >
>> > > 2011/11/16 Mike Schinkel <mikeschinkel at newclarity.net>
>> > >
>> > >> On Nov 16, 2011, at 3:06 PM, Leo Baiano wrote:
>> > >>> Mike Oops, I understood everything you said but I got the impression
>> > >>> that the structure will be a little complex,
>> > >>
>> > >> Your requirements are also a little complex.
>> > >>
>> > >>> it may be difficult to
>> > >>> organize so that the customer can create relations in a simple and,
>> > above
>> > >>> all, relationships between the entities will becomes poor.
>> > >>
>> > >> Depends on your implementation skills.  For some people, yes, very
>> > >> difficult.
>> > >>
>> > >>> You suggested using post_parent for one to many relationships, but I
>> > >> would
>> > >>> not be as simple as not always the same entities are part of the
>> > >>> CPT.
>> > >> For example,
>> > >>> course and class have a one to many relationship, because one can
>> > >>> have an ongoing series ofclasses, but I can not change any of
>> > >>> the taxonomies of two, soon they would have to be TLC, as I would
>> > >>> say
>> > >>> that a post is class CPTson of a post of the CPT course? Is it
>> > possible?
>> > >>
>> > >> I realize that English is not your primary language and since I can
>> > >> only
>> > >> speak English I appreciate how a 2nd language is difficult, but still
>> > that
>> > >> paragraph is incomplete so I don't know what you meant, and I don't
>> > >> recognize "TLC."
>> > >>
>> > >>> The CPT is a good alternative, but would be back one of doubts
>> > >>> and difficulties in connecting the entities that worry me, because
>> > >>> it
>> > >>> can become too complicated to list the information in front
>> > >>> and in back manage.
>> > >>
>> > >> I just explained how I would do it to try to help you. If you dislike
>> > the
>> > >> suggestions I'm sure you can come up with other ways that work for
>> > >> you.
>> > >>
>> > >>> The alternative of creating the tables behind the advantage of
>> > >>> having
>> > the
>> > >>> freedom to shape the bank, but I worry about the URL's as you would
>> > >>> to
>> > >>> generate the URLs in a friendly, following the pattern of the site?
>> > >>
>> > >> You can make the URLs however you want with a little PHP coding
>> > >> effort.
>> > >>
>> > >> -Mike
>> > >> _______________________________________________
>> > >> wp-hackers mailing list
>> > >> wp-hackers at lists.automattic.com
>> > >> http://lists.automattic.com/mailman/listinfo/wp-hackers
>> > >>
>> > >
>> > >
>> > >
>> > > --
>> > > Amplexos,
>> > >
>> > > Leo Baiano
>> > > http://www.leobaiano.com
>> > > http://www.blog.ljunior.com
>> > > http://www.mcelebridades.com
>> > > http://www.twitter.com/leobaiano
>> > > _______________________________________________
>> > > wp-hackers mailing list
>> > > wp-hackers at lists.automattic.com
>> > > http://lists.automattic.com/mailman/listinfo/wp-hackers
>> > _______________________________________________
>> > wp-hackers mailing list
>> > wp-hackers at lists.automattic.com
>> > http://lists.automattic.com/mailman/listinfo/wp-hackers
>> >
>>
>>
>>
>> --
>> Amplexos,
>>
>> Leo Baiano
>> http://www.leobaiano.com
>> http://www.blog.ljunior.com
>> http://www.mcelebridades.com
>> http://www.twitter.com/leobaiano
>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Thu, 17 Nov 2011 11:23:30 -0200
>> From: Caio Rogerio Ribeiro <caiorogerio at gmail.com>
>> Subject: Re: [wp-hackers] CPT VS Plugin
>> To: "wp-hackers at lists.automattic.com"
>> 	<wp-hackers at lists.automattic.com>
>> Message-ID: <3327405740465763836 at unknownmsgid>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Sure it helps, send us
>>
>> Enviado via iPhone
>>
>> Em 17/11/2011, ?s 11:06, Leo Baiano <ljunior2005 at gmail.com> escreveu:
>>
>> > Paul, many thanks for the references I read carefully. Carl, I have
>> > the EER but all in Portuguese, help?
>> >
>> > 2011/11/17 Caio Rogerio Ribeiro <caiorogerio at gmail.com>
>> >
>> >> Leo,
>> >>
>> >> Do you have some diagram of this schema to send us, for me it sound
>> >> like strange...
>> >>
>> >> Caio Rogerio
>> >>
>> >> Enviado via iPhone
>> >>
>> >> Em 16/11/2011, ?s 18:55, Leo Baiano <ljunior2005 at gmail.com> escreveu:
>> >>
>> >>>>> You can make the URLs however you want with a little PHP coding
>> >>>>> effort.
>> >>>
>> >>> First desclpa difficulty in expressing myself, my English is not
>> >>> great.
>> >>>
>> >>> So, with respect to friendly URL's I think would have to use PHP
>> >>> and. Htaccess, WP already has some rules in. Htaccess and my concern
>> >>> is
>> >> to
>> >>> generate conflict between the rules.
>> >>>
>> >>> Thanks for listening, I'm starting to lean the construction based
>> >>> on CPT right, I'm riding a diagram here on this basis to have a better
>> >> idea
>> >>> of what will be.
>> >>>
>> >>> 2011/11/16 Mike Schinkel <mikeschinkel at newclarity.net>
>> >>>
>> >>>> On Nov 16, 2011, at 3:06 PM, Leo Baiano wrote:
>> >>>>> Mike Oops, I understood everything you said but I got the impression
>> >>>>> that the structure will be a little complex,
>> >>>>
>> >>>> Your requirements are also a little complex.
>> >>>>
>> >>>>> it may be difficult to
>> >>>>> organize so that the customer can create relations in a simple and,
>> >> above
>> >>>>> all, relationships between the entities will becomes poor.
>> >>>>
>> >>>> Depends on your implementation skills.  For some people, yes, very
>> >>>> difficult.
>> >>>>
>> >>>>> You suggested using post_parent for one to many relationships, but I
>> >>>> would
>> >>>>> not be as simple as not always the same entities are part of the
>> >>>>> CPT.
>> >>>> For example,
>> >>>>> course and class have a one to many relationship, because one can
>> >>>>> have an ongoing series ofclasses, but I can not change any of
>> >>>>> the taxonomies of two, soon they would have to be TLC, as I would
>> >>>>> say
>> >>>>> that a post is class CPTson of a post of the CPT course? Is it
>> >> possible?
>> >>>>
>> >>>> I realize that English is not your primary language and since I can
>> >>>> only
>> >>>> speak English I appreciate how a 2nd language is difficult, but still
>> >> that
>> >>>> paragraph is incomplete so I don't know what you meant, and I don't
>> >>>> recognize "TLC."
>> >>>>
>> >>>>> The CPT is a good alternative, but would be back one of doubts
>> >>>>> and difficulties in connecting the entities that worry me, because
>> >>>>> it
>> >>>>> can become too complicated to list the information in front
>> >>>>> and in back manage.
>> >>>>
>> >>>> I just explained how I would do it to try to help you. If you dislike
>> >> the
>> >>>> suggestions I'm sure you can come up with other ways that work for
>> >>>> you.
>> >>>>
>> >>>>> The alternative of creating the tables behind the advantage of
>> >>>>> having
>> >> the
>> >>>>> freedom to shape the bank, but I worry about the URL's as you would
>> >>>>> to
>> >>>>> generate the URLs in a friendly, following the pattern of the site?
>> >>>>
>> >>>> You can make the URLs however you want with a little PHP coding
>> >>>> effort.
>> >>>>
>> >>>> -Mike
>> >>>> _______________________________________________
>> >>>> wp-hackers mailing list
>> >>>> wp-hackers at lists.automattic.com
>> >>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>> >>>>
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> Amplexos,
>> >>>
>> >>> Leo Baiano
>> >>> http://www.leobaiano.com
>> >>> http://www.blog.ljunior.com
>> >>> http://www.mcelebridades.com
>> >>> http://www.twitter.com/leobaiano
>> >>> _______________________________________________
>> >>> wp-hackers mailing list
>> >>> wp-hackers at lists.automattic.com
>> >>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>> >> _______________________________________________
>> >> wp-hackers mailing list
>> >> wp-hackers at lists.automattic.com
>> >> http://lists.automattic.com/mailman/listinfo/wp-hackers
>> >>
>> >
>> >
>> >
>> > --
>> > Amplexos,
>> >
>> > Leo Baiano
>> > http://www.leobaiano.com
>> > http://www.blog.ljunior.com
>> > http://www.mcelebridades.com
>> > http://www.twitter.com/leobaiano
>> > _______________________________________________
>> > wp-hackers mailing list
>> > wp-hackers at lists.automattic.com
>> > http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Thu, 17 Nov 2011 14:33:16 +0000
>> From: Tom Barrett <tcbarrett at gmail.com>
>> Subject: Re: [wp-hackers] Auto creating custom menu
>> To: wp-hackers at lists.automattic.com
>> Message-ID:
>> 	<CAEgmxaYNgPLuPM+h+1xZW4jheOp3hti0ZuUEmEgC_L5y+vBupg at mail.gmail.com>
>> Content-Type: text/plain; charset=UTF-8
>>
>> Thanks Doug.
>>
>> The code I am using does work. The problem is that it won't add the pages
>> to the menu, unless I am logged in. Most likely this is me falling foul of
>> the 'edit_posts' capability again.
>>
>> Tom
>>
>> On 16 November 2011 16:42, Doug Stewart <zamoose at gmail.com> wrote:
>>
>> > Here's what I do to set up a custom BuddyPress menu when I detect BP
>> > as active. It seems pretty close to what you're doing. Maybe it'll
>> > help.
>> >
>> >        $menuname = $lblg_themename . ' BuddyPress Menu';
>> >        $bpmenulocation = 'lblgbpmenu';
>> >        // Does the menu exist already?
>> >        $menu_exists = wp_get_nav_menu_object( $menuname );
>> >
>> >        // If it doesn't exist, let's create it.
>> >        if( !$menu_exists){
>> >                $menu_id = wp_create_nav_menu($menuname);
>> >
>> >                // Set up default BuddyPress links and add them to the
>> > menu.
>> >                wp_update_nav_menu_item($menu_id, 0, array(
>> >                    'menu-item-title' =>  __('Home'),
>> >                    'menu-item-classes' => 'home',
>> >                    'menu-item-url' => home_url( '/' ),
>> >                    'menu-item-status' => 'publish'));
>> >
>> >                wp_update_nav_menu_item($menu_id, 0, array(
>> >                    'menu-item-title' =>  __('Activity'),
>> >                    'menu-item-classes' => 'activity',
>> >                    'menu-item-url' => home_url( '/activity/' ),
>> >                    'menu-item-status' => 'publish'));
>> >
>> >                wp_update_nav_menu_item($menu_id, 0, array(
>> >                    'menu-item-title' =>  __('Members'),
>> >                    'menu-item-classes' => 'members',
>> >                    'menu-item-url' => home_url( '/members/' ),
>> >                    'menu-item-status' => 'publish'));
>> >
>> >                wp_update_nav_menu_item($menu_id, 0, array(
>> >                    'menu-item-title' =>  __('Groups'),
>> >                    'menu-item-classes' => 'groups',
>> >                    'menu-item-url' => home_url( '/groups/' ),
>> >                    'menu-item-status' => 'publish'));
>> >
>> >                wp_update_nav_menu_item($menu_id, 0, array(
>> >                    'menu-item-title' =>  __('Forums'),
>> >                    'menu-item-classes' => 'forums',
>> >                    'menu-item-url' => home_url( '/forums/' ),
>> >                    'menu-item-status' => 'publish'));
>> >
>> >                // Grab the theme locations and assign our newly-created
>> > menu
>> >                // to the BuddyPress menu location.
>> >                if( !has_nav_menu( $bpmenulocation ) ){
>> >                        $locations = get_theme_mod('nav_menu_locations');
>> >                        $locations[$bpmenulocation] = $menu_id;
>> >                        set_theme_mod( 'nav_menu_locations', $locations
>> > );
>> >                 }
>> >
>> >        }
>> >
>> > On Wed, Nov 16, 2011 at 7:14 AM, Tom Barrett <tcbarrett at gmail.com>
>> > wrote:
>> > > I am building a WordPress 'deployment system'. As part of this, I
>> > > want:
>> > 1)
>> > > install and activate a theme 2) create some pages 3) Add a custom menu
>> > with
>> > > those pages. The first two steps are fine, and I can create the custom
>> > > menu. But I cannot get the pages into the menu.
>> > >
>> > > How the automated part works, is that it creates wp-config.php file,
>> > > and
>> > a
>> > > PHP script in wp-admin that installs WordPress (calling wp_install()
>> > > e.t.c). It then calls an action hook that is added in the theme's
>> > > files.
>> > >
>> > > Something a bit like this:
>> > >
>> > > <?php
>> > > // Script in wp-admin
>> > > require_once( '../wp-load.php' );
>> > > require_once( './includes/upgrade.php' );
>> > > wp_install( ..... );
>> > > do_action( 'setup_wordpress' );
>> > > ?>
>> > >
>> > > <?php
>> > > // Theme functions.php file
>> > > add_action( 'setup_wordpress', 'do_setup_wordpress' );
>> > > function do_setup_wordpress(){
>> > >  $mypages    = make_three_pages_and_return_their_post_id(); // returns
>> > > array( [0]=>3, [1]=>4, [2]=>5 )
>> > >  $mymenuname = 'My Menu';
>> > >  wp_create_nav_menu( $mymenuname );
>> > >  $menu       = get_term_by( 'name', $mymenuname, 'nav_menu' );
>> > >  $menu_id    = $menu->term_id;
>> > >
>> > >  foreach( $mypages as $page_id ){
>> > >    $args = array(
>> > >      'menu-item-object-id' => $page_id,
>> > >      'menu-item-object'    => 'page',
>> > >      'menu-item-type'      => 'post_type',
>> > >      'menu-item-status'    => 'publish',
>> > >    );
>> > >    $menu_item_id = wp_update_nav_menu_item( $menu_id, 0, $args );
>> > >  }
>> > > }
>> > > ?>
>> > >
>> > > It does everything except put the pages in the menu. The code works if
>> > > I
>> > > trigger it through browsing the site. EG: add_action( 'admin_init',
>> > > 'do_setup_wordpress' ); (This is how I developed it initially).
>> > >
>> > > The $menu_item_id variable gets a value (usually 6,7,8).
>> > >
>> > > Any ideas what I'm missing or not doing? Am I just being crazy?
>> > >
>> > >
>> > >
>> > > --
>> > > http://www.tcbarrett.com | http://gplus.to/tcbarrett |
>> > > http://twitter.com/tcbarrett
>> > > _______________________________________________
>> > > wp-hackers mailing list
>> > > wp-hackers at lists.automattic.com
>> > > http://lists.automattic.com/mailman/listinfo/wp-hackers
>> > >
>> >
>> >
>> >
>> > --
>> > -Doug
>> > _______________________________________________
>> > wp-hackers mailing list
>> > wp-hackers at lists.automattic.com
>> > http://lists.automattic.com/mailman/listinfo/wp-hackers
>> >
>>
>>
>>
>> --
>> http://www.tcbarrett.com | http://gplus.to/tcbarrett |
>> http://twitter.com/tcbarrett
>>
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Thu, 17 Nov 2011 14:58:03 +0000
>> From: Christian Wach <needle at haystack.co.uk>
>> Subject: Re: [wp-hackers] Auto creating custom menu
>> To: wp-hackers at lists.automattic.com
>> Message-ID: <0092769E-80AB-45FC-B7A8-6C1F8118F93E at haystack.co.uk>
>> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>>
>> Hi Tom,
>>
>> On 17 Nov 2011, at 14:33, Tom Barrett wrote:
>>
>> > The problem is that it won't add the pages to the menu, unless I am
>> > logged in. Most likely this is me falling foul of the 'edit_posts'
>> > capability again.
>>
>> Then how about forcing a login before you call
>> do_action( 'setup_wordpress' )?
>> Something like...
>>
>> $user = get_userdatabylogin( $username );
>> if ( is_object( $user ) ) {
>>    // login procedure
>>    wp_set_current_user( $user->ID, $username );
>>    wp_set_auth_cookie( $user->ID );
>>    do_action( 'wp_login', $username );
>> }
>>
>> Cheers,
>>
>> Christian
>>
>>
>>
>> ------------------------------
>>
>> Message: 5
>> Date: Thu, 17 Nov 2011 15:36:20 +0000
>> From: Vitor Carvalho <lightningspirit at gmail.com>
>> Subject: [wp-hackers] Forking Hyper Cache to be *more* WPMU friendly
>> To: wp-hackers at lists.automattic.com
>> Message-ID:
>> 	<CAKuacB-mz30w61-UmOBO2JoWjM_dd4Wtvz2m-jX2nnpj6xM5Fw at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Hi all,
>>
>> I'm trying to fork Hyper Cache plugin to be used in WPMU but I have a few
>> questions about the WP load order.
>>
>> My idea is to individualize all options for each assigned blog, thus
>> one accessing a blog this plugin could provide a independent configuration
>> based on blog_id. I think this can be usefull for MU installations.
>>
>> Another problem with Hyper Cache is that, clearing cache files will clear
>> ALL cache for ALL blogs an not just the one we expected.
>>
>> So, my changes would be:
>> 1. At load time, provide plugin the blog_id and get options from database
>> or a config file.
>> 2. The cache directory inside wp-content/blogs.dir/blog_id/cache/* instead
>> of wp-content/cache/*, so plugin only clears the cache files for that
>> blog.
>>
>> Some considerations and doubts
>> 1. What do you think about retrieving options from database. Do you think
>> some performance will be lost?
>> 2. Where advanced-cache.php is loaded in WP, before or after init action?
>>
>> Hope someone can help me!
>>
>> --
>>
>> --
>> Por favor n?o mostre a outros os endere?os electr?nicos dos seus amigos.
>> Quando reenviar uma mensagem, escreva os endere?os em BCC ou em CCO (c?pia
>> oculta). Apague qualquer endere?o que exista no corpo da mensagem antes de
>> enviar.
>> Esta ac??o dificulta a dissemina??o de v?rus, spams e banners.
>>
>> --
>> Please do not show to others e-mail addresses of your friends.
>> When forwarding a message, type the addresses in BCC (blind carbon copy).
>> Delete any address that exists in the message body before sending.
>> This action hinders the spread of viruses, spam and banners.
>>
>> Vitor Carvalho
>> *Wordpress Designer, Web Developer*
>> http://lightningspirit.net
>> Lisbon, Portugal
>>
>>
>> ------------------------------
>>
>> Message: 6
>> Date: Thu, 17 Nov 2011 15:57:06 +0000
>> From: Tom Barrett <tcbarrett at gmail.com>
>> Subject: Re: [wp-hackers] Auto creating custom menu
>> To: wp-hackers at lists.automattic.com
>> Message-ID:
>> 	<CAEgmxaZC02BbA=E9EKOMfKt57PsVCVYJGutj490J4B1k=eAxYg at mail.gmail.com>
>> Content-Type: text/plain; charset=UTF-8
>>
>> Hi Christian,
>>
>>  The problem is that it won't add the pages to the menu, unless I am
>> logged
>> >> in. Most likely this is me falling foul of the 'edit_posts' capability
>> >> again.
>> >>
>> >
>> > Then how about forcing a login before you call do_action(
>> > 'setup_wordpress' )?
>> > Something like...
>> >
>> > $user = get_userdatabylogin( $username );
>> > if ( is_object( $user ) ) {
>> >  // login procedure
>> >  wp_set_current_user( $user->ID, $username );
>> >  wp_set_auth_cookie( $user->ID );
>> >  do_action( 'wp_login', $username );
>> > }
>> >
>>
>> Abso-super-smashing-great. Thank you, works a treat.
>>
>> --
>> http://www.tcbarrett.com | http://gplus.to/tcbarrett |
>> http://twitter.com/tcbarrett
>>
>>
>> ------------------------------
>>
>> Message: 7
>> Date: Thu, 17 Nov 2011 14:37:12 -0200
>> From: Leo Baiano <ljunior2005 at gmail.com>
>> Subject: Re: [wp-hackers] CPT VS Plugin
>> To: wp-hackers at lists.automattic.com
>> Message-ID:
>> 	<CAL1O-KU6imdG8aN+aj929=7hOuPJwmvbg8znGyF_UhTWqoc78g at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Attached is a PNG EER, any suggestion of structure will be very welcome.
>>
>> 2011/11/17 Caio Rogerio Ribeiro <caiorogerio at gmail.com>
>>
>> > Sure it helps, send us
>> >
>> > Enviado via iPhone
>> >
>> > Em 17/11/2011, ?s 11:06, Leo Baiano <ljunior2005 at gmail.com> escreveu:
>> >
>> > > Paul, many thanks for the references I read carefully. Carl, I have
>> > > the EER but all in Portuguese, help?
>> > >
>> > > 2011/11/17 Caio Rogerio Ribeiro <caiorogerio at gmail.com>
>> > >
>> > >> Leo,
>> > >>
>> > >> Do you have some diagram of this schema to send us, for me it sound
>> > >> like strange...
>> > >>
>> > >> Caio Rogerio
>> > >>
>> > >> Enviado via iPhone
>> > >>
>> > >> Em 16/11/2011, ?s 18:55, Leo Baiano <ljunior2005 at gmail.com> escreveu:
>> > >>
>> > >>>>> You can make the URLs however you want with a little PHP coding
>> > effort.
>> > >>>
>> > >>> First desclpa difficulty in expressing myself, my English is not
>> > >>> great.
>> > >>>
>> > >>> So, with respect to friendly URL's I think would have to use PHP
>> > >>> and. Htaccess, WP already has some rules in. Htaccess and my concern
>> > >>> is
>> > >> to
>> > >>> generate conflict between the rules.
>> > >>>
>> > >>> Thanks for listening, I'm starting to lean the construction based
>> > >>> on CPT right, I'm riding a diagram here on this basis to have a
>> > >>> better
>> > >> idea
>> > >>> of what will be.
>> > >>>
>> > >>> 2011/11/16 Mike Schinkel <mikeschinkel at newclarity.net>
>> > >>>
>> > >>>> On Nov 16, 2011, at 3:06 PM, Leo Baiano wrote:
>> > >>>>> Mike Oops, I understood everything you said but I got the
>> > >>>>> impression
>> > >>>>> that the structure will be a little complex,
>> > >>>>
>> > >>>> Your requirements are also a little complex.
>> > >>>>
>> > >>>>> it may be difficult to
>> > >>>>> organize so that the customer can create relations in a simple
>> > >>>>> and,
>> > >> above
>> > >>>>> all, relationships between the entities will becomes poor.
>> > >>>>
>> > >>>> Depends on your implementation skills.  For some people, yes, very
>> > >>>> difficult.
>> > >>>>
>> > >>>>> You suggested using post_parent for one to many relationships, but
>> > >>>>> I
>> > >>>> would
>> > >>>>> not be as simple as not always the same entities are part of the
>> > >>>>> CPT.
>> > >>>> For example,
>> > >>>>> course and class have a one to many relationship, because one can
>> > >>>>> have an ongoing series ofclasses, but I can not change any of
>> > >>>>> the taxonomies of two, soon they would have to be TLC, as I would
>> > >>>>> say
>> > >>>>> that a post is class CPTson of a post of the CPT course? Is it
>> > >> possible?
>> > >>>>
>> > >>>> I realize that English is not your primary language and since I can
>> > only
>> > >>>> speak English I appreciate how a 2nd language is difficult, but
>> > >>>> still
>> > >> that
>> > >>>> paragraph is incomplete so I don't know what you meant, and I don't
>> > >>>> recognize "TLC."
>> > >>>>
>> > >>>>> The CPT is a good alternative, but would be back one of doubts
>> > >>>>> and difficulties in connecting the entities that worry me, because
>> > >>>>> it
>> > >>>>> can become too complicated to list the information in front
>> > >>>>> and in back manage.
>> > >>>>
>> > >>>> I just explained how I would do it to try to help you. If you
>> > >>>> dislike
>> > >> the
>> > >>>> suggestions I'm sure you can come up with other ways that work for
>> > you.
>> > >>>>
>> > >>>>> The alternative of creating the tables behind the advantage of
>> > >>>>> having
>> > >> the
>> > >>>>> freedom to shape the bank, but I worry about the URL's as you
>> > >>>>> would
>> > to
>> > >>>>> generate the URLs in a friendly, following the pattern of the
>> > >>>>> site?
>> > >>>>
>> > >>>> You can make the URLs however you want with a little PHP coding
>> > effort.
>> > >>>>
>> > >>>> -Mike
>> > >>>> _______________________________________________
>> > >>>> wp-hackers mailing list
>> > >>>> wp-hackers at lists.automattic.com
>> > >>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>> > >>>>
>> > >>>
>> > >>>
>> > >>>
>> > >>> --
>> > >>> Amplexos,
>> > >>>
>> > >>> Leo Baiano
>> > >>> http://www.leobaiano.com
>> > >>> http://www.blog.ljunior.com
>> > >>> http://www.mcelebridades.com
>> > >>> http://www.twitter.com/leobaiano
>> > >>> _______________________________________________
>> > >>> wp-hackers mailing list
>> > >>> wp-hackers at lists.automattic.com
>> > >>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>> > >> _______________________________________________
>> > >> wp-hackers mailing list
>> > >> wp-hackers at lists.automattic.com
>> > >> http://lists.automattic.com/mailman/listinfo/wp-hackers
>> > >>
>> > >
>> > >
>> > >
>> > > --
>> > > Amplexos,
>> > >
>> > > Leo Baiano
>> > > http://www.leobaiano.com
>> > > http://www.blog.ljunior.com
>> > > http://www.mcelebridades.com
>> > > http://www.twitter.com/leobaiano
>> > > _______________________________________________
>> > > wp-hackers mailing list
>> > > wp-hackers at lists.automattic.com
>> > > http://lists.automattic.com/mailman/listinfo/wp-hackers
>> > _______________________________________________
>> > wp-hackers mailing list
>> > wp-hackers at lists.automattic.com
>> > http://lists.automattic.com/mailman/listinfo/wp-hackers
>> >
>>
>>
>>
>> --
>> Amplexos,
>>
>> Leo Baiano
>> http://www.leobaiano.com
>> http://www.blog.ljunior.com
>> http://www.mcelebridades.com
>> http://www.twitter.com/leobaiano
>>
>> ------------------------------
>>
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>>
>> End of wp-hackers Digest, Vol 82, Issue 39
>> ******************************************
>  		 	   		
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list