[SMF] [Addons] Postprofil
Results 1 to 17 of 17
  1. #1
    Senior Member Array
    Join Date
    May 2009
    Karma
    12

    Default [Addons] Postprofil

    Napomena: OVO JE SAMO ZA SMF 1.1.X !

    U style.css na kraju dodajte:

    Code:
    .topuser
    { 
    	 padding-top: 20px;
    	 padding-right: 10px;
    	 padding-bottom: 10px;
    	 padding-left: 15px;
    	 background:url(images/userdetails/top.png) no-repeat scroll 0 0 transparent;
    	 margin:0;
    	 width:400px:
    }
    
    
    .centeruser 
    { 
    	 padding-top: 5px;
    	 padding-right: 10px;
    	 padding-bottom: 3px;
    	 padding-left: 15px;
    	 background-attachment:scroll; 
    	 background-color:transparent; 
    	 background-image:url(images/userdetails/center.png); 
    	 background-position:0 0; 
    	 background-repeat:repeat-y; 
    	 margin:0; 
    	 width:400px:
    }
    
    .bottomuser
    { 
    	 padding-top: 8px;
    	 padding-right: 10px;
    	 padding-bottom: 38px;
    	 padding-left: 15px;
    	 background:url(images/userdetails/bottom.png) no-repeat scroll 0 0 transparent; 
    	 height:20px; 
    	 margin:0; 
    	 width:400px:
    	 text-decoration: bold underline;
    }
    Posle toga, otvorite Display.template.php i idemo

    Nadjite:


    Code:
    		// Show information about the poster of this message.
    		echo '
                  <table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
    					<tr>
    						<td valign="top" width="16%" rowspan="2" align="center" style="overflow: hidden;">
    							<b>', $message['member']['link'], '</b>
    							<div class="smalltext">';
    Zamenite sa:

    Code:
    		// Show information about the poster of this message.
    		echo '
                  <table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
    					<tr>
    						<td valign="top" width="16%" rowspan="2" align="center" style="overflow: hidden;">
    							<div class="topuser"><b>', $message['member']['link'], '</b></div>
    							<div class="smalltext">';
    Nadjite:

    Code:
    		// Show the member's custom title, if they have one.
    		if (isset($message['member']['title']) && $message['member']['title'] != '')
    			echo '
    								', $message['member']['title'], '<br />';
    Zamenite sa:

    Code:
    		// Show the member's custom title, if they have one.
    		if (isset($message['member']['title']) && $message['member']['title'] != '')
    			echo '
    								<div class="centeruser">', $message['member']['title'], '</div>';
    Nadjite:

    Code:
    		// Show the member's primary group (like 'Administrator') if they have one.
    		if (isset($message['member']['group']) && $message['member']['group'] != '')
    			echo '
    								', $message['member']['group'], '<br />';
    Zamenite sa:

    Code:
    		// Show the member's primary group (like 'Administrator') if they have one.
    		if (isset($message['member']['group']) && $message['member']['group'] != '')
    			echo '
    								<div class="centeruser">', $message['member']['group'], '</div>';
    Nadjite:

    Code:
    		// Don't show these things for guests.
    		if (!$message['member']['is_guest'])
    		{
    			// Show the post group if and only if they have no other group or the option is on, and they are in a post group.
    			if ((empty($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '')
    				echo '
    								', $message['member']['post_group'], '<br />';
    			echo '
    								', $message['member']['group_stars'], '<br />';
    Zamenite sa:

    Code:
    		// Don't show these things for guests.
    		if (!$message['member']['is_guest'])
    		{
    			// Show the post group if and only if they have no other group or the option is on, and they are in a post group.
    			if ((empty($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '')
    				echo '
    								<div class="centeruser">', $message['member']['post_group'], '</div>';
    			echo '
    								<div class="centeruser">', $message['member']['group_stars'], '</div>';

    Nadjite:

    Code:
    			// Is karma display enabled?  Total or +/-?
    			if ($modSettings['karmaMode'] == '1')
    				echo '
    								<br />
    								', $modSettings['karmaLabel'], ' ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '<br />';
    			elseif ($modSettings['karmaMode'] == '2')
    				echo '
    								<br />
    								', $modSettings['karmaLabel'], ' +', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '<br />';
    Zamenite sa:

    Code:
    			// Is karma display enabled?  Total or +/-?
    			if ($modSettings['karmaMode'] == '1')
    				echo '
    								<br />
    								<div class="centeruser">', $modSettings['karmaLabel'], ' ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '</div>';
    			elseif ($modSettings['karmaMode'] == '2')
    				echo '
    								<br />
    								<div class="centeruser">', $modSettings['karmaLabel'], ' +', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '</div>';
    Nadjite:

    Code:
    			// Show online and offline buttons?
    			if (!empty($modSettings['onlineEnable']) && !$message['member']['is_guest'])
    				echo '
    								', $context['can_send_pm'] ? '<a href="' . $message['member']['online']['href'] . '" title="' . $message['member']['online']['label'] . '">' : '', $settings['use_image_buttons'] ? '<img src="' . $message['member']['online']['image_href'] . '" alt="' . $message['member']['online']['text'] . '" border="0" align="middle" />' : $message['member']['online']['text'], $context['can_send_pm'] ? '</a>' : '', $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $message['member']['online']['text'] . '</span>' : '', '<br /><br />';
    Zamenite sa:

    Code:
    			// Show online and offline buttons?
    			if (!empty($modSettings['onlineEnable']) && !$message['member']['is_guest'])
    				echo '
    								<div class="centeruser">', $context['can_send_pm'] ? '<a href="' . $message['member']['online']['href'] . '" title="' . $message['member']['online']['label'] . '">' : '', $settings['use_image_buttons'] ? '<img src="' . $message['member']['online']['image_href'] . '" alt="' . $message['member']['online']['text'] . '" border="0" style="margin-top: 2px;" />' : $message['member']['online']['text'], $context['can_send_pm'] ? '</a>' : '', $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $message['member']['online']['text'] . '</span>' : '', '<br /></div>';
    Nadjite:

    Code:
    			// Show the member's gender icon?
    			if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '')
    				echo '
    								', $txt[231], ': ', $message['member']['gender']['image'], '<br />';
    Zamenite sa:

    Code:
    
    			// Show the member's gender icon?
    			if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '')
    				echo '
    								<div class="centeruser">', $txt[231], ': ', $message['member']['gender']['image'], '</div>';
    Nadjite:

    Code:
    			// Show how many posts they have made.
    			echo '
    								', $txt[26], ': ', $message['member']['posts'], '<br />
    								<br />';
    Zamenite sa:

    Code:
    			// Show how many posts they have made.
    			echo '
    								<div class="centeruser">', $txt[26], ': ', $message['member']['posts'], '</div>';
    Nadjite:

    Code:
    			// Show avatars, images, etc.?
    			if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
    				echo '
    								<div style="overflow: auto; width: 100%;">', $message['member']['avatar']['image'], '</div>';
    Zamenite sa:

    Code:
    
    			// Show avatars, images, etc.?
    			if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
    				echo '
    								<div class="centeruser"><div style="overflow: auto; width: 100%;">', $message['member']['avatar']['image'], '</div></div>';
    Nadjite:

    Code:
    			// Show their personal text?
    			if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
    				echo '
    								', $message['member']['blurb'], '<br />';
    Zamenite sa:

    Code:
    			// Show their personal text?
    			if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
    				echo '
    								<div class="centeruser">', $message['member']['blurb'], '</div>';

    Nastavak u sledecem postu

  2. #2
    Senior Member Array
    Join Date
    May 2009
    Karma
    12

    Default

    Nadjite:

    Code:
    			// This shows the popular messaging icons.
    			echo '
    								', $message['member']['icq']['link'], '
    								', $message['member']['msn']['link'], '
    								', $message['member']['aim']['link'], '
    								', $message['member']['yim']['link'], '<br />';
    
    			// Show the profile, website, email address, and personal message buttons.
    			if ($settings['show_profile_buttons'])
    			{
    				// Don't show the profile button if you're not allowed to view the profile.
    				if ($message['member']['can_view_profile'])
    					echo '
    								<a href="', $message['member']['href'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/icons/profile_sm.gif" alt="' . $txt[27] . '" title="' . $txt[27] . '" border="0" />' : $txt[27]), '</a>';
    
    				// Don't show an icon if they haven't specified a website.
    				if ($message['member']['website']['url'] != '')
    					echo '
    								<a href="', $message['member']['website']['url'], '" title="' . $message['member']['website']['title'] . '" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/www_sm.gif" alt="' . $txt[515] . '" border="0" />' : $txt[515]), '</a>';
    
    				// Don't show the email address if they want it hidden.
    				if (empty($message['member']['hide_email']))
    					echo '
    								<a href="mailto:', $message['member']['email'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt[69] . '" title="' . $txt[69] . '" border="0" />' : $txt[69]), '</a>';
    
    				// Since we know this person isn't a guest, you *can* message them.
    				if ($context['can_send_pm'])
    					echo '
    								<a href="', $scripturl, '?action=pm;sa=send;u=', $message['member']['id'], '" title="', $message['member']['online']['label'], '">', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/im_' . ($message['member']['online']['is_online'] ? 'on' : 'off') . '.gif" alt="' . $message['member']['online']['label'] . '" border="0" />' : $message['member']['online']['label'], '</a>';
    			}
    		}
    Zamenite sa:

    Code:
    			// This shows the popular messaging icons.
    			echo '
    								<div class="bottomuser">', $message['member']['icq']['link'], '
    								', $message['member']['msn']['link'], '
    								', $message['member']['aim']['link'], '
    								', $message['member']['yim']['link'], '<br />';
    
    			// Show the profile, website, email address, and personal message buttons.
    			if ($settings['show_profile_buttons'])
    			{
    				// Don't show the profile button if you're not allowed to view the profile.
    				if ($message['member']['can_view_profile'])
    					echo '
    								<a href="', $message['member']['href'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/icons/profile_sm.gif" alt="' . $txt[27] . '" title="' . $txt[27] . '" border="0" />' : $txt[27]), '</a>';
    
    				// Don't show an icon if they haven't specified a website.
    				if ($message['member']['website']['url'] != '')
    					echo '
    								<a href="', $message['member']['website']['url'], '" title="' . $message['member']['website']['title'] . '" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/www_sm.gif" alt="' . $txt[515] . '" border="0" />' : $txt[515]), '</a>';
    
    				// Don't show the email address if they want it hidden.
    				if (empty($message['member']['hide_email']))
    					echo '
    								<a href="mailto:', $message['member']['email'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt[69] . '" title="' . $txt[69] . '" border="0" />' : $txt[69]), '</a>';
    
    				// Since we know this person isn't a guest, you *can* message them.
    				if ($context['can_send_pm'])
    					echo '
    								<a href="', $scripturl, '?action=pm;sa=send;u=', $message['member']['id'], '" title="', $message['member']['online']['label'], '">', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/im_' . ($message['member']['online']['is_online'] ? 'on' : 'off') . '.gif" alt="' . $message['member']['online']['label'] . '" border="0" />' : $message['member']['online']['label'], '</a></div>';
    			}
    		}
    Posle toga, napravite folder u vashem /images/ folderu sa nazivom "userdetails" i ubacite ove slike: http://upload.milf-cs.info/files/129...ne-slicice.zip

    Kada sve to zavrshite, trebalo bi da vam izgleda ovako:




    Tut by Chupko

  3. #3
    Senior Member Array
    Join Date
    Aug 2010
    Location
    Curug/Novi Sad
    Age
    23
    Karma
    20

    Default

    jako dobro k+
    jel ima tako nesto al za phpBB

  4. #4
    Senior Member Array
    Join Date
    May 2009
    Karma
    12

    Default

    Nemam pojma To pitaj Air Maxa ili nekog ko se bolje razume u phpbb

  5. #5
    golden196
    Guest

    Default

    dobar tut , k+
    brw

  6. #6
    Senior Member Array
    Join Date
    Dec 2010
    Location
    Kragujevac
    Age
    23
    Karma
    9

    Default

    Bravo na trudu, super tut k+

  7. #7
    Senior Member Array
    Join Date
    May 2009
    Karma
    12

    Default

    Hvala svima

  8. #8
    Senior Member Array
    Join Date
    Jun 2009
    Location
    Zrenjanin
    Karma
    74

    Default

    nista manje nismo ni ocekivali
    I <3 Turshija
    Quote Originally Posted by relja.kgb View Post
    ako pera psuje ziku, opomeni peru i zakljucaj odmah temu!

  9. #9
    Veliki poznavalac cs materije! Array
    Join Date
    Feb 2010
    Location
    Požarevac
    Age
    21
    Karma
    35

    Default

    +1 za Chupka iako mi ovo ne treba ali svaka cast na trudu
    MILF AWP [Respawn] [Fast DL] - Connect via STEAM


  10. #10
    Banovani spamer Array
    Join Date
    Dec 2010
    Location
    Sabac
    Age
    25
    Karma
    0

    Default

    k+ za trud

  11. #11
    Senior Member Array
    Join Date
    May 2009
    Karma
    12

    Default

    Hvala svima ^^

  12. #12
    Senior Member Array
    Join Date
    Feb 2011
    Location
    Kraljevo
    Age
    22
    Karma
    15

    Default

    Imas nesto ovako za 2.0 ?

  13. #13
    Senior Member Array
    Join Date
    May 2009
    Karma
    12

    Default

    Ima, ali bez slika, samo u "kucicama"

    http://www.dzinerstudio.com/index.ph...43840#msg43840
    Last edited by Chupavac; 20-02-2011 at 23:22.

  14. #14
    Senior Member Array
    Join Date
    Oct 2010
    Location
    PRIJEPOLJE
    Karma
    11

    Default

    k+ batice
    L U K E C R E W ○

  15. #15
    Senior Member Array
    Join Date
    May 2009
    Karma
    12

    Default

    Hvala

  16. #16
    Senior Member Array
    Join Date
    Nov 2009
    Location
    Novi Beograd
    Karma
    13

    Default

    Brao chupi za ovo, imas karmu i od mene

  17. #17
    Senior Member Array
    Join Date
    May 2009
    Karma
    12

    Default

    Hvala Liqid

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •