Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Forum: Hacks
    In reply to: Profile modification
    Thread Starter engel31

    (@engel31)

    Hello bcworkz,

    No there is no sensitives informations. I just need a basis information from my tenant and landlord. That’s why I hide useless things like biography, aim, yahoo, profile color, admin bar etc. I wish a clear and easy interface profile for my user :).

    For sure I now that CSS hidding is not “secure”, but in my case I just that my users don’t fill useless form area that I will never see or use on my portal :)!

    Forum: Hacks
    In reply to: Profile modification
    Thread Starter engel31

    (@engel31)

    Hello Cerebros,

    Don’t worry ??
    I have created a website for my residence in France (for tenant and landlord).

    I have hide some profile’s parts for my users that is useless for them (biography, aim, yahoo and some others stuffs). And depend if the person is tenant or landlord, somes options are different.

    I wishes only the basis for the profile => Fast & Serious way to have the minimum requiered information
    You can see a picture here : https://drive.google.com/file/d/0B0hS_z3S37FfYm1WbU1JbFRMdlE/view?usp=sharing

    FYI, the green bar explain that all datas in the green field (email, mobile number, landline number, batiment number and flat number) will be published on the address book of the website (I do another page for that) !

    ??

    Forum: Hacks
    In reply to: Profile modification
    Thread Starter engel31

    (@engel31)

    Awesome trick! Thank you so much ThemeSumo!! ??

    Thread Starter engel31

    (@engel31)

    And the https://jsfiddle.net/1wrop86c/ jsfiddle link of the same infos!

    Thread Starter engel31

    (@engel31)

    Hello,

    I did it!

    Here is how I did it (Hope it gonna help someone later :)) :

    My “entry-content”

    <div class="entry-content">
    			<?php if ( has_post_thumbnail() ) : ?>
    			<?php $getposturl = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), false, '' );?>
    
    			<?php
    			if( class_exists('Dynamic_Featured_Image') ) {
    
    				global $dynamic_featured_image;
    				$featured_images = $dynamic_featured_image->get_featured_images(get_the_ID());
    
    				foreach( $featured_images as $image ) {
    				$getposturl_alt = "{$image['full']}";
    				}
    			}
    
    			?>
    
    			<div class="col span_1_of_4"><a href="<?php the_permalink(); ?>"><img src="<? echo $getposturl[0];?>" title="<?php the_title_attribute(); ?>" alt="<?php the_title_attribute(); ?>" onmouseover="this.src='<? echo $getposturl_alt;?>'" onmouseout="this.src='<? echo $getposturl[0];?>'" /></a>	</div>
    
    			<?php endif; ?>
                </div>

    CSS :

    /*  SECTIONS  */
    .section {
    	clear: both;
    	padding: 0px;
    	margin: 0px;
    }
    
    /*  COLUMN SETUP  */
    .col {
    	display: block;
    	float:left;
    	margin: 1% 0 0.5% 2%;
    }
    .col:first-child {margin-left: 13px; }
    
    /*  GROUPING  */
    .group:before,
    .group:after { content:""; display:table; }
    .group:after { clear:both;}
    .group { zoom:1; /* For IE 6/7 */ }
    /*  GRID OF FOUR  */
    .span_4_of_4 {
    	width: 100%;
    }
    .span_3_of_4 {
    	width: 74.6%;
    }
    .span_2_of_4 {
    	width: 49.2%;
    }
    .span_1_of_4 {
    	width: 23.8%;
    }
    
    /*  GO FULL WIDTH BELOW 480 PIXELS */
    @media only screen and (max-width: 480px) {
    	.col {  margin: auto; }
    	.span_1_of_4, .span_2_of_4, .span_3_of_4, .span_4_of_4 { width: 100%; }
    }
    
     .fadepict {
            position: relative;
    
        }
        .fadepict img {
    		position: absolute;
        transition: opacity .5s ease;
    
        }
        .fadepict img:hover {
          opacity: 0;
        }

    Thread Starter engel31

    (@engel31)

    Hello bcworkz,

    Thanks you so much for your reply! With the guidelines you gave me, I’am gonna try to achieve this !

    Thanks you so much!

    Hello,

    Edit people-lists.php. At around line 841.
    Change $html = '<div class="person">';
    by $html = '<div class="person" style=";float:left">';

    After that modify your template to fit the width of the page and that’s all. DONT FORGET to add a left margin! Here is one of my template for my residence (this is an adressbook)

    <div style="background-color:#FDC97D; margin-right:10px;margin-bottom:10px;width:270px; height:115px; border:1px solid black" >
    <div style="position:relative;float:left;margin-top:5px;margin-left:5px;">%thumbnail%</div>
    <div style="position:relative;padding-top:5px;margin-left:95px;height:15px;width:100%;"><font size="2.9"><strong>%firstname% %lastname%</strong></font>
    	<font size="2.5">Batiment %people_lists_votre_b_timent__juste_la_lettre_% - APPT %people_lists_votre_appartement__juste_le_num_ro_% 
    
    %people_lists_num_ro_de_mobile__sera_dans_l_annuaire_%
    	%people_lists_num_ro_de_fixe__sera_dans_l_annuaire_%
    	%people_lists_votre_email__sera_dans_l_annuaire_%</font></div>
    </div>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    Hi,
    Same problem since my update in version 1.3.10! I discover this topic this morning after reading your problem.

    found a workaround. I have a conflict with a plugin who use in same time JQuery. I disabled temporary the “All-in-One Event Calendar” plugin. And now I can modify my template. After this step I re-enabled the plugin.
    I should do this each time I need to modify my template BUT it’s working… Waiting an update ??

Viewing 8 replies - 1 through 8 (of 8 total)