Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-04-2008, 07:35 AM
Peterpan002 Peterpan002 is offline
 
Join Date: Jan 2008
Location: United Kingdom
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default [3.7.0 RC 2] Member Profile

Just started playing with the member profile page in 3.7 and need a little help with some alignment and section movements, which to me at least are not as obvious as I expected. Any help much appreciated. (see attached).

First How to center user profile picture, then the other marked design issues.
Attached Images
File Type: jpg Untitled.jpg (27.2 KB, 0 views)
Reply With Quote
  #2  
Old 04-04-2008, 08:39 PM
Peterpan002 Peterpan002 is offline
 
Join Date: Jan 2008
Location: United Kingdom
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just the centering of the profile picture now if anyone could point the way please
Reply With Quote
  #3  
Old 04-04-2008, 08:56 PM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<div align="center">Profile picture code</div>

I'm not sure of the exact code it uses, but if you search the template for something like pic or picture you'll find it i'm sure
Reply With Quote
  #4  
Old 04-04-2008, 09:42 PM
Peterpan002 Peterpan002 is offline
 
Join Date: Jan 2008
Location: United Kingdom
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks I tried that and didn't work
Reply With Quote
  #5  
Old 04-04-2008, 11:11 PM
cheat-master30's Avatar
cheat-master30 cheat-master30 is offline
 
Join Date: Mar 2007
Location: Information Classified
Posts: 1,715
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To remove reputation, try removing this:

Code:
 <div id="reputation">$prepared[reputationdisplay]</div>
Reply With Quote
  #6  
Old 04-05-2008, 09:34 AM
Peterpan002 Peterpan002 is offline
 
Join Date: Jan 2008
Location: United Kingdom
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks cheat master reps removed fine
Reply With Quote
  #7  
Old 04-09-2008, 12:29 AM
Peterpan002 Peterpan002 is offline
 
Join Date: Jan 2008
Location: United Kingdom
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still looking for some help to center the user profile picture - bump
Reply With Quote
  #8  
Old 06-05-2008, 05:54 PM
Peterpan002 Peterpan002 is offline
 
Join Date: Jan 2008
Location: United Kingdom
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone any ideas how you can center the profile picture in the memberinfo primary content container??
Reply With Quote
  #9  
Old 06-05-2008, 06:07 PM
Attitude5ire's Avatar
Attitude5ire Attitude5ire is offline
 
Join Date: Feb 2006
Posts: 791
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its not a line code fix.. you need to reorder the cells..
this is code for profile pic.

Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr>
                <if condition="$prepared['profilepicurl']">
                    <td id="profilepic_cell" class="tborder alt2"><img src="$prepared[profilepicurl]" $prepared[profilepicsize] alt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" /></td>
                </if>
                <td valign="top" width="100%" id="username_box"<if condition="$prepared['profilepicurl']"> class="profilepic_adjacent"</if>>
                    <if condition="$prepared['rank'] OR $prepared['reputationdisplay']">
                        <div id="reputation_rank">
                            <if condition="$prepared['reputationdisplay']">
                                <div id="reputation">$prepared[reputationdisplay]</div>
                            </if>
                            <if condition="$prepared['rank']">
                                <div id="rank">$prepared[rank]</div>
                            </if>
                        </div>
                    </if>
                    <h1>$prepared[musername] $prepared[onlinestatus]</h1>
                    <if condition="$prepared['usertitle']">
                        <h2>$prepared[usertitle]</h2>
                    </if>
                </td>
            </tr>
            </table>
You need to move the Profile pic cell after username, then it should place it in far right .. you then need to adjust cell size if you a want a perfect centered. simple position shifting this should do.

Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr>
                <td valign="top" width="100%" id="username_box"<if condition="$prepared['profilepicurl']"> class="profilepic_adjacent"</if>>
                    <if condition="$prepared['rank'] OR $prepared['reputationdisplay']">
                        <div id="reputation_rank">
                            <if condition="$prepared['reputationdisplay']">
                                <div id="reputation">$prepared[reputationdisplay]</div>
                            </if>
                            <if condition="$prepared['rank']">
                                <div id="rank">$prepared[rank]</div>
                            </if>
                        </div>
                    </if>
                    <h1>$prepared[musername] $prepared[onlinestatus]</h1>
                    <if condition="$prepared['usertitle']">
                        <h2>$prepared[usertitle]</h2>
                    </if>
                </td>
<if condition="$prepared['profilepicurl']">
                    <td id="profilepic_cell" class="tborder alt2"><img src="$prepared[profilepicurl]" $prepared[profilepicsize] alt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" /></td>
                </if>
            </tr>
            </table>
Reply With Quote
  #10  
Old 06-05-2008, 07:50 PM
Peterpan002 Peterpan002 is offline
 
Join Date: Jan 2008
Location: United Kingdom
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you that does help. Only my current code is structured slightly different, so may take a while to work out but your post was very helpful.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:21 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04595 seconds
  • Memory Usage 2,271KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete