Where can i find the file for the Profile Photo Switcher?
I want to remove some things just as the thumbnails...
Where can i find the file for the Profile Photo Switcher? |
Look in BxPhotoSearch.php Geeks, making the world a better place |
I searched in that file but don't find the div's that i look for ( switchUnitRow ) |
Oh, you want the template file. Geeks, making the world a better place |
That was easy, look in the /modules/boonex/photos/templates profile_switcher.html Geeks, making the world a better place |
Thanks. Found him :) Only 1 problem. I have set the profile photo switcher in the profile info page. |
I would not post user login info in the forums as they are crawled by the search engines. The width of the profile photo is hard coded in the photo search file. See my post here: http://www.boonex.com/forums/forum/Tips-Tricks-Sharing-40.htm#topic/Profile-Photo-Block.htm What I did was to remove the profile photo switcher and just added the pagination to the profile photo block. Geeks, making the world a better place |
That's no problem. The password changes everyday.
|
That's no problem. The password changes everyday.
in the getPhotoBlock function: if (defined('BX_PROFILE_PAGE') || defined('BX_MEMBER_PAGE')) {
This is for the profile photo block; the block on the profile page that normally just shows one photo and the block that the profile switcher block changes. As you can see, they set the width of the photo to a fix size, 259 px; so no matter how wide you make the column that holds that block, the profile photo will always be 259 px wide. Now, you can change that to width:100%, min-width, max width; what every css you want to use. In the case above, it will make the style declaration style="width:259px;" Change $iPhotoWidth = 259; to $iPhotoWidth = '100%' and the new style declaration becomes style="width:100%;" Or if you like, you can do away with the inline style and change that to load in an external class. Geeks, making the world a better place |
And the navigation works also if i set the images as background? Otherwise i can't get them on a height of 100%? |
And the navigation works also if i set the images as background? Otherwise i can't get them on a height of 100%? Why background? To put the transparent gif thingy over top of them and prevent right clicking on the images; I can do a page save and grab any image from a website. Anyway, you change them to background and use CSS3's background size to set the width of the background. Of course if someone is on an old browser they can not use CSS3 but most people are not; or I would think they are not. Not sure how many are still using IE6 these days as I have not checked any stats. background-szie; http://www.w3schools.com/cssref/css3_pr_background-size.asp Geeks, making the world a better place |
Is there a php or other code that can link to the profile info page of the profile your visiting? So for example if i look on a members profile page and i click on a button ( that i want to make ) you get redirected to a profile info page of that member. |
Is there a php or other code that can link to the profile info page of the profile your visiting? So for example if i look on a members profile page and i click on a button ( that i want to make ) you get redirected to a profile info page of that member. There is a link on a member's profile page that links to the profile info; look on the submenu bar. You can view the code for that link by going to the navigation menu builder. Geeks, making the world a better place |