Add Borders around Profil in viewtopic

Mods, snippets and styles postet and supported by the users
Forum rules
As the forum title says this is for User Contributions
Post a support request in this forum and you will be banned!
User avatar
FTH
BBCoder III
BBCoder III
Posts: 124
Joined: 25 Nov 2011, 21:28
BBCodes: 10

Add Borders around Profil in viewtopic

Post by FTH » 15 Dec 2011, 19:28

Author : FTH aka FranckTH
Description : Add borders around profil in viewtopic_body.html

Open file style/prosilver/theme/stylesheet.css

Find :

Code: Select all

@import url("colours.css");
Add after :

Code: Select all

@import url("profil.css");
Open file style/prosilver/viewtopic_body.html

Find :

Code: Select all

<div id="p{postrow.POST_ID}" class="post <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --> online<!-- ENDIF -->">
Replace with :

Code: Select all

<div id="p{postrow.POST_ID}" class="post <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF postrow.S_POST_REPORTED --> reported<!-- ENDIF -->">
Find :

Code: Select all

<!-- IF postrow.POSTER_FROM --><dd><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}</dd><!-- ENDIF -->
Add after :

Code: Select all

<!-- IF postrow.ONLINE_IMG and not postrow.S_IGNORE_POST --><dd><strong>{L_ONLINE}/{L_OFFLINE}:</strong> {postrow.ONLINE_IMG}</dd><!-- ENDIF -->
Find :

Code: Select all

<dl class="postprofile" id="profile{postrow.POST_ID}">
			<dt>
Replace with :

Code: Select all

<dl class="postprofile" id="profile{postrow.POST_ID}">
			<div class="contenu_haut_bloc">
            <div class="contenu_haut-gauche"></div>
            <div class="contenu_haut-centre"></div>
            <div class="contenu_haut-droit"></div>
        </div>
        <div class="contenu_bordure_bloc">
            <div class="contenu_bloc_gauche">
                <div class="contenu_bloc_droit">
                    <div class="contenu_bloc">
			<dt>
Find :

Code: Select all

		</dl>
	<!-- ENDIF -->

		<div class="back2top"><a href="#wrap" class="top" title="{L_BACK_TO_TOP}">{L_BACK_TO_TOP}</a></div>
Replace with :

Code: Select all

</div> <!-- end post box content -->
                </div> <!-- end post box border right -->
            </div> <!-- end post box border left -->
        </div> <!-- end post box border block -->
        <div class="contenu_base_bloc">
            <div class="contenu_base-gauche"></div>
            <div class="contenu_base-centre"></div>
            <div class="contenu_base-droit"></div>
        </div> <!-- end post box base block -->
		</dl>
	<!-- ENDIF -->

		<div class="back2top"><a href="#wrap" class="top" title="{L_BACK_TO_TOP}">{L_BACK_TO_TOP}</a></div>
Open file style/prosilver/imageset/en/imageset.cfg

Find :

Code: Select all

img_icon_user_online = icon_user_online.gif*58*58
img_icon_user_offline = 
Replace with :

Code: Select all

img_icon_user_online = icon_user_online.png*16*16
img_icon_user_offline = icon_user_offline.png*16*16
Upload zip file in your root of your board and refresh imageset, style and template via your ACP !!!
prosilver.zip
Screenshot :
screen.jpg
You do not have the required permissions to view the files attached to this post.
Last edited by FTH on 15 Dec 2011, 19:51, edited 1 time in total.


User avatar
Galandas
BBCoder III
BBCoder III
Posts: 129
Joined: 06 Mar 2010, 22:08
BBCodes: 35
Favourite BBCode: player yahoo
Favourite MOD: Mod Rey
Location: italy

Add Borders around Profil in viewtopic

Post by Galandas » 15 Dec 2011, 19:31

perfect, a really beautiful effect :gp:

User avatar
Tigerman75
BBCoder III
BBCoder III
Posts: 109
Joined: 31 Oct 2011, 12:14
BBCodes: 10
Favourite MOD: Top Staticts
Location: Italy

Add Borders around Profil in viewtopic

Post by Tigerman75 » 16 Dec 2011, 06:52

This is beautiful Work!!!!
Very thanks FTH :) ;)
To speak with you use the google translator
http://www.graphicforum.altervista.org/ and http://www.bbcodeitalia.com/forum/

bennybernaer
BBCoder II
BBCoder II
Posts: 6
Joined: 25 Jul 2010, 12:29

Re: Add Borders around Profil in viewtopic

Post by bennybernaer » 10 Jan 2015, 21:54

How to do this for 3.1.2?