Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2013-08-21 09:33:17

123
Member
From: Poland
Registered: 2012-07-24
Posts: 333

Profile views - which is a template? File?

View the profile is divided (oddly enough) the two files profile.php and include / functions.php on one is the template user profile, and the second is in this case the side menu.
And here I have a little problem, it looks like the menu being loaded from the file functions.php so I tried to do it like this:



function.php

	<div class="col-xs-6 col-sm-6 col-md-4"><h2><span><?php echo $lang_profile['Profile menu'] ?></span></h2>
				<ul class="nav nav-pills nav-stacked">
					<li<?php if ($page == 'essentials') echo ' class="isactive"'; ?>><a href="profile.php?section=essentials&amp;id=<?php echo $id ?>"><?php echo $lang_profile['Section essentials'] ?></a></li>
					<li<?php if ($page == 'personal') echo ' class="isactive"'; ?>><a href="profile.php?section=personal&amp;id=<?php echo $id ?>"><?php echo $lang_profile['Section personal'] ?></a></li>
					<li<?php if ($page == 'messaging') echo ' class="isactive"'; ?>><a href="profile.php?section=messaging&amp;id=<?php echo $id ?>"><?php echo $lang_profile['Section messaging'] ?></a></li>
<?php if ($pun_config['o_avatars'] == '1' || $pun_config['o_signatures'] == '1'): ?>					<li<?php if ($page == 'personality') echo ' class="isactive"'; ?>><a href="profile.php?section=personality&amp;id=<?php echo $id ?>"><?php echo $lang_profile['Section personality'] ?></a></li>
<?php endif; ?>					<li<?php if ($page == 'display') echo ' class="isactive"'; ?>><a href="profile.php?section=display&amp;id=<?php echo $id ?>"><?php echo $lang_profile['Section display'] ?></a></li>
					<li<?php if ($page == 'privacy') echo ' class="isactive"'; ?>><a href="profile.php?section=privacy&amp;id=<?php echo $id ?>"><?php echo $lang_profile['Section privacy'] ?></a></li>
<?php if ($pun_user['g_id'] == PUN_ADMIN || ($pun_user['g_moderator'] == '1' && $pun_user['g_mod_ban_users'] == '1')): ?>					<li<?php if ($page == 'admin') echo ' class="isactive"'; ?>><a href="profile.php?section=admin&amp;id=<?php echo $id ?>"><?php echo $lang_profile['Section admin'] ?></a></li>
<?php endif; ?>				</ul>
			</div>
		</div>

The question is who is responsible for the view template user panel - it's on the right side?

dri1.png

<div class="row">
  <div class="col-md-9 col-md-push-3">.col-md-9 .col-md-push-3</div>
  <div class="col-md-3 col-md-pull-9">.col-md-3 .col-md-pull-9</div>
</div>

ewy9.png

Edit//
Okay now that I have cleaned browser cache and went. Slowly a forward heh. Thanks for your help.

Last edited by 123 (2013-08-21 13:10:46)


Solidarity = compensation for war. Time to pay.
[img]http://imagizer.imageshack.com/img633/7813/XjQh8f.png[/img]
Ach, lekceważyłaś wolę króla
a w nocy naszego spotkania, śmiałaś się do łez

Offline

#2 2013-08-21 10:31:20

Studio384
Developer
From: Belgium
Registered: 2012-04-11
Posts: 681
Website

Re: Profile views - which is a template? File?

Profile.php itself, why asking when it's you can find this out by simply reading the code?

Offline

#3 2013-08-21 13:07:56

123
Member
From: Poland
Registered: 2012-07-24
Posts: 333

Re: Profile views - which is a template? File?

Put it this way, now it's almost done, only displays the code I added myself but I can not find it.

ye08.png

I want to change the template only where it is written, I know that it modified the same and now I can not find it, bad luck.

I'll try to look for other files

Edit//
Okay now that I have cleaned browser cache and went. Slowly a forward heh. Thanks for your help.

Last edited by 123 (2013-08-21 13:11:09)


Solidarity = compensation for war. Time to pay.
[img]http://imagizer.imageshack.com/img633/7813/XjQh8f.png[/img]
Ach, lekceważyłaś wolę króla
a w nocy naszego spotkania, śmiałaś się do łez

Offline

#4 2015-09-19 15:31:34

vondarrs20
New member
Registered: 2015-09-19
Posts: 2

Re: Profile views - which is a template? File?

Hello,

Could you tell me what version of Bootstrap are you using ?

Thanks for your help
Kind Regards
S. Von Darrs

Offline

#5 2015-09-20 08:32:26

chris98
Member
From: England, United Kingdom
Registered: 2013-05-31
Posts: 1,292
Website

Re: Profile views - which is a template? File?

No bootstrap is used on FluxBB.

Offline

#6 2015-09-22 13:38:34

vondarrs20
New member
Registered: 2015-09-19
Posts: 2

Re: Profile views - which is a template? File?

I asked because <div class="col-xs-6 col-sm-6 col-md-4"> are 3 bootstrap css classes.

Kind Regards
S. Von Darrs

Offline

#7 2015-09-23 13:16:07

seven
Member
From: Torino, Italy
Registered: 2010-08-19
Posts: 314
Website

Re: Profile views - which is a template? File?

123 is using bootstrap, not FluxBB


gamezoo.org - serious gaming services for serious gamers.

Offline

Board footer

Powered by FluxBB