News:

Wondering if this will always be free?  See why free is better.

Main Menu

Ultimate Profile

Started by JovanT, March 12, 2009, 12:14:40 PM

Previous topic - Next topic

TwitchisMental

Quote from: mcgovery on October 11, 2009, 01:09:07 PM
A little assistance needed please fellas :)

I install it just fine on version 2 but I get the following error when trying to view my profile:

Unknown column 'com.time' in 'field list'
File: /home/mcewc/public_html/forums/Sources/Profile-View.php
Line: 228

Do you have profile comments mod or any other kind of profile mod installed?

Also check and make sure all edits where done.

Any ideas?

Thanks.

Do you have any profile mods installed?

Also check and make sure all edits were done.

Mick.

Which file do i go to make the thumbnails in profile pictures a bit smaller?    ::)

TwitchisMental

I might eb wrong,but I think you can do that in the admincp.

Mick.

Quote from: NBK*Twitch on October 11, 2009, 01:31:18 PM
I might eb wrong,but I think you can do that in the admincp.

Thats the size of the image.   Not the thumbnail in profile.

Yağız...

#1084
Quote from: mcgovery on October 11, 2009, 01:09:07 PM
A little assistance needed please fellas :)

I install it just fine on version 2 but I get the following error when trying to view my profile:

Unknown column 'com.time' in 'field list'
File: /home/mcewc/public_html/forums/Sources/Profile-View.php
Line: 228

Any ideas?

Thanks.
Install attached package.

Quote from: BlueDevil on October 11, 2009, 01:25:17 PM
Which file do i go to make the thumbnails in profile pictures a bit smaller?    ::)
Find in ./Themes/default/Profile.template.php file:
<a href="', $picture['url'] ,'"><img src="', $picture['thumb'] ,'" alt="" title="', $picture['description'], '" border="0" /></a>
Replace with:
<a href="', $picture['url'] ,'"><img src="', $picture['thumb'] ,'" alt="" title="', $picture['description'], '" border="0" width="width" height="height" /></a>
Replace width and height with values that you want. But don't know if it'll work.

TwitchisMental

Hey is there a css template to use for this mod?

4b11l

Quote from: JulesW on October 10, 2009, 04:13:18 AM
QuoteHello,

Can someone tell me now where this code resides in smf 2.0? I recently upgarded and this code doesn't seem to exist in profile.php anymore.

It's in /sources/profile-view.php

before
Quote// Are there things we don't show?

Thank you!

Coding problem now it seems in smf 2.0?

I am trying to put this code into the "summary" section of Ultimate Profile (UP) under "positions" and for some reason it is not showing below it; rather, it goes on the very top. This happens with all of my codes I try to add from profile.template.php. Additionally, the code doesn't seem to parse correct with UP? I have attached a screenshot of this below. The first one is with UP and the second is the regular profile, how it's suppose to look like.

<tr>';

// Add the referral/referred user information to the profile summary
echo '
<dt>', $txt['referrals_referrals'], '</dt>
<dd>
', $context['member']['referrals_no'], '  ';

// Show in dropdown username of those referred
if (!empty($context['member']['referred_members'])){
echo '
<select onchange="location=options[selectedIndex].value;">
<option>', $txt['referrals_membersreferred'], '</option>';
foreach($context['member']['referred_members'] as $referred)
echo '
', $referred;

echo '
</select>';
}

echo '
</dd>
<dt>', $txt['referrals_referrals_hits'], '</dd>
<dd>', $context['member']['referrals_hits'], '</dd>';

if (!empty($context['member']['referred_by'])){
echo'
<dt>', $txt['referrals_referred_by'], '</dt>
<dd>', $context['member']['referred_by_link'], ' ', $txt['referrals_on'], ' ', timeformat($context['member']['referred_on']), '</dd>';
}

// Remove the # on the next line to make the link appear for the profile's owner ONLY!
# if ($context['user']['id'] == $context['member']['id'])
echo '
<dt>', $txt['referrals_link'], '</dt>
<dd>
<input type="text" id="referral_link" value="', $scripturl, '?referredby=', $context['member']['id'], '" readonly="true" style="width:250px;" />
<a href="javascript:void(0);" rel="nofollow" onclick="return smfSelectText("referrallink", true);" title="', $txt['code_select'], '">', $txt['code_select'], '</a>
</dd>';
echo'
</tr>


I am not very good with PHP and through trial and error, has found that code to work, but with issues as stated above.

I have added my php file too just in case.

JovanT

Can someone with access to SMF 2.0 RC2 confirm that Ultimate Profile works with this new version, too? If there are any issues, I will try to fix them as soon as I get access to the new SMF.

Also, if you haven't noticed, my support forum (http://dev.turanjanin.net/forum/) is back online so you can read the FAQ and find most common solutions there, too.

Yağız...

It doesn't work. I can make a new version without bugs if you want.

Followthehat

I'm clearly to inexperienced to install this myself, I'll pay somebody to install it for me.

e-mail [email protected] if interested, I'll pay 15 usd , because I'm infact that cheap

mrtrc266

Quote from: Followthehat on October 13, 2009, 08:21:50 PM
I'm clearly to inexperienced to install this myself, I'll pay somebody to install it for me.

e-mail [email protected] if interested, I'll pay 15 usd , because I'm infact that cheap

PM Sent

TwitchisMental


tyty1234

Quote from: NBK*Twitch on October 13, 2009, 11:04:28 PM
Quote from: NBK*Twitch on October 11, 2009, 04:31:41 PM
Hey is there a css template to use for this mod?
bump
None that I know of. Are you asking for a CSS stylesheet, or an example CSS code to use in your Ultimate Profile?
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

mrtrc266

Here is an example of what I use in my Ultimate Profile...

Just put it in this section of Ultimate Profile and edit to your liking
QuoteCustomization:
Here you can add some HTML and CSS to customize look & feel of your profile.

<style>
/* ================== */
/* Section Box Controls */
/* ================== */

/* Color controls for the bar accross the top of the Title Section Boxes */*/
/* if you have your own bars you\\\\\\\\\\\\\\\'d like to use, type it\\\\\\\\\\\\\\\'s URL in the ( ) or if you want */
/* a solid color, add it\\\\\\\\\\\\\\\'s hexadecimal code just after the ( ) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td
{
background: url() #63121B;
}

/* Color control for Main Section Boxes / Table Backgrounds*/
.windowbg
{
background: url() #1A1A1A;
border: outset 5px #6C1212;
}

/* Controls various tables in your profile */
/* to see which ones raise the  */
/* border to 3px */
.bordercolor
{
background: transparent;
border: solid 0x #ff0000;
}

/* Controls various inner tables in your profile */
/* to see which ones raise the  */
/* border to 3px */
.hrcolor
{
background: transparent;
border: solid 0px #ff0000;
}

/* Your Signature Field */
.signature
{
  color: #ff0000;
}


/* Background color control for the right side of the Comments box */
/* The part where the actual comments are*/
.windowbg2
{
background: url() #1A1A1A;
border: outset 5px #6C1212;
}

/* ======================== */
/* "Add a Comment" Box Controls */
/* ======================== */

/* Color control for the text field that comes up */
/* when a user clicks Add a Comment */
/* background controls the text box */
/* "color" controls the font color */
textarea
{
background: #ffffff;
color: red;
border: solid 1px #777000;
font-size: 100%;
}

/* Color control for the SEND button */
/* on the Add a Comment form */
/* background controls the button color */
/* "color" controls the font color */
input, button
{
background: #ff0000;
color: #000000;
padding: 1px;
font-size: 90%;
}

/* ==================== */
/* Font and Link Controls */
/* ==================== */

/* Color, Size, and Font style control for most text */
body, td, th , tr
{
color: #4BFD50;
font-size: 100%;
font-family: tahoma, sans-serif;
}

/* Color control for standard URL links. */
a:font
{
color: #1FD924;
text-decoration: none;
}
a:hover
{
color: #FF0000;
text-decoration: overline underline;

}
</style>

tyty1234

you know, ever since I installed this mod and have used the style tags, I would put a type attribute in it, but it would automatically put it back to <style> instead of <style type="text/css">.

Is this caused from the HtmLawed file?
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

ingamer

#1095


I have enabled : "Enable ultimate profile for all members" , Allow profile customization but it will not defaultly check the "use ultimate profile" for the user under their profile -> ultimate profile - is this what that selection is intended to do?

If not is there a simple modification that can automatically enable the check mark for "Enable Ultimate Profile?"

I am using ultimate_profile_0-9.zip on my forum running 1.1.10



Thank you very much!!




Hello , I have successfully installed ultimate_profile_0-9.zip on my forum running 1.1.10 , i have enabled : Enable ultimate profile for all members , Allow profile customization


I also have User CP installed [it gave no conflicts] however i have tested this with the mod disabled with the same problem, I can see "Ultimate Profile" link under profile in the Admin account but for existing and newly registered members they do not get the button under profile , am I missing something?

I tried manually going to the url while logged as a normal user: http://xperienced.net/endaffinity/index.php?action=profile;u=1;sa=customized [nofollow]

it give me the follow error:
An Error Has Occurred!
You aren't allowed to edit just any ultimate profile.




Thank you!


RESOLVED: Found allow access needed to be setup under "membergroups" so that they could view "ultimate profile"  under the profile section

mrtrc266

Quote from: mrtrc266 on October 13, 2009, 11:00:00 PM
Quote from: Followthehat on October 13, 2009, 08:21:50 PM
I'm clearly to inexperienced to install this myself, I'll pay somebody to install it for me.

e-mail [email protected] if interested, I'll pay 15 usd , because I'm infact that cheap

PM Sent

Installed successfully, enjoy the Mod!

TwitchisMental

Quote from: mrtrc266 on October 14, 2009, 12:38:15 AM
Here is an example of what I use in my Ultimate Profile...

Just put it in this section of Ultimate Profile and edit to your liking
QuoteCustomization:
Here you can add some HTML and CSS to customize look & feel of your profile.

<style>
/* ================== */
/* Section Box Controls */
/* ================== */

/* Color controls for the bar accross the top of the Title Section Boxes */*/
/* if you have your own bars you\\\\\\\\\\\\\\\'d like to use, type it\\\\\\\\\\\\\\\'s URL in the ( ) or if you want */
/* a solid color, add it\\\\\\\\\\\\\\\'s hexadecimal code just after the ( ) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td
{
   background: url() #63121B;
}

/* Color control for Main Section Boxes / Table Backgrounds*/
.windowbg
{
   background: url() #1A1A1A;
   border: outset 5px #6C1212;
}

/* Controls various tables in your profile */
/* to see which ones raise the  */
/* border to 3px */
.bordercolor
{
   background: transparent;
   border: solid 0x #ff0000;
}

/* Controls various inner tables in your profile */
/* to see which ones raise the  */
/* border to 3px */
.hrcolor
{
   background: transparent;
   border: solid 0px #ff0000;
}

/* Your Signature Field */
.signature
{
        color: #ff0000;
}


/* Background color control for the right side of the Comments box */
/* The part where the actual comments are*/
.windowbg2
{
   background: url() #1A1A1A;
   border: outset 5px #6C1212;
}

/* ======================== */
/* "Add a Comment" Box Controls */
/* ======================== */

/* Color control for the text field that comes up */
/* when a user clicks Add a Comment */
/* background controls the text box */
/* "color" controls the font color */
textarea
{
   background: #ffffff;
   color: red;
   border: solid 1px #777000;
   font-size: 100%;
}

/* Color control for the SEND button */
/* on the Add a Comment form */
/* background controls the button color */
/* "color" controls the font color */
input, button
{
   background: #ff0000;
   color: #000000;
   padding: 1px;
   font-size: 90%;
}

/* ==================== */
/* Font and Link Controls */
/* ==================== */

/* Color, Size, and Font style control for most text */
body, td, th , tr
{
   color: #4BFD50;
   font-size: 100%;
   font-family: tahoma, sans-serif;
}

/* Color control for standard URL links. */
a:font
{
   color: #1FD924;
   text-decoration: none;
}
a:hover
{
   color: #FF0000;
   text-decoration: overline underline;

}
</style>


Thanks alot man :D.

mrtrc266

No problem,  that is just a piece of the original code that I found, I can't remember where I got it from but it seems to work pretty good.

I'll post back if I can find the link to the original in it's entirety.

jmil

LOVE this Mod and the Members are Loving it too!

Just an Idea - How about adding "HIGHSLIDE" for the images?  ;)


Advertisement: