Ultimate profile mod 0.8.5
Features:
- About me, interests & media box
- Organizable buddy list
- Approval of buddies
- Profile pictures
- Profile comments
- Picture comments
- Customizable look & feel
This modification is inspired by SMdot™'s MySpace profile idea (http://www.simplemachines.org/community/index.php?topic=170429.0). It doesn't require any other modification. Currently, it changes seven files:
- Sources/Profile.php
- Themes/default/Profile.template.php
- Sources/ModSettings.php
- Sources/ManagePermissions.php
- Sources/Subs-Members.php
- Themes/default/Modifications.english.php
- index.php
Users can choose whether they want to have this customized profile or just plain, ordinary one. They can enter About me & My Interests texts which can be formatted using BB code. Also, they can input HTML & CSS code in special text area and customize look of their profile (They can add background picture, change font, size and color of text as well as other elements). This modification allows them to upload their own pictures which are then showed in their profile and can be organized in albums. Other users can post comments on someones profile or pictures.
Administrators can choose whether they want to enable pictures and customization of profiles. Also, they can turn on ultimate profiles for all forum users.
Users can disable comments for their profiles or restrict new comments only to their buddies. Pictures can be shown to all users or only to buddies.
Notice: this modification is still BETA. I've tested it on fresh SMF 1.1.5 installation and it works without errors so I'm using it on my live site. If you find any errors or bugs, please post it here.
Demo: http://jovant.guruserve.com/test-forum/index.php?action=profile;u=1
Download: http://jovant.guruserve.com/projekti/smf/ultimate_profile/ultimate_profile_0-8-5.zip
Support forum: http://jovant.guruserve.com/test-forum/
FAQ: http://jovant.guruserve.com/test-forum/index.php?topic=13.0 (please read before posting your question!)
Changelog:
version 0.8.5
- new features:
- picture albums
- support for unlimited number of pictures
- permission for editing ultimate profile
- comment reply option
- better Unicode support
- pending buddy requests
- sorting buddies should work a lot better
- fixed bugs:
- when a user is deleted, buddy lists are updated
- user won't get notifications when commenting his own profile/picture
- display names are now shown instead of usernames in PM notifications
- pictures with "&" in filename can now be uploaded without errors
version 0.8
- new features:
- picture comments
- better profile pictures navigation
- report profile to admins
- better HTML filtering
- organization of buddies
- buddy approval system
version 0.7.1
- fixed bugs:
- avatar size in buddy list
- new features:
- users can make their profile private
- Serbian translation
version 0.7
- new features:
- administration options
- user options (disable comments, only buddies can post comments / view pictures)
- media box
- notification on new comment
- fixed bugs:
- HTML filtering
- online status & date in comments
- file CustomProfile.template.php renamed to UltimateProfile.template.php to avoid confusion with some other mods
version 0.6
- initial release
it looks nice.
indeed, it does look nice.
hu.. sir.. I need help.. via yahoo messnger.. I will be happy..
Check ur messages box please.
I have uploaded new version of my mod: 0.6.1. It contains few bug fixes so I recommend updating. Location for download is same.
Answer your MSN, lmao
I actually like this one slightly better than Snake Plissken's. It just seems a bit more slick and organized for detail.
Good job :)
Fatal error: Cannot redeclare customized() (previously declared in /home/.luther/generalsun/miydai/Sources/Profile.php:2668) in /home/.luther/generalsun/miydai/Sources/Profile.php on line 2926
Yikes! My version's hardly clean though...
1. nneonneo's AJAX ShoutBox 1.06 [ Uninstall ]
2. VisualWarning 1.32 [ Uninstall ]
3. SMF Links 1.6.3 [ Uninstall ]
4. Users Online Today Mod 1.4.0 [ Uninstall ]
5. Tagging System 1.0.3 [ Uninstall ]
6. Invite 1.14 [ Uninstall ]
7. View Only Boards 1.1 [ Uninstall ]
8. SMF Staff Page 1.5.1 [ Uninstall ]
9. SMF Arcade 2.0.8 [ Uninstall ]
10. Karma Description Mod 2.3 [ Uninstall ]
11. Reg Bar 1.0 [ Uninstall ]
12. Global Headers Footers 1.3 [ Uninstall ]
13. Related Topics 1.1.1 [ Uninstall ]
14. Member Color Link 2.0.0 [ Uninstall ]
15. Custom Profile Field Mod 3.16 [ Uninstall ]
16. Profile Comments 1.2.1 [ Uninstall ]
17. Profile Music 1.0 [ Uninstall ]
18. Female Avatars Extra 5.0 [ Uninstall ]
19. Group on Registration 1.1.1 [ Uninstall ]
20. SMFShop 3.0 [ Uninstall ]
21. SMF Sitemap 1.1.3 [ Uninstall ]
22. Signature Settings Mod 1.0 [ Uninstall ]
23. Who Voted What? 1.1.2 [ Uninstall ]
24. ssi_boardNews Multiple Boards 1.0 [ Uninstall ]
25. Board News 1.0 [ Uninstall ]
26. Member Awards 1.0.2 [ Uninstall ]
27. MessagePreviewOnHover 1.5 [ Uninstall ]
28. Additional Membergroups on Profile 1.0 [ Uninstall ]
29. Sticky First Post (extends sticky topic) 1.3.2 [ Uninstall ]
30. Profil Moderator Managment 1.0.0 [ Uninstall ]
31. Show Multiple Badges (Aka Stars) 1.0 [ Uninstall ]
32. Global Announcements 1.0 [ Uninstall ]
33. FlashChat Integration 1.0 [ Uninstall ]
34. SMF 1.0.11 / 1.1.3 Update 1.1 [ Uninstall ]
35. Topic description 1.1 [ Uninstall ]
36. SSI Topic and Replies 0.1 [ Uninstall ]
37. SMFChess 0.1 [ Uninstall ]
38. SMFBlog 0.1 Beta [ Uninstall ]
39. YouTube BBC Tag (XHTML Compliant) 1.0 [ Uninstall ]
40. Ultimate Profile 0.6.1 [ Uninstall ]
Should I uninstall something?
16. Profile Comments 1.2.1 [ Uninstall ]
Gah that has no uninstall file... Now what do I do.
I to had this issue
Hi!
I've tested profile comments mod and it seems there is no conflict between that and mine mod. Problem occurs in the database. To solve that problem, just add new column called "time" in the prefix_profile_comments table.
@Miraploy
It seems that some other mod you have installed uses function called "customized" in your Sources/Profile.php file. If you send me that file, I will try to figure what mod is causing this conflict. My email is same as my Yahoo! messanger contact.
Thank you Jovan, thanks.
I've looked at your Profile.php and I couldn't find what seems to be a problem. Can you tell me what happens when you try to install my mod? Can you install it without any errors?
Where you get that "Fatal error: Cannot redeclare customized()"?
All seems fine when I try to install your mod. But when I go to a profile page I get that error, again:
Fatal error: Cannot redeclare customized() (previously declared in /home/.luther/generalsun/miydai/Sources/Profile.php:2668) in /home/.luther/generalsun/miydai/Sources/Profile.php on line 2926
The profile.php I sent you was the version without your mod... I'll send the one with your mod applied...
It looks like you installed my mod twice. All modifications are double. What happens when you try to uninstall my mod?
It gives me no errors. I did uninstall your mod and put up a backup profile.php and when I tried to send you the after-install profile I installed it again.
Oh, good mod. Thanks.
Some comments here.
0. First i install via package manager, it shown installed successsful. But only for transfer customprofile.template.php only and modified database.I must to modified the others manually , not sure what's the cause.
1. If anyone not change permission for "profile_pictures" dir (by manual) , the picture not show but only title instead.
2. No way to delete the picture title that error from 1. Must be going to dababase directly.
How about moving About Me and My interests to the left side, and making comments take up only half the width on the right side?
@pongsak
1. That depends from settings of your system. On most server, you don't need to change permission. However, if you have problems, you can chmod profile_pictures to 0777.
2. You can't delete picture title? If you try to delete picture, my mod will delete picture files as well as database entries. Maybe you've installed old version of my mod that had a bug with deleting pictures. Try to uninstall my mod, download the latest version and install it again. That should help.
@PoLlama
I think that the left side is allready much longer than the right side. But, if you wish, you can always manually change CustomProfile.template.php.
No,i just download yesterday, the problem caused by that directory hasn't right permission, then the database wrote the picture details, but the picture file itself can't put in that dir. Then only title appeared. When i change permission , everything fine.
Avery nice mod!!
I installed the mod but I have a datbase error. Do I have to uninstall something to run this nice mod?
Database Error
Unknown column 'com.time' in 'field list'
File: /customers/jairobernal.com/jairobernal.com/httpd.www/colombia/forum/Sources/Profile.php
Line: 1289
Modification Packages
Mod Name Version
1. Users Online Today Mod 1.4.0 [ Uninstall ] [ List Files ] [ Delete ]
2. User Control Panel By Alan S 1.1 [ Uninstall ] [ List Files ] [ Delete ]
3. Gender On Registration 1.0 [ Uninstall ] [ List Files ] [ Delete ]
4. YouTube BBC Tag (XHTML Compliant) 1.0 [ Uninstall ] [ List Files ] [ Delete ]
5. Google Video BBC Tag (XHTML Compliant) 1.3 [ Uninstall ] [ List Files ] [ Delete ]
6. Color Bar 2.0 [ Uninstall ] [ List Files ] [ Delete ]
7. Googlebot & Spiders Mod 2.0.3 [ Uninstall ] [ List Files ] [ Delete ]
8. Country Flags 1.0.1 [ Uninstall ] [ List Files ] [ Delete ]
9. Custom Profile Field Mod 3.16 [ Uninstall ] [ List Files ] [ Delete ]
10. Avatars at Index Mod 1.3 [ Uninstall ] [ List Files ] [ Delete ]
11. Ultimate Profile 0.6.1 [ Uninstall ] [ List Files ] [ Delete ]
No, I think that you don't have to uninstall anything. Just apply this mod (http://www.gradnis.net/smf/ultimate_profile/table_fix.zip) that will alter one table that was created by profile comments mod.
WTG , Jovan I was just going to post this but it seems Attachments were disabled here? Strange.
It works!!! Very nice mod!
Thanks for the table_fix! Is there a possibility to integrate the mod "customprofile3-16" into this very cool mod?
Thank you so much joven! Your mod rocks and I really really appreciate the personal support!
yup, his mod is very nice.. He is a nice young guy ....... That's all.. :)
I noticed that in the window "My Buddies" no more than six buddies will be shown. If you have more than six buddies, only the first six you added will be shown. Is there a possibility to show all your friends in the window "My Buddies"? Or only show the first six who were online that day and the rest shown in one page? That would be very cool in this great mod :)
As you noticed, My Buddies box shows only first six buddies. You can display all your buddies by going to the appropriate page (click on the "My Buddies" header).
And, if you want to integrate Custom Profile fields or some other mod, you can edit Themes/default/CustomProfile.template.php. For an example, you can add something like:
Quote
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%">
<tr>
<td class="windowbg">
<table>
<tr>';
global $sourcedir;
require_once($sourcedir . '/CustomProfile.php');
DisplayFieldsProfile();
echo '
</tr>
</table>
</td>
</tr>
</table>';
after "My Interests" table and it will display additional fields that you want.
Sorry Jovan, that was very n00bish of me, I didn't saw it was clickable :-[
Just one little question. How do I get the left side staying on the top. If there is a lot of information on the right, the left side will be set in the middle.
Thanks for the code! It works! :)
My hats off to JonanT for making a great mod. I have 2 questions.
1. how can i add a third box just like the 'About me' and the 'My interest' box where i can place code for music or videos or that will allow HTML code?
2. If I put code to change the background like say an image in the third box called 'Customization' it shows up behind the main theme like the main theme sites on top of that image or if i use a video it shows up above my user name and not under 'About me' as it should. How can you make it so that the image you choose becomes the background like it does on myspace?
Quote
@PoLlama
I think that the left side is allready much longer than the right side. But, if you wish, you can always manually change CustomProfile.template.php.
And you don't think comments will make the right side longer?
Is there a possibility that it will show the pictures from each members gallery rather than uploading new pictures? thanks
[code]
(Ignore the above: For some reason, SMF insists on adding the <code> tag to the front of my post so I had to add a </code> or my entire post would be engulfed with <code> tags).
Uh, I just think I found sort of..a problem. You allow users to run their own code in the "Customized Profile" section. If it's CSS, no problem, nothing too much to worry about. But you set it up so the users can execute ANYTHING.
In CustomProfile.template.php:
// Output user's customization code.
echo '
<!-- start of user\'s customization code -->
',
un_htmlspecialchars (@$context['member']['options']['css'])
, '
<!-- end of user\'s customization code -->
';
Basically, you'd have to limit it to CSS only:
// Output user's customization code.
echo '
<!-- start of user\'s customization code -->
<style type="text/css">
',
un_htmlspecialchars (@$context['member']['options']['css'])
, '
</style>
<!-- end of user\'s customization code -->
';
But even then THAT'S a problem. They could cancel it if there code was:
</style>
EXECUTE EVIL CODE
<style>
My suggestion: Remove that code entirely, and the textarea box in your Profile.template.php until a fix is made.
This is just what I see, it's possible that I'm wrong, but I have successfully ran varying scripts off my page (PHP, ASP, Javascript, Flash, etc).[/code]
I tried that as soon as I installed it. My users have been redirecting to different sites to make it hard for admins edit something of theres (advertising).
PLEASE stop all possibilites of everything (php, javscript, html) and just leave css.
Nice nice nice!
thanx for mod so much
how can we integrate ultimate profile with smf gallery pro ?
i wanna user pics adding to gallery user album..then also picture comments will work too ;)
I have a question..
when I had install the ultimate profile mod
in the perfil to the left has add 2 option
Customized profile and my pictures
well, when I click on Customized profile
there is a checkbox that said "Enable customized profile?"
and is uncheck by default..
and with that, everybody has to check to see the profile like the new..
how can I put that check it by default for all my users and the people that registered later?
and another question... where can I Limit the size of the pictures Upload.. and limit the numbers of pictures too...
how can i add a third box just like the 'About me' and the 'My interest' box where i can place code for music or videos or that will allow HTML code
Quote from: SoulPleX on August 05, 2007, 09:54:56 AM
how can i add a third box just like the 'About me' and the 'My interest' box where i can place code for music or videos or that will allow HTML code
In your default themes folder open "Customprofile.template.php".
CTRL + F:
($context['member']['options']['interests']) ,'
</td>
</tr>
<tr>
<td>';
Add after:
if ($context['member']['options']['newbox'] !== '')
echo '
<br />
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="newbox">
<tr class="titlebg">
<td height="26" align="center">
New Box Title
</td>
</tr>
<tr>
<td class="windowbg">
', parse_bbc ($context['member']['options']['newbox']) ,'
</td>
</tr>
</td>
</tr>
</table>
</table>';
Make changes accordingly.
Quote from: Coldfx on August 05, 2007, 12:36:43 PM
Quote from: SoulPleX on August 05, 2007, 09:54:56 AM
how can i add a third box just like the 'About me' and the 'My interest' box where i can place code for music or videos or that will allow HTML code
In your default themes folder open "Customprofile.template.php".
CTRL + F: ($context['member']['options']['interests']) ,'
</td>
</tr>
<tr>
<td>';
Add after:
if ($context['member']['options']['newbox'] !== '')
echo '
<br />
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="newbox">
<tr class="titlebg">
<td height="26" align="center">
New Box Title
</td>
</tr>
<tr>
<td class="windowbg">
', parse_bbc ($context['member']['options']['newbox']) ,'
</td>
</tr>
</td>
</tr>
</table>
</table>';
Make changes accordingly.
Ok, how do i make so members can execute code in new field created
Quote from: SoulPleX on August 05, 2007, 04:38:57 PM
Quote from: Coldfx on August 05, 2007, 12:36:43 PM
Quote from: SoulPleX on August 05, 2007, 09:54:56 AM
how can i add a third box just like the 'About me' and the 'My interest' box where i can place code for music or videos or that will allow HTML code
In your default themes folder open "Customprofile.template.php".
CTRL + F: ($context['member']['options']['interests']) ,'
</td>
</tr>
<tr>
<td>';
Add after:
if ($context['member']['options']['newbox'] !== '')
echo '
<br />
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="newbox">
<tr class="titlebg">
<td height="26" align="center">
New Box Title
</td>
</tr>
<tr>
<td class="windowbg">
', parse_bbc ($context['member']['options']['newbox']) ,'
</td>
</tr>
</td>
</tr>
</table>
</table>';
Make changes accordingly.
Ok, how do i make so members can execute code in new field created
Open Profile.template.php;
Now, for something to learn from, I'll borrow code from the [a href=http://custom.simplemachines.org/mods/index.php?mod=424]YouTube Mod[/a].
Search for:
<textarea class="editor" name="default_options[interests]" rows="8" cols="65">', @$context['member']['options']['interests'], '</textarea><br />
</td>
</tr>';
Add after:
</tr><tr>
<td><b>Youtube Video: </b></td> <td><input type="text" name="default_options[youtube]" size="50" value="', @$context['member']['options']['youtube'], '" /></td>
Now, to add the YouTube movie, where I told you to add your own content add"
!empty($context['member']['options']['youtube']) ?'<embed src="http://www.youtube.com/v/'
. $context['member']['options']['youtube'] . '" height="150" width="190"></embed>': '', '
The
' . $context['member']['options']['youtube'] . ' is our variable. You can alter it to how you want; change the "youtube" name also in all the areas accordingly.
What I should do to for alloud add pics trough a link like imageshack?
this works with tinyportal?
and disable upload pics?or limit the number of pics.
nice mod btw, thanks
Parse error for </tr><tr>
<td><b>Youtube Video: </b></td> <td><input type="text" name="default_options[youtube]" size="50" value="', @$context['member']['options']['youtube'], '" /></td>
something wrong with </tr><tr>. missing something.
Quote from: SoulPleX on August 06, 2007, 05:30:44 PM
Parse error for </tr><tr>
<td><b>Youtube Video: </b></td> <td><input type="text" name="default_options[youtube]" size="50" value="', @$context['member']['options']['youtube'], '" /></td>
something wrong with </tr><tr>. missing something.
Oh WOW, my mistake!
echo'</tr><tr>
<td><b>Youtube Video: </b></td> <td><input type="text" name="default_options[youtube]" size="50" value="', @$context['member']['options']['youtube'], '" /></td>';
That should be it. Can't believe I didn't wrap it in an echo statement.
parse error this line bellow in Customprofile.template.php
!empty($context['member']['options']['youtube']) ?'<embed src="http://www.youtube.com/v/'
made
if ($context['member']['options']['youtube'] !== '')
echo '
<br />
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="youtube">
<tr class="titlebg">
<td height="26" align="center">
New Box Title
</td>
</tr>
<tr>
<td class="windowbg">
', parse_bbc ($context['member']['options']['youtube']) ,'
</td>
</tr>
</td>
</tr>
</table>
</table>';
This works!!!
How can i change code box so HTML enabled
Thanks
I'm just clearing this now: NO ONE should enable HTML in these boxes. It's a MAJOR security risk. One user I talked to had all his members abuse the HTML/CSS box to redirect anyone @ their profile to adult-websites. Bad bad!
"Session verification failed. Please try logging out and back in again, and then try again." is what i ge hen i try to delete photos in the profile area. how can i fix?
everybody post diferent thing..
but nobody can help with my thing?
QuoteI have a question..
when I had install the ultimate profile mod
in the perfil to the left has add 2 option
Customized profile and my pictures
well, when I click on Customized profile
there is a checkbox that said "Enable customized profile?"
and is uncheck by default..
and with that, everybody has to check to see the profile like the new..
how can I put that check it by default for all my users and the people that registered later?
and another question... where can I Limit the size of the pictures Upload.. and limit the numbers of pictures too...
I get this after saving a profile:
QuoteIllegal mix of collations for operation ' IN 'Bestand: \forum2\Sources\Profile.phpRegel: 1002
Any idea why?
Quote from: MPT. on August 09, 2007, 07:51:17 AM
I get this after saving a profile:
QuoteIllegal mix of collations for operation ' IN 'Bestand: \forum2\Sources\Profile.phpRegel: 1002
Post a copy of your Profile.php so we can take a look. Any other mods installed that edit profile.php? If you don't know, also copy and paste a list of all mods installed.
Any idea why?
Error:
Illegal mix of collations for operation ' IN 'Bestand: \forum2\Sources\Profile.phpRegel: 1002
Modifications:
1. SMF Arcade
2. Ad Managment
3. Custom Profile Field Mod
4. Karma Description Mod
5. Member Color Link
6. SMFBlog
7. SMF Staff Page
8. Ultimate Profile
9. Who Voted What?
Sources/Profile.php:
I couldn't place the sources/profile.php becouse of the 30 seconds load limit and the 65.000 character limit!
Quote from: MPT. on August 10, 2007, 03:38:31 PM
Error:
Illegal mix of collations for operation ' IN 'Bestand: \forum2\Sources\Profile.phpRegel: 1002
Modifications:
1. SMF Arcade
2. Ad Managment
3. Custom Profile Field Mod
4. Karma Description Mod
5. Member Color Link
6. SMFBlog
7. SMF Staff Page
8. Ultimate Profile
9. Who Voted What?
Sources/Profile.php:
I couldn't place the sources/profile.php becouse of the 30 seconds load limit and the 65.000 character limit!
Custom Profile Field Mod may have been causing problems since it edits the Profile.php
But to be honest, I'm no longer going to be helping anyone using this mod, as it is VERY insecure, and has many wide-open problems in functionability. If I were you I'd switch to Snake Plisskens Profile Mod (http://www.johncarpenterforum.com/snake/index.php?action=tpmod;dl=item18) instead. It allows you to limit number of pictures being uploaded by size and dimensions, along with limited number of comments (Or in this case "Shouts" for the shoutbox).
Tried Snake Pit's and it's a dud too...
Type Action Description
1. Extract Tree ./ProfilePics
2. Extract Tree ./Sources
3. Extract Tree ./Themes
4. Execute Modification ./Themes/default/style.css Test successful
5. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
6. Execute Modification ./Themes/default/languages/Profile.english.php Test successful
7. Execute Modification ./Sources/Profile.php Test successful
8. Execute Modification ./Sources/ModSettings.php Test successful
9. Execute Modification ./Themes/default/Profile.template.php Test failed
10. Execute Code profilev2_install.php
Quote from: christicehurst on August 10, 2007, 07:01:35 PM
Tried Snake Pit's and it's a dud too...
Type Action Description
1. Extract Tree ./ProfilePics
2. Extract Tree ./Sources
3. Extract Tree ./Themes
4. Execute Modification ./Themes/default/style.css Test successful
5. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
6. Execute Modification ./Themes/default/languages/Profile.english.php Test successful
7. Execute Modification ./Sources/Profile.php Test successful
8. Execute Modification ./Sources/ModSettings.php Test successful
9. Execute Modification ./Themes/default/Profile.template.php Test failed
10. Execute Code profilev2_install.php
Make sure you don't have any mods installed that edit the Profile.template.php or it may cause problems. You can install them after Snakes installs and they should work.
1. Sorted Package Manager Listing 0.1 [ Uninstall ] [ List Files ] [ Delete ]
2. SMF 1.0.11 / 1.1.3 Update 1.1 [ Uninstall ] [ List Files ] [ Delete ]
3. Dice Roller for Your Forum 1.0 [ Uninstall ] [ List Files ] [ Delete ]
4. Modbreaktag 1.0 [ Uninstall ] [ List Files ] [ Delete ]
5. SMF Arcade E2.3.3 [ Uninstall ] [ List Files ] [ Delete ]
6. TinyPortal 0.983 [ Uninstall ] [ List Files ] [ Delete ]
7. Youtube Field by Alan S 1.0 [ Uninstall ] [ List Files ] [ Delete ]
8. SMF Staff Page 1.5.1 [ Uninstall ] [ List Files ] [ Delete ]
9. Users Online Today Mod 1.3.1 [ Uninstall ] [ List Files ] [ Delete ]
10. Membergroup Color Legend 1.1 [ Uninstall ] [ List Files ] [ Delete ]
11. Enhanced Calendar 1.0 [ Uninstall ] [ List Files ] [ Delete ]
12. Increase/Decrease Postbox Size 1.0 [ Uninstall ] [ List Files ] [ Delete ]
13. Additional Membergroups on Profile 1.0 [ Uninstall ] [ List Files ] [ Delete ]
14. Avatars at Index Mod 1.1 [ Uninstall ] [ List Files ] [ Delete ]
15. Sticky First Post (extends sticky topic) 1.3.2 [ Uninstall ] [ List Files ] [ Delete ]
16. Global Announcements 1.0 [ Uninstall ] [ List Files ] [ Delete ]
17. Karma Description Mod 2.0 [ Uninstall ] [ List Files ] [ Delete ]
18. Monthly Statistics on Profile 1.0 [ Uninstall ] [ List Files ] [ Delete ]
19. Googlebot & Spiders Mod 2.0.3 [ Uninstall ] [ List Files ] [ Delete ]
20. Ad Managment 2.3 [ Uninstall ] [ List Files ] [ Delete ]
21. SMF 1.0.11 / 1.1.3 Update 1.1 [ Uninstall ] [ List Files ] [ Delete ]
22. FontandSizeDropdown1.1 1.1 [ Uninstall ] [ List Files ] [ Delete ]
23. Enhanced Forum Statistics 1.0 [ Uninstall ] [ List Files ] [ Delete ]
These are the current mods installed.
Could the custom HTML and CSS be exploited for malicious purposes?
Quote from: Miraploy on August 11, 2007, 11:39:23 PM
Could the custom HTML and CSS be exploited for malicious purposes?
As mentioned, yes, and it's been done by people using this mod already.
Indeed. Whilst I think that this is a worthy modification you need to clean up the ability to add any HTML. Personally I would suggest that you only allow BBC in the main text areas (This is enough for most customization) and then if required allow the user to customize the style by adding a "set style" type box. Then what you'd do is surround the page with something like:
<div style="', $context['user_style'], '">
CONTENT
</div>
Then allow the user to set their style but at the same time preg_match their input to only allow standard CSS characters like:
if (preg_match('~^[A-Za-z0-9-:]+$~', $_GET['user_style']) !== true)
fatal_error('Illegal style');
Obviously my code isn't correct but it gives the idea - allow users to have *some* input into the style but at the same time put the security around it to stop abuse of HTML (Iframes etc) and insertion of javascript and other nasty things.
Yeah i agree.
This could result in some nasty stuff.
what is the solution to fix this then. i luv this mod and want my users to be able to customize their page mainly using <style> and <embed> tags.
That error is fixed in new version of my mod - 0.7. Look at first message in this topic to find more informations.
Is this a upgrade or do i need to uninstall the older version?
You will have to uninstall the older version in order to install new. There's no upgrade package.
If I uninstall and reinstall does that mean all my members will have to re-make their profiles the way they were?
Quote from: fuelthescene on August 23, 2007, 01:44:53 PM
If I uninstall and reinstall does that mean all my members will have to re-make their profiles the way they were?
It shouldn't, as all the tables most likely are the same.
The new update ROCKS!!!!!!
Is there a way to make the theme transparent while in the profile area to see the background of the user profile. I put code in the HTML area to change my background in my profile but it shows up behind the theme.
Great update, thanks. I take it I'll have to reapply my customizations?
@ Miraploy: No you will not have to reapply any profile changes.
Thanks, that's not what I meant. With Joven's help I modded this mod to allow music as well as other functionalities. I'll just redo it, it's not a big deal.
Quote from: Miraploy on August 25, 2007, 02:43:25 PM
Thanks, that's not what I meant. With Joven's help I modded this mod to allow music as well as other functionalities. I'll just redo it, it's not a big deal.
Oh, okay :P then yeah, any custom edits will be lost, as it replaces the Customprofile.template.php, rather than update.
Dear developers,
At the forum I set up recently new members can register but the profiles, which are present in the database dump cannot be listed.
On attempting displaying profiles the page goes blank showing the following address in the address bar:
path/index.php?action=profile;u=XXXX
where XXXX is the member's registration number then execution of the action stops.
Your swift help would be highly appreciated!
Quote from: Subartu on August 25, 2007, 08:41:30 PM
Dear developers,
At the forum I set up recently new members can register but the profiles, which are present in the database dump cannot be listed.
On attempting displaying profiles the page goes blank showing the following address in the address bar:
path/index.php?action=profile;u=XXXX
where XXXX is the member's registration number then execution of the action stops.
Your swift help would be highly appreciated!
Do you have any other mods currently installed? If so, please copy and paste all other installed mods. If you've done any custom edits to your files (Perhaps using Tips and Tricks) tell us what those are, and what files they edited.
Along with this, what version of SMF you're using.
I have the ultima profile 0.6
how can i update to the 0.7 ???
If I uninstall the ultimate profile 0.6
and then install the 0.7
the pictures of the users and preferences.. is lost?
I didn't lose anything when I updated, because it seems the database isn't touched when you uninstall.
Hey.. I update.. and I hace an error
"Cannot load template 'summary2'."
what happened?
Quote from: Tuon on August 30, 2007, 04:17:45 PM
Hey.. I update.. and I hace an error
"Cannot load template 'summary2'."
what happened?
Uninstall, replace Profile.php and Profile.template.php with their default versions, then re-install.
Just to confirm: if you uninstall this mod, no data will be lost. All pictures and customization will be saved.
Quote from: SoulPleX on August 23, 2007, 07:31:05 PM
The new update ROCKS!!!!!!
Is there a way to make the theme transparent while in the profile area to see the background of the user profile. I put code in the HTML area to change my background in my profile but it shows up behind the theme.
Any idea...
I fix the problem.. but..
now I don't know where is the adminpanel of the ultimate profile?
It is located under the "Features and Options" in admin center. There is a tab called "Ultimate profile".
Hi Jovan, I was upgrading to your latest version when I broke my profile.
http://www.miydai.com/index.php?action=profile
I used the package to uninstall the old version then used the package to install the newer version. There were numerous errors but I went ahead anyway. Then I took the files and made manual installations on the ones that failed.
Unfortunately I was unable to manually uninstall on the ones that failed the uninstall as I dont' have a xml for the old version. If you could help solve my error it would be great.
Jovant.. hey the mod is perfect.. but..
you know what I wanna do?
when I install the mod.. every user have to configure.. to have the ultimate profile
using a checkbox that said: Enable customized profile?
without that, everybody have the normal profile
how can I fix that.. like everybody have the ultimate profile by default..?
I got this after installing 0.7
Fatal error: Cannot redeclare customized() (previously declared in /home/family-m/public_html/linlithgow-forums.org.uk/f/Sources/Profile.php:2928) in /home/family-m/public_html/linlithgow-forums.org.uk/f/Sources/Profile.php on line 3179
why is this? and how can I fix this?
@Miraploy
You can download OLD version of my mod here (http://www.gradnis.net/smf/ultimate_profile/ultimate_profile.zip). I hope it will help you.
@Tuon
There is an option in admin panel that will allow you to enable ultimate profile for all members.
@Reclaimer
Have you installed previous version of my mod? If no, maybe there's a conflict with some other mod. Please send your Profile.php file to my email. It is same as my Yahoo IM.
jovant that opcion in adminpanel.. is not for that..
that option is like for give permissions to have the ultimate profile.. but with that I can't do what I want.. that is all of my members have the ultimate profile activate by default..
Yep thanks that did. I got it to work correctly now.
Quote from: Tuon on September 01, 2007, 11:25:56 AM
jovant that opcion in adminpanel.. is not for that..
that option is like for give permissions to have the ultimate profile.. but with that I can't do what I want.. that is all of my members have the ultimate profile activate by default..
Nope, if you turn that option on, all members will have enabled ultimate profile even if they turn it off in their settings. Basically, that option will force all members to have ultimate profiles.
and why I still have members that have the older profile..
see Here (http://cyberpanas.com/index.php?action=profile;u=1349) for example
Quote from: Tuon on September 01, 2007, 12:22:14 PM
and why I still have members that have the older profile..
see Here (http://cyberpanas.com/index.php?action=profile;u=1349) for example
It'd help if you enabled the forums to be viewable by guests.
ACP --> Features and Options --> Allow guests to browse forum
ACP --> Permissions --> Guests --> Allow to view profiles --> Any Profile
sorry.. know you can see
Quote from: Tuon on September 01, 2007, 02:53:09 PM
sorry.. know you can see
I think the mod is made so you have to do that on install. So, any registrations BEFORE the install of the ultimate profile mod won't experience this change, any after will.
no.. I had try it..
I create a new account.. and my profile. is still the same :(
That's strange. Are you sure ACP -> Features and Options -> tab Ultimate Profile -> Enable ultimate profile for all members is checked?
@SySRoot74
No, you are wrong. This options will affect all users, old and new. Actually, when that option is on, my mod won't check user settings. It will immediately display customized profile.
Yes the changes are applied to the source. Jovan I just want to say that I love this mod. Do you have any plans for the future?
somethings is wrong =( please help..
is checked.. and my users still have the old profile :'(
hey Jovant.. you know what you can do for the next version ultimate profile 0.8 something like that..
you can enable to rate the pictures of the profile
and add something to the search on the forum like: search people
by age, and something like that..
style like hi5 or myspace..
very nice is you that.. ;)
Hey! This mod is great!
But, even i am having the same problem. And worst of all, i can't see the Ultimate Profile tab in the Features and Options area!
Please help. Thanks
Quote from: JovanT on September 01, 2007, 06:07:24 AM
@Reclaimer
Have you installed previous version of my mod? If no, maybe there's a conflict with some other mod. Please send your Profile.php file to my email. It is same as my Yahoo IM.
yes I installed your original ultimate profile mod. was i meant to unistall the old version first? And how do you get this mod to work on custom themes?
Awesome mod Jovan!
One question I had. On the Notification for Comments, when I get a new comment I get a blank message from a guest. Is there a way to change what it is supposed to say so it isn't a blank message? I just want to make sure my users see that they are being notified about getting a new profile comment.
Thanks!
Never mind actually. I just see now it works. May be cuz my Global Mod group is messed up as to why the first one didn't work.
Awesome mod, Jovan.
this mod sounds awesome. I'd really like to include it in my forum. I just read all the posts and am not sure if I missed it--but does this mod work with smf 1.1.1?
I have smf 1.1.1 and work almost perfect..
Only problem is the same I said before..
Quote from: Reclaimer on September 02, 2007, 10:50:42 AMyes I installed your original ultimate profile mod. was i meant to unistall the old version first? And how do you get this mod to work on custom themes?
Yes, you should uninstall old version of my mod before installing new.
This mod will work with all themes that aren't using custom Profile.template.php. If they are using, you should manually edit that custom file by following the instructions for editing default Profile.template.php.
Quote from: vern111 on September 03, 2007, 10:05:41 PM
this mod sounds awesome. I'd really like to include it in my forum. I just read all the posts and am not sure if I missed it--but does this mod work with smf 1.1.1?
If installation of my mod goes without errors, it will probably work on 1.1.1.
@Tuon
Sorry, but I can't help you because I can't figure out what seems to be the problem. I think I could help if you give me temporary admin and FTP access.
I upgraded to 1.1.3 (I had never used the packetmanager before and didn't know how easy it made upgrading)...anyway, Tuon if you're having 'issues' maybe you should just upgrade 1.1.3? The mod rocks and is working fine!
but I'm afraid..
tell how you upgrade to 1.1.3 ?
I don't break my olds mods?
Hey Jovan sorry you got stuck with the project -.- I was caught up with getting into college and managing a graphics community... enough of the excuses tho :P If you need any help or anything, I'd be more then glad to assist you. And if I didn't mention this already that is quite a fine mod you have there, maybe I can help you code the layout of it...
hi! i probably look stupid for asking this but can someone tell me how to install this? do i just ftp the files to a folder? if so, which one?
thanks!
I just installed this mod on v1.1.3 and it worked perfectly. Even with my site already being heavily modded. Awesome job.
i uploaded it and installed it no problem, but do i gotta turn it on somewhere? if so where? if it's automatic i dont see it :(
please help!
somebody please help! i would really like to add it to my forum
Hey man, this is my favorite mod of all time! I was also wondering if you could help me with some other programming feats. I was wondering if instead of it being integrated into the forum, do you know of how to make it so they can make their own profile page? One that would create a www.(mywebsite).com/theirusername? If you could help in any way or point me in the right direction I would greatly appreciate it and thank you for making this mod!
man, this sucks! after i install it, i go and visit the profile section and nothing happens, but after every time i visit i get error logs
Oooh... I really like this :D
You can use htaccess to redirect ehrm hmm....
@SMdot™
Thanks. If you have any suggestion how should I improve look of my ultimate profile, feel free to make a suggestion.
I think that it would be very good and usefull if someone could make some type of editor for ultimate profiles that will allow users to easily customize their profiles without having to deal with HTML & CSS. Something like MySpace editor (http://www.myspaceeditor.org/) or Thomas' editor (http://strikefile.com/myspace/).
@ninerskickass
You must enable ultimate profile in your profile under "Customized profile" option. Or, you can turn on appropriate option in admin center (Features & Options -> tab Ultimate Profile). What kind of errors do you get in error log?
@capabmx
That can be done by using mod_rewrite and one PHP script. I will try to make something and publish it when I have time.
This is excellent! Thanks to everyone working on this, it's exactly what I was looking for.
Edit:
Is there any way to make the Custom Profile Field Mod work with this? Maybe a frame on the right for the custom profile fields?
Or make it so the admin can add more fields like the "about me" box with custom titles?
Thanks again!
This probably sounds like a stupid question: how do you use the media box?
Hey just deleting most of my reply haha, I'm devoting a lot of time into learning php as of now so I'd rather learn how to make these adjustments myself so I can get some experience and hopefully provide help to others :).
Quote from: JovanT on September 09, 2007, 07:18:06 PM
@ninerskickass
You must enable ultimate profile in your profile under "Customized profile" option. Or, you can turn on appropriate option in admin center (Features & Options -> tab Ultimate Profile). What kind of errors do you get in error log?
so far i got these errors
/testforum/index.php?action=featuresettings
8: Undefined index: ultimate_profile
File: ***/testforum/Sources/ModSettings.php
Line: 142
/testforum/index.php?action=profile
Apply Filter: Only show the errors with the same message
8: Undefined index: profile_customized
File: ****/testforum/Sources/Profile.php
Line: 238
/testforum/index.php?action=profile
8: Undefined index: profile_pictures
File: ****/testforum/Sources/Profile.php
Line: 241
please help me
how can i integrate this mod with smf gallery pro.
so i want ; profile pictures must be adding to personal gallery in smf gallery pro .then will be great really
regards...
Türkçe dil dosyasını isteyen PM atsın :)
YEEEEAAAAHHHHHH!!!!! I GOT IT TO WORK!!! I had to manually install it but it's cool, i t works now!
I got 1 question though, hopefully someone will answer it... how can i change the header color of the boxes in the profile section?
it uses the titlebg image, but with the color scheme i have going, it looks kind of lame... i could just replace the color of the image but then it would throw off the rest of my forum color scheme... can anybody help?
Quote from: JovanT on September 09, 2007, 07:14:17 PM
@capabmx
That can be done by using mod_rewrite and one PHP script. I will try to make something and publish it when I have time.
Any progress. I think this would be cool.
Hey,I have a question that deals with changing the look. I use myspace layouts, and change bits and pieces of them around, and most of it works ok. For some reason though the About Me, contact, and My Media boxes don't respond to transparency, while all the other tables do. Can anyone help me with this? Is there any code I could put in for the other boxes to be transparent? Here is a test profile: http://www.capabmx.com/Forums/index.php?action=profile;u=18 . Thanks for any help in advance!
Problem!
When the user has alot of info on his/her page the left side column does not stay at the top.
Example: http://www.knightsofnight.com/index.php?action=profile;u=104
Thanks
OK, I've made the script for redirection. You can download it here (http://jovant.guruserve.com/projekti/smf/ultimate_profile/profile-redirect.zip). It is not a package - it is an ordinary zip archive; see readme.txt for more details. It requires Apache server with mod_rewrite installed. After installation, you can access your profiles by using:
http://www.yourdomain.com/path_to_forum/profiles/Some-username or
http://www.yourdomain.com/path_to_forum/profiles/Some-username.html.
@Embrace
Open Themes/default/UltimateProfile.template.php, find:
<td width="50%" id="profile_left">
and replace it with:
<td width="50%" id="profile_left" valign="top">
You are so awesome! Thank you so much! Hey I have one question though, if I upload them via SmartFTP into the root folder will it install itself? Do I have to enable mod_rewrite? I'm gonna to get it, but if not any help would be so very appreciated, and thanks again you are the coolest person ever!
This Mod keeps getting better and better with every update.
is it possible to enable HTML for the comment section as well. We are trying to use Glitter Art which is HTML to put images in the comments.
thanks!
Ok, I've re-uploaded the .htaccess and profile-redirect.php to my forums root.
http://www.capabmx.com/Forums/profile-redirect.php
http://www.capabmc.xom/Forums/.htaccess
It still doesn't redirect, and when I enter the profile-redirect.php url it says Unknown user. Can you please tell me what I'm doing wrong? I have Apache 1.3.37(Unix). I checked and mod_rewrite comes with Apache 1.3 and up. Is this true? Thanks for any help!
@SoulPleX
If you want to embed images to your comments, you can always use [img] bbc tag.
@capabmx
You shouldn' access profile-redirect.php directly.
Have you changed .htaccess to reflect your settings? You should uncomment appropriate line and set it to something like:
RewriteBase /Forums/
I changed it, using notepad 2, and saved it :). I uploaded it back and overwrote it, then I refreshed my forum and it still won't work :'(. Do I have to manually create the Profiles folder, and individual members folders, and individual html files? If so that's cool, I just want to make sure :).
My main issue with this is that it places the profile options in a place that is not easily accessible. Would it be possible to return them to the sidebar for admins and the user themselves? Also, would it be possible to be able to show/hide sections (like the My interests, about me, media, pictures, etc) of the custom profile via a user-checked option?
EDIT: Forgot one thing. I have the custom profile fields mod installed on my forum, and this mod doesn't seem to interact well with it. Is it possible to code in integration for the custom profile fields mod?
@ Eliana Tamerin
Look in profile.template.php for the custom profile fields codes, and copy and paste the codes into ultimateprofile.template.php :).
everything installed correctly cept when i try to view the profile i get this error
Unknown column 'com.time' in 'field list'
File: /home/dragosia/public_html/smf/Sources/Profile.php
Line: 1325
just a small bump as i REALLY need to get this mod working right.
yeah ive tried uninstalling it and reinstalling it a few times, no im not using a different theme or anything
You should read the rest of this topic. The problem persists if you've previously installed profile comments mod. To make my modification work, just apply this fix (http://www.gradnis.net/smf/ultimate_profile/table_fix.zip).
Quote from: drgsldr69 on October 06, 2007, 04:29:54 PM
yeah ive tried uninstalling it and reinstalling it a few times, no im not using a different theme or anything
you should try manually installing it, i couldnt get it to work either until i went in and did it myself
Thanks so much it is finally working. actually i did read this topic i must of missed the error code i had in it. i even uninstalled the profile comments mod and tried uninstalling and reinstalling the ultimate profile mod and it still didnt work. but hte nice fix you gave me worked perfectly.
http://www.xxxxxxxxxx.nl/forum/index.php/profile_pictures/1_1191713231_thumb.jpg
The link to the thumbnail is wrong.. It has to be whitout that index.php part .. How can i fix this?
Below you can see the code .. (ultimateprofile.template.php)
<td valign="top" width="50%" id="profile_right">';
if ($modSettings['profile_enable_pictures'] == 1 && $context['can_view_pics']) {
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="pictures">
<tr class="titlebg">
<td height="26" align="center" class="kategoribg">
<a href="', $scripturl ,'?action=profile;u=', $context['member']['id'] ,';sa=pictures">', $txt['profile_pictures'] ,'</a>
</td>
</tr>
<tr>
<td class="windowbg">
<table>';
if (!empty($context['pictures'])) {
$i = 1;
foreach ($context['pictures'] as $picture) {
if ($i == 1)
echo '
<tr>';
echo '
<td align="center" valign="top" style="clear: both;">
<a href="', $picture['url'] ,'"><img src="', $picture['thumb'] ,'" alt="" title="', $picture['title'], '" border="0" /></a>
</td>';
if ($i == 3)
echo '
</tr>';
$i++;
if ($i == 4) $i = 1;
}
} else
echo '
<tr>
<td>', $txt['profile_pictures_no'] ,'</td>
</tr>';
echo '
</table>
</td>
</tr>
</table>
ok the mod itself looks to be working but why can i not make any of the tables transparent?
Loverboy, it's not in that code. It's probably in the ultimateprofile source file.
http://www.xxxx.nl/forum/index.php?action=profile;u=1
When I use the link above it works fine.. But when I use the profile button which is linked as : http://www.xxxx.nl/forum/index.php/action=profile.html .. it does not show the thumbnail pictures.
Hey, can anyone help? I uploaded the htaccess and other file to my Forums root. I uncommented the RewriteBase /Forums/ to reflect my root. I am thinking I was supposed to change
RewriteRule ^profile/(.*)\.html$ profile-redirect.php?user=$1 [L]
RewriteRule ^profile/(.*)$ profile-redirect.php?user=$1 [L]
somehow? Any help would be so very much appreciated :)
heya, any chance u can add a custome banner users can add like in gamespot.com profiles?
Hi,
Can I (as an admin) add more options to fill in? Or should I use the Custom Profile Mod for this? Thanks!
How can I disable the HTML permission for users in their profile? It seems verry dangerous to allow them use HTML..
@Teunel
I recommend using the custom profile mod. Then look in profile.template.php in your default, or other themes, and copy and paste the code it adds to UltimateProfile.template.php , wherever you want it to appear.
Quote from: capabmx on October 08, 2007, 12:21:34 AM
@Teunel
I recommend using the custom profile mod. Then look in profile.template.php in your default, or other themes, and copy and paste the code it adds to UltimateProfile.template.php , wherever you want it to appear.
Thanks, will try that! :)
@Loverboy, I think the newer version already uses non-html code.
What's up with the friends? Are they on SMF by default, and how can I add friends? :P
@ Teunel,
To add someone as a friend, go to their profile, and click add to buddy list. It is in a table on the left hand side of their profile. :)
Figured out how to move the comment box. Not sure if anyone else has posted this already, But i know alot of people was wanting to know how to do it.
to see how this looks here is a link ot my profile page.
http://camgirlplus.com/index.php?action=profile;u=1 (http://camgirlplus.com/index.php?action=profile;u=1)
first find this code in your ultimateprofile.template.php
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="media">
<tr class="titlebg">
<td height="26" align="center">
', $txt['profile_media'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
', clean_html (un_htmlspecialchars ($context['member']['options']['media'])) ,'
</td>
</tr>
</table>';
after add
if (@$context['member']['options']['comments_disable'] != 1) {
echo '
<script type="text/javascript">
function comment() {
document.getElementById("comment").style.display = "block";
}
</script>
<table border="0" cellpadding="4" cellspacing="1" align="center" class="bordercolor" width="65%" id="post_comments">
<tr>
<td class="titlebg"><a href="javascript:void(0);" onclick="comment()">', $txt['profile_comment_add'] ,'</a></td>
</tr>
<tr id="comment" class="windowbg" style="display: none;">
<td>
<form action="', $scripturl ,'?action=profile;u=', $context['member']['id'] ,';sa=comment;add" method="post">
', $txt['profile_comment'] ,'<br />
<textarea cols="50" rows="4" name="comment"></textarea><br />
<br />
<input type="submit" value="', $txt[10] ,'" />
<input type="hidden" name="sc" value="', $context['session_id'], '" />
</form>
</td>
</tr>
</table>
<div class="div2"></div>
<br />
<table border="0" cellpadding="4" cellspacing="1" align="center" class="bordercolor" width="100%" id="comments">
<tr>
<td class="titlebg" colspan="2" align="center">', $txt['profile_comments'] ,'</td>
</tr>';
// Only show comments if they have made some!
if (!empty($context['comments'])) {
foreach ($context['comments'] as $comment) {
echo '
<tr>
<td class="windowbg" align="center" valign="top">
<b><a href="', $scripturl ,'?action=profile;u=', $comment['author']['ID_MEMBER'] ,'">', $comment['author']['realName'] ,'</a></b>
<div class="smalltext">
', $comment['author']['avatar'] ,'<br /><br />
<i>', $settings['use_image_buttons'] ? '<img src="' . $comment['author']['online']['image_href'] . '" alt="' . $comment['author']['online']['text'] . '" align="middle" />' : $comment['author']['online']['text'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $comment['author']['online']['text'] . '</span>' : '', '</i>
</div>
</td>
<td class="windowbg2" valign="top">
<table width="100%">
<tr>
<td><span class="smalltext">', $comment['time'] ,'</span><hr /></td>
</tr>
<tr>
<td>', $comment['body'] ,'</td>
</tr>';
if ($context['can_delete'])
echo '
<tr>
<td align="right" valign="bottom" class="smalltext">
<a href="', $comment['delete'], '">', $txt['profile_comment_delete'] ,'</a>
</td>
</tr>';
echo '
</table>
</td>
</tr>';
}
}
else
echo '
<tr class="windowbg2">
<td colspan="2">', $txt['profile_comment_no'] ,'</td>
</tr>';
then delete the same section you just added from the bottom of the file.
find
// Show more page numbers.
echo '
and delete the whole comment section above it. which is
if (@$context['member']['options']['comments_disable'] != 1) {
echo '
<script type="text/javascript">
function comment() {
document.getElementById("comment").style.display = "block";
}
</script>
<table border="0" cellpadding="4" cellspacing="1" align="center" class="bordercolor" width="65%" id="post_comments">
<tr>
<td class="titlebg"><a href="javascript:void(0);" onclick="comment()">', $txt['profile_comment_add'] ,'</a></td>
</tr>
<tr id="comment" class="windowbg" style="display: none;">
<td>
<form action="', $scripturl ,'?action=profile;u=', $context['member']['id'] ,';sa=comment;add" method="post">
', $txt['profile_comment'] ,'<br />
<textarea cols="50" rows="4" name="comment"></textarea><br />
<br />
<input type="submit" value="', $txt[10] ,'" />
<input type="hidden" name="sc" value="', $context['session_id'], '" />
</form>
</td>
</tr>
</table>
<div class="div2"></div>
<br />
<table border="0" cellpadding="4" cellspacing="1" align="center" class="bordercolor" width="100%" id="comments">
<tr>
<td class="titlebg" colspan="2" align="center">', $txt['profile_comments'] ,'</td>
</tr>';
// Only show comments if they have made some!
if (!empty($context['comments'])) {
foreach ($context['comments'] as $comment) {
echo '
<tr>
<td class="windowbg" align="center" valign="top">
<b><a href="', $scripturl ,'?action=profile;u=', $comment['author']['ID_MEMBER'] ,'">', $comment['author']['realName'] ,'</a></b>
<div class="smalltext">
', $comment['author']['avatar'] ,'<br /><br />
<i>', $settings['use_image_buttons'] ? '<img src="' . $comment['author']['online']['image_href'] . '" alt="' . $comment['author']['online']['text'] . '" align="middle" />' : $comment['author']['online']['text'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $comment['author']['online']['text'] . '</span>' : '', '</i>
</div>
</td>
<td class="windowbg2" valign="top">
<table width="100%">
<tr>
<td><span class="smalltext">', $comment['time'] ,'</span><hr /></td>
</tr>
<tr>
<td>', $comment['body'] ,'</td>
</tr>';
if ($context['can_delete'])
echo '
<tr>
<td align="right" valign="bottom" class="smalltext">
<a href="', $comment['delete'], '">', $txt['profile_comment_delete'] ,'</a>
</td>
</tr>';
echo '
</table>
</td>
</tr>';
}
}
else
echo '
<tr class="windowbg2">
<td colspan="2">', $txt['profile_comment_no'] ,'</td>
</tr>';
good profile mod
This looks very promising, nice clean layout! Do you have plans to support SMF 2.0 in the near future with this mod, now that the first beta is released?
me myself i am using the ultimate profile mod and the user cp mod. so i edited my ultimateprofile.php a little more. i took out all the user links at the bottom of the page since they have a whole page dedicated to controling thier profile and stuff. and just added 2 links one for the usercp and one to view thier profile.to get a ideal of what i mean goto my site and make a account and see i guess. lol
also one feature i would like to see is the ability to to edit the blocks inside the profile. as in.
fully customisable using myspace layouts. right now only thing i've noticed that can change is the background AND colors
ok now for some reason without changing any coding my profile are now going transparent lol. plus it is allowing me to change the fonts and everything so........ good job on mod works perfectly.
This mod is so good. It actually is helping entice members to pay for subscriptions :). I added the option of the members having their own music player :), and that blew them away, once forums start installing this mod all over, myspace will be gone.
@drgsldr69
Can you post the code that you added to the cp for the view profile? I'm too scared to mess with my forum for a little after a template parse error earlier this week lol.
First let me tell you that this is a wonderfull modification for SMF. I and my members love this, as it gives the members their own ability to customize their own profile.
Now for my little problem. I have posted this up in the Coding Discussion, but it seems no one was able to help me. I have yet been able to figure this problem out. I did not want to come here, since it involves adding in some scripts from another mod into yours. Yet, alas, I have run out of ideas.
Here is my problem:
I am trying to add in a script to allow our member Characters to be displayed in their custom profile. However, I am recieving an error when I try to embed it into a table. The table itself works just fine. The script works fine if I do NOT put it inside a table. However when I try to combind the two.. I get the following error:
QuoteParse error: parse error, unexpected T_STRING, expecting ',' or ';' in .../Themes/default/UltimateProfile.template.php on line 291
I have tried so many things and read almost every thread there is to see. And any changes I make to the base (as I had thought from a few of the sugestions) only causes more errors.
What I have is a modified version of WoW Character Profiles. It is now VG Character Profiles and works just fine with out error. The character listings do show up in the default profile, on my custon theme, and in defualt theme. So it is not the VG Character mod of itself.
Your Ultimate Profile mod works perfectly in all aspects. I have, with your help to others been able to move things around to fit more our needs on the forum with no problem. Yet, once I try to add in the script for the VG Characters, I get that error. This happens on both your mod you created and the one I modified (changes the positions of some of the information, nothing more)
So, what am I doing wrong or missing? Mind you, I am still learning Php, though htlm i have no problem with.
Here is the code I am trying to insert into a table for the VG Characters:
[pre] //WoW Characters - View Forum Profile START
//WoW Character Names - Show Characters in Post
//Armory Base URL
if ($modSettings['wowchar_europeanGuild'] == '0')
{
//North America and Oceania Servers
$armory_url = "http://vgplayers.station.sony.com/index.vm";
} else {
//European Servers
$armory_url = "http://vgplayers.station.sony.com/index.vm";
}
$hr_flag = FALSE;
for ($i = 1; $i <= 8; $i++) {
$name_i = 'char_name'.$i;
$level_i = 'char_level'.$i;
$class_i = 'char_class'.$i;
$race_i = 'char_race'.$i;
$gender_i = 'char_gender'.$i;
$server_i = 'char_server'.$i;
$guild_i = 'char_guild'.$i;
$char_name = !empty($context['member']['options'][$name_i]) ? $context['member']['options'][$name_i] : '';
$char_level = !empty($context['member']['options'][$level_i]) ? $context['member']['options'][$level_i] : '';
$char_gender = !empty($context['member']['options'][$gender_i]) ? $context['member']['options'][$gender_i] : '';
$char_race = !empty($context['member']['options'][$race_i]) ? $context['member']['options'][$race_i] : '';
$char_class = !empty($context['member']['options'][$class_i]) ? $context['member']['options'][$class_i] : '';
$char_server = !empty($context['member']['options'][$server_i]) ? $context['member']['options'][$server_i] : '';
$char_guild = !empty($context['member']['options'][$guild_i]) ? $context['member']['options'][$guild_i] : '';
$race_gender = $char_race.' '.$char_gender;
$race_gender_image = strtr($race_gender,' ','_');
$file_url = $settings['default_theme_url'].'/images/wow_char/';
$guild_label = '';
$level_label = '';
//Fix old "race gender" strings
if (strlen($char_gender) > 6) {
$char_race = substr($char_gender,0,strrpos($char_gender,' '));
$char_gender = str_replace($char_race.' ','',$char_gender);
}
if (!empty($char_name) && !empty($char_class) && !empty($char_gender) && !empty($char_race)) {
if (!$hr_flag) {
echo '
<tr>
<td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr>';
$hr_flag = TRUE;
}
if (!empty($char_guild)) {
$guild_label = '<tr><td><span style=\\\'color:#00C800\\\'>&lt;'.$char_guild.'&gt;</span></td></tr>';
}
if (!empty($char_level)) {
$level_label = '<span style=\\\'color:#EFBF00\\\'>'.$char_level.'</span> ';
}
if (!empty($char_server)) {
$hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$char_server.'&n='.$char_name.'" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\''.$char_class.'\\\' style=\\\'font-weight: bold;\\\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\\\'color:#FFFFFF\\\'>'.$char_race.'</span> <span class=\\\''.$char_class.'\\\'>'.$char_class.'</span></td></tr>'.$guild_label.'</table>\',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
} else {
$hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$default_server.'&n='.$char_name.'" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\''.$char_class.'\\\' style=\\\'font-weight: bold;\\\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\\\'color:#FFFFFF\\\'>'.$char_race.'</span> <span class=\\\''.$char_class.'\\\'>'.$char_class.'</span></td></tr>'.$guild_label.'</table>\',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
}
echo '
<tr>
<td><b>Character ',$i,':</b></td>
<td>
<img style="vertical-align:bottom" width="18" height="18" src="',$file_url,$race_gender_image,'.png" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span style=\\\'color:#FFFFFF;\\\'>',$race_gender,'</span></td></tr></table>\',FULLHTML);" onmouseout="return nd();">
<img style="vertical-align:bottom" width="18" height="18" src="',$file_url,$char_class,'.png" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\'',$char_class,'\\\'>',$char_class,'</span></td></tr></table>\',FULLHTML);" onmouseout="return nd();">';
echo '
'.$hover_code;
echo '
</td>
</tr>
';
}
}
//WoW Characters - View Forum Profile END[/pre]
I hope you can help me. I have been ready to cry a few times. LOL
Peace, and thank you ahead of time for the effort and assistance.
Peace,
Sarrene'
@Sarrene, did you copy and paste the edits that the mod makes to profile.template.php and paste them in ultimateprofile.template.php? Just asking to see where you are at.
I love this mod!
All I want now is a photo portal that displays users pictures like the gallery does, and a picture commenting system :)
Is there a way to edit the layout so the block with all the links and options stays on the left the way the regular SMF profile has it? Afraid its going to be lost below the page fold and users won't find it.
Yeppers, That was the first thing I had done. I figured for the Ulitmate Profile, I would need to install the VG Characters Manualy into the UltimateProfile.php. Sadly, this did now work.
Odd thing is, when I throw it in there outside of any of the tables, it works fine. Yet once I put it inside a table.. well, it all goes bonkers hehe
I tried by adding another cell to one of the member information, and no go.. same error. I created a table inside a table.. same error.
I checked to make sure that i have all the closing tags, nada.. so I am so lost!
My guess is I am missing something really simple here. I have both scripts, though it seems I am unable to post attatchments in this section of the forum. Let me know if there is anything you can help with. Right now, we have an empty cell on the member profiles that says "See this table works" LOL.. luckly I have great members and they understand. But it would still be nice to be able to see our characters listed there.
Thank you so much for the responce.
Peace,
♥ Sarrene'
I'm getting this error when I click my user CP.
Unknown column 'com.time' in 'field list'
File: /home/XXXXXXX/public_html/forum/Sources/Profile.php
Line: 1296
Can anyone help me with this? When I installed with the package manager everything went smoothly.
Quote from: miseryshining on October 15, 2007, 05:54:32 AM
This looks very promising, nice clean layout! Do you have plans to support SMF 2.0 in the near future with this mod, now that the first beta is released?
JovanT isn't a charter member so AFAIK he doesn't have access to the beta version.
I have updated Ultimate Profile to work on one of my SMF 2.0 websites (forum.cyna.net, check out my profile if you can). A lot of changes were needed, but at least it seems to work perfectly. Plus, it was fun to do, and not too buggy in the first place. My profile pictures were lost in the process of upgrading but I don't know if it's related. Everything else is good.
Just saying this to assure you that an upgrade to SMF 2.0 won't break your Ultimate Profiles for long. JovanT can use my work if he wants, it'll save him the hassle of converting everything (updated translation entries, completely new admin & settings system, etc).
Ok, I have a request!!!
Anyone who can help me I will love
I would like for the user gallary in this mod to have a portal page per-say
Like a gallery style page that displays a list of user gallery's with thumbnails and links to the gallery's....
I hope that makes sense!
Thanks,
Embrace
Quote from: Nao on October 21, 2007, 05:09:11 PM
Quote from: miseryshining on October 15, 2007, 05:54:32 AM
This looks very promising, nice clean layout! Do you have plans to support SMF 2.0 in the near future with this mod, now that the first beta is released?
JovanT isn't a charter member so AFAIK he doesn't have access to the beta version.
I have updated Ultimate Profile to work on one of my SMF 2.0 websites (forum.cyna.net, check out my profile if you can). A lot of changes were needed, but at least it seems to work perfectly. Plus, it was fun to do, and not too buggy in the first place. My profile pictures were lost in the process of upgrading but I don't know if it's related. Everything else is good.
Just saying this to assure you that an upgrade to SMF 2.0 won't break your Ultimate Profiles for long. JovanT can use my work if he wants, it'll save him the hassle of converting everything (updated translation entries, completely new admin & settings system, etc).
wohow, that's great news! rrrr, i really think hardcore mod developers should have access to beta's as well :S. Love your site btw, seems there's been some heavy modifying going on there :-)
Quote from: miseryshining on October 22, 2007, 05:49:06 AM
wohow, that's great news! rrrr, i really think hardcore mod developers should have access to beta's as well :S.
Yeah I guess so... Although passionate coders will usually have no problem saving some money to get a charter membership (I did it after all), it might be a good idea to "recognize" the work of those who are not part of the SMF dev team and who offer a real extra value to SMF.
Then again, maybe if he just asked the team, he would get access to the beta. You never know ;)
QuoteLove your site btw, seems there's been some heavy modifying going on there :-)
Thanks ;) Yeah, I've been modding a lot my three main SMF-based websites (www.kyodai.com / www.cynagames.com, forum.cyna.net and www.cyna.fr), but it's really painful to upgrade them to SMF 2.0. I've already given up for cynagames.com, but I'm using forum.cyna.net as my main "public" platform for testing my mod upgrades, and cyna.fr as my private platform. Feel free to ask any questions about my custom changes :)
I installed it, and got quite a bad problem.... no titles/labels/links are displayed?
this is taken from the source for edit profile:
<a href="http://site/index.php?action=profile;u=1;sa=account">Account Related Settings</a><br />
<a href="http://site/index.php?action=profile;u=1;sa=forumProfile">Forum Profile Information</a><br />
<a href="http://site/index.php?action=profile;u=1;sa=customized"></a><br />
<a href="http://site/index.php?action=profile;u=1;sa=pictures"></a><br />
<a href="http://site/index.php?action=profile;u=1;sa=theme">Look and Layout Preferences</a><br />
<a href="http://site/index.php?action=profile;u=1;sa=notification">Notifications and Email</a><br />
<a href="http://site/index.php?action=profile;u=1;sa=pmprefs">Personal Message Options</a><br />
<a href="http://site/index.php?action=profile;u=1;sa=editBuddies">Edit Buddies</a><br />
as you can see the links are there but no text on customized + pictures to click on, so can only access the pages if i know the URL.... (same goes for when in features & options, no text to access ultimateprofile tab)
but once on the edit pages, there are no labels, just tick boxes, and text boxes..... so i have no idea what is what!
then when viewing profile.... the text shows but not headers or comment box...
http://forum.sycoradio.com/index.php?action=profile;u=1 (http://forum.sycoradio.com/index.php?action=profile;u=1)
Help would be much appreciated!
can you attach your ultimateprofile.template.php?
Here (http://www.capabmx.com/Forums/index.php?action=profile;u=1) is an example of it working on my website.
How can i attach it?
Click additional options in the reply page, and then browse and attach it. But you must first download it to your computer from your website via ftp, or some other way.
there is no upload bit in additional options.
as a wild guess after flicking through files.... i dont think its reading the $txt bit from modifications.english.php file...... the keys seem to be in there, but its not reading them ::)
infact i now know that its the fact my board isnt loading the language file....
i pasted all the $txt strings to the top of ultimate.profile.php and text shows up fine..... why is my board not loading mod language file? how can i make it do this? nice one!
[english] I just dropped by to say that I`ve made some changes to the default gallery code, so...
1) the admin can now change the allowed dimensions (in pixels) and size (in KB) of the attached picture.
2) I`ve also changed picture upload routine, so now uploaded files will not be automatically resized to 500x375 px, while at the same time doubled, trippled ... in size! Uploaded pictures will keep their original size (width, height), and their size in KB will be unchanged, too :) (If you haven't realize yet, when you upload a picture, let`s say 640x480, 50 KB, it will be 500x375, 250+ KB once uploaded! This is corrected. )
I saw that some of you wanted something like change no. 1 (I needed it too :)), so, here it is now... Well, not right now, I`ll look forward to post the changes here one of these days, I have some work to do now, and I still need to remember all the things I exactly changed, so when that`s over, I`ll put it here.
p.s. Maybe this post now looks a bit stupid, because I didn`t post the actual code, but I just wanted to tell all of you wanted these two that they`re done, and is a matter of days until it`s put here. Just be patient a little bit more... ;)
And of course, really great mod, JovanT!!! :D
[serbian] Svratih samo da kazem da sam napravio neke izmene izvornog koda galerije, tako da...
1) administrator sada moze da odredi maksimalne dozvoljene dimenzije slike (u pikselima) i velicinu slike (u KB)
2) Takodje sam malo izmenio sistem za upload slika na server, tako da sada postavljene slike nece automatski biti smanjene (povecane) na 500x375 piksela, dok bi istovremeno njihova velicina u KB bila udvostrucena, utrostrucena...! Postavljene slike ce zadrzati originalne dimzenzije (sirina, visina), a takodje ce ostati nepromenjena i velicina slike u KB :) (Ako do sada niste primetili, kada postavite sliku, recimo 640x480, 50 KB, ona se prilikom kopiranja na server smanji na 500x375, ali joj se velcina poveca na 250 i vise KB! Ovo je ispravljeno.)
Videh da su neki od vas trazili neke ovakve izmene (a i meni samom je trebalo nesto slicno :)), tako da eto ih... Dobro, ne bas odmah, videcu da ih postavim u narednim danima, trenutno imam dosta posla, a i moram jos jednom da proverim koje sam sve izmene izvrsio. Kada to bude sredjeno, postavicu kod.
p.s. Mozda ovaj post izgleda i glupo, posto nisam stavio izmenjene linije koda, ali sam samo zeleo da onima kojima je ovo potrebno kazem da se strpe jos malo, jos nekoliko dana, bice... :)
I naravno, stvarno odlican mod, Jovane!!! :D
I saw this
http://www.capabmx.com/Forums/index.php?action=profile;u=1
it is awesome
I wanted to make some suggestions before seeing this link and now I dont have any suggestions it looks very good
I went to the link you mentioned and have several comments on it...
- the color scheme is pretty much unreadable on a CRT monitor with high contrast (dark grey on black)
- the transparent layout makes it even more unreadable (sure it looks nice, but the goal is to make it readable, right?). Plus, it slows down the scrolling process (even on a Core2Duo CPU!)
- the custom css styling in the source code is full of garbage. Just look at this, it doesn't mean anything at all:
td{ border-style:none; };#000000;Top Center; fixed; no-repeat; #000000; ; bold; ; ; ; ; ffcc00; ; bold; ; ; ; ; #996600; ; bold; ; ; ; ; cccccc; ; bold; ; ; ; ; ; ; Center Center; scroll; repeat; #ff3300; solid; 6px;;
I'm thinking, these lone settings were moved to the end of the stylesheet by an overzealous parsing script. There are lots of "text-something:" followed by nothing in the first part of the stylesheet so they're probably connected one way or another...
I don't code the css myself, that's the whole point of this mod, it works for the most part with myspace layouts, and that is what this mod is based on. That's why it looks like garbage.
It is not... Geek-friendly.......... :-/ Nor does it conform to any kind of standard, here or on any other world.
Ok. Just to clarify...
1. The color scheme is a myspace layout.
2. The transparency is to expose the background picture. Oh and that is just my profile, and how i like it. I don't think anyone on myspace or anywhere else takes much time to read about the person, so much as they do to comment them, or see their pictures.
3. It is a myspace layout straight fom a layout site.The code all fits in one way or another, believe me, but I know of some certain lines of css in their that don't do anything. All I know is it's pretty much just a demo for my other members.
Oh and @ Falguni, thank you :). My other members have better looking profiles, and I must say that this used in conjunction with the User CP mod definitely is a plus.
Installed a loved it :)
But a small problem is there. When I enter the profile from the profile button I can see the pictures, but when a member click a profile can't see the pictures. Any idea why this issue?
Did you enable customized profiles for all? Go to your admin center if not, and click features and settings, and enable it under customized profiles. :), hopefully that helps.
Yes I did!
Another problem; can't delete comments!!
Quote from: Zeri YT! on November 05, 2007, 06:07:22 AM
Installed a loved it :)
But a small problem is there. When I enter the profile from the profile button I can see the pictures, but when a member click a profile can't see the pictures. Any idea why this issue?
are you useing seo4smf?
Yes! ::)
Quote from: JovanT on October 01, 2007, 05:16:14 PM
OK, I've made the script for redirection. You can download it here (http://jovant.guruserve.com/projekti/smf/ultimate_profile/profile-redirect.zip). It is not a package - it is an ordinary zip archive; see readme.txt for more details. It requires Apache server with mod_rewrite installed. After installation, you can access your profiles by using:
http://www.yourdomain.com/path_to_forum/profiles/Some-username or
http://www.yourdomain.com/path_to_forum/profiles/Some-username.html
How would i make it so its www.mysite.com/username ???
i tried:
RewriteRule ^(.*)\.html$ profile-redirect.php?user=$1
RewriteRule ^(.*)$ profile-redirect.php?user=$1
it redirects, but comes up with invalid user?
Quote from: Zeri YT! on November 05, 2007, 06:09:13 PM
Yes! ::)
That is the problem :( i am not sure how to fix it so I just uninstalled seo, it was causing way more problems than it should have.
After I uninstalled everything worked fine.
My redirect is still not working and I'm not sure how to do it haha, I'm eagerly awaiting the return of Jovan :).
capabmx you put comments on right side it looks very good
this mod is better than myspace (sorry, no offence)
That's exactly why I love this mod so much, because now people can be part of a community and have the flexibility of a networking website. With the use of the user CP, it's even more user friendly, and then the redirects would top it off :). The only thing I want to do is make a profiles home page, or add something to the portal page that incorporates the profiles.
its better to make the profile the main home page
and it is very easy to do it
just ask it in the right board, I have seen something like it but cant remember where it is
id love to install this but my server uses secure ftp and smf doesnt do ssh.. =\
Quote from: capabmx on November 07, 2007, 12:19:47 PM
That's exactly why I love this mod so much, because now people can be part of a community and have the flexibility of a networking website. With the use of the user CP, it's even more user friendly, and then the redirects would top it off :). The only thing I want to do is make a profiles home page, or add something to the portal page that incorporates the profiles.
thats what I want also, please tell me if you get them working...
By the way, how did you get the user CP integrated, ive been trying to get it integrated instead of a seperate page, but it does not work that well :\
About the user cp integration, I just edited the my profile link to go to http://www.capabmx.com/Forums/index.php?action=profile;u=1;sa=customized, instead of forumprofile. Then for them to be able to view it I removed the search link, because I didn't feel a need fo rit to be there, and madeit nito a view profile link, and set that to http://www.capabmx.com/Forums/index.php?action=profile. The user control panels language files is where you want to go to change the captions under the links :).
Is there a way to add a spot for the Referrals Mod (http://custom.simplemachines.org/mods/index.php?mod=836)?
@ Stargater, yes :). Just install the mod, and find the edits it makes to profile.template.php, and copy and paste them into one of the tables in ultimateprofile.template.php :). It works on mine, check this profile (http://www.capabmx.com/Forums/index.php?action=profile;u=22) It's a good example :). Tell me if that is what you mean?
Yes, that is what I want to do.
How did you do it exactly? I tried taking the code that needed to be added to profile.template.php and add it above where it says "// Messenger type information." However that made my profile go a little wacko..
Ok, let me check my ultimateprofile.php :). Be right back.
Edit: Mine is added after the messenger type information, and before // Can they add this member as a buddy?
Look in ultimatepofile.template.php for:
// Can they add this member as a buddy?
Add before:
// ADDS THE REFERRAL/REFERRED USER INFORMATION TO THE PROFILE SUMMARY
echo '<tr><td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td></tr>
<tr>
<td><b>'.$txt['referrals_referrals'].'</b></td>
<td>'.$context['member']['referralsno'] .' ';
// SHOW IN DROPDOWN USERSNAME OF THOSE REFERRED
if(!empty($context['member']['referredmembers']))
{
echo '<select onchange="location=options[selectedIndex].value;">
<option>'.$txt['referrals_membersreferred'].'</option>';
foreach($context['member']['referredmembers'] as $x) {
echo $x;
}
// FREE KEVIN
unset($x);
echo '</select>';
}
echo' </td>
</tr>
<tr>
<td><b>'.$txt['referrals_referral******s'].'</b></td>
<td>'.$context['member']['referral******s'].'</td>
</tr>';
if (!empty($context['member']['referredby']) && $context['member']['referredby'] != 0)
{
echo' <tr>
<td><b>'.$txt['referrals_referredby'].'</b></td>
<td>'.$context['member']['referredbylink'].' '.$txt['referrals_on'].' '. date("jS M Y",$context['member']['referredon']).'
</td>
</tr>';
}
echo '<tr>
<td colspan="2"><b>'.$txt['referrals_link'].'</b></td></tr>
<tr><td colspan="2" style="text-align:center;"><input type="text" value="'.$scripturl.'?referredby='. $context['member']['id'] .'" style="width:330px;"/></td>
</tr>';
Let me know if that helps :).
How can I change the background?
@geo
create a css stylesheet, in the customization table.
Make it look something along the lines of:
<style type="text/css"> body{ background-color:#000000; background-image:url(http://www.yoursite.com/images/yourimage.jpg); background-position:Center; background-attachment:fixed; background-repeat:no-repeat;}</style>
background color, is the background color, either use the Hex chart, or rgb.
background image is the background picture
background position is where it lies.
background repeat will repeat the image if needed, or just put no-repeat :0.
I have heavily modded this mod and I think I have it working the way it was meant to...
Here is one of the themes I have finished, and I plan on releasing more, DO NOT USE IT without permission.... (it might not work anyway)
http://www.knightsofnight.com/index.php?action=profile;u=3
Hey Embrace, serious props on how you have your profile set up :). I must say it looks real flush, and fits together. I've been meaning to delete the user profile options that clogs up the page yet haha. Very nice!
Thanks capabmx, it took me a few hours to get everything set up in a simple easy to modify manner...
I plan on releasing tutorials and an easy profile editor.... since jovan has been gone so long ive just done alot of personal mods to the mod... lol
Quote from: capabmx on November 09, 2007, 11:02:31 PM
@geo
create a css stylesheet, in the customization table.
Make it look something along the lines of:
<style type="text/css"> body{ background-color:#000000; background-image:url(http://www.yoursite.com/images/yourimage.jpg); background-position:Center; background-attachment:fixed; background-repeat:no-repeat;}</style>
background color, is the background color, either use the Hex chart, or rgb.
background image is the background picture
background position is where it lies.
background repeat will repeat the image if needed, or just put no-repeat :0.
What if I wanted something like this-
http://www.freecodesource.com/myspace-layouts/view.php?id=L187400088
Quote from: Embrace on November 09, 2007, 11:21:06 PM
Thanks capabmx, it took me a few hours to get everything set up in a simple easy to modify manner...
I plan on releasing tutorials and an easy profile editor.... since jovan has been gone so long ive just done alot of personal mods to the mod... lol
That be a really awesome idea for a tutorial.
@Embrace, hey if you need some help, or something I'm here, though I'm not sure what help I could be haha. It might be a good idea to make a basic reproduction of the smf theme generator I saw somewhere, it has a form set up that asks what kind of color you want for certain things and what not and even provides images. Maybe if you based it off of that, it could be easier, or just make one from scratch that asks questions like background color, image, music, etc :). Adding a hex chart might be sweet :), but that'd be some work haha.
EDIT:
I'm adding 2 things to the pictures area. Just gonna throw out the ideas, and see if anyone likes them.
When you click my pictures, instead of seeing pictures it will take you to an overview of albums, which you can name, and maybe a feature for you to add albums, but have a set limit. Or maybe make it check post count after a certain amount. Not sure, but then when you click an album, it will be like how the my pictures is now, with the pictures showing, and if you click them it will take you to a comment page like myspace haha. Just started revising it, and working on modding mine first, if stuff goes ok, or anyone want's to pitch in help that would be cool!
Quote from: capabmx on November 09, 2007, 10:50:08 PM
Ok, let me check my ultimateprofile.php :). Be right back.
Edit: Mine is added after the messenger type information, and before // Can they add this member as a buddy?
Look in ultimatepofile.template.php for:
// Can they add this member as a buddy?
Add before:
// ADDS THE REFERRAL/REFERRED USER INFORMATION TO THE PROFILE SUMMARY
echo '<tr><td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td></tr>
<tr>
<td><b>'.$txt['referrals_referrals'].'</b></td>
<td>'.$context['member']['referralsno'] .' ';
// SHOW IN DROPDOWN USERSNAME OF THOSE REFERRED
if(!empty($context['member']['referredmembers']))
{
echo '<select onchange="location=options[selectedIndex].value;">
<option>'.$txt['referrals_membersreferred'].'</option>';
foreach($context['member']['referredmembers'] as $x) {
echo $x;
}
// FREE KEVIN
unset($x);
echo '</select>';
}
echo' </td>
</tr>
<tr>
<td><b>'.$txt['referrals_referral******s'].'</b></td>
<td>'.$context['member']['referral******s'].'</td>
</tr>';
if (!empty($context['member']['referredby']) && $context['member']['referredby'] != 0)
{
echo' <tr>
<td><b>'.$txt['referrals_referredby'].'</b></td>
<td>'.$context['member']['referredbylink'].' '.$txt['referrals_on'].' '. date("jS M Y",$context['member']['referredon']).'
</td>
</tr>';
}
echo '<tr>
<td colspan="2"><b>'.$txt['referrals_link'].'</b></td></tr>
<tr><td colspan="2" style="text-align:center;"><input type="text" value="'.$scripturl.'?referredby='. $context['member']['id'] .'" style="width:330px;"/></td>
</tr>';
Let me know if that helps :).
Hey, that worked! Thanks!
Except there's a line of code in what you pasted that says 'referrals hits' (only the two words are together. And SMF made it into 'referal*****s' Hehe.. Funny stuff..
Haha, that's wierd, I gotta check mine pry has that and I never even saw it :). Glad that that helped :).
How do I make the Xbox Live Gamertag Mod work with the mod together?
Try opening up the install xml file of the mod you wish to add to this and manually install it into the Ultimate Profile Mod.
Quote from: brianjw on November 10, 2007, 03:31:55 PM
Try opening up the install xml file of the mod you wish to add to this and manually install it into the Ultimate Profile Mod.
How?
If you want it to be easier, maybe, try the mod parser out, upload the mod to their and then look for where it says, profile.template.php, and then copy aNd paste that code into ultimateprofile.template.php. Either way, just look for the edits it makes, in either the parser, or by extracting it and checking the xml file. :).
Quote from: capabmx on November 10, 2007, 05:01:01 PM
If you want it to be easier, maybe, try the mod parser out, upload the mod to their and then look for where it says, profile.template.php, and then copy aNd paste that code into ultimateprofile.template.php. Either way, just look for the edits it makes, in either the parser, or by extracting it and checking the xml file. :).
lol
I really don't know how.
Ok, I can help you get this setup. Give me a minute and I will post the edits ;)
hmmm my test site is having huge problems...
Quote from: Embrace on November 09, 2007, 11:09:25 PM
I have heavily modded this mod and I think I have it working the way it was meant to...
Here is one of the themes I have finished, and I plan on releasing more, DO NOT USE IT without permission.... (it might not work anyway)
http://www.knightsofnight.com/index.php?action=profile;u=3
Do you think you might release your version of it? I checked out your profile and it is awesome, it is just what i've been looking for.
Not sure on that Brian... Its still in testing maybe when I get the full version done, The only problem is I'm modding it to be theme specific.
Sounds good :) I can wait...
What do you mean by theme specific?
Do you mean like, being able to select themes from a list? I did hear that it is a huge security risk allowing any type of html.
That would be a good option too, if that's the case. I personally love the flexibility of the members being able to customize their profiles, but then again every site has different needs :). I need to get back to business lol, I keep coming here to postpone having to get stuff finished :).
The way I have it rendering the pages it is useing the a custom SMF theme, right now I am working on the auto CSS form :)
Awesome :)
I am using th Helios Multi theme. when i try to use a layout code like style or CSS it doesn't show through the theme. it shows up behind the theme. how did you guys get your theme to show transparent ??
Quote from: SoulPleX on November 12, 2007, 10:36:01 AM
I am using th Helios Multi theme. when i try to use a layout code like style or CSS it doesn't show through the theme. it shows up behind the theme. how did you guys get your theme to show transparent ??
The first question to ask yourself should really be: do you
want your theme to be transparent?
It can never be stressed enough that transparency badly hurt not only the eye, but also browser performance (try to scroll with a transparent background over a fixed picture...).
Usually, when I stumble upon a Myspace page with transparent backgrounds, I quickly close my tab.
Quote from: Nao 尚 on November 12, 2007, 10:57:20 AM
Quote from: SoulPleX on November 12, 2007, 10:36:01 AM
I am using th Helios Multi theme. when i try to use a layout code like style or CSS it doesn't show through the theme. it shows up behind the theme. how did you guys get your theme to show transparent ??
The first question to ask yourself should really be: do you want your theme to be transparent?
It can never be stressed enough that transparency badly hurt not only the eye, but also browser performance (try to scroll with a transparent background over a fixed picture...).
Usually, when I stumble upon a Myspace page with transparent backgrounds, I quickly close my tab.
Yes, my members use layout codes from myspace and would like to see the full effect of their code... In the profile area only.
can anybody make it so the buddy list is customizable? Like Top Friends?
@ Embrace, can't we just add some php that, like Feeblle's chess mod, that will allow the user to drag and drop theirs friends, into whatever order, and then that order will be how they are shown in top friends. As for how many friends I think the code is in there somewhere.
Quote from: capabmx on November 14, 2007, 12:48:13 PM
@ Embrace, can't we just add some php that, like Feeblle's chess mod, that will allow the user to drag and drop theirs friends, into whatever order, and then that order will be how they are shown in top friends. As for how many friends I think the code is in there somewhere.
That could in theory work... I just have no clue where to start.
Let me ask feeble what the code is for the drag and drop, and I'm pretty sure we can get it done :).
that'd be pretty sweet to be able to rearrange your buddies...
i got a question, is there a way to make the profile owner's avatar bigger than the maximum size allowed ... see i got my avatar size set at around 75 width x 90 height, but i want to make the one that shows in the profile bigger...
here's my profile:
http://ninerskickass.com/index.php?action=profile;u=1
i wanna make the avatar in the top left corner bigger than what i currently allow in posts and such, anyone know how?
also, might there be a way to add comments to pictures? that'd be cool 2
I'm still trying to figure that out, because I don't want to just make comments for pictures, but also I'm trying to make it so people can have albums like myspace.
oh one more thing, im sure its been asked a bunch of times but i couldnt find an answer by searching...
how can u redirect a user to their profile after they log in?
greetings. as we all see, i am new to this board, and very new to forum admin. i am no programmer, merely a low level designer who has common sense enough to follow good directions.
that said, i do have a question - i want to use the smoothLT114v2 theme, but in it, under admin, there is no option to enable or even control the Ultimate Profile mod. how can i rectify this?
Can someone help me to code a background for this mod. I get this transparent effect and want to add a background
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi234.photobucket.com%2Falbums%2Fee192%2FTOOMUCH4MOST%2Fultimate.jpg&hash=609437cc7d4102c424e67e5902e93290e4077434)
First off, great mod.
How would I go about changing the size of the thumbnails for the pictures?
Thanks.
Probably editing /Sources/Profile.php or /Themes/default/Profile.template.php and look for the pictures by doing CTRL+F on your key board in your editor program.
Quote from: brianjw on November 18, 2007, 08:29:15 AM
Probably editing /Sources/Profile.php or /Themes/default/Profile.template.php and look for the pictures by doing CTRL+F on your key board in your editor program.
It isn't the Profile.template, since it doesn't even use that file anymore, opting for the new UltimateProfile.template. It was in the Profile.php file after downloading it to my desktop after the install.
what would I need to do to get the Member Notepad (http://custom.simplemachines.org/mods/index.php?mod=788) to show up in this?
this is the complete xml code:
<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
<id>vbgamer45:MemberNotepad</id>
<version>1.0</version>
<file name="$languagedir/Modifications.english.php">
<operation error="ignore">
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
//Begin Member Notepad Text Strings
$txt['mempad_title'] = 'Personal Notes';
$txt['mempad_save'] = 'Save Notes';
$txt['mempad_error'] = 'You are not allowed to edit this user\'s notepad.';
//END Member Notepad Text Strings
]]></add>
</operation>
</file>
<file name="$boarddir/index.php">
<operation>
<search position="before"><![CDATA['news' => array('ManageNews.php', 'ManageNews'),]]></search>
<add><![CDATA[
'savepad' => array('PersonalPad.php', 'SavePad'),]]></add>
</operation>
</file>
<file name="$themedir/Profile.template.php">
<operation>
<search position="before"><![CDATA[<tr>
<td colspan="2" height="25">
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="table-layout: fixed;">
<tr>
<td style="padding-bottom: 0.5ex;"><b>', $txt[85], ':</b></td>
</tr><tr>
<td colspan="2" width="100%" class="smalltext"><div class="signature">', $context['member']['signature'], '</div></td>
</tr>
</table>
</td>
</tr>]]></search>
<add><![CDATA[
';
// Member Notepad
global $scripturl;
if ($context['show_pad'])
echo '
<tr>
<td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr>
<tr>
<td colspan="2" >
<h3>' . $txt['mempad_title'] . '</h3>
<form method="POST" action="', $scripturl, '?action=savepad">
<textarea rows="5" name="txtnotes" cols="80">', $context['pad_notes'], '</textarea><br />
<input type="hidden" name="id" value="', $context['member']['id'], '">
<input type="submit" value="', $txt['mempad_save'], '" name="cmdnotes" />
</form>
<br />
</div>
</td>
</tr>';
// End Member Notepad
echo '
]]></add>
</operation>
</file>
<file name="$sourcedir/Profile.php">
<operation>
<search position="before"><![CDATA[$context['member'] = &$memberContext[$memID];]]></search>
<add><![CDATA[
// Member Notepad
global $db_prefix, $ID_MEMBER;
if (allowedTo('admin_forum') || $memID == $ID_MEMBER)
{
$pad_notes = '';
$result = db_query("SELECT value FROM {$db_prefix}themes
WHERE variable = 'notes' AND ID_MEMBER = $memID LIMIT 1", __FILE__, __LINE__);
if (mysql_num_rows($result) != 0)
{
$row = mysql_fetch_assoc($result);
$pad_notes = $row['value'];
}
mysql_free_result($result);
$context['pad_notes'] = $pad_notes;
$context['show_pad'] = true;
}
else
{
$context['show_pad'] = false;
}
// End Member NotePad
]]></add>
</operation>
</file>
</modification>
thanks in advance.
This mod is great. I installed it and everything went great.
But. :]
The only thing that I found wrong was that the Profile Info menu bar (where it says Summary, edit profile information, forum profile and looks, customized profile, my pictures, etc) was moved bellow everything and above the comments section. How do I move that bar above everything? I beleive it was the sidebard in the normal profile.
Also can I make it so that it resizes the avatars to a certain size? Because theyre all too big to be on the profile.
I can't remember what file it's in but if you can find out from somebody, please post that file.
I can move it up for you ;)
Ok one at a time I'll try to help lol.
@ninerskickass
look in login.template.php I believe, not sure, I gotta check it out and I'll get back to ya.
@anothernewdude
It should be in admin > Features and Options > Ultimate Profile
@TOOMUCH4MOST
Look in usercp.template.php, and I'm not sure what exactly you mean so I'll throw down two different options.
1. If you are trying to change the icons just upload another picture via ftp and name the original icon (icon2), and the new one (icon).
2. If you mean the background of the whole page, that is in style.css, but that changes the background for every page, so in usercp find <table border="0" width="100%" id="table1" cellspacing="1" style="border-collapse: collapse">
and add <TD BACKGROUND="images/ex.gif"
WIDTH="60" HEIGHT="35">
right underneath. I'm pretty sure this will work, don't hold me to it though :).
Hey guys, just wanted to show you what this mod is capable of, I've been using it for a while now, and one of my members has spent a few hours modding the hell out of his profile, it changes the whole look of the forum when your on his page, he has different text, and a different cursor.
Just wanted to show the people who do not have this yet of what it's capable of.
http://img101.imageshack.us/img101/1416/profilemodpo1.png
The blurry ness in the bottom part of the image is just me covering up the IP's and stuff for his safety.
The image is really big, so i will not direct link it, click the url up there to see it, the top image in the picture is mine, spent 2 seconds on, compared to my users.
NOTE: if the mod owner wants to add this image to the front page to show people how powerful and how cool this mod is i don't mind, go ahead use it!
@chrishicks
go to the mod parser (http://modparser.dev.dansoftaustralia.net/) or Bigguys version (http://www.smfhelper.info/forum/package.php5). I recommend Bigguy's because it allows 1.1.4 edits. Now upload the package into their, and look for the edits made to profile.template.php. Once you find them, add them somewhere in Ultimateprofile.template.php. If you want a specific spot and don't know where it is in the code, let me know where it is :).
@DonaldJ
Search trough the code Ctrl+F to find comments, and then scroll up :). Find the header of the users control area and delete it's code, or copy and past it somewhere else :). I'd have put the actual code to move in, but I deleted mine completely because it was just an annoyance to me.
Hi everybody! Just want to let you know that I didn't forget this topic. I regularly read this topic but I don't have time to answer. The main reason is my school.
I want to inform you that I've released new version of Ultimate Profile - 0.7.1. There's no new features - just a few bugs fixed, mainly with the avatar size. See changelog for more details.
Also, I've set up a new test forum (http://jovant.guruserve.com/test-forum) so you can try this mod live and test its features. You can post your questions regarding this mod there as it is easier to track each question and respond quicker. I will try to organize FAQ so you can find answers to common questions even faster.
Thanks, JovanT! I've also applied your changes to my (private) custom upgrade for SMF2.
So do we have to uninstall and install or do we just install the new one?
Will we lose previous profile information?
Thanks capabmx and Jovan. :]
You will not lose any previous information as that is stored in the database.
1. Uninstall Previous (older version) pakage.
2. Delete the package.
3. Install the (newer version) package.
4. If all goes well, you will see your stuff working perfectly.
If it times out or gets errors you will have to manually install
brianjw
Hmm, Well I did so and there were no errors. But the avatars didn't seem to change nor do I see any options to make my profile private. I checked the admin section under features and settings to make sure that everything was correct. It was the same as before. :|
Thanks.
Does the persons custom css code stay intact? Or must it be re-entered?
Quote from: MightyDucksJosh on November 19, 2007, 04:50:58 AM
Hey guys, just wanted to show you what this mod is capable of, I've been using it for a while now, and one of my members has spent a few hours modding the hell out of his profile, it changes the whole look of the forum when your on his page, he has different text, and a different cursor.
Just wanted to show the people who do not have this yet of what it's capable of.
http://img101.imageshack.us/img101/1416/profilemodpo1.png
The blurry ness in the bottom part of the image is just me covering up the IP's and stuff for his safety.
The image is really big, so i will not direct link it, click the url up there to see it, the top image in the picture is mine, spent 2 seconds on, compared to my users.
NOTE: if the mod owner wants to add this image to the front page to show people how powerful and how cool this mod is i don't mind, go ahead use it!
http://www.brittlebullet.com/forum.php?action=profile;u=1
That's an example of what's been done with Snake's Profile Mod (ver 0.4); not includes my own edits for: min/max shout length (Changeable via ModSettings added panel), min/max file upload control (name/description), time limit between shouts (Independent of post limit).
My point is, ANYTHING
can be done with a mod, though whether or not it is done for the mod/already in it is the difference.
Does anyone have any idea how to get the fields from the custom profile fields mod to display in the "Age and Location" table on this mod?
I've tried the parser mentioned earlier but with my limited PHP "editing" ability I keep getting a template parse error.
Any help is greatly appreciated, thanks.
The mod parser wouldn't help for this, I don't think. You have to go into profile.template.php, and look for whatever action you make, and then copy and paste it into Ultimateprofile.template.php
Quote from: SySRoot74 on November 19, 2007, 06:55:04 PM
Quote from: MightyDucksJosh on November 19, 2007, 04:50:58 AM
Hey guys, just wanted to show you what this mod is capable of, I've been using it for a while now, and one of my members has spent a few hours modding the hell out of his profile, it changes the whole look of the forum when your on his page, he has different text, and a different cursor.
Just wanted to show the people who do not have this yet of what it's capable of.
http://img101.imageshack.us/img101/1416/profilemodpo1.png
The blurry ness in the bottom part of the image is just me covering up the IP's and stuff for his safety.
The image is really big, so i will not direct link it, click the url up there to see it, the top image in the picture is mine, spent 2 seconds on, compared to my users.
NOTE: if the mod owner wants to add this image to the front page to show people how powerful and how cool this mod is i don't mind, go ahead use it!
http://www.brittlebullet.com/forum.php?action=profile;u=1
That's an example of what's been done with Snake's Profile Mod (ver 0.4); not includes my own edits for: min/max shout length (Changeable via ModSettings added panel), min/max file upload control (name/description), time limit between shouts (Independent of post limit).
My point is, ANYTHING can be done with a mod, though whether or not it is done for the mod/already in it is the difference.
Err what the hell is your point?
Everybody's profile on your mates site looks the same, so theres nothing special about his mod. What i was showing you is what a NORMAL USER can inject into this script to change what ever he likes, If he wanted to he could edit his profile to look just like that guys profile without even editing any mod pages.
You completely missed what i was saying and spammed some other guys profile mod.
And i have used snakes, it's way to buggy this one is MUCH better.
I personally think Snakes mod is way too cluttered. The less there is the better, because it leaves room to make changes and add stuff if needed. With his it has a video table, about me, info, pictures, etc. Too much. Who cares about attachments really? Forum information should be kept to a minimum in the profile mods, because these mods are supposed to kind of take the feeling of being stuck in the forum away.
That's what i like about this one.
Somebody took this profile mod in their profile, added his own .CSS styles and stuff to it, and now it's completely different. NO help from an admin / mod files, he did it all with code, That's what i like. Your not just stuck with the same crappy theme, with a couple of minutes you can customize this profile mod to how ever a user want's
Some sample css would be nice - the more the merrier!
Regards,
Wilsy.
Get a myspace layout code, and their is your sample css :).
Actually, you should realize that Ultimate Profile is not compatible with MySpace layouts. HTML code is different so MySpace customization won't work as it should.
My mod uses much cleaner HTML with a lot of IDs and classes so you can customize it much easier. Maybe we should build some sort of profile editor or a database with layouts made specially for my mod.
@wilsy
If you want to see how someone customized his profile, take a look at the source of his profile page.
JovanT, pm me. I have an idea for your theme site for your mod. ;)
brianjw
That would be sweet, I think Embrace is already on it. Oh and for the meantime myspace layouts work pretty efficiently though. A couple things here and there to change, and a couple things to remove, but for the most part it's a good basis.
I am indeed working on a simple layout generator, I will do the default theme since that is what most people are useing, but it will not be compatible with other themes, I will however explain how to do it.
There is some stuff I would love to see on this mod though, customizable buddy list (top friends) and integration with felblog somehow, I am working on the felblog integration but I am not skilled enough for the buddy list.
Thanks,
Embrace
I'm working on the buddylsit, I talked to feeble and he has me on the right track. I'm gonna try to get pretty far with it tonight.
Quote from: Embrace on November 20, 2007, 05:47:15 PM
I am indeed working on a simple layout generator, I will do the default theme since that is what most people are useing, but it will not be compatible with other themes, I will however explain how to do it.
Every theme uses the same UltimateProfile.template.php so the generator should build CSS for HTML included there. The only problem is header which can be different for each theme.
Also, if you have problems making CSS for this editor, I am willing to apply changes to UltimateProfile.template.php - reformat HTML, add more classes, IDs, etc.
Quote from: Embrace on November 20, 2007, 05:47:15 PM
There is some stuff I would love to see on this mod though, customizable buddy list (top friends) and integration with felblog somehow, I am working on the felblog integration but I am not skilled enough for the buddy list.
Integration with felblog should not be hard thing to do. You can display latest entries and include link to member's blog.
And for the changeable buddy list, I will probably include this feature in one of the next releases. Other users also suggested that I should completely rewrite SMF's buddy system and include approval of new buddies.
this mod kicks ass. :)
i've read through this thread, and not 100% sure it's been answered though, how do i move the user options from the bottom of the screen, to the top left, just underneath the 'contact me' section?
@ Alex, look in Ultimateprofile.template.php, and find it's code, it should be right under comments or above it I think, and just copy and paste it right under the contact table, and then delete it from the bottle.
Quote from: capabmx on November 20, 2007, 11:37:12 PM
@ Alex, look in Ultimateprofile.template.php, and find it's code, it should be right under comments or above it I think, and just copy and paste it right under the contact table, and then delete it from the bottle.
i'd hate to be a pain, but i got a parse error when i tried that.
can you tell me what code goes where, specifically?
Ok, I am thinking about installing this profile mod to my website. But need a couple of questions answered first ~
1. Which version should I use and which one is more stable? (i heard some people having trouble with the latest)
2. Can someone post some style codes you are using to completely change the look of your profile so I can modify it to fit mine?
3. I understand this mod is definitely a security risk as members can redirect you and do alot of other stuff with full access to html. Embrace, are you almost finished with your theme generator or whatever it is? Maybe, I will develop a css bbcode and they can only be allowed to use bbcode. :)
Thanks,
brianjw
Quote from: JovanT on November 20, 2007, 06:04:21 PM
Quote from: Embrace on November 20, 2007, 05:47:15 PM
I am indeed working on a simple layout generator, I will do the default theme since that is what most people are useing, but it will not be compatible with other themes, I will however explain how to do it.
Every theme uses the same UltimateProfile.template.php so the generator should build CSS for HTML included there. The only problem is header which can be different for each theme.
Also, if you have problems making CSS for this editor, I am willing to apply changes to UltimateProfile.template.php - reformat HTML, add more classes, IDs, etc.
Quote from: Embrace on November 20, 2007, 05:47:15 PM
There is some stuff I would love to see on this mod though, customizable buddy list (top friends) and integration with felblog somehow, I am working on the felblog integration but I am not skilled enough for the buddy list.
Integration with felblog should not be hard thing to do. You can display latest entries and include link to member's blog.
And for the changeable buddy list, I will probably include this feature in one of the next releases. Other users also suggested that I should completely rewrite SMF's buddy system and include approval of new buddies.
Some themes do not use the default display.template so the same code may not apply.
(check my profile at knightsofnight.com for an example)
As for the buddy system, A comlpete re-write would not be good due to other mods it may interfere with, I think the top friends thing would be more important, since I personally have 20 friends but want a few of my friends in the "top 8"
Any hints on the felblog thing? Im kind of a noob ;P
Quote from: brianjw on November 21, 2007, 08:00:52 AM
1. Which version should I use and which one is more stable? (i heard some people having trouble with the latest)
You should always use the latest version as it contains bug fixes and/or new features. Currently, it is 0.7.1 and I didn't hear people complaining.
Quote3. I understand this mod is definitely a security risk as members can redirect you and do alot of other stuff with full access to html.
This mod doesn't allow full access to html. Some potentialy bad tags such as meta, iframe and script are filtered. Also, you can always disable Media and Customize fields and use the rest of the features.
Quote from: Embrace on November 21, 2007, 09:38:25 AM
As for the buddy system, A comlpete re-write would not be good due to other mods it may interfere with, I think the top friends thing would be more important, since I personally have 20 friends but want a few of my friends in the "top 8"
I agree that the top friends feature is really necessary and I will try to include it in my next release. As for the rewrite of buddy system, I think that this shouldn't be a problem since other mods mostly don't modify buddies feature.
i read in an earlier post that you can get the latest entry of your felblog into your profile, how can i do that?
Quote from: MightyDucksJosh on November 20, 2007, 04:57:59 AM
Err what the hell is your point?
Everybody's profile on your mates site looks the same, so theres nothing special about his mod. What i was showing you is what a NORMAL USER can inject into this script to change what ever he likes, If he wanted to he could edit his profile to look just like that guys profile without even editing any mod pages.
You completely missed what i was saying and spammed some other guys profile mod.
And i have used snakes, it's way to buggy this one is MUCH better.
My point wasn't how great one mod could be, it was how ANYTHING could be coded - but now I understand your point.
IMO, JovanT still has to remove some aspects of this - with a DIV container, the entire page itself could be blocked off, and then bad content inserted (Anywhere from exploited flash bugs being used to blatant advertising).
That's where Admins / staff then come in and ban them.
Quote from: MightyDucksJosh on November 22, 2007, 12:27:24 AM
That's where Admins / staff then come in and ban them.
Nonetheless, there are ways this mod could be secured a bit more, removing such classes as "position: absolute", relative, etc etc. Limiting widths/heights and such.
Also: Last I checked, you could use '; ?> to execute raw PHP - is this still possible?
I hope so, cus it only stuffs up on his profile, and i don't care what my users do to their profiles, that's the whole point of this script letting them have free choice.
I'd not use this if it was secured more, as being open for users to do what ever is good.
Hi Jovan,
Great mod, installed at my site and I love it! I have a few questions: -
1. When is the next update?
2. Can you consider admin approval of profile photos?
3. Is there any code for a TinyPortal PHP block to show the last # profile photos? (this would be invaluable as you could put this on the front page of the site with a "post now for your photo to appear here!)
4. Is there any code for a TinyPortal PHP block to show: -
My Profile | Customise My Profile | Add Profile Photo
5. It would be nice if we could also have: -
Recently Updated Profiles | Last Commented Profiles | Boys Profiles with Photos | Girls Profiles with Photos
I appreciate the last PHP block request would mean further development of the mod before you could create the block. I am sure it would be worthwhile though as it would encourage members to keep their profiles constantly updated and add value to other members who like to browse profiles.
Thoughts?
Regards and thanks for possibly the best mod at SMF!
Wilsy.
Hi There,
Just want to add that I too think this mod is excellent.
But I was wondering if someone would help me. Everything works perfectly except for when I wrap SMF in Joomla the Pictures on the profile page dissapear?
Is anybody else using this mod and wrapping SMF into Joomla/Mambo?
I am using SMF v 1.1.4 and Joomla 1.0
I would really appreciate some help, thanks in advance.
Nice work - thanks for sharing !
One thing i've just seen:
If you dont have Buddies enabled in the Forum, the regular User is still able to check/uncheck 'profile_customize_private' and the other Buddy-related settings.
I am still making updates to this mod, I am not calling 2 different styles, this will make it easier for users to customize profiles.
Quote3. Is there any code for a TinyPortal PHP block to show the last # profile photos? (this would be invaluable as you could put this on the front page of the site with a "post now for your photo to appear here!)
Hi Embrace,
Could you help with this? I've been dying to get my hands on it ;)
Regards,
Wilsy.
Quote from: wilsy on November 24, 2007, 05:29:17 AM
1. When is the next update?
I can't tell for sure. I will release the new version when I find time to add new features.
Quote2. Can you consider admin approval of profile photos?
This can be interesting feature but I didn't plan to include it. Maybe some day I will...
Quote3. Is there any code for a TinyPortal PHP block to show the last # profile photos? (this would be invaluable as you could put this on the front page of the site with a "post now for your photo to appear here!)
I will try to make this PHP block. It shouldn't be hard.
Quote from: AllMassive on November 26, 2007, 02:00:48 AMIf you dont have Buddies enabled in the Forum, the regular User is still able to check/uncheck 'profile_customize_private' and the other Buddy-related settings.
Thanks, I will fix this in the next release.
QuoteQuote
3. Is there any code for a TinyPortal PHP block to show the last # profile photos? (this would be invaluable as you could put this on the front page of the site with a "post now for your photo to appear here!)
I will try to make this PHP block. It shouldn't be hard.
Thanks Jovan - it's very much appreciated.
Regards,
Wilsy.
Quote from: JovanT on November 26, 2007, 03:06:22 PM
Quote2. Can you consider admin approval of profile photos?
This can be interesting feature but I didn't plan to include it. Maybe some day I will...
You may want to consider getting inspiration from the SMF2 source code (when it's released, if you don't have access to it). It handles attachment approval in a rather clean way.
@wilsy
You can find a few TinyPortal blocks here (http://jovant.guruserve.com/test-forum/index.php?topic=4.0). I will add more as soon as I finish them.
Hi Jovan,
Many thanks for this. The menu works brilliantly but the recent profile photos at
http://jovant.guruserve.com/test-forum/index.php?topic=4.msg7#msg7
didnt format correctly in a front page block. It listed every profile photo and formatted them underneath each other rather than in a row across. It also needs to only list the latest profile photo by member, so if a member uploads 5 new photos at once they dont all show in the block. It will show the latest photo that the last five members have uploaded .....does that make sense? ???
Thanks for all your help - if you can resolve this I will be your friend forever!
Regards,
Wilsy.
Ok, this is really beginning to look interesting. But.. I would like a couple of things done (if possible) before I install this...
1. This question kind of goes off wondering if it's possible (me thinking): Is it possible to make it so the ultimate profile goes off into a page like ?action=profile;u=1;sa=space and keeping the current profile of smf so mods for profiles still continue to install fine. (this one doesn't have to be like this but it would be nice)
2. I see you have said that there are limits to the html+css code that can be placed in the box but i've had some recent redirection codes being placed in display names so, I don't want redirection in html+css box so do you mind if I can see the limitation codes so I can possibly add to it. Thanks!
3. Is it possible to make it so there is no Customized Profile section and it just displays in the Forum Profile section, but on the forum profile page, there is a category reading "Forum Profile", you can do another category like that and call it "Customized Profile" (of course I would call it your space or something like that though)
--I would modify it to make it work cool and stuff, but all the stuff on customized profile gets put on that page.
I am kind of thinking out loud in the above so if you don't understand, let me know and I will explain it better. ;)
brianjw
Hey JovanT, could you help me out with something, I'm not sure if it has already been asked, I'll recheck right after I post this. When I change to another theme, and then look at profiles, the users customization code pretty much doesn't work :), is there something specific that needs to be changed for themes other than default that will allow it to work right?
Edit....
Hi all,
I have sorted the formatting but cant get it to just display the last five images, it shows all of them :(
This is what I have now: -
$pic_number = 5;
global $db_prefix, $modSettings, $scripturl;
$sql = db_query ('SELECT p.ID_PICTURE, p.ID_MEMBER, p.title, p.time, p.filename, m.realName
FROM ' . $db_prefix . 'profile_pictures AS p, ' . $db_prefix . 'members AS m
WHERE p.ID_MEMBER = m.ID_MEMBER
ORDER BY p.time DESC', __FILE__, __LINE__);
$data = array();
while ($row = mysql_fetch_assoc ($sql)) {
$data[] = array (
'title' => $row['title'],
'thumb' => $modSettings['profile_pictures_url'] . '/' . $row['ID_MEMBER'] . '_' . $row['time'] . '_thumb.' . substr (strrchr ($row['filename'], '.'), 1),
'url' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . ';sa=pictures;view=' . $row['ID_PICTURE'],
'time' => timeformat ($row['time']),
'user' => $row['realName'],
'profile' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
);
}
echo '
<table ALIGN="center">
<tr>';
foreach ($data as $picture)
{
echo '
<td><center>
<a href="', $picture['url'] ,'"><img src="' . $picture['thumb'] . '" alt="" /></a>
</center></td>';
}
echo '
</tr>
</table>';
Regards,
Wilsy.
Resolved!
You can see this block in action at www.rewindlancs.com
global $db_prefix, $modSettings, $scripturl;
echo '
<a href="', $scripturl ,'?action=profile;u=', $context['user']['id'] ,';sa=pictures;add">Add Profile Photo</a> | <a href="', $scripturl ,'?action=profile;u=', $context['user']['id'] ,';sa=pictures">My Profile Photos</a>
';
$sql = db_query ('SELECT p.ID_PICTURE, p.ID_MEMBER, p.title, p.time, p.filename, m.realName
FROM ' . $db_prefix . 'profile_pictures AS p, ' . $db_prefix . 'members AS m
WHERE p.ID_MEMBER = m.ID_MEMBER
ORDER BY p.time DESC
LIMIT 5', __FILE__, __LINE__);
$data = array();
while ($row = mysql_fetch_assoc ($sql)) {
$data[] = array (
'title' => $row['title'],
'thumb' => $modSettings['profile_pictures_url'] . '/' . $row['ID_MEMBER'] . '_' . $row['time'] . '_thumb.' . substr (strrchr ($row['filename'], '.'), 1),
'url' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . ';sa=pictures;view=' . $row['ID_PICTURE'],
'time' => timeformat ($row['time']),
'user' => $row['realName'],
'profile' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
);
}
echo '
<table ALIGN="center">
<tr>';
foreach ($data as $picture)
{
echo '
<td><center>
<a href="', $picture['url'] ,'"><img src="' . $picture['thumb'] . '" alt="" /></a>
</center></td>';
}
echo '
</tr>
</table>';
Regards,
Wilsy.
This is what I got on my profile page in 1.1.4
Unknown column 'com.time' in 'field list'
File: /home/.sockey/jennwilliams/illuminated-dreams.com/Sources/Profile.php
Line: 1302
Now the last piece of this implementation needs a TP member search block with the following: -
Gender: male/female
Profile Photos: yes/no
...this is way beyond me, can anyone help?
Regards,
Wilsy.
Hello,
I know this is probably answered here already, but I can't find it. I see from the first post that users can change the background of their profile, however I can't figure out how to do this.
<Style type="text/css">
.bodyContent{
background-image:url(http://www.yoursite.com/images/yourlogo.jpg);
width: 229px;
height: 147px;
background-position:center;
background-repeat:no repeat;
background-attachment:fixed;
}</style>
If you'd like to change the background to a color:
background-color:(255,255,255);
Or I think you can use the 6 digit hex color system, just include a #.... example:
background-color:#FFFFFF;
, I'm not sure though if you need parenthesis or not. Let me know if that helps at all :).
Quote from: JovanT on July 19, 2007, 05:26:00 PM
(They can add background picture, change font, size and color of text as well as other elements).
What I am trying to figure out is how each individual person can change their background on their own profile. Thank you
They can input any of the code I replied with before in their customization table.
I tried it and it didn't work.
<style type="text/css"> body{ background-color:#000000; background-image:url(http://www.yoursite.com/pathtoimages/yourimage.jpg); background-position:Center; background-attachment:fixed; background-repeat:no-repeat;}</style>
Sorry, that should work. I tested it on my profile and it looks like this (http://www.capabmx.com/Forums/index.php?action=profile;u=1) with just that code.
It still doesn't work so there must be something else going on.
Are you using the default theme, sounds like you are using a non-default theme?
No I am not using the default theme.
Ok Tory, there is a little bit of a procedure to go through to do this for non-default themes, but it isn't too bad. These are theme edits, that need to be manually added.
In Themes/yourtheme/Profile.template.php
Find:
if (!empty($context['profile_areas']))
replace with:
if (!empty($context['profile_areas']) && $context['sub_template'] !== 'summary2')
Find:
// Template for showing theme settings. Note: template_options() actually adds the theme specific options.
function template_theme()
Add Before:
// Template for profile specific options - about me, interests, customization...
function template_customized()
{
global $context, $settings, $options, $scripturl, $modSettings, $txt;
// The main containing header.
echo '
<form action="', $scripturl, '?action=profile2" method="post" accept-charset="', $context['character_set'], '" name="creator" id="creator" enctype="multipart/form-data">
<table border="0" width="85%" cellspacing="1" cellpadding="4" align="center" class="bordercolor">
<tr class="titlebg">
<td height="26">
<img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" align="top" />
', $txt['profile_customized'] , '
</td>
</tr><tr class="windowbg">
<td class="smalltext" height="25" style="padding: 2ex;">
', $txt['profile_customized_info'], '
</td>
</tr><tr>
<td class="windowbg2" style="padding-bottom: 2ex;">
<table border="0" width="100%" cellpadding="5" cellspacing="0">';
echo ' <tr>
<td width="40%" valign="top">
<b>', $txt['profile_customize_enable'], '</b>
</td>
<td>
<input type="hidden" name="default_options[customized]" value="0" /><input type="checkbox" name="default_options[customized]"', (@$context['member']['options']['customized'] == 1) ? ' checked="checked"' : '', ' value="1" class="check" />
</td>
</tr>
<tr>
<td colspan="2"><br /></td>
<tr>
<tr>
<td width="40%" valign="top">
<b>', $txt['profile_comments_disable'], '</b>
</td>
<td>
<input type="hidden" name="default_options[comments_disable]" value="0" /><input type="checkbox" name="default_options[comments_disable]"', (@$context['member']['options']['comments_disable'] == 1) ? ' checked="checked"' : '', ' value="1" class="check" />
</td>
</tr>
<tr>
<td width="40%" valign="top">
<b>', $txt['profile_comments_budd_only'], '</b>
</td>
<td>
<input type="hidden" name="default_options[comments_budd_only]" value="0" /><input type="checkbox" name="default_options[comments_budd_only]"', (@$context['member']['options']['comments_budd_only'] == 1) ? ' checked="checked"' : '', ' value="1" class="check" />
</td>
</tr>
<tr>
<td width="40%" valign="top">
<b>', $txt['profile_comments_notif_disable'], '</b>
</td>
<td>
<input type="hidden" name="default_options[comments_notif_disable]" value="0" /><input type="checkbox" name="default_options[comments_notif_disable]"', (@$context['member']['options']['comments_notif_disable'] == 1) ? ' checked="checked"' : '', ' value="1" class="check" />
</td>
</tr>
<tr>
<td width="40%" valign="top">
<b>', $txt['profile_pictures_budd_only'], '</b>
</td>
<td>
<input type="hidden" name="default_options[pictures_budd_only]" value="0" /><input type="checkbox" name="default_options[pictures_budd_only]"', (@$context['member']['options']['pictures_budd_only'] == 1) ? ' checked="checked"' : '', ' value="1" class="check" />
</td>
</tr>
<tr>
<td colspan="2">
<br />
<hr class="hrcolor" />
</td>
</tr>
<tr>
<td width="40%" valign="top">
<b>', $txt['profile_about'], ':</b>
<div class="smalltext">', $txt['profile_about_desc'], '</div><br />
<br />';
if ($context['show_spellchecking'])
echo '
<input type="button" value="', $txt['spell_check'], '" onclick="spellCheck(\'creator\', \'default_options[about]\');" />';
echo '
</td>
<td>
<textarea class="editor" name="default_options[about]" rows="8" cols="65">', @$context['member']['options']['about'], '</textarea><br />';
// Load the spell checker?
if ($context['show_spellchecking'])
echo '
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/spellcheck.js"></script>';
echo ' </td>
</tr>';
echo '
<tr>
<td width="40%" valign="top">
<b>', $txt['profile_interests'], ':</b>
<div class="smalltext">', $txt['profile_interests_desc'], '</div><br />
<br />';
if ($context['show_spellchecking'])
echo '
<input type="button" value="', $txt['spell_check'], '" onclick="spellCheck(\'creator\', \'default_options[interests]\');" />';
echo '
</td>
<td>
<textarea class="editor" name="default_options[interests]" rows="8" cols="65">', @$context['member']['options']['interests'], '</textarea><br />
</td>
</tr>';
if ($modSettings['profile_allow_mediabox'] == 1)
echo '
<tr>
<td width="40%" valign="top">
<b>', $txt['profile_media'], ':</b>
<div class="smalltext">', $txt['profile_media_desc'], '</div><br />
<br />
</td>
<td>
<textarea class="editor" name="default_options[media]" rows="8" cols="65">', @$context['member']['options']['media'], '</textarea><br />
</td>
</tr>';
if ($modSettings['profile_allow_customize'] == 1)
echo '
<tr>
<td colspan="2">
<br />
<hr class="hrcolor" />
</td>
</tr>
<tr>
<td width="40%" valign="top">
<b>', $txt['profile_css'], ':</b>
<div class="smalltext">', $txt['profile_css_desc'], '</div><br />
<br />
</td>
<td>
<textarea class="editor" name="default_options[css]" rows="8" cols="65">', @$context['member']['options']['css'], '</textarea><br />
</td>
</tr>';
// Show the standard "Save Settings" profile button.
template_profile_save();
echo '
</table>
</td>
</tr>
</table>';
echo '
</form>';
if ($context['show_spellchecking'])
echo '
<form action="', $scripturl, '?action=spellcheck" method="post" accept-charset="', $context['character_set'], '" name="spell_form" id="spell_form" target="spellWindow"><input type="hidden" name="spellstring" value="" /></form>';
}
function template_pictures_edit()
{
global $context, $scripturl, $settings, $txt;
// The main containing header.
echo '
<form action="', $context['profile_action'] ,'" method="post" accept-charset="', $context['character_set'], '" name="picture" id="picture" enctype="multipart/form-data">
<table border="0" width="85%" cellspacing="1" cellpadding="4" align="center" class="bordercolor">
<tr class="titlebg">
<td height="26">
<img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" align="top" />
', $txt['profile_picture_caption'] ,'
</td>
</tr>
<tr>
<td class="windowbg2" style="padding-bottom: 2ex;">
<table border="0" width="100%" cellpadding="5" cellspacing="0">
<tr>
<td width="30%" valign="top">
<b>', $txt['profile_picture_title'] ,'</b>
</td>
<td>
<input type="text" name="title" value="', @$context['picture_title'] ,'" /><br />';
echo ' </td>
</tr>';
echo '
<tr>
<td width="30%" valign="top">
<b>', $txt['profile_picture_description'] ,':</b>
</td>
<td>
<textarea class="editor" name="description" rows="8" cols="65">', @$context['picture_description'] ,'</textarea><br />
</td>
</tr>';
if ($context['picture_upload'])
echo '
<tr>
<td>
<b>', $txt['profile_picture_path'] ,':</b>
</td>
<td>
<input type="file" name="picture" />
</td>
</tr>';
echo '
<tr>
<td align="right" colspan="2">
<input type="submit" value="', $txt[10], '" />
<input type="hidden" name="sc" value="', $context['session_id'], '" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>';
}
function template_pictures_view()
{
global $context, $settings, $txt, $scripturl;
echo '
<table border="0" width="85%" cellspacing="1" cellpadding="4" align="center" class="bordercolor">
<tr class="titlebg">
<td height="26">
<img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" align="top" />
', $txt['profile_picture_caption'] ,'
</td>
</tr>
<tr>
<td class="windowbg2" style="padding-bottom: 2ex;">
<table border="0" cellpadding="4" cellspacing="1" width="100%" id="pictures">';
if (!empty($context['pictures'])) {
$i = 1;
foreach ($context['pictures'] as $picture) {
if ($i == 1)
echo '
<tr>';
echo '
<td align="center" valign="top" class="windowbg2" style="clear: both;">
<a href="', $picture['url'] ,'"><img src="', $picture['thumb'] ,'" alt="" title="', $picture['description'], '" border="0" /></a>
<br />
<b>', $picture['title'], '</b>
</td>';
if ($i == 3)
echo '
</tr>';
$i++;
if ($i == 4) $i = 1;
}
} else
echo '
<tr>
<td>', $txt['profile_pictures_no'] ,'</td>
</tr>';
echo '
</table>
</td>
</tr>';
if ($context['can_add'])
echo '
<tr class="titlebg">
<td height="26">
<a href="', $scripturl ,'?action=profile;u=', $context['member']['id'] , ';sa=pictures;add">', $txt['profile_picture_add'] ,'</a>
</td>
</tr>';
echo '
</table>';
}
function template_pictures_show()
{
global $context, $settings, $txt;
echo '
<table border="0" width="85%" cellspacing="1" cellpadding="4" align="center" class="bordercolor">
<tr class="titlebg">
<td height="26">
<img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" align="top" />
', $context['picture']['title'] ,'
</td>
</tr>
<tr class="windowbg">
<td class="smalltext" height="25" style="padding: 2ex;">
', $context['picture']['description'] ,'
</td>
</tr>
<tr>
<td class="windowbg2" align="center" style="padding-bottom: 2ex;">
<img src="', $context['picture']['image'] ,'" alt="" />
<br /><br />';
if (isset ($context['picture']['edit'])) {
echo '
<div align="right" class="smalltext">
<a href="', $context['picture']['edit'] ,'">', $txt['profile_picture_edit'] ,'</a>
<a href="', $context['picture']['delete'] ,'">', $txt['profile_picture_delete'] ,'</a>
</div>';
}
echo '
</td>
</tr>
</table>';
}
function template_buddies()
{
global $context, $settings, $txt, $scripturl;
echo '
<table border="0" width="85%" cellspacing="1" cellpadding="4" align="center" class="bordercolor">
<tr class="titlebg">
<td height="26">
<img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" align="top" />
', $txt['profile_buddies'] ,'
</td>
</tr>
<tr>
<td class="windowbg2" style="padding-bottom: 2ex;">
<table width="100%">';
if (isset ($context['member']['buddies_data'])) {
$i = 1;
foreach ($context['member']['buddies_data'] as $buddy_id => $data) {
if ($i == 1)
echo '
<tr>';
echo '
<td align="center">
', $data['avatar_image'],'<br />
<a href="', $scripturl , '?action=profile;u=', $data['ID_MEMBER'] , '">' , $data['realName'] , '</a><br />
<i>', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/buddy_' . ($data['is_online'] ? 'useron' : 'useroff') . '.gif' . '" alt="' . $txt[$data['is_online'] ? 'online2' : 'online3'] . '" align="middle" />' : $txt[$data['is_online'] ? 'online2' : 'online3'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $txt[$data['is_online'] ? 'online2' : 'online3'] . '</span>' : '', '</i>
</td>';
if ($i == 3)
echo '
</tr>';
$i++;
if ($i == 4) $i = 1;
}
} else
echo ' <tr><td>', $txt['profile_buddies_no'] ,'</td></tr>';
echo '
</table>
</td>
</tr>
</table>';
}
EDIT: I've tested this with the Phobos theme, and it works great, except I gotta find the css code to change the one part of it.
New EDIT:
Hey JovanT, I was wondering if profile picture comments are going to be in the next release? If not, I've been working on modding mine to do so, I just want to know, so that if it is going to be implemented I'll just wait, because my way of coding it might be a little sloppy. I've added some text strings, and I'm setting the database file to add a new database:
db_query ("CREATE TABLE IF NOT EXISTS {$db_prefix}picture_comments (
ID_COMMENT int(11) NOT NULL auto_increment,
ID_MEMBER mediumint(8) unsigned NOT NULL default '0',
comment text,
time int(11) NOT NULL default '0',
COMMENT_MEMBER_ID medium(8) unsigned NOT NULL default '0',
PRIMARY KEY (ID_COMMENT)
)", __FILE__, __LINE__);
Is this ok? And if possible could you help me understand how to make it so each picture the user has will have it's own comment box? I'm going to take a look through the other files, haven't gotten there yet, but I'll wait for your reply before I do anything drastic :). Thanks so much!
Ok, so I finished with database, and languages. I looked through modsettings, and couldn't find anything I thought needed change for the profile comments to work. I also went through package info, and have not found anything there either.
I've changed $buddies = array_slice ($context['member']['buddies'], 0, 6);
to:
$buddies = array_slice ($context['member']['buddies'], 0, 8);
In Profile.xml, I believe. I'm thinking that will show 8 buddies instead of 6?
JovanT and other members with a vested interest in this mod.
The ultimate profiles mod is off to a good start, but a few things could do with some improvement – IMHO
The following are all my personal preferences, but I'm sure that you will agree with some of them. :)
Here is a link to my test profile on JovanT's forum so that you can observe the things I will address in this post: Hugodiaz's profile on 'The Test Forum' (http://jovant.guruserve.com/test-forum/index.php?action=profile;u=11)
For the pictures.
Is it possible to have "next" and "previous" buttons for the user pictures? It's really troublesome to navigate as it is right now. :(
Also it looks as though only 6 pictures show and only 6 buddies are displayed (I'll say more about this further down). :( Maybe we need some sort of 'View all pictures' button?
I haven't installed this on my forum as yet, because first I need to update to 1.1.4, but is there somewhere in the admin panel for us to limit the number of pictures a user can upload. I noticed that JovanT's forum only allows 10, but is that number variable? It was also apparent that the pictures were resized, and I was also wondering if that is also something we could edit to suit our needs? If we allow users to upload more than 10 images, then can we also control how many pictures will be displayed per page? Maybe my last question does not make sense, but I thought I'd ask anyway. :P
I know this might not be practical or easy to achieve, but it would be nice to be able to leave comments for individual pictures.
Buddy lists
I think the buddy list also needs to be redone, because it doesn't work the way it is right now. It seems as though only 6 buddies are displayed, but I think there should be a way to view all. Of course these should not be on the main profile page, but again we could make use of a 'view all buddies' link or something to that effect might work well.
Comments
Currently up to 10 comments will be displayed when you first go to a user's profile page. Is this number editable, I would prefer to have 5 comments to be displayed for the most, unless someone were to click "View all comments" in which case up to 20 per page seems suitable to me.
Blog
Is it possible to link some sort of blog to the profiles such as the felblog (http://feline-networks.com/index.php?page=felblog_for_smf) mod or some other blog option for users? I'm really sure that many users on my forum would greatly appreciate this, but I'm speaking just for myself and my users. I don't know how the rest of you admins feel about blogs.
Html and CSS
Finally, what's all the talk about the html code? Is it dangerous to have that included? If it is, is there anything we can do about that, maybe only allow css or whatever? Is html still allowed in the latest version? Sorry if some of these have already been addressed in the thread, but I wasn't able to find it.
Have a look at the forum profiles on this other forum. I'm not sure what software or methods are being implemented, but I really like their profile setup.
Here's a link to one random profile there: Cool profiles! (http://www.scrapbook.com/profiles/164069.html)
EDIT: I forgot! I think we also need a "report to moderator/admin" feature for the profiles, maybe it could just be a link at the top or bottom of the page.
EDIT #2: Also, I think we really need links back to the member's profile page on all pages. Therefore if later we implement things like "view all pictures," "view all comments," or "view all friends" it would be necessary to have links back to the member's profile. ;)
EDIT #3: Haha, and I don't mean to split hairs, but since those links will not be shown when you view any profile that is not your own, I think it would be better to have them at the top of the page, rather than below. So maybe right below "Home..Help...Search..."
Sorry, the links I am talking about are the ones that include 'Profile Info, Modify profile and Actions" Just have a look at the picture:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fdaxueyingyu.com%2Fsitewidepics%2Fultimate-profiles-profile-admin.jpg&hash=3be0d282e0b2d973a029d70d5a2e8057214097ec)
I agree with all the options you have placed, but I would like a separate blog system then felblog as, felblog causes tons of errors and CAN cause your forum to crash.
brianjw
LOVE THIS MOD! ;)
Quote from: brianjw on December 05, 2007, 04:46:28 PM
I agree with all the options you have placed, but I would like a separate blog system then felblog as, felblog causes tons of errors and CAN cause your forum to crash.
brianjw
Haha, well I only named felblog, because it's the only one I heard of. I never knew it caused so many errors though. :P
Can we work together towards these changes?
I'm no PHP programmer, but I can contribute to the project in other ways. ;)
I am no php coder either lol but I sometimes know how to move things around lol, but thats pretty much it. :P
Quote from: brianjw on December 05, 2007, 05:25:27 PM
I am no php coder either lol but I sometimes know how to move things around lol, but thats pretty much it. :P
Haha, well you already know more than me. :P
Anyway, I also noticed that when you view the pictures there isn't a link back to the member's profile. It's not really a problem the way the gallery is setup right now, but it is still
needed in my opinion. ;)
Thank you capabmx. I really appreciate the time you spent helping me with this, however it still does not work.
I have smf gallery pro and it would be great if a future ultimate profile had a link to members gallery photos. I also love the idea of hooking it to a blog such as Feline's.
Sorry I couldn't help it get resolved :'(, but anywas if you want links to those in a tinyportal block, check JovanT's testing forum, i added a link to felblog in one of JovanT's Profile links block codes, as for the gallery, I'm not sure, I could pry make one of those too.
EDIT:
@Hugiodaz, all of those things you asked for wouldn't be too hard to accomplish at all. I've got them all copied down in a notepad, and I'll try to imlpement as many of them as I can, but also note:
I'm not sure if you stated that you wanted this or not, but the version of Ultimate Profiles I'm editing, I've added comments to pictures, except it's not yet finished I'm just waiting for JovanT so I can ask him a couple questions and if he thinks my code so far is right.
Quote from: capabmx on December 05, 2007, 10:23:01 PM
EDIT:
@Hugiodaz, all of those things you asked for wouldn't be too hard to accomplish at all. I've got them all copied down in a notepad, and I'll try to imlpement as many of them as I can, but also note:
I'm not sure if you stated that you wanted this or not, but the version of Ultimate Profiles I'm editing, I've added comments to pictures, except it's not yet finished I'm just waiting for JovanT so I can ask him a couple questions and if he thinks my code so far is right.
Yes, I would like the ability to add comments to pictures. ;)
Usually I don't like bloat, but I want to give my members as many options as possible, and if possible, I'd also like to give them the choice of whether or not to allow comments and other things like that.
I think that should please everyone. If you like simple profiles, then there's no need to edit yours or add too many things, but if ultra-customization is your thing, then you can go all out. :D
Thanks a lot capabmx, you've been extremely helpful! :)
Haha, I just thank JovanT, the way he made this mod is actually really smooth, and it is very flexible. He is definitely my hero, and this is one of the few mods I've actually taken a great interest in :).
Quote from: capabmx on December 06, 2007, 12:07:26 PM
Haha, I just thank JovanT, the way he made this mod is actually really smooth, and it is very flexible. He is definitely my hero, and this is one of the few mods I've actually taken a great interest in :).
Hmm, well recently I've taken a great interest in quite a few mods, but none more than this one.
Great job, JovanT. ;)
Hey JovanT, I've come a pretty far way now finally with the added picture comments lol, but on a test forum, I uploaded it, and I had an error on the one line, but I think I've got it fixed for the most part, but maybe a little bit sloppy. I'm going to try to get it configured right, and I'll report back here then.
EDIT:Eh, it turns out, that the reason I was getting the parse errors, is because I uninstalled, and reinstalled it a couple times, because I had to remake tweaks, and in some instances there were test fails when uninstalling and I went ahead anyway :). Oh well, it is just a test forum, so I'm removing all multiple nistances in sources/profile.php, but other than that I haven't gotten any other errors, and I'm really hoping it works.
I am curious if anyone else has had the problem with their members not being able to change their profile background?
This is the greatest mod ever :D :D
Im also learning php at the time and im going to work on figuring some neat stuff out for this mod when I get a chance. Maybe like a rate user, status and mood etc im sure its not that hard all it takes is time!
Heres my profile..
http://tunerbrothers.net/index.php?action=profile;u=1 (http://tunerbrothers.net/index.php?action=profile;u=1)
If I do figure anything out ill let you guys know!
Yusuf
Quote from: capabmx on December 06, 2007, 06:28:36 PM
Hey JovanT, I've come a pretty far way now finally with the added picture comments lol, but on a test forum, I uploaded it, and I had an error on the one line, but I think I've got it fixed for the most part, but maybe a little bit sloppy. I'm going to try to get it configured right, and I'll report back here then.
EDIT:Eh, it turns out, that the reason I was getting the parse errors, is because I uninstalled, and reinstalled it a couple times, because I had to remake tweaks, and in some instances there were test fails when uninstalling and I went ahead anyway :). Oh well, it is just a test forum, so I'm removing all multiple nistances in sources/profile.php, but other than that I haven't gotten any other errors, and I'm really hoping it works.
Do you mind giving us a link to your test forum so we can check it out?
No problem, :), but I'm still in the process of getting rid of all of the parse errors lol, I really need JovanT's help on it, because I've run into a little confusion. The Test forum (http://www.capabmx.com/ChillSpot/). I'm going to pry just give up on the profile picture comments until I talk to JovanT, but uintil then I'll just instead work on the features you said would be nice to have implemented.
I see this error in the profile page of the test forum...
Fatal error: Cannot redeclare template_customized() (previously declared in /home/capabmxc/public_html/ChillSpot/Sources/Load.php(1735) : eval()'d code:1668) in /home/capabmxc/public_html/ChillSpot/Sources/Load.php(1735) : eval()'d code on line 2034
That means that in Load.php, the same code is in there twice. Which seems to be this function, template_customized()
brianjw
Yeah :'(, see I was impatient and I uninstalled and reinstalled without taking any thought into the tests failed. So now I'm pulling out all of the double instances in load.php, profile.php :). So once that is done, I guess we'll see if the picture comments worked, which I'm hoping for, I sorted the database errors I had :).
Quote from: capabmx on December 08, 2007, 10:40:01 AM
No problem, :), but I'm still in the process of getting rid of all of the parse errors lol, I really need JovanT's help on it, because I've run into a little confusion. The Test forum (http://www.capabmx.com/ChillSpot/). I'm going to pry just give up on the profile picture comments until I talk to JovanT, but uintil then I'll just instead work on the features you said would be nice to have implemented.
Hehe, yeah there seem to be quite a few errors. :P :(
Quote from: hugodiaz on December 08, 2007, 11:55:58 AM
Quote from: capabmx on December 08, 2007, 10:40:01 AM
No problem, :), but I'm still in the process of getting rid of all of the parse errors lol, I really need JovanT's help on it, because I've run into a little confusion. The Test forum (http://www.capabmx.com/ChillSpot/). I'm going to pry just give up on the profile picture comments until I talk to JovanT, but uintil then I'll just instead work on the features you said would be nice to have implemented.
Hehe, yeah there seem to be quite a few errors. :P :(
I noticed some errors as well
Fatal error: Cannot redeclare template_customized() (previously declared in /home/capabmxc/public_html/ChillSpot/Sources/Load.php(1735) : eval()'d code:1668) in /home/capabmxc/public_html/ChillSpot/Sources/Load.php(1735) : eval()'d code on line 2034
I had this before to and it was because I had installed a mod twice. Check to see if you have the same lines inserted twice for this mod! Im not an expert in php yet but I Hope this helps a little!
Yusuf
Lol, yeah, that is what happened. I uninstalled and reinstalled my updated package, and when it uninstalled it didn't completely uninstall, so now I'm having a field day, because there are quite a few lines if I must say so. Plus on my testforum it never installed properly ni the first place lol. I should be done within the hour hopefully, I'm trying to do that, and come here and help anyone who needs it, and vice versa lol.
Quote from: capabmx on December 08, 2007, 12:18:26 PM
Lol, yeah, that is what happened. I uninstalled and reinstalled my updated package, and when it uninstalled it didn't completely uninstall, so now I'm having a field day, because there are quite a few lines if I must say so. Plus on my testforum it never installed properly ni the first place lol. I should be done within the hour hopefully, I'm trying to do that, and come here and help anyone who needs it, and vice versa lol.
I'm not sure if you're aware of this, or whether it was a problem for you or not, but with the felblog mod, my captcha (visual verification) doesn't work. :(
I started a new thread in these forums since the support on the feline-networks site doesn't seem to be too good. :P
Felblog thread (http://www.simplemachines.org/community/index.php?topic=209767.0)
EDIT: I registered on your forum, and I see that there's nothing wrong with your captcha, did you do anything to fix it, or did I just install a 'bad' version of felblog? ???
Hmm, yeah I read the post, but no I have not edited it at all, are you referring to my real forum? Or my test one, because on my test forum I don't have felblog installed :). Oh and as an update on all of those errors, I have decided to just uninstall, and copy and paste code from a frsh install into the test forum, and then reinstall. Because it was taking too much time, I must've had the ultimateprofiles installed before on it, because there were 3 instances of everything. It's taking too much time to play around with removing the codes lol so I'm gonna take the easy route.
Oh, I was talking about on your test forum. Haha, I don't know the url of your real forum. ::)
My real forum, is kind of also a test forum, www.capabmx.com.
My goal is to modify an smf forum with tportal, and felblog installed; into a networking site, Then I'm going to move it from that domain to a new one :).
Quote from: capabmx on December 08, 2007, 02:57:19 PM
My goal is to modify an smf forum with tportal, and felblog installed; into a networking site, Then I'm going to move it from that domain to a new one :).
I'm thinking, there are a lot of us in here who're toying with the idea of making a networking website :P
Maybe it just means that SMF is strong enough for that, and MySpace and co. just suck ;D
Check out my signature for what I did with SMF/TP and loads of mods, this one included.
There are two things that will make this mod rock: -
Admin approval for new photos
Better navigation in the profiles
Any takers - Jovan? ;)
Regards,
Wilsy.
@ wilsy that really looks good :). I really like howit is set up. Has a little bit of a myspace feeling to it, but with the feeling of a community. All we need to do is figure out this felblog stuff, which I haven't really looked at yet, so we can get recent blog posts into peoples profiles, and maybe latest blogs on a tp front page :). Ok, I'm getting back to work :).
..for recent blogs in a tp left/right block: -
global $sourcedir;
require_once($sourcedir .'/FelBlog_inc.php');
FelBlog_Recent();
I have this and works fine, it just isn't switched on at the moment.
Regards,
Wilsy.
Quote from: hugodiaz on December 05, 2007, 10:03:00 AMFor the pictures....
- you can set number of allowed pictures in your admin panel
- you can view all picture by clicking on the "My Pictures" header; the same thing applies for the buddies
- next version will include picture comments and possibly "previous and next" buttons
QuoteCurrently up to 10 comments will be displayed when you first go to a user's profile page. Is this number editable, I would prefer to have 5 comments to be displayed for the most
You can accomplish this by editing the Source files. There's no option to change this because it is hard-coded.
QuoteBlog
This could be great addition to my mod. I will take a look at felblog mod and will try to post instructions how to integrate it into the profile page. But, it will be after I release the next version.
QuoteHtml and CSS
HTML and CSS are allowed in Customization and My Media boxes. Potentially malicious HTML such as <script>, <iframe> etc. is filtered. But, if you feel insecure, you can allways disable those fields in your admin panel.
@Tory
My mod allows you to customize look of your profile no matter what theme are you using. You only need to figure out the proper CSS to use it.
Btw, is someone interested in making the profile editor?
Hi Jovan,
This is THE best mod - much respect to you for making it.
Do you have an estimate of when the next version will be out? The admin approval of photos would be good for me - one of my members posted some porn pics and it didn't go down too well ;)
Regards,
Wilsy.
Thank you so much JovanT :), I screwed up somewhere when trying to make the picture comments :'(, but I am glad to hear that it will be in the next release :). Also about the profile editor, what all would be involved in it? Like background color, fonts and such? If so when I get time a little later after I'm done helping my parents move all of our stuff from storage, I'll take a gander at this and see what all needs to be done. I might need a little help if so though, so should I post in here or over at the test forum?
I feel a little "insecure" about using html+css because <script> and <iframe> aren't the only things that could cause harm.
This profile editor sounds interesting, would it be something for a person to customize their own profile without actually using codes. :) That would be great..
brianjw
Well, they will still be able to add their own codes. It'll be just like a myspace layout generator so to say, where it generates the code and you copy and paste it. Unless, I guess it could be possible for it to just add it to their profile for them. Hmmm, I'm not sure, I'm looking at how the layout generators work.
8: Undefined index: smfstaff_admin
File: /home/vol4/byethost7.com/b7_620123/fiestaonlinehq.com/htdocs/forum/Sources/Subs.php
Line: 2749
That's the error that comes up in the forum log.
This is what the line says:
'staff_settings' => '<a href="' . $scripturl . '?action=staff;sa=admin;sesc=' . $sc . '">' . $txt['smfstaff_admin'] . '</a>',
What is wrong? The profile page comes up blank.
Quote from: wilsy on December 09, 2007, 12:41:21 PM
Hi Jovan,
This is THE best mod - much respect to you for making it.
Do you have an estimate of when the next version will be out? The admin approval of photos would be good for me - one of my members posted some porn pics and it didn't go down too well ;)
Regards,
Wilsy.
Going along with that, I think it's important to have a "Report to moderator" feature. You don't expect to go through all the pictures and approve each and every one, do you? ??? Haha, because I certainly don't. :P Anyway, I think it would be good to have the option for admin approval, in addition to a report to moderator function. ;)
Then again, my opinions are based on my needs and thoughts.
Has anyone figured out an easy way to add a felblog link to member profiles?
Sorry hugiodaz, I never really got back about that, I've been stuck helping my parents move our stuff :'(, but anyways enough excuses lol. For a link to someones blogs, put this
<a href="', $scripturl ,'?action=felblog;u=', $context['user']['id'] .';sa=view">My Blog</a><br />
:).
Quote from: capabmx on December 11, 2007, 10:46:31 AM
Sorry hugiodaz, I never really got back about that, I've been stuck helping my parents move our stuff :'(, but anyways enough excuses lol. For a link to someones blogs, put this
<a href="', $scripturl ,'?action=felblog;u=', $context['user']['id'] .';sa=view">My Blog</a><br />
:).
Haha, I forgot to mention that I know next to nothing about coding, so could you please also tell me where I need to add that? I mean what file, and before or after what code. ;)
Thank you. :)
Could someone help me with my issue please? It's a couple of posts back on page 17.
Quote from: razorblitz07 on December 10, 2007, 04:52:57 PM
8: Undefined index: smfstaff_admin
File: /home/vol4/byethost7.com/b7_620123/fiestaonlinehq.com/htdocs/forum/Sources/Subs.php
Line: 2749
That error is not related with my mod and that shouldn't be the cause for blank page. What happens when you use default theme?
Quote from: JovanT on December 11, 2007, 03:19:24 PM
Quote from: razorblitz07 on December 10, 2007, 04:52:57 PM
8: Undefined index: smfstaff_admin
File: /home/vol4/byethost7.com/b7_620123/fiestaonlinehq.com/htdocs/forum/Sources/Subs.php
Line: 2749
That error is not related with my mod and that shouldn't be the cause for blank page. What happens when you use default theme?
Still comes up blank. What mod do you think is causing this problem?
Quote from: JovanT on December 09, 2007, 11:51:43 AM
Quote from: hugodiaz on December 05, 2007, 10:03:00 AMFor the pictures....
- you can set number of allowed pictures in your admin panel
- you can view all picture by clicking on the "My Pictures" header; the same thing applies for the buddies
- next version will include picture comments and possibly "previous and next" buttons
I still think there should be a way to go back to a user's profile after viewing all of their pictures or buddies.
Also, this is probably a relatively easy fix, but is it possible to change the text "my pictures" and "my buddies" when viewing someone's profile to something like "view all my pictures/buddies?"
Hopefully the next version with the previous/next buttons and comments will be out soon. Haha, but I'm happy with your work up to now, really well done! :)
Quote
QuoteHtml and CSS
HTML and CSS are allowed in Customization and My Media boxes. Potentially malicious HTML such as <script>, <iframe> etc. is filtered. But, if you feel insecure, you can allways disable those fields in your admin panel.
Is there a way for us to easily change what can and cannot be used? For example, maybe I'd only like to enable <a href> <img src> <body background> and a few others. How would I go about changing what is allowed?
Thanks for all your hard work up until now. ;)
QuoteI still think there should be a way to go back to a user's profile after viewing all of their pictures or buddies.
Also, this is probably a relatively easy fix, but is it possible to change the text "my pictures" and "my buddies" when viewing someone's profile to something like "view all my pictures/buddies?"
Hi Jovan,
Just caught you online .....I agree. Is this something that we can do with a quick edit & if so how do we do it?
Regards,
Wilsy.
yay...i fixed my problem. all i had to do was upload the latest version of Profile.php and then manually modify it and it worked.
read this
http://www.simplemachines.org/community/index.php?topic=206939.0.
Quote from: falguni1 on December 12, 2007, 09:23:05 AM
read this
http://www.simplemachines.org/community/index.php?topic=206939.0.
Whereas it's not a bad idea, I hope that we don't add this as a default feature for this mod. I think if the profile is the landing page after logging in, it will really take a lot of focus off of the forum and place it onto individual profiles. I personally don't like that idea, because I'd like the focus of my forum to be exactly that - the forum! ;)
What do the rest of you think?
Do custom profile fields appear on the new profile page?
and as it supports BB code, would it be possible if using 'embed video by url mod', putting just the link in there, instead of myspace html?
I like the mod and as I said '1000' times... it's not secure...
Here are a few things i'd like on my end...
1. No more html whatsoever... (but keep reading because it gets better)
2. BBC Allowed in all once html allowed fields...
3. This mod installs simple html tags as BBC... [css] etc...
4. This mod would integrate with video and other media bbc mods for smf... :)
I think this would improve the security much, much more. Other BBC tags can be added... like in the custom bbc mod or whatever. :)
brianjw
@ Hugiodaz, hey sorry that link I gave you will only take the the person clicking it to their own blog, not the members blog that they were viewing the profile of. I'm trying to find how to do that, but I'm not sure if it would involve an if statement, I'll get back as soon as possible on that :).
@Brianjw, I can see your worries, but it also pretty much takes away the flexibility of this mod. This mod gives the users the option to make their profile look however they want, and as an admin you can delete them if they have inappropriate things on their profile. Not allowing customization codes would kind of kill the mod. It is always good to worry about security, but I don't think the mod has any exploits that could lead to your forum being hacked. Unless you are worried about phishing.
capabmx, it wouldn't take away the flexibility from 'the users' of your forum. It would simply make it secure and still use the same things. Adding BBC to your forum is easy and can be made into certain html types.
The [css] would allow certain html. And for the media, I would replace it with just asking for the source url instead of giving the code. It would be flexible, but it would simply be a new language needed to be learned by everybody..
brianjw
I see where you are coming from, but the thing is users don't want to have to do extra stuff. I agree about removing certain html, but just the very potent codes. I guess you could always make bbc buttons for everything, but that would take a little too much time, hmm I don't know though might be worth it. I don't know, I've got some scripts for generators, but now I gotta find all of the classes for the css, and do all of that good stuff haha. But I think Jovant said that certain harmful html isn't allowed. What codes are you most worried about?
Well, I'd like to see the code that doesn't allow it so I can add... :)
But, lately alot of people have been hacking my forum using <script> tags... so thats definitely one that should be in that code...
The mod could have two versions. _html.zip and _bbc.zip. bbc.zip would install all the things you said would take too much time (bbc)...
brianjw
Hmm, that would be interesting. And about security, there are some neat security scripts you could probably install on your site. Check Scriptswave (http://www.scriptswave.com). Maybe there are some there that would meet your security needs. But I like the idea of the two different types. About the <script> tags how are they hacking your forum?
JovanT, is it ok if I have someone work on this to implement the changes I would like and then to post them in this thread? You can use my code if you like, but I really need to have some changes made soon so that I can do some heavy promotion for my forum. :P
Quote from: hugodiaz on December 13, 2007, 11:35:22 AM
JovanT, is it ok if I have someone work on this to implement the changes I would like and then to post them in this thread? You can use my code if you like, but I really need to have some changes made soon so that I can do some heavy promotion for my forum. :P
I'm in the same position Hugo - I want to start the big push but would rather wait for the update. For me it's just the admin approval of images and better navigation that I require.
Regards,
Wilsy.
NOTE: You can disable both the media and html functions of this mod, which means... no security hole.
I wouldn't want to disable it because those are cool stuff... so then I though of bbc. ;)
Quote from: brianjw on December 13, 2007, 05:23:27 PM
I wouldn't want to disable it because those are cool stuff... so then I though of bbc. ;)
That would be awesome, but I dont know how you would be able to use BBC to change the CSS :\
You could install the youtube mod in replacement for the media.
Quote from: Embrace on December 13, 2007, 05:24:57 PM
Quote from: brianjw on December 13, 2007, 05:23:27 PM
I wouldn't want to disable it because those are cool stuff... so then I though of bbc. ;)
That would be awesome, but I dont know how you would be able to use BBC to change the CSS :\
You could install the youtube mod in replacement for the media.
Or perhaps, a dropdown box with a selection of video sources (i.e.: Stage6, Youtube, etc).
Embrace, you could. I've made a number of profile field mods and one unapproved mod that I gave up on for the bbc section... I am pretty experienced in bbc now.
In the bbc section php file it would look like something like this.
<style type="text/css">
<!--
$1
-->
</style>
the bbc would be [css], the user would need to know css and $1 is the actual code in the file for whatever is inputted in between the [css][/css] tags.
brianjw
Hmm, I think I'm close to the report to moderator for the profiles. I'm not sure though, I'm trying to base it off of the report to moderator in posts. About the next / previous for pictures, I'm just deleting the my pictures from the profiles, and instead I'm just going to make a new page Profilepictures.template.php, and have them sent to there. I'm thinking about the same for comments. Profilecomments.template.php, and then that way you could set the comments on the profile page to 5, and then set the comments on the comments page to something else, I don't know how to make it changeable because it'll pry be in the source, but if it's in source I'll just point out where it is. I'm not sure yet exactly how I'm going to do it so I guess we'll see lol.
@Brianjw, that is a neat idea.
Quote from: capabmx on December 13, 2007, 06:07:18 PM
Hmm, I think I'm close to the report to moderator for the profiles. I'm not sure though, I'm trying to base it off of the report to moderator in posts. About the next / previous for pictures, I'm just deleting the my pictures from the profiles, and instead I'm just going to make a new page Profilepictures.template.php, and have them sent to there. I'm thinking about the same for comments. Profilecomments.template.php, and then that way you could set the comments on the profile page to 5, and then set the comments on the comments page to something else, I don't know how to make it changeable because it'll pry be in the source, but if it's in source I'll just point out where it is. I'm not sure yet exactly how I'm going to do it so I guess we'll see lol.
@Brianjw, that is a neat idea.
Hey,
imo: Bad idea. You'd be better off writing it from scratch using the sendpm() function - it's quite easy to do if you know the appropriate variables (i.e.: Profile UID var, then the 3 "to, subject, body" lines for sendpm).
nstalling this package will perform the following actions:
Type Action Description
1. Execute Modification ./Sources/Profile.php Test successful
2. Execute Modification ./Themes/default/Profile.template.php Test successful
3. Execute Modification ./Sources/ModSettings.php Test successful
4. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
5. Execute Modification ./Themes/default/languages/Modifications.serbian-utf8.php File not found
6. Extract File ./Themes/default/UltimateProfile.template.php
7. Extract Tree ./profile_pictures
8. Execute Code database.php
got this errot
Willwishers, I believe you can go ahead and install it, because if your forum doesn't use Serbian, then it wouldn't have the Serbian language files. ;)
The package should indicate error="skip" next to the file modifications... That way, it wouldn't trigger an error if the file is not there.
@deTrez, thanks for the info :). That should be a bit easier to do.
has anyone actually added the blog section any profile?
Quote from: ~Alex on December 14, 2007, 07:21:45 PM
has anyone actually added the blog section any profile?
Hey,
Well, it depends. If you mean custom made, no. If you mean using a pre-made blog mod, I don't think anyone has publically admitted to doing it, but it should be quite easy.
Post back if you feel like being the first to try it ;)
Regards,
Trez
i intalled it but it doesnot make any change how to apply this changes???
Hey nobody has answered about the custom profile fields mod... it only changes this in the profiletemplate...
global $sourcedir;
require_once($sourcedir . '/CustomProfile.php');
EditFields();
and...
global $sourcedir;
require_once($sourcedir . '/CustomProfile.php');
DisplayFieldsProfile();
// Can they add this member as a buddy?
Any ideas? I think is vital to implement the custom profile mod most of us use this mod and need to keep adding fields.
Thanks!
I still think that the most important parts are to sort the navigation and the admin approval of images. Has anybody done anything along these lines yet and if so are you willing to share?
I've been across to Jovans test site but it's very quiet over there as well. I understand he is busy with school at the moment :)
Regards,
Wilsy.
I think any update would be loved at this point :)
i applyied it and showing new look but whenever i try to clcik on coustmized profile or upload image i get unable to load templet msg..... wht to do??
reply plz
Quote from: willwishers on December 18, 2007, 09:02:49 AM
i applyied it and showing new look but whenever i try to clcik on coustmized profile or upload image i get unable to load templet msg..... wht to do??
What's the exact error you are getting?
Not sure that I can help, but if you post some more details someone might be able to assist you. ;)
I've added some basic navigation from the profile photos back to the profile now which makes this mod much better.
Now I really need this block to almost make my site complete - can anybody with the skills to produce this help ...can you be my Father Christmas? ;)
Quote from: wilsy on December 02, 2007, 05:11:29 AM
Now the last piece of this implementation needs a TP member search block with the following: -
Gender: male/female
Profile Photos: yes/no
...this is way beyond me, can anyone help?
Regards,
Wilsy.
Regards,
Wilsy.
can you put some wishlist like this mod in ultimate profile.
http://custom.simplemachines.org/mods/index.php?mod=558
I am using the profile action mod will you please support it.
Hi
I am a new user of this rocking mod!! Well done.
Is there a simple way to a another box/block that would contain the following Fields:
Course
Region
Address
City
State
Post Code
I was using the Custom Profile Field but it had conflicts and I would really like to have the above fields back in.
Cheers
Dog
Quote from: Maddog452 on December 23, 2007, 04:39:55 AM
Hi
I am a new user of this rocking mod!! Well done.
Is there a simple way to a another box/block that would contain the following Fields:
Course
Region
Address
City
State
Post Code
I was using the Custom Profile Field but it had conflicts and I would really like to have the above fields back in.
Cheers
Dog
This is the same thing i want to do with mine i want to add a box called ride info on my site!
And i know how to do this I just got it figured out and it works :D There is only a couple of steps you need to make in order to accomplish this! Ill try to get mine done tonight. and ill put the steps on this for you when i get a chance!
Yusuf
Ok guys here is a quick lesson on how to add a new box to the ultimate profile and ill try to make it as simple as possible. Anyways On my site I added a box called my ride were users can add some info on there car such as mods etc... And i will update this post when i get a chance im super busy right now so yeah hope this quick lesson will help somebody!
1. Ok here is the three files you will be editing...
UltimateProfile.template.php
Profile.template.php
Modifications.english.php
2. Open Profile.template.php and look for
<tr>
<td width="40%" valign="top">
<b>', $txt['profile_about'], ':</b>
<div class="smalltext">', $txt['profile_about_desc'], '</div><br />
<br />';
if ($context['show_spellchecking'])
echo '
<input type="button" value="', $txt['spell_check'], '" onclick="spellCheck(\'creator\', \'default_options[about]\');" />';
echo '
</td>
<td>
<textarea class="editor" name="default_options[about]" rows="8" cols="65">', @$context['member']['options']['about'], '</textarea><br />';
// Load the spell checker?
if ($context['show_spellchecking'])
echo '
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/spellcheck.js"></script>';
echo ' </td>
</tr>
If you have trouble finding this then search for this..
', @$context['member']['options']['about'], '
and it will help you locate were you need to be.
Now add this right after it...
/*--------------------------------------------------------------------------
Begin Profile Ride Info
---------------------------------------------------------------------------*/
echo '
<tr>
<td colspan="2">
<br />
<hr class="hrcolor" />
</td>
</tr>
<tr>
<td width="40%" valign="top">
<b>', $txt['profile_ride'], ':</b>
<div class="smalltext">', $txt['profile_ride_desc'], '</div><br />
</td>
<td>
<textarea class="editor" name="default_options[ride]" rows="8" cols="65">', @$context['member']['options']['ride'], '</textarea><br />
</td>
</tr>
';
/*--------------------------------------------------------------------------
End Profile Ride Info
---------------------------------------------------------------------------*/
3. Open UltimateProfile.template.php and look for
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="aboutme">
<tr class="titlebg">
<td height="26" align="center">
', $txt['profile_about_me'] ,'
</td>
</tr>
<tr>
<td class="windowbg">';
if (!empty($context['member']['options']['about']))
echo '
', parse_bbc ($context['member']['options']['about']);
else
echo '
', $txt['profile_about_no'];
echo '
</td>
</tr>
</table>';
If you have trouble finding this then search for this..
parse_bbc ($context['member']['options']['about']);
and it will help you locate were you need to be.
And add this right after it...
/*--------------------------------------------------------------------------
Begin Profile Ride Info
---------------------------------------------------------------------------*/
echo '
<br>
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="ride">
<tr class="titlebg">
<td height="26" align="center">
', $txt['profile_my_ride'] ,'
</td>
</tr>
<tr>
<td class="windowbg">';
if (!empty($context['member']['options']['ride']))
echo '
', clean_html (un_htmlspecialchars ($context['member']['options']['ride']));
else
echo '
no ride
', $txt['profile_ride_no'];
echo '
</td>
</tr>
</table>';
/*--------------------------------------------------------------------------
End Profile Ride Info
---------------------------------------------------------------------------*/
And last open Modifications.english.php
and add this in there somewhere
$txt['profile_my_ride'] = 'My Ride';
$txt['profile_ride_no'] = 'User Hasnt add his/her ride yet!';
$txt['profile_ride'] = 'Ride';
$txt['profile_ride_desc'] = 'Tell us about your ride mods, perforamce etc';
Here is what it looks like after you have completed all your steps
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi173.photobucket.com%2Falbums%2Fw49%2Fskatebrothers07%2Fride_mod.jpg&hash=919ab47f5d286eb2e4bad3ca2f886c62fd0b86f1)
Also i took out the spell check function some were and i made it were you can add html so keep that in mind when adding this!
Well thats it you now have a ride section added to your profile! and of course change the word ride to whatever you want it to be! Well i hope this help and i hope explained this right. If any body has any questions about this please let me know and ill be glad to assist!
Yusuf
Nice
Thanks for that. I'll have a play.
Also, is anyone using Coppermine and this profile?? I'm having Bridging Issues for some reason not that it is installed.
Cheers
Dog
Quote from: Maddog452 on December 23, 2007, 09:46:52 PM
Nice
Thanks for that. I'll have a play.
Also, is anyone using Coppermine and this profile?? I'm having Bridging Issues for some reason not that it is installed.
Cheers
Dog
No Problem! let me know how it works out for you!
can you add boxes called my notes, mywishlist.
Quote from: falguni1 on December 24, 2007, 02:29:38 AM
can you add boxes called my notes, mywishlist.
Yes, look at Tunerbrothers excellent tutorial a few posts up ;)
Regards,
Wilsy.
I can understand how to use all the fields in this MOD except the following one:
QuoteCustomization:
Here you can add some HTML and CSS to
customize look & feel of your profile.
How is this field supposed to be used?
Thanks for any help and sorry for being so dense on this one.
Correct me if i'm wrong but the tutorial adds a Text box??
I'm keen to add 6 fields inside a box/block.
Cheers
Dog
Like the "My Pictures" section, it adds something like that, but it is a area where in the members profile, they can add information about "their ride" of course it can be changed to another category.
I have the Ultimate Profile mod installed and working just fine.
I also have the "Custom Profile" mod installed and would like to grab a field (it is a select field) from it and include that field in the Ultimate Profile Display to display that piece of profile information, probably below the Ultimate Profile mod Gender field.
I have tried for about three hours to modify the "UltimateProfile.template.php" and have been unsuccessful.
From display.template.php the following code displays the "Custom Profile" information that I would like to (pull into) display in the "Ultimate Profile template"
global $sourcedir, $messagevars;
$messagevars = $message;
require_once($sourcedir . '/CustomProfile.php');
DisplayFieldPosts();
If anyone could help I would greatly appreciate it.
Has anybody the german translation for this mod? O:)
I'm to lazy to translate it.
Ok, i translate it for my own, and will share it with you. It's for ISO.
$txt['ultimate_profile'] = 'Ultimate Profile';
$txt['pictures'] = 'Profilbilder';
$txt['customized'] = 'Angepasstes Profil';
$txt['buddies'] = 'Buddies';
$txt['profile_customized'] = 'Angepasstes Profil';
$txt['profile_customized_info'] = 'Hier kannst du mehr Details über dich hinzufügen. Wenn du keine weitere Informationen rausgeben willst, dann lass es - es ist nicht notwendig.';
$txt['profile_customize_enable'] = 'Erlaube angepasstes Profil?';
$txt['profile_customize_private'] = 'Nur Buddies können mein angepasstes Profil sehen';
$txt['profile_comments_disable'] = 'Kommentare verbieten';
$txt['profile_comments_budd_only'] = 'Nur Buddies können Kommentare hinzufügen';
$txt['profile_comments_notif_disable'] = 'Deaktiviere benachrichtigung über neue Kommentare';
$txt['profile_pictures_budd_only'] = 'Zeige meine Bilder nur Buddies und Admins';
$txt['profile_about'] = 'Über mich';
$txt['profile_about_desc'] = 'Hier kannst du einige Sätze über dich schreiben.';
$txt['profile_interests'] = 'Interessen';
$txt['profile_interests_desc'] = 'Musik, Filme, Sport, Hobbies ...';
$txt['profile_media'] = 'Meine Medien';
$txt['profile_media_desc'] = 'Hier kannst du den Code für Filme, Musik, usw. einfügen. Auch HTML und CSS werden unterstützt.';
$txt['profile_css'] = 'Anpassung';
$txt['profile_css_desc'] = 'Hier kannst du HTML und CSS Code einfügen für den individuellen Look deines Profils.';
$txt['profile_pictures'] = 'Profilbilder';
$txt['profile_pictures_over'] = 'Du hast die erlaubte Anzahl der Profilbilder erreicht.';
$txt['profile_pictures_add_not'] = 'Du hast keine Berechtigung in diesem Profil Bilder einzufügen.';
$txt['profile_pictures_fields'] = 'Alle Felder sind erforderlich.';
$txt['profile_pictures_upload_fail'] = 'Das Bild wurde nicht erfolgreich hochgeladen.';
$txt['profile_pictures_pic_not'] = 'Hochgeladene Datei ist kein Bild.';
$txt['profile_pictures_edit_not'] = 'Du hast nicht die Berechtigung Bilder in diesem Profil zu ändern.';
$txt['profile_pictures_delete_not'] = 'Du hast nicht die Berechtigung Bilder in diesem Profil zu löschen.';
$txt['profile_pictures_not_found'] = 'Das angeforderte Bild wurde nicht gefunden.';
$txt['profile_comment_field'] = 'Du musst einen Kommentar abgeben.';
$txt['profile_contact'] = 'Kontaktiere mich :)';
$txt['profile_buddies'] = 'Meine Buddies';
$txt['profile_buddies_no'] = 'Ich habe meine Buddies noch nicht hinzugefügt.';
$txt['profile_pictures'] = 'Meine Bilder';
$txt['profile_pictures_no'] = 'Derzeit gibt es noch keine Bilder.';
$txt['profile_about_me'] = 'über mich';
$txt['profile_interests'] = 'Meine Interessen';
$txt['profile_about_no'] = 'Ich schreibe dies später. :)';
$txt['profile_comment'] = 'Kommentar';
$txt['profile_comments'] = 'Kommentare';
$txt['profile_comment_add'] = 'Kommentar hinzufügen';
$txt['profile_comment_delete'] = 'Kommentar löschen';
$txt['profile_comment_no'] = 'Es gibt noch keine Kommentare. Willst du den Ersten schreiben?';
$txt['profile_comments_buddies_only'] = 'Nur Buddies können Kommentare hinzufügen.';
$txt['profile_picture_caption'] = 'Profilbilder';
$txt['profile_picture_title'] = 'Titel';
$txt['profile_picture_description'] = 'Beschreibung';
$txt['profile_picture_path'] = 'Pfad zum Bild';
$txt['profile_picture_not_allowed'] = 'Du hast keine Berechtigungen um Bilder zu sehen.';
$txt['profile_picture_add'] = 'Bild hinzufügen';
$txt['profile_picture_edit'] = 'Bild ändern';
$txt['profile_picture_delete'] = 'Bild löschen';
$txt['profile_enable_all'] = 'Erlaube Ultimate Profile für alle Mitglieder';
$txt['profile_enable_pictures'] = 'Erlaube das hochladen von Bildern';
$txt['profile_pictures_path'] = 'Pfad zum Bild';
$txt['profile_pictures_url'] = 'Bild URL';
$txt['profile_pictures_number'] = 'Anzahl der erlaubten Bilder';
$txt['profile_allow_customize'] = 'Erlaube Anpassung des Profils';
$txt['profile_allow_mediabox'] = 'Erlaube Media Box';
$txt['profile_notif_com_subject'] = 'Neues Kommentar von %s';
$txt['profile_notif_com_body'] = '%s hat ein neues Kommentar zu deinem Profil geschrieben.';
$txt['profile_notif_com_user'] = 'Benachrichtigung';
No sign of Jovan anybody?
Regards,
Wilsy.
Is anyone using the redirection that Jovan gave? I'm having a hard time making it work.
i still cannot find a way to add friend in my friend list. there is no link for that? but i saw buddy list in demo.
Quote from: elfreakz on December 29, 2007, 09:37:29 PM
i still cannot find a way to add friend in my friend list. there is no link for that? but i saw buddy list in demo.
That's probably because you did not enable buddy lists for your forum. ;)
To enable buddy lists ~ Admin - Features and Options, and then check the box for "Enable buddy lists" :P
Hopefully that helps. :)
I was wondering if there was a way we can comments to pictures...?
This has been discussed. I believe some people were working on it but gave up because of the errors.
I wouldn't mind a few more options. It disables scripts such as javascript, which is nice, but I had two small issues with this.
1) What if I'm CRAZY and all my users are ANGELS (which they're not) and I want to enable scripts? (which I don't)...........
- @ #1, I think a permissions should be added. If ! allowed to ('unfiltered_markup') THEN sanitize.********
2) The script filtering is through destruction of script tags.
You also need to filter (possibly among other things) (X/)HTML element attributes. Check out Samy who wrote a myspace worm with apostrophes and commas, all jammed into one neat expression. Or consider css behaviours - normally we stick in a url but the bold can insert an entire script as an argument in CSS (lol....)
Please, no, I'm not saying that CSS is a liability. Virus Explorer only is prone, right?
...
But I just alerted myself in javascript through an onerror attribute. Presumably I can write and execute full scripts that are called by onload, onerror, onmouseover, onmouseout, onclick, ondoubleclick, oncontextmenu, onkeyup, onkeydown, ondragstart.....................
If we are to block scripts then all those element attributes will need to be blacklisted.
I'm sorry if this has been discussed before, I read two or three pages of the thread and assumed it hadn't.
It doesn't offer 100% protection against client side scripting in its current form at any rate.
Now when I say it should maybe have attribute sanitization, and when I say that another permission would help, I... I don't know how that kind of sanitization would affect performance. I imagine it would run on a regular expression, ouch. And permissions. A simple way to check the permissions of the person whose profile it is, instead of the user who views it?
Don't sanitize the info as it's displayed. I think this is expensive, and it doesn't allow permissions. Instead, sanitize the custom code when it is uploaded. This allows easy use of SMF's permission system, I think(!??!) AND will have a performance boost, as most people's profiles will be viewed more often than they are edited.
(Plus I think myspace does it this way.... although they've made mistakes in their time...)
Those are just my two cents. I think this is an amazing mod, I've kinda fallen in love with it. I'm going to have fun making it play nicer with my other things. I've got Oldiesmann's G2 integration and I'd be interested in ditching the profile pictures in favour of gallery pictures uploaded through G2 and his mod. Also yes, profile actions, google maps if installed and that sort of thing....... Those things though.. I don't think that they are this mod developer's sole responsibility ;) - perhaps if we make mods for this mod we could package them, as has been done for the shop and arcade? I think that would help its growth....
EDIT: One thing I'm working on now in my one (well, not actively) is putting element ids and classes on everything. Some people use this big blue letter e browser that dose not recognize css selectors, so the page should be littered with that sort of thing in order to be able to style it completely for them. Lack of these things may become frustrating for very large sites?
AND
I suped up the comment function. It's not completely finished yet but I figure, seeing as it parses bbcode, it may as well have a row or smileys, font colour bar and some buttons etc. Also on loading the page, javascript hides the comment form, but clicking "add comment" displays and re-hides it......
If I can get more staff (they're volunteers right now...) I might be able to spend some time pumping ajax into everything. I don't know a lot about Ajax, to be fair, but I'd like to see the profile comments and custom HTML/CSS support it on some level. If there can be ajax-powered stuff and noscript friendly stuff at the same time, then I would be made very happy. If I manage it, I may submit code. I've never made a package before so that might be out of the question.
This is kind of a wishlist, or suggestions, or something. I dunno. Sorry if I put you to sleep or talked a lot of rubbish.
MORE EDIT: Not just html's own event handlers, but also....
META tags could cause headaches, among other things... But look, if you believe that scripting is not possible, consider this simple example. Try it in your own profile:
<script>alert('This won't work!!');//the mod catches this</script>
This is filtered out. Good!
However..?
<img src="" onerror="alert('Scripts are supposed to be disallowed, and yet here one is...\nI\'ve hacked myself...');" /><!--Hang on, what happened here?-->
Or how about meta refreshes and redirects? You probably don't want those. Someone could redirect without script to another domain with a fake login form for your site. Form mailer, anonymous email account, your users get "hacked", generally not a good look. What sanitizers can we use then to catch more of the stuff? We can't really use anything under GPL of course ;) which greatly reduces the options?
The idea of bbcode looks pretty good. I will keep it as html. This sounds a bit dumb I know but I'm willing to fight hackers for a little while. Adding a CSS bbcode tag could cause an accessibility haemorrhage in the forum proper - if you allow it to be used there (which you are doing if you add it to the array @ Subs.php) then some malicious person can put css in their signature, perhaps like this:
[css]html, body, table, div, text, a, img, b, i, input { display: none !important; }[/css]
which starts a massive battle between you and your users which you simply cannot win without large amounts of vomit javascript on every page where CSS might appear (index.template.php?)
Database Error: Unknown column 'com.time' in 'field list'
File: /home/jade/public_html/forums/Sources/Profile.php
Line: 1424
line 1424:
LIMIT ' . $context['start'] . ', ' . $maxComments, __FILE__, __LINE__);
how can i fix this error? i cannot even view profiles
www.jades-world.com/forums
admintest
windows
(you have to login to see the profiles :))
Hi Alundra,
Run this and you will be sorted in no time :D
http://www.gradnis.net/smf/ultimate_profile/table_fix.zip
Regards,
Wilsy.
AWESOME!!
so now i know i saw something about the custom profile fields mod, so ill go find that again.
thankyou so much :D
for new comments, how do i put a link in the users PM to their profile so they can view them?
is this one still beta? was curious if full/final release avail for 1.1.4
thanks.
Yes, this mod is still beta. Although, the recent version is quite stable and many users are using it on their live sites.
The next version of this mod is almost finished. All planed features are added. The only thing left to do is to test and package it up.
The new version will include the more complex way of filtering HTML code. I think it would be the best if I could use some already existing library. Do you know any? I tried KSES and HTMLPurify so far and I would use KSES if there were no licensing problems (GPL).
great to hear Jovan, I cant wait for the next release :)
Quote from: Alundra on January 03, 2008, 05:11:37 PM
for new comments, how do i put a link in the users PM to their profile so they can view them?
^put that as part of the real version!
Can you be more specific? I'm not sure I understand what exactly do you want.
Open Modifications.english.php in the language folder of the default theme
Find
$txt['profile_notif_com_body'] = '%s has just sent a new comment on your profile.';
Replace
$txt['profile_notif_com_body'] = '%s has just sent a new comment on your <a href="http://www.url of forum here.com/index.php?action=profile">profile</a>.';
Modify to meet your site.
:)
btw, here is whats possible with a little work on the template :P
http://www.knightsofnight.com/index.php?action=profile;u=3
^ may i see your template?
:D
Is the link not working?
or do you mean the code?
the code!!
:D
HeHe of course :)
However you may have to remove some stuff since I have manually installed some mods, ill pm it to you on your site :)
awesome :)
and thankyou, and ill be putting some of my own crap in too :)
Actually I emailed it to you :)
could the modify profile information move to the top? how can that be done?
Quote from: BRFRWebGuy! on January 04, 2008, 01:50:41 PM
could the modify profile information move to the top? how can that be done?
oh im so doing that you have NO IDEA!!
ill let you know if i accomplish anything ;)
Hi, I use this mod as well and I really like it. It would be fantastic if there would be a function to edit the looks and feel of the profile that the users can edit themself. So every profile has is own looks and feel! (Something like dropdownmenus's with hexacolors etc). Is that possible?
Quote from: Alundra on January 04, 2008, 01:57:01 PM
Quote from: BRFRWebGuy! on January 04, 2008, 01:50:41 PM
could the modify profile information move to the top? how can that be done?
I am guessing it would be in UltimateProfile.template.php
oh im so doing that you have NO IDEA!!
ill let you know if i accomplish anything ;)
^ that would be the ULTIMATE customization ;)
Quote from: JovanT on January 04, 2008, 09:33:25 AM
Yes, this mod is still beta. Although, the recent version is quite stable and many users are using it on their live sites.
The next version of this mod is almost finished. All planed features are added. The only thing left to do is to test and package it up.
The new version will include the more complex way of filtering HTML code. I think it would be the best if I could use some already existing library. Do you know any? I tried KSES and HTMLPurify so far and I would use KSES if there were no licensing problems (GPL).
Good to hear from you Jovan, looking forward to the next release ;)
Regards,
Wilsy.
New version, Ultimate Profile 0.8 is out. See the first message for the changelog.
(Almost) all the features you asked for are implemented ;).
do we have to uninstall the versions we have first??
Yes. There is no upgrade package so you should uninstall previous version before installing the new version.
Is there any change in the database in v0.8?
Or can i only change the php files?
damn...now i have to recode to put that other crap back in.
Quote from: PfalzNacht on January 04, 2008, 07:47:01 PM
Is there any change in the database in v0.8?
Or can i only change the php files?
There are two new tables. Other tables weren't changed.
Quote from: JovanT on January 04, 2008, 08:33:34 PM
Quote from: PfalzNacht on January 04, 2008, 07:47:01 PM
Is there any change in the database in v0.8?
Or can i only change the php files?
There are two new tables. Other tables weren't changed.
do i have to uninstall that tables fix thing? cause it wont lemme :S
http://www.simplemachines.org/community/index.php?topic=183574.msg1365949#msg1365949
No, you don't have to uninstall it. You can delete that modification if you want as it just changes one table so that my mod is compatible with profile comments mod. It doesn't modify PHP files.
its saying i have no buddies...and i cannot add any :( theres no field anymore, or button on any profiles.... i tried uninstalling and reinstalling several times....i can do no more. can you help? i think i uploaded the original smf 1.1.4 profile.template before installing because id edited the other one yada yada it should still work.
^note: its only saying that for me- the admin...okay i have it for those who werent my friends before :S
and those who had full lists before, have empty ones now...
weird...
and what happened to all the text strings? now i cant put a link to the profile back into the pm...and i changed "buddies" to "groupies" everywhere else and now with this version it shows as buddies....i was having fun with it, changing "my buddies" to "My entourage, Click to view all members in my entourage" and crazy stuff like that and now its not there? :(
It seems as though the old buddy list was in fact replaced? ???
Haha, it doesn't really matter since I haven't started using it on a live site as yet. ;)
grrr i want ma text strings baaaack!!
ill go back to the old version in a minute :(
and i do like those improvements :(
Great mod JovanT
Turkish translation was finished.
I attached it to this post. ;)
@Alundra
Text strings are now moved to Themes/default/languages/UltimateProfile.english.php. You can do your edits there.
And as for the buddies, hugodiaz is right. UltimateProfile 0.8 uses new buddy system although SMF's system is still kept updated.
I've made a simple script for migration (http://jovant.guruserve.com/projekti/smf/ultimate_profile/migrate_buddies.zip). You have to unpack that archive and upload migrate_buddies.php to the root of your forum (e.g: the folder where index.php and SSI.php are). Before using it, please backup your database just to be sure.
After using that tool, you will have to tell your buddies to approve your request so they can be displayed in your profile.
Jovan, however, in the add buddies in the profile.template there is no box to search or to add any buddies... in fact, it is redirectioned to an ?action=buddies with nothing.
One more question... in the redirection that you made... is there a way to keep the url to change from the /profiles/whatever to ?action=profile?
Thanks a lot for the work you put here!
Quote from: Angelotus on January 04, 2008, 04:01:48 PM
Hi, I use this mod as well and I really like it. It would be fantastic if there would be a function to edit the looks and feel of the profile that the users can edit themself. So every profile has is own looks and feel! (Something like dropdownmenus's with hexacolors etc). Is that possible?
On my forum, I am unable to send buddy requests as the button does not appear. Any ideas?
My site: www.gigime.co.uk/center/forum/
Running a custom theme not default.
^^ everyone has the no buddy button problem dear
and YAY for text strings!!!!!!!
:D/me is happy now
..I am assuming from the posts re the latest version that it may be better to wait a few days until Jovan has ironed a few things out?
^ definitely
that script did nothing :(
i still dont have a buddy list, i did get 2 random requests appear on the edit buddies screen after running it though
i dont have a button still
its annoying me...
Quote from: Alundra on January 05, 2008, 04:45:07 PM
^ definitely
that script did nothing :(
i still dont have a buddy list, i did get 2 random requests appear on the edit buddies screen after running it though
i dont have a button still
its annoying me...
hi alundra ~ I just added this mod and noticed that my buddies are missing too. It is an awesome mod 8) and I'll wait until all the kinks are worked out. :D
Quote from: mygurlstuff on January 05, 2008, 04:59:08 PM
Quote from: Alundra on January 05, 2008, 04:45:07 PM
^ definitely
that script did nothing :(
i still dont have a buddy list, i did get 2 random requests appear on the edit buddies screen after running it though
i dont have a button still
its annoying me...
hi alundra ~ I just added this mod and noticed that my buddies are missing too. It is an awesome mod 8) and I'll wait until all the kinks are worked out. :D
/me cant take it anymore and goes back to the old version
Hi,
I have just installed the mod and I cannot see my pictures after uploading (just little red crosses). I checked the directory withe pictures and they seemt to be in right place. I just see the names of the files. I tested on your forum and it works. How can I fix this? I am using the latest versions of SMF and TP and the core theme. Also have these packages installed:
1. TinyPortal 0.983
2. Enhanced Calendar 1.1
3. SMF Gallery Lite 1.8.1.2
4. Ad Managment 2.3
5. Ultimate Profile 0.8
and also when click on 'edit buddies' it always shows empty list even I have some buddies added and the button 'add buddies' is missing
Thanks,
Hi,
I managed to fix displaying the pictures, but my question is how to display my buddies. The list is still empty. I noticed that the original link is slightly different than the one in 'ultimatum profile'
/index.php?action=profile;u=1;sa=editBuddies //original
/index.php?action=buddies // ultimatum profile
Thanks,
From what I see the newest version is not worth upgrading, let me know when the kinks are worked out...
how can I light up the awardmod in the profile mod?
Quote from: maximx86 on January 05, 2008, 05:51:49 PM
Hi,
I managed to fix displaying the pictures, but my question is how to display my buddies. The list is still empty. I noticed that the original link is slightly different than the one in 'ultimatum profile'
/index.php?action=profile;u=1;sa=editBuddies //original
/index.php?action=buddies // ultimatum profile
Thanks,
Hey man how did you get the pictures to show up on the new version! when I upload pictures its blank? I would appreciate any help on this from anyone!
Thanks
I guess I need to give you detailed explanation considering new buddy system.
The new system enables you new features that weren't possible in the SMF's system. You can now organize your buddies. You can choose top six friends and order them as you want. Also, you have more control over your buddies. Now, every buddy request needs to be approved by the second party before there is any change. So, you can add as much buddies as you want but they won't be displayed in your profile until they approve your request. Also, if the other party deletes you from his/her buddy list, they will be deleted from yours, too.
Ultimate Profile 0.8 doesn't alter SMF's buddy system. Those functions are still present but are not available to end users. To provide support for other buddy functions that are relaying on SMF's system, Ultimate Profile updates SMF's list, too. That's why you can't add your old buddies again. The script thinks you are already buddies.
To correct that error, you should run the script I've provided. It will migrate all your buddies to the new system. But, as I said earlier, all old buddies will need to be approved. So, don't expect to have all your buddies back immediately after running the migration tool.
I hope you understand the new system better now.
Ok, so the only way to add new buddies is to click on the link in the profile... I understand now. The problem is that I did that with my admin account and my test account and no PM was sent or anything appeared in the new buddy list.
Any ideas?
i have 3 buddies....i still cant move the middle one up to the top or the top one down?????
and i HAD 30 buddies...*sniffles* but i guess they have to accept me again lol
is there a way of having the pictures come from external sources? i dont allow uploading as i dont have space.
eep loving the update so far, howver I am having an issue with the media box and the site my flash fetish
it kills my playlist and theme...
is there a way to fix this?
here is the code.
<center><embed src="http://www.mp3asset.com/swf/mp3/mff-nintendo.swf" quality="high" wmode="transparent" flashvars="myid=7239015&path=2008/01/05&mycolor=0xAFC0D4&mycolor2=0x422F21&mycolor3=0xFFFFFF&autoplay=true&rand=0&f=3&vol=100" width="256" height="115" name="myflashfetish" align="middle"type="application/x-shockwave-flash" /><br><a href="http://www.myflashfetish.com/music-player/" target="_blank"><img src="http://www.myflashfetish.com/images/mffico.gif" title="Make your own playlist!" style="border-style:none;" alt="music player"></a><br />I made this <a href="http://www.myflashfetish.com/playlist/7239015" target="_blank">music player</a> at <a href="http://www.myflashfetish.com" target="_blank">MyFlashFetish</a>.com.<br></center>
this is what it turns it into
<embed src="http://www.mp3asset.com/swf/mp3/mff-nintendo.swf" width="256" height="115" name="myflashfetish" align="middle" />
<br />
<a href="http://www.myflashfetish.com/music-player/"><img src="http://www.myflashfetish.com/images/mffico.gif" title="Makeyourownplaylist!" style="border-style:none;" alt="musicplayer" /></a><br />
I made this <a href="http://www.myflashfetish.com/playlist/7239015">music player</a> at <a href="http://www.myflashfetish.com">MyFlashFetish</a>.com.<br />
does the same with youtube vids...
I found the input filter however, I cant figure it out :\
i cant do it...how do we move the modify profile info up top?
>.<
I completly removed mine awhile ago so I dont remember at all :\\...
ill check for you though
Quote from: Embrace on January 06, 2008, 01:55:10 AM
>.<
I completly removed mine awhile ago so I dont remember at all :\\...
ill check for you though
lol then you know where the code block is!! lol
@ JovanT
Please would you consider implementing a profile search in the next release?
Something along the lines of: -
index.php?action=profilesearch
..which then presents you with the screenshot below (you can add more options such as online etc if you wish): -
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.farnworthgrammar.com%2Fimages%2Fsearch.gif&hash=d17f92ef8078bca7cda86c85194c47dd3f3bcb97)
The search results would be displayed like the screenshot below: -
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.farnworthgrammar.com%2Fimages%2Fsearch_screen.jpg&hash=35d3231826eebe4d7486198e43f3b78aabdcc6b7)
Link to full size image>> http://www.farnworthgrammar.com/images/search_screen.jpg
The image displayed in the search results should be the latest 'Ultimate Profile' profile photo - or if they dont have 'Ultimate Profile' profile photos it should be: -
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ffarnworthgrammar.com%2Favatars%2Fno_avatar.png&hash=ba601498ccf340ba57b67c1a82bcf954653446a8)
This would make this mod totally compete and the best mod on SMF, what do the rest of you guys think? It's probably a lot of work so if you want it let Jovan know here :)
...please JovanT???? :D
Regards,
Wilsy.
^ im for it!
add age/location too :)
some links must be in the picture area like back to gallery and back to profile
Quote from: mrzcn on January 06, 2008, 07:02:52 AM
some links must be in the picture area like back to gallery and back to profile
Those links are there. ;)
It just uses the member's user name.
wilsy, I think an avatar would do better than the latest picture uploaded because the user will want an image that represents him which is an avatar. The pictures are mainly just for people to look at though. ;)
brianjw
Hi tunerbrothers
To get the pictures working go to admin mode\Features and Options\Ultimate Profile and check two things:
Pictures path and Pictures URL... the pictures path should be the folder where your pictures are, normally 'profile_pictures' which is fine, but I changed the 'Pictures URL' to the actual URL of the picture folder 'http:/mysite.com/profile_pictures'.
My setting was showing: /homepages/6/fd2gf27hg6041/htdocs/website/sm/profile_pictures because my forum is hosted externally..
good luck...
Quote from: hugodiaz on January 06, 2008, 08:29:19 AM
Quote from: mrzcn on January 06, 2008, 07:02:52 AM
some links must be in the picture area like back to gallery and back to profile
Those links are there. ;)
It just uses the member's user name.
no :S i cant see anythink while i looking to a photo :S
i just install the new version after remove old.
now i cant see old friends on profile. when i try to add againd giving a error " this user already your friend." but dont showing :S
i like wilsy's idea.
Embrace, can you post the code you edited or added to link the blogs into the profile page?
theres a section premade search for "blog" in the template. then use that. go back through this thread and you sill find the exact code to place :)
Quote from: wilsy on January 06, 2008, 04:44:03 AM
@ JovanT
Please would you consider implementing a profile search in the next release?
Something along the lines of: -
index.php?action=profilesearch
..which then presents you with the screenshot below (you can add more options such as online etc if you wish): -
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.farnworthgrammar.com%2Fimages%2Fsearch.gif&hash=d17f92ef8078bca7cda86c85194c47dd3f3bcb97)
The search results would be displayed like the screenshot below: -
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.farnworthgrammar.com%2Fimages%2Fsearch_screen.jpg&hash=35d3231826eebe4d7486198e43f3b78aabdcc6b7)
Link to full size image>> http://www.farnworthgrammar.com/images/search_screen.jpg
The image displayed in the search results should be the latest 'Ultimate Profile' profile photo - or if they dont have 'Ultimate Profile' profile photos it should be: -
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ffarnworthgrammar.com%2Favatars%2Fno_avatar.png&hash=ba601498ccf340ba57b67c1a82bcf954653446a8)
This would make this mod totally compete and the best mod on SMF, what do the rest of you guys think? It's probably a lot of work so if you want it let Jovan know here :)
...please JovanT???? :D
Regards,
Wilsy.
Wow that would be cool!
All of us guys should consider giving JovanT some sort of nice donation if we are going to want something like this done! And then he will have more motivation to do many things with this mod! you know what im saying guys?
Quote from: maximx86 on January 06, 2008, 10:58:47 AM
Hi tunerbrothers
To get the pictures working go to admin mode\Features and Options\Ultimate Profile and check two things:
Pictures path and Pictures URL... the pictures path should be the folder where your pictures are, normally 'profile_pictures' which is fine, but I changed the 'Pictures URL' to the actual URL of the picture folder 'http:/mysite.com/profile_pictures'.
My setting was showing: /homepages/6/fd2gf27hg6041/htdocs/website/sm/profile_pictures because my forum is hosted externally..
good luck...
MAXIMX86 THANKS!
It worked! I really appreciate you helping me with that :)
I was seriously about to go though all the code to figure this out! You just saved me a lot of time lol : )
I just want to say that this mod is awesome, I got the buddies list to work, it was my mistake, since I have done a lot of work in the templates, I tried to redo the work in the new... and for the sake of copy and paste I paste the old code of the buddy list in the new template... (I upload the new templates in my custom theme and leave alone the default)
Now is working perfect.
As far for the search box, it is very complicated Wilsy, just see how many times you have asked and in different places... and nobody has posted any replies... that's bad, but will have to do with what you have now.
Thanks Jovan! incredible job!
Quote from: Embrace on January 06, 2008, 01:11:42 AM
eep loving the update so far, howver I am having an issue with the media box and the site my flash fetish
it kills my playlist and theme...
is there a way to fix this?
here is the code.
<center><embed src="http://www.mp3asset.com/swf/mp3/mff-nintendo.swf" quality="high" wmode="transparent" flashvars="myid=7239015&path=2008/01/05&mycolor=0xAFC0D4&mycolor2=0x422F21&mycolor3=0xFFFFFF&autoplay=true&rand=0&f=3&vol=100" width="256" height="115" name="myflashfetish" align="middle"type="application/x-shockwave-flash" /><br><a href="http://www.myflashfetish.com/music-player/" target="_blank"><img src="http://www.myflashfetish.com/images/mffico.gif" title="Make your own playlist!" style="border-style:none;" alt="music player"></a><br />I made this <a href="http://www.myflashfetish.com/playlist/7239015" target="_blank">music player</a> at <a href="http://www.myflashfetish.com" target="_blank">MyFlashFetish</a>.com.<br></center>
this is what it turns it into
<embed src="http://www.mp3asset.com/swf/mp3/mff-nintendo.swf" width="256" height="115" name="myflashfetish" align="middle" />
<br />
<a href="http://www.myflashfetish.com/music-player/"><img src="http://www.myflashfetish.com/images/mffico.gif" title="Makeyourownplaylist!" style="border-style:none;" alt="musicplayer" /></a><br />
I made this <a href="http://www.myflashfetish.com/playlist/7239015">music player</a> at <a href="http://www.myflashfetish.com">MyFlashFetish</a>.com.<br />
does the same with youtube vids...
I found the input filter however, I cant figure it out :\
Quote from: Alundra on January 06, 2008, 04:06:09 PM
theres a section premade search for "blog" in the template. then use that. go back through this thread and you sill find the exact code to place :)
i've gone back and forth a few times tonight...and nothing.
you can't help?
Quote from: ~Alex on January 07, 2008, 03:48:44 AM
Quote from: Alundra on January 06, 2008, 04:06:09 PM
theres a section premade search for "blog" in the template. then use that. go back through this thread and you sill find the exact code to place :)
i've gone back and forth a few times tonight...and nothing.
you can't help?
search for "PASTE" and you will find it in the ultimate profile template
heres one post about blogs
http://www.simplemachines.org/community/index.php?topic=183574.msg1336331#msg1336331
you can search for more throughout the thread.
I just wanted to say THANK YOU for this mod. I have been using it for about a month now with no problems except the users custom background not showing, but this is a template problem not this mod.
For what is is worth here are some things I would like to see.
More buddies shown on main profile or at least in the title some sort of "see more" link so people know there are more than 6. Same for My Pictures.
More fields that can be added.
Is this mod compatible with the blog one by feline?
Hi,
I just uninstalled 0.7.1 and installed 0.8 and now I get this message:
Fatal error: Cannot redeclare template_customized() (previously declared in /storage/mijndomein/users/073949/public/sites/www.klifix.eu/u/Sources/Load.php(1879) : eval()'d code:1869) in /storage/mijndomein/users/073949/public/sites/www.klifix.eu/u/Sources/Load.php(1879) : eval()'d code on line 2410
Could someone please help me out with this major problem?
Quote from: Angelotus on January 07, 2008, 12:15:41 PM
Hi,
I just uninstalled 0.7.1 and installed 0.8 and now I get this message:
Fatal error: Cannot redeclare template_customized() (previously declared in /storage/mijndomein/users/073949/public/sites/www.klifix.eu/u/Sources/Load.php(1879) : eval()'d code:1869) in /storage/mijndomein/users/073949/public/sites/www.klifix.eu/u/Sources/Load.php(1879) : eval()'d code on line 2410
Could someone please help me out with this major problem?
You have a double install on profile.php I beleive, I would do a manual unisntall of both versions and than install 0.8
Quote from: Embrace on January 07, 2008, 12:35:06 PM
Quote from: Angelotus on January 07, 2008, 12:15:41 PM
Hi,
I just uninstalled 0.7.1 and installed 0.8 and now I get this message:
I already did that, still got the errors.
Fatal error: Cannot redeclare template_customized() (previously declared in /storage/mijndomein/users/073949/public/sites/www.klifix.eu/u/Sources/Load.php(1879) : eval()'d code:1869) in /storage/mijndomein/users/073949/public/sites/www.klifix.eu/u/Sources/Load.php(1879) : eval()'d code on line 2410
Could someone please help me out with this major problem?
You have a double install on profile.php I beleive, I would do a manual unisntall of both versions and than install 0.8
Quote from: Tory on January 07, 2008, 11:47:35 AM
I just wanted to say THANK YOU for this mod. I have been using it for about a month now with no problems except the users custom background not showing, but this is a template problem not this mod.
For what is is worth here are some things I would like to see.
More buddies shown on main profile or at least in the title some sort of "see more" link so people know there are more than 6. Same for My Pictures.
More fields that can be added.
Is this mod compatible with the blog one by feline?
click the buddies title it shows more
i suggest changing the text
themes>default>languages>ultimateprofile.english.php
find
$txt['profile_buddies'] = 'My Buddies';
change that to have something like "(click here to view all my buddies)" i have "My Entourage (click to see my entire entourage)"
cause my forums kinky like that ;)
Hi ;
Karma Description Modification,
Profile.template.php
<operation>
<search position="before"><![CDATA[<td>', $context['member']['last_login'], '</td>
</tr>';
]]></search>
<add><![CDATA[*/
// If karma enabled show the members karma.
if ($modSettings['karmaMode'] == '1')
{ echo '
<tr>
<td>
<b>', $modSettings['karmaLabel'], ' </b>
</td><td>
', ($context['member']['karma']['good'] - $context['member']['karma']['bad']), '
</td>
</tr>';
if (!empty($modSettings['karmadescmod']) && !empty($modSettings['karmalinks']))
{ if ($context['show_karmastat'])
echo '
<tr>';
if (!empty($modSettings['karmaisowner']) && ($context['owner']==1)) echo '
<td><a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '">'.$txt['who_change_my_karma'].'</a></td>
<td><a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a></td>
';
elseif (empty($modSettings['karmaisowner'])) echo'
<td><a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '">'.$txt['who_change_my_karma'].'</a></td>
<td><a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a></td>
';
elseif ($context['user']['is_admin']) echo '
<td><a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '">'.$txt['who_change_my_karma'].'</a></td>
<td><a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a></td>
</tr>'
;}
}
elseif ($modSettings['karmaMode'] == '2')
{ echo '
<tr>
<td>
<b>', $modSettings['karmaLabel'], ' </b>
</td><td>
+', $context['member']['karma']['good'], '/-', $context['member']['karma']['bad'], '
</td>
</tr>';
if (!empty($modSettings['karmadescmod']) && !empty($modSettings['karmalinks']))
{ if ($context['show_karmastat'])
echo '
<tr>';
if (!empty($modSettings['karmaisowner']) && ($context['owner']==1)) echo '
<td><a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '">'.$txt['who_change_my_karma'].'</a></td>
<td><a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a></td>
';
elseif (empty($modSettings['karmaisowner'])) echo'
<td><a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '">'.$txt['who_change_my_karma'].'</a></td>
<td><a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a></td>
';
elseif ($context['user']['is_admin']) echo '
<td><a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '">'.$txt['who_change_my_karma'].'</a></td>
<td><a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a></td>
</tr>'
;}
}
echo '
<tr>
<td><b>', $txt[233], ': </b></td>
<td>', $context['member']['registered'], '</td>
</tr><tr>
<td><b>', $txt['lastLoggedIn'], ': </b></td>
<td>', $context['member']['last_login'], '</td>
</tr>';
]]></add>
</operation>
add... im add but ı sea ?
Quote from: Alpay on January 07, 2008, 01:41:48 PM
Hi ;
Karma Description Modification,
Profile.template.php
<operation>
<search position="before"><![CDATA[<td>', $context['member']['last_login'], '</td>
</tr>';
]]></search>
<add><![CDATA[*/
// If karma enabled show the members karma.
if ($modSettings['karmaMode'] == '1')
{ echo '
<tr>
<td>
<b>', $modSettings['karmaLabel'], ' </b>
</td><td>
', ($context['member']['karma']['good'] - $context['member']['karma']['bad']), '
</td>
</tr>';
if (!empty($modSettings['karmadescmod']) && !empty($modSettings['karmalinks']))
{ if ($context['show_karmastat'])
echo '
<tr>';
if (!empty($modSettings['karmaisowner']) && ($context['owner']==1)) echo '
<td><a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '">'.$txt['who_change_my_karma'].'</a></td>
<td><a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a></td>
';
elseif (empty($modSettings['karmaisowner'])) echo'
<td><a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '">'.$txt['who_change_my_karma'].'</a></td>
<td><a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a></td>
';
elseif ($context['user']['is_admin']) echo '
<td><a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '">'.$txt['who_change_my_karma'].'</a></td>
<td><a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a></td>
</tr>'
;}
}
elseif ($modSettings['karmaMode'] == '2')
{ echo '
<tr>
<td>
<b>', $modSettings['karmaLabel'], ' </b>
</td><td>
+', $context['member']['karma']['good'], '/-', $context['member']['karma']['bad'], '
</td>
</tr>';
if (!empty($modSettings['karmadescmod']) && !empty($modSettings['karmalinks']))
{ if ($context['show_karmastat'])
echo '
<tr>';
if (!empty($modSettings['karmaisowner']) && ($context['owner']==1)) echo '
<td><a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '">'.$txt['who_change_my_karma'].'</a></td>
<td><a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a></td>
';
elseif (empty($modSettings['karmaisowner'])) echo'
<td><a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '">'.$txt['who_change_my_karma'].'</a></td>
<td><a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a></td>
';
elseif ($context['user']['is_admin']) echo '
<td><a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '">'.$txt['who_change_my_karma'].'</a></td>
<td><a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a></td>
</tr>'
;}
}
echo '
<tr>
<td><b>', $txt[233], ': </b></td>
<td>', $context['member']['registered'], '</td>
</tr><tr>
<td><b>', $txt['lastLoggedIn'], ': </b></td>
<td>', $context['member']['last_login'], '</td>
</tr>';
]]></add>
</operation>
add... im add but ı sea ?
find
<a href="', $scripturl, '?action=profile;u=', $context['member']['id'], ';sa=showPosts">', $txt[460], ' ', $txt[461], '.</a><br />
and add before
<a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '">'.$txt['who_change_my_karma'].'</a><br />
<a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a><br />
and it will atleast show the links.
Quote from: mrzcn on January 06, 2008, 11:59:43 AM
i just install the new version after remove old.
now i cant see old friends on profile. when i try to add againd giving a error " this user already your friend." but dont showing :S
Same problem with me now!
Quote from: Angelotus on January 07, 2008, 01:51:32 PM
Quote from: mrzcn on January 06, 2008, 11:59:43 AM
i just install the new version after remove old.
now i cant see old friends on profile. when i try to add againd giving a error " this user already your friend." but dont showing :S
Same problem with me now!
yeah i removed all my old friends from the buddy list (original buddy list) and then tried to readd them
i think i couldnt because they have me as a buddy, they didnt delete me. is there an sql query to totally remove everyones buddies? new and old systems?
Thanks Alundra ... =)
UltimateProfile.template.php add..
and it will atleast show the links. ;)
I manually approved everyones previous buddies and told them to prune out the ones they don't want... a simple sql query will do the trick.
Quote from: Embrace on January 08, 2008, 11:26:55 AM
I manually approved everyones previous buddies and told them to prune out the ones they don't want... a simple sql query will do the trick.
how? it told me i couldnt edit other users buddies
hello Alundra ;
i have a same trouble. i install the a modification but old buddy list a not added. how is your answer my question ?
Edit : sql query : UPDATE smf_members SET buddy_list = 0 . .. fixed =)
http://www.knightsofnight.com/index.php?action=profile;u=3
About 2 hours on the template, 20 minutes on the css, 30 minutes cropping/making images...
the final look, priceless...
Quote from: Embrace on January 08, 2008, 02:28:15 PM
http://www.knightsofnight.com/index.php?action=profile;u=3
About 2 hours on the template, 20 minutes on the css, 30 minutes cropping/making images...
the final look, priceless...
Gosh, yes that does look really good.
Outstanding job! :)
I can't get that buddy system get to work! Can somebody pleaaaaase help me?
How hard is it to move the profile information, so this: (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fdaxueyingyu.com%2Fsitewidepics%2Fultimate-profiles-profile-admin.jpg&hash=3be0d282e0b2d973a029d70d5a2e8057214097ec) to the top of the page rather than at the bottom?
I'm sure it can't be that hard, just that I don't know what code to move where.... ;)
Any help would be appreciated. :)
EDIT: Is it also possible to give moderators the power to administer user profiles. For example, as the admin I can delete or edit pictures, but as a moderator I can't. I would really like to have the moderators also have such abilities. ;)
EDIT #2: Oh, and does anyone know how to add a link to the most recent blog post (Felblog) of a specific member if it exists? ???
After these few things, this mod will be perfect ~ for me anyway. :P
edit#2 has code in this thread allready. seek it out.
Quote from: Alundra on January 07, 2008, 03:57:32 AM
Quote from: ~Alex on January 07, 2008, 03:48:44 AM
Quote from: Alundra on January 06, 2008, 04:06:09 PM
theres a section premade search for "blog" in the template. then use that. go back through this thread and you sill find the exact code to place :)
i've gone back and forth a few times tonight...and nothing.
you can't help?
search for "PASTE" and you will find it in the ultimate profile template
heres one post about blogs
http://www.simplemachines.org/community/index.php?topic=183574.msg1336331#msg1336331
you can search for more throughout the thread.
Quote from: Alundra on January 08, 2008, 07:39:58 PM
edit#2 has code in this thread allready. seek it out.
Thanks, I saw that before, but I assumed it would only work for Tiny Portal.
I tried using it, but it didn't work... :(
I got this error at first:
Quote
Fatal error: require_once() [function.require]: Failed opening required '/home/daxueyin/public_html/finalforumtest/Sources/FelBlog_inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/daxueyin/public_html/finalforumtest/Sources/Load.php(1795) : eval()'d code on line 683
Then I tried changing FelBlog_inc.php to FelBlog.php since that appeared to be the filename, but that only resulted in a new error:
Quote
Fatal error: Call to undefined function FelBlog_Recent() in /home/daxueyin/public_html/finalforumtest/Sources/Load.php(1795) : eval()'d code on line 684
send the whole block of code
Hmm, for some reason I can't attach anything to this thread, so you can find the files here: http://www.simplemachines.org/community/index.php?topic=215437.msg1373649#msg1373649
Thanks. :)
EDIT: here's the code:
<?php
// Version: 0.8; UltimateProfile
// This file is a part of Ultimate Profile mod
// Author: Jovan Turanjanin
function template_summary2()
{
global $context, $settings, $options, $scripturl, $modSettings, $txt, $db_prefix,$ID_MEMBER;
// Output user's customization code.
if ($modSettings['profile_allow_customize'] == 1)
echo '
<!-- start of user\'s customization code -->
',
un_htmlspecialchars (@$context['member']['options']['css'])
, '
<!-- end of user\'s customization code -->
';
// Do the containing table and table header.
echo '
<table border="0" cellpadding="4" cellspacing="1" align="center" id="profile_info" width="100%">';
// Do the left hand column - where all the important user info is displayed.
echo '
<tr>
<td width="50%" id="profile_left" valign="top">
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="summary">
<tr>
<td class="titlebg" height="26" align="center">
<img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" align="top" />
', $txt['summary'], ' - ', $context['member']['name'], '
</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td width="30%" align="center">
', $context['member']['avatar']['image'], '<br /><br />
<i>', $settings['use_image_buttons'] ? '<img src="' . $context['member']['online']['image_href'] . '" alt="' . $context['member']['online']['text'] . '" align="middle" />' : $context['member']['online']['text'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $context['member']['online']['text'] . '</span>' : '', '</i>
</td>
<td>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td><b>', $txt[68], ': </b></td>
<td>', $context['member']['name'], '</td>
</tr>';
if (!empty($modSettings['titlesEnable']) && $context['member']['title'] != '')
{
echo '
<tr>
<td><b>', $txt['title1'], ': </b></td>
<td>', $context['member']['title'], '</td>
</tr>';
}
echo '
<tr>
<td colspan="2" style="padding-bottom: 1em;"><i>', $context['member']['blurb'], '</i></td>
</tr>
<tr>
<td><b>', $txt[86], ': </b></td>
<td>', $context['member']['posts'], ' (', $context['member']['posts_per_day'], ' ', $txt['posts_per_day'], ')</td>
</tr><tr>
<td><b>', $txt[87], ': </b></td>
<td>', (!empty($context['member']['group']) ? $context['member']['group'] : $context['member']['post_group']), '</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="info1">
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td><b>', $txt[231], ': </b></td>
<td>', $context['member']['gender']['image'] ,' ', $context['member']['gender']['name'], '</td>
</tr>
<tr>
<td><b>', $txt[420], ':</b></td>
<td>', $context['member']['age'] . ($context['member']['today_is_birthday'] ? ' <img src="' . $settings['images_url'] . '/bdaycake.gif" width="40" alt="" />' : ''), '</td>
</tr>
<tr>
<td><b>', $txt[227], ':</b></td>
<td>', $context['member']['location'], '</td>
</tr>
<tr>
<td><b>', $txt[233], ': </b></td>
<td>', $context['member']['registered'], '</td>
</tr>
<tr>
<td><b>', $txt['lastLoggedIn'], ': </b></td>
<td>', $context['member']['last_login'], '</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
';
// Messenger type information.
echo ' <table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="contact">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['profile_contact'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">';
// Can they add this member as a buddy?
if (!empty($context['can_have_buddy']) && !$context['user']['is_owner'] && !$context['member']['is_buddy'] )
echo '
<tr>
<td colspan="2"><img src="', $settings['images_url'] ,'/icons/online.gif" alt="" /> <a href="', $scripturl, '?action=buddies;sa=add;u=', $context['member']['id'], ';sesc=', $context['session_id'], '" onclick="javascript:return confirm(\'', $txt['buddy_explanation'] ,'\')">[', $txt['buddy_add'], ']</a></td>
</tr>';
if (!$context['user']['is_owner'] && $context['can_send_pm'])
echo '
<tr>
<td colspan="2"><img src="', $settings['images_url'] ,'/icons/pm_read.gif" alt="" /> <a href="', $scripturl, '?action=pm;sa=send;u=', $context['member']['id'], '">', $txt[688], '.</a></td>
</td>';
if ((!empty($context['can_have_buddy']) && !$context['user']['is_owner']) || (!$context['user']['is_owner'] && $context['can_send_pm']))
echo '
<tr>
<td colspan="2"> </td>
</tr>';
if ($context['member']['icq']['link_text'] != '')
echo ' <tr>
<td><img src="', $settings['images_url'] ,'/icq.gif" alt="', $txt[513], '" /></td>
<td valign="middle">', $context['member']['icq']['link_text'], '</td>
</tr>';
if ($context['member']['aim']['link_text'] != '')
echo ' <tr>
<td><img src="', $settings['images_url'] ,'/aim.gif" alt="', $txt[603], '" /></td>
<td valign="middle">', $context['member']['aim']['link_text'], '</td>
</tr>';
if ($context['member']['msn']['link_text'] != '')
echo '
<tr>
<td><img src="', $settings['images_url'] ,'/msntalk.gif" alt="', $txt['MSN'], '" /></td>
<td valign="middle">', $context['member']['msn']['link_text'], '</td>
</tr>';
if ($context['member']['yim']['link_text'] != '')
echo '
<tr>
<td><img src="', $settings['images_url'] ,'/yim.gif" alt="', $txt[604], '" /></td>
<td valign="middle">', $context['member']['yim']['link_text'], '</td>
</tr>';
echo '
<tr>
<td><img src="', $settings['images_url'] ,'/email_sm.gif" alt="', $txt[69], '" /></td>
<td valign="middle">';
// Only show the email address if it's not hidden.
if ($context['member']['email_public'])
echo '
<a href="mailto:', $context['member']['email'], '">', $context['member']['email'], '</a>';
// ... Or if the one looking at the profile is an admin they can see it anyway.
elseif (!$context['member']['hide_email'])
echo '
<i><a href="mailto:', $context['member']['email'], '">', $context['member']['email'], '</a></i>';
else
echo '
<i>', $txt[722], '</i>';
// Some more information.
echo '
</td>
</tr>';
if ($context['member']['website']['url'] !== '')
echo '
<tr>
<td><img src="', $settings['images_url'] ,'/www.gif" alt="', $txt[96], '" /></td>
<td><a href="', $context['member']['website']['url'], '" target="_blank">', $context['member']['website']['title'], '</a></td>
</tr>';
echo '
</table>
</td>
</tr>
</table>
<br />
';
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="info2">
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td colspan="2" height="25">
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="table-layout: fixed;">
<tr>
<td style="padding-bottom: 0.5ex;"><b>', $txt[85], ':</b></td>
</tr>
<tr>
<td colspan="2" width="100%" class="smalltext"><div class="signature">', $context['member']['signature'], '</div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr>';
// Is this member requiring activation and/or banned?
if (!empty($context['activate_message']) || !empty($context['member']['bans']))
{
echo '
<tr>
<td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr>';
// If the person looking at the summary has permission, and the account isn't activated, give the viewer the ability to do it themselves.
if (!empty($context['activate_message']))
echo '
<tr>
<td colspan="2">
<span style="color: red;">', $context['activate_message'], '</span> (<a href="' . $scripturl . '?action=profile2;sa=activateAccount;userID=' . $context['member']['id'] . ';sesc=' . $context['session_id'] . '" ', ($context['activate_type'] == 4 ? 'onclick="return confirm(\'' . $txt['profileConfirm'] . '\');"' : ''), '>', $context['activate_link_text'], '</a>)
</td>
</tr>';
// If the current member is banned, show a message and possibly a link to the ban.
if (!empty($context['member']['bans']))
{
echo '
<tr>
<td colspan="2">
<span style="color: red;">', $txt['user_is_banned'], '</span> [<a href="#" onclick="document.getElementById(\'ban_info\').style.display = document.getElementById(\'ban_info\').style.display == \'none\' ? \'\' : \'none\';return false;">' . $txt['view_ban'] . '</a>]
</td>
</tr>
<tr id="ban_info" style="display: none;">
<td colspan="2">
<b>', $txt['user_banned_by_following'], ':</b>';
foreach ($context['member']['bans'] as $ban)
echo '
<br /><span class="smalltext">', $ban['explanation'], '</span>';
echo '
</td>
</tr>';
}
}
// If karma enabled show the members karma.
if ($modSettings['karmaMode'] == '1')
echo '
<tr>
<td>
<b>', $modSettings['karmaLabel'], ' </b>
</td><td>
', ($context['member']['karma']['good'] - $context['member']['karma']['bad']), '
</td>
</tr>';
elseif ($modSettings['karmaMode'] == '2')
echo '
<tr>
<td>
<b>', $modSettings['karmaLabel'], ' </b>
</td><td>
+', $context['member']['karma']['good'], '/-', $context['member']['karma']['bad'], '
</td>
</tr>';
// If the person looking is allowed, they can check the members IP address and hostname.
if ($context['can_see_ip'])
{
echo '
<tr>
<td width="40%">
<b>', $txt[512], ': </b>
</td><td>
<a href="', $scripturl, '?action=trackip;searchip=', $context['member']['ip'], '" target="_blank">', $context['member']['ip'], '</a>
</td>
</tr>
<tr>
<td width="40%">
<b>', $txt['hostname'], ': </b>
</td><td width="55%">
<div title="', $context['member']['hostname'], '" style="width: 100%; overflow: hidden; font-style: italic;">', $context['member']['hostname'], '</div>
</td>
</tr>';
}
if (!empty($modSettings['userLanguage']))
echo '
<tr>
<td><b>', $txt['smf225'], ':</b></td>
<td>', $context['member']['language'], '</td>
</tr>';
echo '
<tr>
<td><b>', $txt['local_time'], ':</b></td>
<td>', $context['member']['local_time'], '</td>
</tr>
<tr>
<td colspan="2">
<br />
<a href="', $scripturl ,'?action=profile;u=', $context['member']['id'], ';sa=report">', $txt['profile_report_this'] ,'</a><br />
<br />
<a href="', $scripturl, '?action=profile;u=', $context['member']['id'], ';sa=showPosts">', $txt[460], ' ', $txt[461], '.</a><br />
<a href="', $scripturl, '?action=profile;u=', $context['member']['id'], ';sa=statPanel">', $txt['statPanel_show'], '.</a><br />
</td>
</tr>';
echo '
</table>
</td>
</tr>
</table>
<br />
';
if (isset ($modSettings['enable_buddylist']) && $modSettings['enable_buddylist'] == '1') {
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="buddies">
<tr>
<td class="titlebg" height="26" align="center">
<a href="', $scripturl ,'?action=profile;u=', $context['member']['id'], ';sa=buddies">', $txt['profile_buddies'] ,'</a>
</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td colspan="2">
<table width="100%">';
if (isset ($context['member']['buddies_data'])) {
$i = 1;
foreach ($context['member']['buddies_data'] as $buddy_id => $data) {
if ($i == 1)
echo ' <tr>';
echo '
<td align="center">
', $data['avatar_image'],'<br />
<a href="', $scripturl , '?action=profile;u=', $data['ID_MEMBER'] , '">' , $data['realName'] , '</a><br />
<i>', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/buddy_' . ($data['is_online'] ? 'useron' : 'useroff') . '.gif' . '" alt="' . $txt[$data['is_online'] ? 'online2' : 'online3'] . '" align="middle" />' : $txt[$data['is_online'] ? 'online2' : 'online3'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $txt[$data['is_online'] ? 'online2' : 'online3'] . '</span>' : '', '</i>
</td>';
if ($i == 3)
echo '</tr>';
$i++;
if ($i == 4) $i = 1;
}
} else
echo ' <tr><td>', $txt['profile_buddies_no'] ,'</td></tr>';
echo '
</table>
</td>
</tr>';
echo '
</table>
</td>
</tr>
</table>';
}
echo '
</td>';
// Now print the second column.
echo '
<td valign="top" width="50%" id="profile_right">';
if ($modSettings['profile_enable_pictures'] == 1 && $context['can_view_pics']) {
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="pictures">
<tr>
<td class="titlebg" height="26" align="center">
<a href="', $scripturl ,'?action=profile;u=', $context['member']['id'] ,';sa=pictures">', $txt['profile_pictures'] ,'</a>
</td>
</tr>
<tr>
<td class="windowbg">
<table>';
if (!empty($context['pictures'])) {
$i = 1;
foreach ($context['pictures'] as $picture) {
if ($i == 1)
echo '
<tr>';
echo '
<td align="center" valign="top" style="clear: both;">
<a href="', $picture['url'] ,'"><img src="', $picture['thumb'] ,'" alt="" title="', $picture['title'], '" border="0" /></a>
</td>';
if ($i == 3)
echo '
</tr>';
$i++;
if ($i == 4) $i = 1;
}
} else
echo '
<tr>
<td>', $txt['profile_pictures_no'] ,'</td>
</tr>';
echo '
</table>
</td>
</tr>
</table>
<br />
';
}
// This Section is optional. You can paste code for displaying recent blog posts from felblog or some other blog mod for SMF
// Remeber to uncomment this section first!
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="blog">
<tr>
<td class="titlebg" height="26" align="center">Blog</td>
</tr>
<tr>
<td class="windowbg">';
// PASTE YOUR BLOG CODE HERE
global $sourcedir;
require_once($sourcedir .'/FelBlog_inc.php');
FelBlog_Recent();
echo '
</td>
</tr>
</table>
<br />';
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="aboutme">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['profile_about_me'] ,'
</td>
</tr>
<tr>
<td class="windowbg">';
if (!empty($context['member']['options']['about']))
echo '
', parse_bbc ($context['member']['options']['about']);
else
echo '
', $txt['profile_about_no'];
echo '
</td>
</tr>
</table>';
if (!empty($context['member']['options']['interests']))
echo '
<br />
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="interests">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['profile_interests'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
', parse_bbc ($context['member']['options']['interests']) ,'
</td>
</tr>
</table>';
if (($modSettings['profile_allow_mediabox'] == 1) && (!empty($context['member']['options']['media'])))
echo '
<br />
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="media">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['profile_media'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
', un_htmlspecialchars ($context['member']['options']['media']) ,'
</td>
</tr>
</table>';
/*
// This section is optional. You can paste code and display fields from Custom Profile fields mod.
echo '
<br />
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="more_fields">
<tr>
<td class="windowbg">';
// PASTE YOUR CODE HERE
echo '
</td>
</tr>
</table>';
*/
echo '
</td>
</tr>
</table>';
if (!empty($context['profile_areas']))
{
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="profile_areas">
<tr>
<td class="windowbg2">
<table>
<tr>';
// Loop through every area, displaying its name as a header.
foreach ($context['profile_areas'] as $section)
{
echo ' <td valign="top">
<table border="0" cellpadding="4" cellspacing="1">
<tr>
<td class="catbg">', $section['title'], '</td>
</tr>
<tr>
<td class="windowbg2 smalltext">';
// For every section of the area display it, and bold it if it's the current area.
foreach ($section['areas'] as $i => $area)
if ($i == $context['menu_item_selected'])
echo '
<b>', $area, '</b><br />';
else
echo '
', $area, '<br />';
echo '
<br />
</td>
</tr>
</table>
</td>';
}
echo ' </tr>
</table>
</td>
</tr>
</table>';
}
echo '
<div class="div1"></div>
<br />';
if (@$context['member']['options']['comments_disable'] != 1) {
echo '
<script type="text/javascript">
function comment() {
document.getElementById("comment").style.display = "block";
}
</script>
<table border="0" cellpadding="4" cellspacing="1" align="center" class="bordercolor" width="65%" id="post_comments">
<tr>
<td class="titlebg"><a href="javascript:void(0);" onclick="comment()">', $txt['profile_comment_add'] ,'</a></td>
</tr>
<tr id="comment" class="windowbg" style="display: none;">
<td>
<form action="', $scripturl ,'?action=profile;u=', $context['member']['id'] ,';sa=comment;add" method="post">
', $txt['profile_comment'] ,'<br />
<textarea cols="50" rows="4" name="comment"></textarea><br />
<br />
<input type="submit" value="', $txt[10] ,'" />
<input type="hidden" name="sc" value="', $context['session_id'], '" />
</form>
</td>
</tr>
</table>
<div class="div2"></div>
<br />
<table border="0" cellpadding="4" cellspacing="1" align="center" class="bordercolor" width="100%" id="comments">
<tr>
<td class="titlebg" colspan="2" align="center">', $txt['profile_comments'] ,'</td>
</tr>';
// Only show comments if they have made some!
if (!empty($context['comments'])) {
foreach ($context['comments'] as $comment) {
echo '
<tr>
<td class="windowbg" align="center" valign="top">
<b><a href="', $scripturl ,'?action=profile;u=', $comment['author']['ID_MEMBER'] ,'">', $comment['author']['realName'] ,'</a></b>
<div class="smalltext">
', $comment['author']['avatar'] ,'<br /><br />
<i>', $settings['use_image_buttons'] ? '<img src="' . $comment['author']['online']['image_href'] . '" alt="' . $comment['author']['online']['text'] . '" align="middle" />' : $comment['author']['online']['text'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $comment['author']['online']['text'] . '</span>' : '', '</i>
</div>
</td>
<td class="windowbg2" valign="top">
<table width="100%">
<tr>
<td><span class="smalltext">', $comment['time'] ,'</span><hr /></td>
</tr>
<tr>
<td>', $comment['body'] ,'</td>
</tr>';
if ($context['can_delete'])
echo '
<tr>
<td align="right" valign="bottom" class="smalltext">
<a href="', $comment['delete'], '">', $txt['profile_comment_delete'] ,'</a>
</td>
</tr>';
echo '
</table>
</td>
</tr>';
}
}
else
echo '
<tr class="windowbg2">
<td colspan="2">', $txt['profile_comment_no'] ,'</td>
</tr>';
echo '
</table>';
// Show more page numbers.
echo '
<table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor" align="center">
<tr>
<td colspan="3" class="catbg3">
', $txt[139], ': ', $context['page_index'], '
</td>
</tr>
</table>';
}
echo '
<div class="div3"></div>';
}
?>
Still trying to get myflashfetish to work >.>
Embrace or anyone else, can you tell me two things please: How do I also display the referrals information with the ultimate profiles mod installed.
Also, how do I get background images to display?
Thanks. :)
hugodiaz - your code looks okay to me...what line is the error (as in show me the line)
i need to see the lines that created this error:
in /home/daxueyin/public_html/finalforumtest/Sources/Load.php(1795) : eval()'d code on line 684
I think line 684 is:
FelBlog_Recent();
I'm really not sure since I made a few other changes since then, but it was something concerning this code:
global $sourcedir;
require_once($sourcedir .'/FelBlog.php');
FelBlog_Recent();
can someone tell me what i need to do in order to add a member's 'recent blog' link, to the profile page? i see embrace has it set up.
Alex, I am using snakes SMF blogger and I did a manual install of the profile-links mod they have on the site there.
Basically, go to your profile.template and take the stuff from there and manually place it into the ultimate.profile template...
You can always use the package parser at smf helper dot info for more help on that.
i'm using the same blogger, i just can't find the right code to use.
On the official site for the blog, they have a package called blog-links or somehting like that... do a manual install of that
i'll look for that. thanks!
Hmm, so anyone knows how to get a profile link to member's felblog blog? ;)
how does one add a buddy?
how does one approve a buddy ?
Quote from: Assistance on January 10, 2008, 07:19:06 PM
how does one add a buddy?
how does one approve a buddy ?
click the add buddy link in the profile
they get a pm and it links to the buddy screen/they click to go to the buddy screen through their profiles
there is no add buddy link,
and when i do use action=profile;u=1;sa=editBuddies to add them
they don't get a pm
Quote from: Assistance on January 10, 2008, 09:50:45 PM
there is no add buddy link,
and when i do use action=profile;u=1;sa=editBuddies to add them
they don't get a pm
it changed to
action=profile;u=1;sa=buddies
with the new system.
yeop
and the add buddy box is where ?
i have to do it from the members profile to add them to my list
then they get the pm
thanks self
Quote from: Embrace on January 07, 2008, 01:19:08 AM
Quote from: Embrace on January 06, 2008, 01:11:42 AM
eep loving the update so far, howver I am having an issue with the media box and the site my flash fetish
it kills my playlist and theme...
is there a way to fix this?
here is the code.
<center><embed src="http://www.mp3asset.com/swf/mp3/mff-nintendo.swf" quality="high" wmode="transparent" flashvars="myid=7239015&path=2008/01/05&mycolor=0xAFC0D4&mycolor2=0x422F21&mycolor3=0xFFFFFF&autoplay=true&rand=0&f=3&vol=100" width="256" height="115" name="myflashfetish" align="middle"type="application/x-shockwave-flash" /><br><a href="http://www.myflashfetish.com/music-player/" target="_blank"><img src="http://www.myflashfetish.com/images/mffico.gif" title="Make your own playlist!" style="border-style:none;" alt="music player"></a><br />I made this <a href="http://www.myflashfetish.com/playlist/7239015" target="_blank">music player</a> at <a href="http://www.myflashfetish.com" target="_blank">MyFlashFetish</a>.com.<br></center>
this is what it turns it into
<embed src="http://www.mp3asset.com/swf/mp3/mff-nintendo.swf" width="256" height="115" name="myflashfetish" align="middle" />
<br />
<a href="http://www.myflashfetish.com/music-player/"><img src="http://www.myflashfetish.com/images/mffico.gif" title="Makeyourownplaylist!" style="border-style:none;" alt="musicplayer" /></a><br />
I made this <a href="http://www.myflashfetish.com/playlist/7239015">music player</a> at <a href="http://www.myflashfetish.com">MyFlashFetish</a>.com.<br />
does the same with youtube vids...
I found the input filter however, I cant figure it out :\
Quote from: hugodiaz on January 08, 2008, 06:04:58 PM
How hard is it to move the profile information, so this:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fdaxueyingyu.com%2Fsitewidepics%2Fultimate-profiles-profile-admin.jpg&hash=3be0d282e0b2d973a029d70d5a2e8057214097ec)
to the top of the page rather than at the bottom?
I'm sure it can't be that hard, just that I don't know what code to move where.... ;)
Any help would be appreciated. :)
embrace started it :P
Quote from: Alundra on January 11, 2008, 12:06:50 AM
embrace started it :P
Haha, you mean he already did it? ???
If so, Embrace, please share the secret. :P
For all who have problems with the new buddy system, I recommend visiting this page (http://jovant.guruserve.com/test-forum/index.php?topic=15.0).
Where can I find Snake's SMF blogger?
@Embrace
Input filter configuration can be find in Sources/Profile.php, inside customized() function.
There are two arrays: $allowed_tags and $allowed_attribs. So, you can alter these arrays to allow that flash playlist. I think you should add "flashvars" to the $allowed_attribs.
Quote from: hugodiaz on January 11, 2008, 01:19:42 AM
Quote from: Alundra on January 11, 2008, 12:06:50 AM
embrace started it :P
Haha, you mean he already did it? ???
If so, Embrace, please share the secret. :P
Actually I completly removed it :)
I just added a link from the usercp to the rest of the functions... :)
Quote from: Embrace on January 11, 2008, 08:49:36 AM
Quote from: hugodiaz on January 11, 2008, 01:19:42 AM
Quote from: Alundra on January 11, 2008, 12:06:50 AM
embrace started it :P
Haha, you mean he already did it? ???
If so, Embrace, please share the secret. :P
Actually I completly removed it :)
I just added a link from the usercp to the rest of the functions... :)
no i meant the quoting whole posts thing
Quote from: Alundra on January 11, 2008, 12:06:50 AM
Quote from: hugodiaz on January 08, 2008, 06:04:58 PM
How hard is it to move the profile information, so this:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fdaxueyingyu.com%2Fsitewidepics%2Fultimate-profiles-profile-admin.jpg&hash=3be0d282e0b2d973a029d70d5a2e8057214097ec)
to the top of the page rather than at the bottom?
I'm sure it can't be that hard, just that I don't know what code to move where.... ;)
Any help would be appreciated. :)
embrace started it :P
like that...i require help :P
To move the profile stuff to the top, see this: http://jovant.guruserve.com/test-forum/index.php?topic=16.0
I haven't tried it as yet though, but I'm about to.
Quote from: hugodiaz on January 11, 2008, 11:00:02 AM
To move the profile stuff to the top, see this: http://jovant.guruserve.com/test-forum/index.php?topic=16.0
I haven't tried it as yet though, but I'm about to.
awesome! thankyou!
Quote from: JovanT on January 11, 2008, 07:26:19 AM
For all who have problems with the new buddy system, I recommend visiting this page (http://jovant.guruserve.com/test-forum/index.php?topic=15.0).
Where can I find Snake's SMF blogger?
@Embrace
Input filter configuration can be find in Sources/Profile.php, inside customized() function.
There are two arrays: $allowed_tags and $allowed_attribs. So, you can alter these arrays to allow that flash playlist. I think you should add "flashvars" to the $allowed_attribs.
Snakes blogger is at johncarpenterforum.com/snake
I tried adding flashvars and not it gives me an xml error, I tried removing xml from the blacklist and adding it to the allowed tags, same error.
Haha, and now I have tried it, and it works like a charm!
Oh yeah - happy days ahead! :D
works perfectly!
now i gotta figure out how to make it have 4 links a row (which would make it 2 columns per section) cause i find it too fat lol
Yup, same as me, it's not as aesthetically pleasing as I would like it to be, but it works well enough for now.
Hehe, now it's time to let the promotion begin!
will this work with the "myspace mod" ? which adds the persons myspace page url beside their icq, aim,msn ??
also can permissions be set according to membergroups... such as only enabeling ulimate profile to certain membergroups and the rest will have the regular profile view??
thanks for letting me know... could be very useful!
I don't think permissions can be set to only enable this for certain member groups, but I could be wrong.
Also, there is a place for you to paste code for other profile fields you would like to include, but you'll need to paste the code yourself as I don't think this mod will automatically pull the code from the "myspace mod"
All you need to do is edit the ultimateprofile.template.php file which will be installed to your theme's directory. ;)
That's my understanding of everything, and I hope it helps. :)
hmm.... so i assume ill have to uninstall the mods ive installed to modify the basic smf profile... such as comments, extra fields, myspace... before i should install the ultimate profile mod? cause i tried to do that and i got a database error.... bah...
im just soooo afraid to use a beta :(
and to JovanT .... if it does not have it... please set permissions based on member groups!!!
and you have me sold :)
also... i have Gallery installed... is this where it pulls "My Pictures" ???
Hmm, I'm really not sure if you have to uninstall any of the other mods, but I remember reading something saying that you would not need to uninstall them. ;)
As for the "My Pictures" it does not pull those from the Gallery. There is an option to allow users to upload pictures, and it will go to a new folder that has nothing to do with the gallery mod.
I'd also like to see some permissions based on membergroups, but mainly so that I can give mods the ability to delete pictures, edit profiles and so on.
Quote from: myaicons on January 11, 2008, 01:29:42 PM
hmm.... so i assume ill have to uninstall the mods ive installed to modify the basic smf profile... such as comments, extra fields, myspace... before i should install the ultimate profile mod? cause i tried to do that and i got a database error.... bah...
im just soooo afraid to use a beta :(
and to JovanT .... if it does not have it... please set permissions based on member groups!!!
and you have me sold :)
no to the gallery q
only uninstall the comments one. i believe you will retain the comments though...i did.
Quote from: hugodiaz on January 11, 2008, 11:00:02 AM
To move the profile stuff to the top, see this: http://jovant.guruserve.com/test-forum/index.php?topic=16.0
I haven't tried it as yet though, but I'm about to.
i moved that section and placed it right above the contact info. :)
Quote from: ~Alex on January 10, 2008, 03:10:23 PM
i'll look for that. thanks!
...i hate to beat on a dead horse, but, snake closed the forum down before i even got back to it, so i don't have the links you were referring to embrace. so, am i screwed here?
Did the migration Tool.
On my profiles I still can't get the buddysystem to work.
- The buddie approve system doesn't work. There is message send when somebody invites you to be his friend
- When you add somebody to your buddies it doesn't appear in the Ultimate Profile (vb http://www.klifix.eu/u/index.php?action=profile;u=1;sa=summary
- When you click on 'My buddies' (mijn vrienden in this case) then you CAN see the added buddies: http://www.klifix.eu/u/index.php?action=profile;u=1;sa=buddies
So what's going wrong????
do you have "user CP" installed?
yes
Thanks for the mod, it works nicely so far.
Is there an action or link that can be used so the member can see his/her profile as other members see it? like a preview button perhaps? I have the user cp mod with a spare button begging to be assigned to this : )
Nevermind I just figured out just make a link with out the member ID # and it defaults to your own
example:
http://www.simplemachines.org/community/index.php?action=profile;
Quote from: Angelotus on January 12, 2008, 03:31:45 AM
yes
assuming you have the up to date version...
open up usercp.template
find
<a href="', $scripturl, '?action=profile;u=', $ID_MEMBER, ';sa=editBuddies"><img border="0" src="',$settings['images_url'],'/usercp/kdmconfig.png" width="80" height="80"></a></td>
replace
<a href="', $scripturl, '?action=buddies"><img border="0" src="',$settings['images_url'],'/usercp/kdmconfig.png" width="80" height="80"></a></td>
find
<font face="Verdana" size="2"><a href="', $scripturl, '?action=profile;u=', $ID_MEMBER, ';sa=editBuddies"><b>',$txt['usercp_buddies'] ,'</a><br>
replace
<font face="Verdana" size="2"><a href="', $scripturl, '?action=buddies"><b>',$txt['usercp_buddies'] ,'</a><br>
yes i HAVE tested it, as i use it on my own forum. and yes it DOES work :P
thanks! I'll try it out!
It still not getting the buddies in the ultimate profiel page???
Problem with MyMedia after upgrade.
For some reason this area is not accepting code. For instance trying to enter the code for a slideshow and after saving half the code is removed and get a unrefined error. This also happens with custom generated graphics and the only thing that seems to work are codes from places lke YouTube.
Also, at one point the new feature for adding smiles to comments was there, but now has vanished.
Quote from: Tory on January 12, 2008, 12:05:59 PM
Problem with MyMedia after upgrade.
For some reason this area is not accepting code. For instance trying to enter the code for a slideshow and after saving half the code is removed and get a unrefined error. This also happens with custom generated graphics and the only thing that seems to work are codes from places lke YouTube.
Also, at one point the new feature for adding smiles to comments was there, but now has vanished.
This is related to the new input filter, and I for the life of me cannot figure it out...
and i now have like 30 buddies and they still WILL NOT MOVE UP OR DOWN!!
they wont move at all
if your doing an update, please package an upgrade file so i dont have to uninstall! it would drive me crazy!
>.> The input filter is crap... It does not work... it also has not been updated in 4 years.
No modern widgets, like stuff made for myspace works... I have tried removing/add 1000 times, different combonations... nothing works...
I havent installed the upgrade as even without all the problems I dont like the new way of adding buddies. The concept is correct but I dont like the admin area for them, its not clear at all.
I will probably stay with the previous version for now. This mod has loads of potential but I'll say it again, this needs an improved member search tool to make it rock.
It's sad but I am currently thinking of migrating from SMF/TP to something with more profile functionality or selling the site.
Regards,
Wilsy.
Or, you could just rewrite your profile stuff to your own liking, just as I'm doing it...
dare i ask what kinda rewrite you are doing?
Quote from: Nao 尚 on January 13, 2008, 06:57:22 AM
Or, you could just rewrite your profile stuff to your own liking, just as I'm doing it...
you got the buddy system working? hes not talking about the "look" i dont think
Quote from: Angelotus on January 12, 2008, 08:36:47 AM
It still not getting the buddies in the ultimate profile page??? And there is still not sending a message when adding a buddy????
Quote from: wilsy on January 13, 2008, 06:00:29 AM
I havent installed the upgrade as even without all the problems I dont like the new way of adding buddies. The concept is correct but I dont like the admin area for them, its not clear at all.
I will probably stay with the previous version for now. This mod has loads of potential but I'll say it again, this needs an improved member search tool to make it rock.
It's sad but I am currently thinking of migrating from SMF/TP to something with more profile functionality or selling the site.
Regards,
Wilsy.
You could always migrate it to SMF+Joomla+Community builder... Im looking into that right now actually :)
Hmm, the buddy system is working just fine for me on my test forum, but I think it could also use a few tweaks to make it a little more user friendly.
Anyway, I'm satisfied with this mod as it is right now, and just want to take the time to thank JovanT once more - thanks man, great job! :)
Quote from: hugodiaz on January 13, 2008, 12:39:53 PM
Hmm, the buddy system is working just fine for me on my test forum, but I think it could also use a few tweaks to make it a little more user friendly.
Anyway, I'm satisfied with this mod as it is right now, and just want to take the time to thank JovanT once more - thanks man, great job! :)
can you move friends up or down?
Yes, I can also move them up or down. I didn't do anything special, but everything appears to be working as it should for me - on my test forum. I'm in the process of installing this mod on my live forum right now.
Is this mod actually still active or are we on our own if we install it?
It's very much still active.
You can get support in this thread, or over at JovanT's test forum - http://jovant.guruserve.com/test-forum/index.php
Quote from: hugodiaz on January 13, 2008, 02:16:20 PM
It's very much still active.
You can get support in this thread, or over at JovanT's test forum - http://jovant.guruserve.com/test-forum/index.php
fark!!
i keep forgetting to check back there :(
Quote from: Embrace on January 13, 2008, 11:29:03 AM
Quote from: wilsy on January 13, 2008, 06:00:29 AM
I havent installed the upgrade as even without all the problems I dont like the new way of adding buddies. The concept is correct but I dont like the admin area for them, its not clear at all.
I will probably stay with the previous version for now. This mod has loads of potential but I'll say it again, this needs an improved member search tool to make it rock.
It's sad but I am currently thinking of migrating from SMF/TP to something with more profile functionality or selling the site.
Regards,
Wilsy.
You could always migrate it to SMF+Joomla+Community builder... Im looking into that right now actually :)
Hi Embrace,
I looked at that about a year ago - will you let me know how you get on? I thought the Joomla bridge had been discontinued for SMF?
Quote from: Alundra on January 13, 2008, 02:29:11 PM
Quote from: hugodiaz on January 13, 2008, 02:16:20 PM
It's very much still active.
You can get support in this thread, or over at JovanT's test forum - http://jovant.guruserve.com/test-forum/index.php
fark!!
i keep forgetting to check back there :(
Hi Alundra,
In the UK "Fark" is how the posh people pronounce one of our swear words ;)
Regards,
Wilsy.
fark is just like the f word only spelt different ;)
it has the same meaning
Quote from: Alundra on January 13, 2008, 03:55:58 PM
fark is just like the f word only spelt different ;)
it has the same meaning
Lol, guess it means the same thing then :)
you can still find the joomla bridge at joomlahacks.com
Ok, for some reason I really can't figure this out. :P
How do I add referral information to the new profiles?
I tried pasting this code:
// ADDS THE REFERRAL/REFERRED USER INFORMATION TO THE PROFILE SUMMARY
echo '<tr><td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td></tr>
<tr>
<td><b>'.$txt['referrals_referrals'].'</b></td>
<td>'.$context['member']['referralsno'] .' ';
// SHOW IN DROPDOWN USERSNAME OF THOSE REFERRED
if(!empty($context['member']['referredmembers']))
{
echo '<select onchange="location=options[selectedIndex].value;">
<option>'.$txt['referrals_membersreferred'].'</option>';
foreach($context['member']['referredmembers'] as $x) {
echo $x;
}
// FREE KEVIN
unset($x);
echo '</select>';
}
echo' </td>
</tr>
<tr>
<td><b>'.$txt['referrals_referral******s'].'</b></td>
<td>'.$context['member']['referral******s'].'</td>
</tr>';
if (!empty($context['member']['referredby']) && $context['member']['referredby'] != 0)
{
echo' <tr>
<td><b>'.$txt['referrals_referredby'].'</b></td>
<td>'.$context['member']['referredbylink'].' '.$txt['referrals_on'].' '. date("jS M Y",$context['member']['referredon']).'
</td>
</tr>';
}
echo '<tr>
<td colspan="2"><b>'.$txt['referrals_link'].'</b></td></tr>
<tr><td colspan="2" style="text-align:center;"><input type="text" value="'.$scripturl.'?referredby='. $context['member']['id'] .'" style="width:330px;"/></td>
</tr>';
, but I guess I am either pasting it in the wrong place, or there is something else I am missing. :(
Help... please... :)
Quote from: Tory on January 12, 2008, 12:05:59 PM
Problem with MyMedia after upgrade.
For some reason this area is not accepting code. For instance trying to enter the code for a slideshow and after saving half the code is removed and get a unrefined error. This also happens with custom generated graphics and the only thing that seems to work are codes from places lke YouTube.
Also, at one point the new feature for adding smiles to comments was there, but now has vanished.
Since this area doesn't work and there doesn't seem to be a fix, I want to put the Ultimate Profile back to the previous version. Is there a way to do this without everyone loosing their profile information and pictures?
Quote from: Embrace on January 13, 2008, 04:46:27 PM
you can still find the joomla bridge at joomlahacks.com
I see you've started work - keep me posted and good luck! (;
Regards,
Wilsy.
When will the next version of this mod be ready??
And how do we actually install, there is no readme :(
@Tory & @Embrace
Take a look at New Input Filter (http://jovant.guruserve.com/test-forum/index.php?topic=20.0) topic.
@Alundra
I know that moving buddies up and down is not perfect but you should try a few times before the order changes. It can be a little buggy if you have a lot of buddies and change their order every now and then.
@wilsy
What exactly you don't like about buddies' panel?
@Tory
If you decide to roll-back to the previous version, when you uninstall 0.8 you shoudn't lose your data.
@clericvash
I really can't tell when the next version will come out. You can install current release just as any other mod - via the Package manager.
Ah right i am still not used to this package manager, i'm so used to phpbbs annoying file editing hehe.
What are you planning for the next version?
And you say to upgrade we have to uninstall and then put the new one on, that will delete any data a user puts on right? Whats the help in that :P
but it never worked for me...it just wont move them :(
Nvm...upgraded, but it won't show my old buddies and the [add buddy] link won't show up for the old buddies...
excuse me for the silly question... but where is the admin panel for this mod? how can i activate this ultimate profile to all my users?
oops.. nvm that, fixed (forgot to plase modification language into my theme)
Quote from: Maxys on January 17, 2008, 03:52:04 AM
excuse me for the silly question... but where is the admin panel for this mod? how can i activate this ultimate profile to all my users?
oops.. nvm that, fixed (forgot to plase modification language into my theme)
Admin - Features and Options - Ultimate Profile ;)
I looked at the input filter topic, but I still for the life of me cannot get anything except youtube to work... one of the things my members really liked about this is that they could put code from myflashfetish in...
Which ive tried multiple things to get working with no luck at all :\
Is it possible to get the latest profile pics with an ssi function?
Quote from: Angelotus on January 17, 2008, 10:56:42 AM
Is it possible to get the latest profile pics with an ssi function?
Check out www.tinyportal.net, I've posted some code in the block code snippets section. It needs to be used in a TP block though.
Regards,
Wilsy.
okidoki
I am willing to make a PayPal payment in return for someone implementing this in a TinyPortal block: -
Functionality as per the screenshot below (you can add more options such as online etc if you wish): -
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.farnworthgrammar.com%2Fimages%2Fsearch.gif&hash=d17f92ef8078bca7cda86c85194c47dd3f3bcb97)
The search results would be displayed like the screenshot below: -
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.farnworthgrammar.com%2Fimages%2Fsearch_screen.jpg&hash=35d3231826eebe4d7486198e43f3b78aabdcc6b7)
Link to full size image>> http://www.farnworthgrammar.com/images/search_screen.jpg
The image displayed in the search results should be the latest 'Ultimate Profile' profile photo - or if they dont have 'Ultimate Profile' profile photos it should be: -
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ffarnworthgrammar.com%2Favatars%2Fno_avatar.png&hash=ba601498ccf340ba57b67c1a82bcf954653446a8)
Regards,
Wilsy.
or avatar :D
Another suggestion would be (not sure how difficult this would be)
a preview button so the beginner coder can tweak his/her profile and see what it looks like before saving or if that's difficult just a "view profile as others see it" button.
Just browsed the moderation section and found a profile mod where the user can add music to the top of their profile. Do you think you could possibly have this built into the next ultimate profile?
Mod: http://custom.simplemachines.org/mods/index.php?mod=344
I am trying to use this with the WoW Characters Profile mod. I get an error in the install with the Sources/Mod and my profile page becomes blank.
Any idea what i would need to edit to allow both of these mods to work together? Luckily I tried it on my test site :)
Here is a feature I would love to see. I would like to be able to have members in two different groups, one that can post for instance 10 photos and another group that can post more.
Hi ;
is it possible make a list which shows who visited user's profile? i need to see who visited and last ten profile visitors.
Feature Request: Don't allow members to comment in there own profile!
Quote from: Embrace on January 24, 2008, 11:31:40 PM
Feature Request: Don't allow members to comment in there own profile!
For real lol
(though I enjoy laughing at them through their profile lol)
Hi all,
Could someone please try to develop a TP article to show the following in relation to the ultimate profile photos: -
X random males with profile pictures
X random females with profile pictures
X latest males with profile pictures
X latest females with profile pictures
It would be nice if we could specify the number of images to show and the number of columns to display them in.
Any help would be appreciated. The code I have at the moment for latest profile images is below: -
Quoteglobal $db_prefix, $modSettings, $scripturl;
$sql = db_query ('SELECT p.ID_PICTURE, p.ID_MEMBER, p.title, p.time, p.filename, m.realName
FROM ' . $db_prefix . 'profile_pictures AS p, ' . $db_prefix . 'members AS m
WHERE p.ID_MEMBER = m.ID_MEMBER
ORDER BY p.time DESC
LIMIT 7', __FILE__, __LINE__);
$data = array();
while ($row = mysql_fetch_assoc ($sql)) {
$data[] = array (
'title' => $row['title'],
'thumb' => $modSettings['profile_pictures_url'] . '/' . $row['ID_MEMBER'] . '_' . $row['time'] . '_thumb.' . substr (strrchr ($row['filename'], '.'), 1),
'url' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . ';sa=pictures;view=' . $row['ID_PICTURE'],
'time' => timeformat ($row['time']),
'user' => $row['realName'],
'profile' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
);
}
echo '
<DIV ALIGN="CENTER">
<table width="90%">
<tr>';
foreach ($data as $picture)
{
echo '
<td><center>
<a href="', $picture['url'] ,'"><img src="' . $picture['thumb'] . '" alt="" width="65" height="65" /></a>
</center></td>';
}
echo '
</tr>
</table></div>';
I have a superb idea re presenting this on my site if it's possible.
Regards,
Wilsy.
Hi all,
I seem to be very slowly getting there.
I now have this which will show: x random profile photos: -
global $db_prefix, $modSettings, $scripturl;
$sql = db_query ('SELECT p.ID_PICTURE, p.ID_MEMBER, p.title, p.time, p.filename, m.realName
FROM ' . $db_prefix . 'profile_pictures AS p, ' . $db_prefix . 'members AS m
WHERE p.ID_MEMBER = m.ID_MEMBER
ORDER BY RAND()
LIMIT 99', __FILE__, __LINE__);
$data = array();
while ($row = mysql_fetch_assoc ($sql)) {
$data[] = array (
'title' => $row['title'],
'thumb' => $modSettings['profile_pictures_url'] . '/' . $row['ID_MEMBER'] . '_' . $row['time'] . '_thumb.' . substr (strrchr ($row['filename'], '.'), 1),
'url' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . ';sa=pictures;view=' . $row['ID_PICTURE'],
'time' => timeformat ($row['time']),
'user' => $row['realName'],
'profile' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
);
}
echo '
<DIV ALIGN="CENTER">
<table width="90%">
<tr>';
foreach ($data as $picture)
{
echo '
<a href="', $picture['url'] ,'"><img src="' . $picture['thumb'] . '" alt="" width="65" height="65" /></a>
';
}
echo '
</tr>
</table></div>';
..and this which shows: x last profile photos: -
global $db_prefix, $modSettings, $scripturl;
$sql = db_query ('SELECT p.ID_PICTURE, p.ID_MEMBER, p.title, p.time, p.filename, m.realName
FROM ' . $db_prefix . 'profile_pictures AS p, ' . $db_prefix . 'members AS m
WHERE p.ID_MEMBER = m.ID_MEMBER
ORDER BY p.time DESC
LIMIT 99', __FILE__, __LINE__);
$data = array();
while ($row = mysql_fetch_assoc ($sql)) {
$data[] = array (
'title' => $row['title'],
'thumb' => $modSettings['profile_pictures_url'] . '/' . $row['ID_MEMBER'] . '_' . $row['time'] . '_thumb.' . substr (strrchr ($row['filename'], '.'), 1),
'url' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . ';sa=pictures;view=' . $row['ID_PICTURE'],
'time' => timeformat ($row['time']),
'user' => $row['realName'],
'profile' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
);
}
echo '
<DIV ALIGN="CENTER">
<table width="90%">
<tr>';
foreach ($data as $picture)
{
echo '
<a href="', $picture['url'] ,'"><img src="' . $picture['thumb'] . '" alt="" width="65" height="65" /></a>
';
}
echo '
</tr>
</table></div>';
Now I need to get the first one to display: -
x random male profile photos
x random female profile photos
...and the second one to display: -
x last male profile photos
x last female profile photos
So close yet possibly so far away! O0
DEMOS:
Random:
http://rewindlancs.com/forum/index.php?page=57
Latest:
http://rewindlancs.com/forum/index.php?page=56
Regards,
Wilsy.
Quote from: Alundra on January 25, 2008, 08:18:46 AM
Quote from: Embrace on January 24, 2008, 11:31:40 PM
Feature Request: Don't allow members to comment in there own profile!
For real lol
(though I enjoy laughing at them through their profile lol)
you can just hide the text input box with a statement like this:
if(!$context['user']['is_owner'])
{
TEXT BOX CODE HERE
}
im having a problem, i upgraded to version 0.8 and when I upload a picture, the picture appears twice in the profile, but when you go into "my pictures" it's there just once like its supposed to, any idea why it shows up twice?
you can see for yourself here:
http://ninerskickass.com/forum/index.php?action=profile;u=1
It looks like the previous version didn't uninstall properly.
Can you uninstall 0.8, upload fresh Sources/Profile.php and install again?
Quote from: JovanT on January 25, 2008, 06:38:48 PM
It looks like the previous version didn't uninstall properly.
Can you uninstall 0.8, upload fresh Sources/Profile.php and install again?
i would but im not sure if that would mess with other mods... do you think the problem is in the Sources/Profile.php file? because if that's the case I could just try and fix it manually
actually i dont think any of the mods im using require the Profile.php file... i'll give it a shot
Quote from: ninerskickass on January 25, 2008, 06:57:33 PM
actually i dont think any of the mods im using require the Profile.php file... i'll give it a shot
http://sleepycode.com/PackageParser/index.php
^That aught to help out some :D It tells you what to do ;)
Quote from: wilsy on January 25, 2008, 05:09:15 PM
Hi all,
I seem to be very slowly getting there.
I now have this which will show: x random profile photos: -
global $db_prefix, $modSettings, $scripturl;
$sql = db_query ('SELECT p.ID_PICTURE, p.ID_MEMBER, p.title, p.time, p.filename, m.realName
FROM ' . $db_prefix . 'profile_pictures AS p, ' . $db_prefix . 'members AS m
WHERE p.ID_MEMBER = m.ID_MEMBER
ORDER BY RAND()
LIMIT 99', __FILE__, __LINE__);
$data = array();
while ($row = mysql_fetch_assoc ($sql)) {
$data[] = array (
'title' => $row['title'],
'thumb' => $modSettings['profile_pictures_url'] . '/' . $row['ID_MEMBER'] . '_' . $row['time'] . '_thumb.' . substr (strrchr ($row['filename'], '.'), 1),
'url' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . ';sa=pictures;view=' . $row['ID_PICTURE'],
'time' => timeformat ($row['time']),
'user' => $row['realName'],
'profile' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
);
}
echo '
<DIV ALIGN="CENTER">
<table width="90%">
<tr>';
foreach ($data as $picture)
{
echo '
<a href="', $picture['url'] ,'"><img src="' . $picture['thumb'] . '" alt="" width="65" height="65" /></a>
';
}
echo '
</tr>
</table></div>';
..and this which shows: x last profile photos: -
global $db_prefix, $modSettings, $scripturl;
$sql = db_query ('SELECT p.ID_PICTURE, p.ID_MEMBER, p.title, p.time, p.filename, m.realName
FROM ' . $db_prefix . 'profile_pictures AS p, ' . $db_prefix . 'members AS m
WHERE p.ID_MEMBER = m.ID_MEMBER
ORDER BY p.time DESC
LIMIT 99', __FILE__, __LINE__);
$data = array();
while ($row = mysql_fetch_assoc ($sql)) {
$data[] = array (
'title' => $row['title'],
'thumb' => $modSettings['profile_pictures_url'] . '/' . $row['ID_MEMBER'] . '_' . $row['time'] . '_thumb.' . substr (strrchr ($row['filename'], '.'), 1),
'url' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . ';sa=pictures;view=' . $row['ID_PICTURE'],
'time' => timeformat ($row['time']),
'user' => $row['realName'],
'profile' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
);
}
echo '
<DIV ALIGN="CENTER">
<table width="90%">
<tr>';
foreach ($data as $picture)
{
echo '
<a href="', $picture['url'] ,'"><img src="' . $picture['thumb'] . '" alt="" width="65" height="65" /></a>
';
}
echo '
</tr>
</table></div>';
Now I need to get the first one to display: -
x random male profile photos
x random female profile photos
...and the second one to display: -
x last male profile photos
x last female profile photos
So close yet possibly so far away! O0
DEMOS:
Random:
http://rewindlancs.com/forum/index.php?page=57
Latest:
http://rewindlancs.com/forum/index.php?page=56
Regards,
Wilsy.
Hi all,
JovanT sorted this - demo on the right block (top) at www.rewindlancs.com
The code is in the TP Blocks section at Jovans support site.
Regards,
Wilsy.
it works, thanks Jovan
Hi
I love the mod!
I've translated it into Brazilian Portuguese, if anyone wants the translation.
However - and I suspect that this isn't related to my translation as it happens in English too - I can't get any buddies to add. My buddy list remains empty, even when I add one, they don't appear.
Also, if the member that I want to add as a buddy also has the customised profile, I can't find any way to add them as a buddy.
If I uninstall the mod I get my normal buddy list back again.
Any suggestions?
Paul
wilsy...
can you share the code you're using for the block you have up on www.rewindlancs.com ??
did you have to create new pages for the results?
I have completly removed the profile photos and replaced it with the gallery photos for that user since most of my users were uploading random pictures to the profile photos I kind of felt that it was useless...
I am now working on some UI stuff that will make the users gallery, blog, profile all integrate with eachother better...
Still having issues with the input filter however >>>>
Quote from: ~Alex on January 25, 2008, 09:23:04 PM
wilsy...
can you share the code you're using for the block you have up on www.rewindlancs.com ??
did you have to create new pages for the results?
Hi Alex,
If you have TP you can just create a new PHP article for each page of results.
The code is: -
global $db_prefix, $modSettings, $scripturl;
// Settings
$member_gender = 'female'; // male or female
$num_pictures = 99; // x of thumbnails to display
$order_by = 'latest'; // random or latest
$gender = ($member_gender == 'male') ? '1' : '2';
$order = ($order_by == 'random') ? 'RAND()' : 'p.time DESC';
$sql = db_query ('SELECT p.ID_PICTURE, p.ID_MEMBER, p.title, p.time, p.filename, m.realName
FROM ' . $db_prefix . 'profile_pictures AS p, ' . $db_prefix . 'members AS m
WHERE
p.ID_MEMBER = m.ID_MEMBER AND
m.gender = ' . $gender . '
ORDER BY ' . $order . '
LIMIT ' . $num_pictures, __FILE__, __LINE__);
$data = array();
while ($row = mysql_fetch_assoc ($sql)) {
$data[] = array (
'title' => $row['title'],
'thumb' => $modSettings['profile_pictures_url'] . '/' . $row['ID_MEMBER'] . '_' . $row['time'] . '_thumb.' . substr (strrchr ($row['filename'], '.'), 1),
'url' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . ';sa=pictures;view=' . $row['ID_PICTURE'],
'time' => timeformat ($row['time']),
'user' => $row['realName'],
'profile' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
);
}
echo '
<DIV ALIGN="CENTER">
<table width="90%">
<tr>';
foreach ($data as $picture)
{
echo '
<a href="', $picture['url'] ,'"><img src="' . $picture['thumb'] . '" alt="" width="65" height="65" /></a>
';
}
echo '
</tr>
</table></div>';
Regards,
Wilsy.
Browsing the forum I see that others have had problems with the buddy lists too.
Have these been resolved?
I ran the update script but still find that the system is very intermittent.. some buddies say that they have already been added when they don't appear, others seem to come across ok.
I tried got back to the old profil, deleting all my buddies, then deleting them all from within Ultimate Profile, but I still can't add some.
Can I rerun the migration script to sync the two lists or will this really mess things up?
Or is there any easy way for me to clear out Ultimate Profile's buddy database and retry the migration script?
Thanks for your help
Paul
Quote from: Paul Cull on January 26, 2008, 03:48:30 PM
Browsing the forum I see that others have had problems with the buddy lists too.
Have these been resolved?
I ran the update script but still find that the system is very intermittent.. some buddies say that they have already been added when they don't appear, others seem to come across ok.
I tried got back to the old profil, deleting all my buddies, then deleting them all from within Ultimate Profile, but I still can't add some.
Can I rerun the migration script to sync the two lists or will this really mess things up?
Or is there any easy way for me to clear out Ultimate Profile's buddy database and retry the migration script?
Thanks for your help
Paul
Nope, we all still got the same problem, even with the strip, and even after wiping the db of buddies lol
Maybe you all should use the Mod Parser to install the latest Ultimate Profile mod but replace the new buddy system with the old...
Quote from: brianjw on January 26, 2008, 06:14:27 PM
Maybe you all should use the Mod Parser to install the latest Ultimate Profile mod but replace the new buddy system with the old...
is that what you did?
Thanks... I'll wait and see what happens then...
Paul
wilsy. i know i said thanks elsewhere, but thought i'd say it again, so thanks!! :D
Thanks Alex! ;)
Quote from: Alundra on January 26, 2008, 06:19:04 PM
is that what you did?
I actually don't use the mod currently. I am waiting for it to get
1.) Better with security.
2.) A little more stable/bug fixes (it is in beta from what i can see)
That's just an idea that I know would work if you edit the files and mix them up a bit although you'd have to know what the code looks like in the first place. Maybe Jovan T will include a package to let you use the old buddy system on the new version, although he is very busy...
Hello~ I'm very newbie here
I just install this mod. It's very useful and great mod. Thank you JovanT~.
and I just try wilsy's random & latest profile photos. I love it so much. anyway I try to make it show the name of photo's owner under the Thumb photo something like
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fphotobucket.com%2Falbums%2Fv115%2Fgooggig%2Fsample.gif&hash=4c6047bf261091221e1dd7bc25e6144ccd0eb7ea)
and when click the member's name it will go to Profile page.
I try to make it but I'm not good about PHP much. Is there anyway to make it? Thank you for advise ^^
PS. Sorry for my not good English
Quote from: Alundra on January 13, 2008, 10:17:20 AM
you got the buddy system working? hes not talking about the "look" i dont think
Sorry for the delay. No, haven't tried v0.8 yet. But I've rewritten a lot of v0.7.1 to make it work with SMF2 (Forum.cyna.net). And I made a few tweaks here and there but they're not visible so I'm not sure they're important.
Still, I was reluctant to learn PHP a few years ago, but it's not that hard. And tweaking existing code is really the best way to learn it.
My problem with v0.8's buddy system is that, as far as I understand, it's completely separated from the classic buddy list in SMF now. So, any part of the code in SMF that deals with buddies will have to be rewritten to accomodate that. Although it shouldn't be too hard. But I have so many things to implement ;)
I'd like to have Jovan's opinion on this: how will UltimateProfile evolve in the future? Is there another major overhaul underway, or is most of the work done?
Since I'm planning to install UP for my Cyna.fr platform (different from the one mentioned above), and I'll be doing an awful *lot* of tweaking on it (basically, I'll probably rewrite half of it to accomodate my complicated needs), I'd rather start off with a clean (and stable) slate.
Hi, someone posted somewhere how to add "see more" (or whatever) next to My Buddies so people would know they could click to see more. Can someone direct me to it please.
Is there one for My Pictures as well?
Quote from: Tory on January 29, 2008, 05:36:40 PM
Hi, someone posted somewhere how to add "see more" (or whatever) next to My Buddies so people would know they could click to see more. Can someone direct me to it please.
Is there one for My Pictures as well?
Go into the text strings :)
$txt['profile_buddies'] = 'My Entourage (click to see my entire entourage)';
thats what mine says. for a "screenshot" login as admintest with the password windows on www.jades-world.com/forums :)
Quote from: brianjw on January 27, 2008, 07:58:42 PM
I am waiting for it to get
1.) Better with security.
wasn't aware of any, please do tell
Well it's fine as long as you don't have html allowed in any of the customization. Transfer to bbc and it's safe...
There are lots of things people can do to your website using html...
Ok I have to say this mod is a dream mod for my forum and I am curerenlty running some tests on one of my ghost forums and so far so good. I see there seem to be issues with the buddies system which i have not tried as yet but will do. Also I have to say how RWL is set up, awesome, I am sure i will be using something like this when I am sorted.
Right now my gut reaction/suggestion for this is it has most everything like a myspace type profile and my users just are in love with samples I have shown them, the comments, the layouts the pics and so on. But we do currently have a blog system on the active forum, I wonder if maybe at anytime there would be this built into this profile conversion, so that people have their own blogs on their own profiles (I can do away with the not so great one I use right now then lol) and then who will need myspace lol
Just a passing suggestion/thought and I wonder other peoples thoughts, i have been looking for something like this for SMF forever in a day and now it seems its landed :)
One thing I have searched for and cant find and sems to be the case on my test one is I enabled the custom profiles for all, did some playing thern i disabled it, but it did not disable it for the users. Anyone?
Also another thing I noticed is that a lot of my users have their own avatars from links such as photobucket, now the forum resizes these to suit as does the coments on the main part of the profile, but i see in coments for pictures it seems to display the avatar picture at actual size.
Quote from: J Dub on January 29, 2008, 08:11:17 PM
Also I have to say how RWL is set up, awesome, I am sure i will be using something like this when I am sorted.
Thanks JDub - your comments are appreciated :)
Wilsy.
Staff Wantedhttp://www.simplemachines.org/community/index.php?topic=219287.msg1400692#msg1400692
Pleasure, I have often lurked over yours and seen that and totally taken by it :) great bit of work goin on and credit where credit is due :) ok enuff of the creepy bumlick posting lmao
Quote from: wilsy on January 30, 2008, 12:14:14 PM
Quote from: J Dub on January 29, 2008, 08:11:17 PM
Also I have to say how RWL is set up, awesome, I am sure i will be using something like this when I am sorted.
Thanks JDub - your comments are appreciated :)
Wilsy.
Staff Wanted
http://www.simplemachines.org/community/index.php?topic=219287.msg1400692#msg1400692
I cant see the Xbox Gamertag, and the Referral Link, even thought I installed the Mods.
Am I supposed to edit something?
Quote from: Embrace on January 17, 2008, 10:13:57 AM
I looked at the input filter topic, but I still for the life of me cannot get anything except youtube to work... one of the things my members really liked about this is that they could put code from myflashfetish in...
Which ive tried multiple things to get working with no luck at all :\
I have been trying to do this too, and haven't had any luck :(
@brianjw@ Do you have a copy of the 0.8 script with the new buddy system removed?
Does anyone have a work around for the ongoing problems with new buddy system? Or should I just remove 0.8 and go back to 0.71?
Paul
Quote from: Paul Cull on January 31, 2008, 09:49:29 AM
@brianjw@ Do you have a copy of the 0.8 script with the new buddy system removed?
Does anyone have a work around for the ongoing problems with new buddy system? Or should I just remove 0.8 and go back to 0.71?
Paul
Hey I found a way to fix the buddies when you upgrade to 0.8! I went into the database to the table "smf_buddies" then I changed 0 in the table "approved" to all 1's and now all my buddies are showing! I don't know this is your problem! But my buddy system is working just fine for me!
Quote from: tunerbrothers on January 31, 2008, 09:56:23 AM
Quote from: Paul Cull on January 31, 2008, 09:49:29 AM
@brianjw@ Do you have a copy of the 0.8 script with the new buddy system removed?
Does anyone have a work around for the ongoing problems with new buddy system? Or should I just remove 0.8 and go back to 0.71?
Paul
Hey I found a way to fix the buddies when you upgrade to 0.8! I went into the database to the table "smf_buddies" then I changed 0 in the table "approved" to all 1's and now all my buddies are showing! I don't know this is your problem! But my buddy system is working just fine for me!
AWESOME/me plans to do that when she gets home
Quote from: geo32101 on January 30, 2008, 08:36:37 PM
I cant see the Xbox Gamertag, and the Referral Link, even thought I installed the Mods.
Am I supposed to edit something?
Can someone help me?
No, I don't have 0.8 installed with a fixed version of the buddy list.
And actually nothing with the buddy list is broken. It's just coded so the people who are on your buddy list have to accept your invitation (even if you added them a long time ago)
Changing the database looks like it turns the buddy approval thing off and will work as it was working before without the approval feature. ;)
brianjw
Quote from: Alundra on January 31, 2008, 11:56:27 AM
Quote from: tunerbrothers on January 31, 2008, 09:56:23 AM
Quote from: Paul Cull on January 31, 2008, 09:49:29 AM
@brianjw@ Do you have a copy of the 0.8 script with the new buddy system removed?
Does anyone have a work around for the ongoing problems with new buddy system? Or should I just remove 0.8 and go back to 0.71?
Paul
Hey I found a way to fix the buddies when you upgrade to 0.8! I went into the database to the table "smf_buddies" then I changed 0 in the table "approved" to all 1's and now all my buddies are showing! I don't know this is your problem! But my buddy system is working just fine for me!
AWESOME/me plans to do that when she gets home
Cool!
Let me know how it works out for you!?
UPDATE `[dbname]`.`smf_buddies` SET `approved` = '1'
ran that, [dbname] is your db name ;)
worked perfectly
I cant see the Xbox Gamertag, and the Referral Link, even thought I installed the Mods.
Am I supposed to edit something?
Yes. You have to manually install it in. It is a very complicated thing to do and you will need someone who is experienced with the mod and can tell you which files to edit in this mod. When they tell you to do that, you should use the Package Parser (http://www.gamerzgarage.com/package.php) to help compare the places to edit. :)
brianjw
Experienced with what mod?
way cool... seems to be working for me too..
Thanks heaps
Paul
Quote from: geo32101 on January 31, 2008, 10:44:58 PM
Experienced with what mod?
You need to find someone who is experienced with this Ultimate Profile Mod and knows how to manually install other mods into the profile. I think Embrace & Jovan T know how to do it. ;)
Ok, I sent the person a message.
Quote from: brianjw on February 01, 2008, 08:31:21 PM
Quote from: geo32101 on January 31, 2008, 10:44:58 PM
Experienced with what mod?
You need to find someone who is experienced with this Ultimate Profile Mod and knows how to manually install other mods into the profile. I think Embrace & Jovan T know how to do it. ;)
I sent Jovan T a PM but didn't answer.
Do you know how to do it?
Quote from: geo32101 on January 31, 2008, 04:28:06 PM
Quote from: geo32101 on January 30, 2008, 08:36:37 PM
I cant see the Xbox Gamertag, and the Referral Link, even thought I installed the Mods.
Am I supposed to edit something?
Can someone help me?
What mods do you need installing?
Does anyone have an idea on how to add tags to accept code from MyFlash Fetish...
I have changed the code as follows:
$allowed_tags = array ('b', 'i', 'u', 'a', 'p', 'br', 'span', 'style', 'div', 'img', 'hr', 'table', 'tr', 'td', 'object', 'embed', 'param', 'ul', 'ol', 'li', 'center' ,'left' ,'right' ,'quality' ,'wmode' );
$allowed_attribs = array ('href', 'title', 'id', 'class', 'style', 'align', 'type', 'src', 'height', 'width', 'alt', 'valign', 'border', 'cellspacing', 'cellpading', 'colspan', 'name', 'value' ,'flashvars' ,'myid' ,'target');
If I enter this code:
<center><embed src="http://www.mp3asset.com/swf/mp3/mff-pill.swf" quality="high" wmode="transparent" flashvars="myid=7020377&path=2007/12/27&mycolor=0xAFC0D4&mycolor2=0x0A0A0A&mycolor3=0xFFFFFF&autoplay=true&rand=0&f=3&vol=100" width="265" height="110" name="myflashfetish" align="middle"type="application/x-shockwave-flash" /><br><a href="http://www.myflashfetish.com/music-player/" target="_blank"></center>
It cuts it off and leaves this:
<center><embed src="http://www.mp3asset.com/swf/mp3/mff-pill.swf" flashvars="myid" width="265" height="110" name="myflashfetish" align="middle"><br /><a href="http://www.myflashfetish.com/music-player/" target="_blank" /></center>
This input filter will only allow YouTube and such...
Is there a way to add things like Gmail fields to the ultimate profile and awards for that member?
Also, people's buddies aren't showing up from before I installed the mod, and they can't remove them or readd them.
Hi error img :
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg146.imageshack.us%2Fimg146%2F2766%2Fsedaanm1.png&hash=a8e8f2b98357727be3a14629309e260414b7924d)
big : http://img146.imageshack.us/img146/2766/sedaanm1.png
Fixed ?
+ User no deleted..
Quote from: Lord Anubis on February 03, 2008, 04:42:19 PM
Does anyone have an idea on how to add tags to accept code from MyFlash Fetish...
I have changed the code as follows:
$allowed_tags = array ('b', 'i', 'u', 'a', 'p', 'br', 'span', 'style', 'div', 'img', 'hr', 'table', 'tr', 'td', 'object', 'embed', 'param', 'ul', 'ol', 'li', 'center' ,'left' ,'right' ,'quality' ,'wmode' );
$allowed_attribs = array ('href', 'title', 'id', 'class', 'style', 'align', 'type', 'src', 'height', 'width', 'alt', 'valign', 'border', 'cellspacing', 'cellpading', 'colspan', 'name', 'value' ,'flashvars' ,'myid' ,'target');
If I enter this code:
<center><embed src="http://www.mp3asset.com/swf/mp3/mff-pill.swf" quality="high" wmode="transparent" flashvars="myid=7020377&path=2007/12/27&mycolor=0xAFC0D4&mycolor2=0x0A0A0A&mycolor3=0xFFFFFF&autoplay=true&rand=0&f=3&vol=100" width="265" height="110" name="myflashfetish" align="middle"type="application/x-shockwave-flash" /><br><a href="http://www.myflashfetish.com/music-player/" target="_blank"></center>
It cuts it off and leaves this:
<center><embed src="http://www.mp3asset.com/swf/mp3/mff-pill.swf" flashvars="myid" width="265" height="110" name="myflashfetish" align="middle"><br /><a href="http://www.myflashfetish.com/music-player/" target="_blank" /></center>
This input filter will only allow YouTube and such...
Been waiting on an answer for this for a few weeks now... All Ive heard is to allow the tags, ive tried all i can think of... if you figure it out, please let me know :)
SUGGESTION
I would like to make a suggestion. Would it be possible to include Theme options in the Admin Panel?
My members are customising their profiles.. But if I decide to change the forum theme, all the customisation is messed up as it was done on a particular theme.
What I would like to see is an option to use the Default theme as the backbone, then if we switch themes, it should have no impact on their profile.
But that's very easy to do... just copy the *.template.php to your new theme and problem solved.
Quote from: Zetan on February 05, 2008, 07:11:35 AM
SUGGESTION
What I would like to see is an option to use the Default theme as the backbone, then if we switch themes, it should have no impact on their profile.
That's a good idea, JovanT will just need to move everything to the Sources directory.
I'm not sure if that was meant as sarcasm or not.
Quote from: Zetan on February 05, 2008, 11:06:05 AM
I'm not sure if that was meant as sarcasm or not.
I dont think it was :)
Not at all, I mean no sarcasm!! it's not complicated to move the functions and create a file in the Sources, that's what 2.0 is going to do to make things easier for the mods!
I'm sorry if it sounded like that!
I just installed this on a test forum and it looks really good. :)
Is it possible to limit the number of comments allowed or make it like a shoutbox where there's a rolling number and the old ones get deleted? I don't really want the profiles clogged up with loads of comments.
Thanks
Ok.. cool. :)
I only suggested it because when switching themes, the customisation made in a particular theme does become a mess.
being a TP fan/Support member, Articles have theme options. I've often wanted a similar option with the calendar. We use the calendar heavily, and we use a "wide" theme for gallery boards, learning code as I go, I would have changed the calendar to a wider theme (same theme, copy, just wider).. if that makes any sense at all..
Examples:
http://labradio.co.uk/index.php
http://labradio.co.uk/index.php?page=gallery
We use Photobucket as our Gallery.. saves server space.
Quote from: Embrace on January 04, 2008, 11:38:00 AM
Open Modifications.english.php in the language folder of the default theme
Find
$txt['profile_notif_com_body'] = '%s has just sent a new comment on your profile.';
Replace
$txt['profile_notif_com_body'] = '%s has just sent a new comment on your <a href="http://www.url of forum here.com/index.php?action=profile">profile</a>.';
Modify to meet your site.
:)
btw, here is whats possible with a little work on the template :P
http://www.knightsofnight.com/index.php?action=profile;u=3
OMG that's excellent.
Would you might sharing the code so I can understand how you did that?
Thanks
Heres a couple of profiles from my site:
http://labradio.co.uk/index.php?action=profile;u=1
http://labradio.co.uk/index.php?action=profile;u=16
customised under Invazion theme by Bloc.
wow!
zetan, how did you modify the page?
Anyone know the answer to my problem?
Quote from: ~Alex on February 06, 2008, 08:30:40 PM
wow!
zetan, how did you modify the page?
I'm not sure this is really the place to discuss customisation, but briefly..
I would suggest anybody who owns a website should install this tool, Web Developer toolbar for Firefox:
https://addons.mozilla.org/en-US/firefox/addon/60
Don't know if there are versions for other browsers, I use firefox.
Under the Information drop menu is a button called, display elements.. or something, I'm at work and can't look right now. Basically you select it, hover over various elements on a page and click a point of interest. A pale yellow menu within the window displays the element information.
#mainframe
#topframe
#content
For example..
The rest is css style and a little html, once you have the elements of the theme, then you can start playing with them. The tool bar just helps to quickly establish what and how the page is made up.
lol I have that installed in firefox and forgot all about it! I'm not sure I can work it out though, maybe that's why
Learn how it works.. I find it invaluable at times ;)
yeah I just had a look but what I'm trying to understand is where these things go in the ultimateprofile.template rather than the style of it. Like I have CP fields and other mods like Gallery, referrals, karma description etc that all display links in the normal profile summary but I don't know how to get them into the customised profile summary.
I might not be explaining that very well
everything I have done to my page is within the customisation field using css only. You have to write an entire style sheet for it, which over-rides the theme styles sheet.
The same way that you do with MySpace for example.
Some parts I have are hidden, for example
/* where we are, linktree */
#linktree
{
display: none;
}
The only addition I have made to the files is the inclusion of the My Favorite Bands box, and a link next to the profile customisation box to a help topic.
This really isn't the place to discuss the ins and outs of style sheets.
thanks for your help, I will look into this a bit more.
If I want to install this mod and the User CP mod, does it make any difference which gets installed first ie are there files that have to be edited if I do it one way or the other?
i wanna ask
users choose avatar from inside of profile pictures .its possible ? or must be a profile picture as primary big sized.
Users avatars are still chosen in the Avatar section of their profile, SMF, not within the Ultimate Profile package.
Quote from: mrzcn on February 08, 2008, 05:05:21 AM
i wanna ask
users choose avatar from inside of profile pictures .its possible ? or must be a profile picture as primary big sized.
I'm not sure what this means.. Currently, you cannot specify an uploaded Profile picture as the Avatar, they are stored in completely different folders.
an entire style sheet huh? wow. lol
i've tried a few of those myspace profile tweek websites, but none seem to do a justifiable job on my profile, enough for me to recommend to users on my site...
there should be a simpler way of doing this.
Quote from: Zetan on February 07, 2008, 09:18:05 AM
everything I have done to my page is within the customisation field using css only. You have to write an entire style sheet for it, which over-rides the theme styles sheet.
The same way that you do with MySpace for example.
Some parts I have are hidden, for example
/* where we are, linktree */
#linktree
{
display: none;
}
The only addition I have made to the files is the inclusion of the My Favorite Bands box, and a link next to the profile customisation box to a help topic.
This really isn't the place to discuss the ins and outs of style sheets.
~Alex, it is not a style sheet it is a style code that the user inserts into the customize section just like myspace except you insert it into the about section on myspace...
Not much different ;)
what I was more interested in was the layout rather than the colour scheme. I would like everything that appears in my current profile to appear in this new enhanced profile. That's what I'm having a problem with. I don't intend to allow people to customised the look of their profiles as most of them wouldn't know how to do that and it would be chaos lol
I saw code on JovanT's site showing how to display custom profile fields - great :) but I would also like displayed on there:
the links from karma description mod - who changed my karma etc
the referrals link from the referral mod
country flag from the country flag mod
the links from the shop mod
and so on, but I don't know how to make that happen. Sorry that was really what my original question was about when Zetan replied. Sorry for any confusion.
Well, I think you could do it this way...
Use The Package Parser (http://www.gamerzgarage.com/package.php) on those profile fields you want to install. Anything that modifies Profile.php, modify UltimateProfile.php instead. Anything that modifies Profile.template.php, modify UltimateProfile.template.php instead.
*REMEMBER to backup all files before doing any edits.*
Quote from: brianjw on February 09, 2008, 09:20:36 AM
Well, I think you could do it this way...
Use The Package Parser (http://www.gamerzgarage.com/package.php) on those profile fields you want to install. Anything that modifies Profile.php, modify UltimateProfile.php instead. Anything that modifies Profile.template.php, modify UltimateProfile.template.php instead.
*REMEMBER to backup all files before doing any edits.*
Ok, it sounds pretty simple when you put it that way lol I will give that a try later, thanks
I just want to tell you guys and gals that I have been using the Ultimate Profile with Feblog and they are both fantastic!
I have a suggestion on how to move around your buddies...
I think it would work better, or make it at least a bit easy with moving your buddies up and down
Currently it is like:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ftinyadminresources.com%2Fextras%2Fimagehost%2Fscript%2Fuploads%2F8bc329ebae.png&hash=dbb17f16b5600a19b5134b6c7d37f1ea6ba212ec)
Well it could be done just the same way that TinyPortal (http://www.tinyportal.net/) handles it's blocks and make it like:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ftinyadminresources.com%2Fextras%2Fimagehost%2Fscript%2Fuploads%2F7e3de4fcb1.png&hash=d6a2f87a5e2055f513a94b1627cec2fa898f22c2)
Where the user could individually move each buddy, or they could go through their (could be long) list of buddies and sort them a bit easier by adding a number for each and then saving and they would go in that order
Plus the current way is a bit buggy, I am on a fresh site that I am creating and sometimes it will move the buddy and other times you have to hit it a few times to move your buddy up and down the ladder :-[
Just an idea :)
@ Anubis: The only problem with this is - it'd require some table changes for how buddies work.
Currently, the buddy list works something like;
User #1 registered first on the forum, thus has the ID "1"
User #2 registered second on the forum, thus has the ID "2"
User #3 registered third on the forum, thus has the ID "3"
User #4 registered fourth on the forum, thus has the ID "4"
User #5 added user 2 first, then user 3, user 4, and lastly, user 1.
Now the column for user #5 would look like this:
Buddies: 2, 3, 4, 1
So, you would have to explode() to make everything into an array, allow the user to make changes, then implode() it to be put back into the database.
In other words - it's just more work for the mod-maker than it could be you'd think.
Regards,
Trez
I didn't think about that, but it sure would be a nice feature ;)
Hey just wanted to drop in and say I have the older (.7 I think) on my real forum and my members uses the code editors for a couple different site like myspace, but mostly myspace editors. There are some hangups but not many.
Here are a few examples:
http://www.adviseoranswers.com/index.php?action=profile;u=73
http://www.adviseoranswers.com/index.php?action=profile;u=7
http://www.adviseoranswers.com/index.php?action=profile;u=11
There are better looking ones on there. I am waiting to get the buddy list straight before updating. I guess I just wanted to say thanks for this mod. It does most everything that my members have asked for.
Alright.
I have this mod installed and it is great.
But does anyone have any simple coding or Style sheets that I could post so users can customize their profile templates? (Colors, layouts, ect.)
Just any coding would be nice, because my members have been wanting to customize their profiles like myspace, but dont know how. Neither do I.
Anything would help.
Thanks. :]
One of the best features of Ultimate Profile, according to its users, is how easy it is to include stylesheets and html from MySpace profiles into their SMF profiles. So, without further ado...
Quote from: AdviseorAnswers.com on February 11, 2008, 02:01:22 PM
Here are a few examples:
http://www.adviseoranswers.com/index.php?action=profile;u=73
Okay... Is this one for real?
It just has... everything. Wow. And wow again.
- A background picture that is so contrasted it shouldn't be used as a text background at all (makes it unreadable). It *is* indeed beautiful (although it isn't related to the user herself, but rather to the theme maker), but it shouldn't be used like this. Or, box transparency behind the text should be make more opaque.
- Music that launches automatically, disrupting a quiet user experience without even asking (I'm listening to my own music via Winamp, thank you very much.)
- A huge gif animation
- The whole page is transparent+fixed, making it awfully slow to load under any browser
- Javascript snow that is supposed to fall down (on an account named "sunlover"? seriously?) but it says "* diamond" instead of showing snowflakes... w00t...
- Heck, it even has the ad banner for the website that provided this theme! ("Myspace Master" uh? And they actually dare to offer this AND put an ad on it? What are they, 12?)
This is exactly the kind of web design I love watching in a while. Reminds me that beauty is in simplicity, not in gazillions of cool features. When you put them all together, it just makes you want to throw up your breakfast.
Still, there's a comment that says "it looks wonderful", and AdviseorAnswers.com chooses it as an example for the success of the UP mod on his board. Very interesting.
If that user had insisted on using that specific background picture, I would have ensured that:
- the picture is aligned from the bottom (because it's larger than the more common 1024x768, most browsers will only show the sky part of the picture, not the green sea, which is a shame),
- the text transparency is more opaque (I would also use transparent PNGs to do the transparency effect, in order to keep anti-aliasing enabled)
- would have made sure the background is centered horizontally (which it is), AND the profile text is no longer than 800px wide, allowing to put it all into the brighter part of the picture (which was the intended effect on MySpace, I guess!).
- would have removed everything else, starting with the * diamond stuff and the background song.
Then it would have a better chance to create a positive effect on a visitor.
Which brings me to the reason of my post -- and sorry for being a bit off-topic here -- am I too old and grumpy to actually be able to grasp how far apart have become the general public's and the experienced webmaster's visions of good web design?
Or is it just another case of "boys will be boys", "youth must have its fling", and a few more months worth of web surfing will always help improve good taste, at least design-wise?
Quote from: Nao 尚 on February 12, 2008, 04:34:53 AM<br />One of the best features of Ultimate Profile, according to its users, is how easy it is to include stylesheets and html from MySpace profiles into their SMF profiles. So, without further ado...<br /><br />Quote from: AdviseorAnswers.com on February 11, 2008, 02:01:22 PM<br />Here are a few examples:<br /><a href="http://www.adviseoranswers.com/index.php?action=profile;u=73" class="bbc_link new_win" target="_blank">http://www.adviseoranswers.com/index.php?action=profile;u=73</a><br />
<br />Okay... Is this one for real?<br />It just has... everything. Wow. And wow again.<br /><br />-
yes it does. This is the reason I choose this profile as an example. It does show that pretty much anything that a person can add to myspace, facebook or any other major networking site can be added to SMF sites utilizing this mod.
Quote from: Nao 尚 on February 12, 2008, 04:34:53 AMThis is exactly the kind of web design I love watching in a while. Reminds me that beauty is in simplicity, not in gazillions of cool features. When you put them all together, it just makes you want to throw up your breakfast.
I agree that profile is a little overboard. But as I said it shows that anything can be added.
Quote from: Nao 尚 on February 12, 2008, 04:34:53 AM.....I would have ensured that:<br />- the picture is aligned from the bottom (because it's larger than the more common 1024x768, most browsers will only show the sky part of the picture, not the green sea, which is a shame),<br />- the text transparency is more opaque (I would also use transparent PNGs to do the transparency effect, in order to keep anti-aliasing enabled)<br />- would have made sure the background is centered horizontally (which it is), AND the profile text is no longer than 800px wide, allowing to put it all into the brighter part of the picture (which was the intended effect on MySpace, I guess!).<br />- would have removed everything else, starting with the * diamond stuff and the background song.<br />Then it would have a better chance to create a positive effect on a visitor...
Have you looked at all the profiles on myspace? There are some that would appear to have done by a blind man. no that particular profile isn't "pretty". No I don't have the best examples. But then I have around 125 members where as myspace has 1.25M members. As stated many times already, this mod is not perfect and it does have bugs. But it can be exactly what anyone wants it to be with all of us working together to make it so. And not griping about what it wont do yet, and posting negative comments about those that are trying to get the bugs worked out.
As far as what my members are doing with their profiles. Most of the ones that are customizing them, are doing so in an attempt to get a feel of what need to be done to make the mod "perfect". My suggestions board stay busy with ideas and complaints. But the positive response to this profile mod well over shadows any complaints.
Quote from: Nao 尚 on February 12, 2008, 04:34:53 AMWhich brings me to the reason of my post -- and sorry for being a bit off-topic here -- am I too old and grumpy to actually be able to grasp how far apart have become the general public's and the experienced webmaster's visions of good web design?<br />Or is it just another case of "boys will be boys", "youth must have its fling", and a few more months worth of web surfing will always help improve good taste, at least design-wise?<br />
No if your able to see the keyboard, you're still young enough for this game. And I think "taste" is a personal option. I'm sure I could sit back and pick apart a profile just the way you did. But the point of my post was NOT meant to showcase my members, programming skills, nor their taste in designs or anything else. It was to simply show the range and options available with this mod.
Quote from: AdviseorAnswers.com on February 12, 2008, 07:08:54 AM
Have you looked at all the profiles on myspace?
I do spend some time there. More as an anthropological study of my fellow humans, than for my personal enjoyment.
You see, I'm also working on a "social networking" website of mine -- it's just a pet project for fun, so it's French only and I'm not expecting more than a couple thousand users at its peak when it's officially open.
But Ultimate Profile is a good mod to start changing the profile system for SMF. Only, I won't be allowing all of these changes. I believe the more power you give to people, the more likely they are to make basic mistakes that will make other people go away.
When Myspace started getting popular, my only thought was, "oh my, there are so many LAME pages! Why don't they keep the default layout which is rather sober. My own myspace page is quite sober, even though I changed the layout to fit one of my websites': http://www.myspace.com/cynao
Anyway, I spent several years wondering how people could be so blind, like you say. Then came skyblog.com, which has become the #1 blogging platform in France. It's not as bad as myspace, but 90% of its users are very young, and think it's really keewl to use different shades of colors for every single character in their blog posts. Oh my. And the spelling. Basikaly its lik thiz ya kno. Teh shoter teh beter.Fortunately, Facebook managed to prove that a social website can be popular even when its main interface is not skinnable. People can add plugins and they're having fun with that. But they don't mind about the white background anymore. This is where I started to believe again in humanity.
Which is why I'm annoyed that Ultimate Profile is actually a step back from this evolution.
Maybe I'm a totalitarian kind of webmaster, I don't know. But to me, there's nothing more enjoyable than a sober website with carefully chosen colors and layouts.
QuoteBut it can be exactly what anyone wants it to be with all of us working together to make it so. And not griping about what it wont do yet, and posting negative comments about those that are trying to get the bugs worked out.
+1
QuoteAs far as what my members are doing with their profiles. Most of the ones that are customizing them, are doing so in an attempt to get a feel of what need to be done to make the mod "perfect". My suggestions board stay busy with ideas and complaints. But the positive response to this profile mod well over shadows any complaints.
Your answer makes me feel better and hopefully your user, sunlover, will grow tired of her own profile and think of better ways to make it pretty :)
Quote from: DonaldJ on February 11, 2008, 08:19:44 PM.....But does anyone have any simple coding or Style sheets that I could post so users can customize their profile templates? (Colors, layouts, ect.)
Here are a couple from my members profiles.
<style>body{ background-color:; background-image:url(http://www.calculateme.com/MySpace/background-images/teddy-bear-valentine.jpg); background-position:Top Left; background-attachment:fixed; background-repeat:repeat;} Table, Td{ background-color:transparent; } body, div, p, strong, td, .text, .blacktext10, .blacktext12, a.searchlinkSmall, a.searchlinkSmall:link, a.searchlinkSmall:visited{ color:ff0066; font-size:; font-weight:; text-decoration: ; font-style: ; font-family:, verdana, arial, sans-serif; } a, a:link, a:visited, a.navbar, a.navbar:link, a.navbar:visited, a.man, a.man:link, a.man:visited, a.redlink, a.redlink:visited{ color:ff0066; font-size:; font-weight:; text-decoration: ; font-style: ; font-family:, verdana, arial, sans-serif; } a:hover, a:active, a.navbar:hover, a.navbar:active, a.man:hover, a.man:active, a.searchlinkSmall:hover, a.searchlinkSmall:active, a.redlink:hover, a.redlink:hover{ color:ff0066; font-size:; font-weight:; text-decoration: ; font-style: ; font-family:, verdana, arial, sans-serif; } .orangetext15, .lightbluetext8, .whitetext12, .nametext, .btext, .redtext, .redbtext{ color:ff0066; font-size:; font-weight:; text-decoration: ; font-style: ; font-family:, verdana, arial, sans-serif; } table table table{ background-color:transparent; background-image:url(); background-position:Center Center; background-attachment:scroll; background-repeat:no-repeat; border-color:cc0033; border-style:solid; border-width:7px; } table table table table{ background-image:none; } table table table table, table table table td{ border-style:none }table table table {background-color:330033;}</style><a href="http://www.grumpychimp.com/" target="_blank"><img src="http://www.grumpychimp.com/chimp-myspace.gif" style="position:absolute; left:0px; top: 0px; z-index:9;" border="0"></a>
Will get this:
http://www.adviseoranswers.com/index.php?action=profile;u=4
<div style="position:absolute;z-index:9;left:0px;top:0px;"><a href="http://www.pyzam.com/"><img src="http://www.freeflashthings.com/topleftgif.gif" border="0" alt="Myspace Free Website Layouts"></a></div><style type="text/css">
table, tr, td { background-color:transparent; border:none; border-width:0;}
body {
background-color:85a5ce;
background-image: url(http://stuff.pyzam.com/layouts/img/p/e/ahpenguins.jpg);
background-attachment: fixed;
background-position: bottom left;
background-repeat: no-repeat;
border-color:ffffff;
border-width:0px ;
border-style: solid;
}
</style>
Will give a more simple layout like this
http://www.adviseoranswers.com/index.php?action=profile;u=116
<style type="text/css">
body{
background-color:333333;
background-image:url(http://www.adviseoranswers.com/Themes/default/images/dd963e44bb0519acd0bf0b99f5435318.gif);
background-position:top center;
background-attachment:fixed;
background-repeat:no-repeat;
}
table, td{
background-color:transparent;
}
table table table{
background-color: FFFFFF;
border-color:cccccc;
border-style:solid;
border-width:1px;
filter:alpha(opacity=90); -moz-opacity:0.90; opacity:0.90; -khtml-opacity:0.90;
}
table table table table, table table table td{
border-style:none;
}
</style>
This one shows transparent tables
http://www.adviseoranswers.com/index.php?action=profile;u=3
If you would like to browse my members profiles and find others that you want to copy or get codes from, just let me know and we can work out some templates for everyone to use until we can get a real editor built.
ii i have a problem,mod works well but users cant delete the comments from their profile,how can i solve this problem ??
Hi, this is a great mod but I was wondering where the titles and captions for the pictures could be edited because at first I had the path wrong and the pictures weren't uploading. So, now I have those captions by themselves without being associated with a picture and need to get rid of them.
Thanks very much
Well I notice that JovanT hasn't posted here in quite a while, but (I know embrace wanted this) he fixed the problem with the new version allowing media codes, the fix can be found at his support site here (he probably already patched the download, but I dont know this personally):
http://jovant.guruserve.com/test-forum/index.php?topic=20.0
Hope this helps someone :)
Quote from: Lord Anubis on February 12, 2008, 11:27:00 PM
Well I notice that JovanT hasn't posted here in quite a while, but (I know embrace wanted this) he fixed the problem with the new version allowing media codes, the fix can be found at his support site here (he probably already patched the download, but I dont know this personally):
http://jovant.guruserve.com/test-forum/index.php?topic=20.0
Hope this helps someone :)
Thanks Anubis!!!! :)
thanks for the codes AoA.
anyone thought about a live 'profile views' type of counter?
Embrace, I noticed on your site, you're very good at making the profile themes. Do you mind posting some?
wilsy...huge favor.
can you tell me what code you used to create that front page block, displaying a mix of male and female profiles, either here or pm?
Hey I have no problem sharing some themes, the problem is they are somewhat specific to each SMF theme...
Basically here is what you will want to do.
Get the extension Webdeveloper for firefox
Go to your page
Edit the css using the web developer extension
Copy the modified CSS once you are happy with it
paste it in between <style> </style> in your custom profile field
Apply
It takes alot of tweaking to get each theme just right, if you look on my site in the The Site forum there is the code for a theme there.
:)
thanks embrace.
i think i've got it down, with a few exceptions. sorry, i know this thread isn't a 'tweak your profile' type of thread, but...
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg217.imagevenue.com%2Floc428%2Fth_68524_changes_122_428lo.jpg&hash=9f59ff5b0d6d9cc98c3e1d0de5ca47d81535ea1a) (http://img217.imagevenue.com/img.php?image=68524_changes_122_428lo.jpg)
do you know what code to use on those? that includes the menu bar, which i can't seem to change.
Quote from: ~Alex on February 13, 2008, 09:52:29 PM
wilsy...huge favor.
can you tell me what code you used to create that front page block, displaying a mix of male and female profiles, either here or pm?
Hi Alex,
No probs - these are the blocks I'm using which relate to this mod: -
Mood Block (Personal text in profile)
global $user_info, $db_prefix, $ID_MEMBER;
if(!$user_info['is_guest']) {
$id = $ID_MEMBER;
$result = db_query("SHOW COLUMNS FROM {$db_prefix}members LIKE 'personalText'",__FILE__,__LINE__);
if(mysql_num_rows($result) > 0) {
mysql_free_result($result);
} else {
db_query("ALTER TABLE {$db_prefix}members ADD personalText VARCHAR(30) DEFAULT NULL",__FILE__,__LINE__);
}
echo '<form action="',$_SERVER['PHP_SELF'],'" method="post" name="notpad">
<input type="text" name="personalText" value="',$user_info['name'],' is..."/><input type="submit" value="submit" /></form>';
if(isset($_POST['personalText'])) {
$text = $_POST['personalText'];
db_query("UPDATE {$db_prefix}members SET personalText = '$text' WHERE ID_MEMBER = $id",__FILE__,__LINE__);
}
$result = db_query("SELECT ID_MEMBER, realName, personalText FROM {$db_prefix}members WHERE ID_MEMBER = $id",__FILE__,__LINE__);
$row = mysql_fetch_assoc($result);
if(!empty($row['personalText']))
echo '<br /> ',$row['personalText'];
}
Who's on (YourSite)
global $db_prefix, $modSettings, $scripturl;
$sql = db_query ('SELECT p.ID_PICTURE, p.ID_MEMBER, p.title, p.time, p.filename, m.realName
FROM ' . $db_prefix . 'profile_pictures AS p, ' . $db_prefix . 'members AS m
WHERE p.ID_MEMBER = m.ID_MEMBER
ORDER BY RAND()
LIMIT 8', __FILE__, __LINE__);
$data = array();
while ($row = mysql_fetch_assoc ($sql)) {
$data[] = array (
'title' => $row['title'],
'thumb' => $modSettings['profile_pictures_url'] . '/' . $row['ID_MEMBER'] . '_' . $row['time'] . '_thumb.' . substr (strrchr ($row['filename'], '.'), 1),
'url' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . ';sa=pictures;view=' . $row['ID_PICTURE'],
'time' => timeformat ($row['time']),
'user' => $row['realName'],
'profile' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
);
}
echo '
<DIV ALIGN="CENTER">
<table width="90%">
<tr>';
foreach ($data as $picture)
{
echo '
<a href="', $picture['url'] ,'"><img src="' . $picture['thumb'] . '" alt="" width="65" height="65" /></a>
';
}
echo '
</tr>
</table></div>';
Image Upload Block
global $context, $scripturl, $settings, $txt;
echo '
<form action="http://www.rewindlancs.com/forum/index.php?action=profile;sa=pictures;add2" method="post" accept-charset="', $context['character_set'], '" name="picture" id="picture" enctype="multipart/form-data">
', $txt['profile_picture_title'] ,':<br />
<input type="text" name="title" size="10" value="', @$context['picture_title'] ,'" /><br />';
echo '
', $txt['profile_picture_description'] ,':<br />
<input type="text" name="description" size="15">', @$context['picture_description'] ,'</textarea><br />';
echo '
Find Photos:<br />
<input type="file" size="10" name="picture" /><br />';
echo '
<input type="submit" value="', $txt[10], '" />
<input type="hidden" name="sc" value="', $context['session_id'], '" />
</form>';
Latest Girls
global $db_prefix, $modSettings, $scripturl;
// Settings
$member_gender = 'female'; // or female
$num_pictures = 7;
$order_by = 'latest'; // random or latest
$gender = ($member_gender == 'male') ? '1' : '2';
$order = ($order_by == 'random') ? 'RAND()' : 'p.time DESC';
$sql = db_query ('SELECT p.ID_PICTURE, p.ID_MEMBER, p.title, p.time, p.filename, m.realName
FROM ' . $db_prefix . 'profile_pictures AS p, ' . $db_prefix . 'members AS m
WHERE
p.ID_MEMBER = m.ID_MEMBER AND
m.gender = ' . $gender . '
ORDER BY ' . $order . '
LIMIT ' . $num_pictures, __FILE__, __LINE__);
$data = array();
while ($row = mysql_fetch_assoc ($sql)) {
$data[] = array (
'title' => $row['title'],
'thumb' => $modSettings['profile_pictures_url'] . '/' . $row['ID_MEMBER'] . '_' . $row['time'] . '_thumb.' . substr (strrchr ($row['filename'], '.'), 1),
'url' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . ';sa=pictures;view=' . $row['ID_PICTURE'],
'time' => timeformat ($row['time']),
'user' => $row['realName'],
'profile' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
);
}
echo '
<DIV ALIGN="CENTER">
<table width="90%">
<tr>';
foreach ($data as $picture)
{
echo '
<a href="', $picture['url'] ,'"><img src="' . $picture['thumb'] . '" alt="" width="80" height="80" /></a>
';
}
echo '
</tr>
</table></div>';
Latest Boys
global $db_prefix, $modSettings, $scripturl;
// Settings
$member_gender = 'male'; // or female
$num_pictures = 7;
$order_by = 'latest'; // random or latest
$gender = ($member_gender == 'male') ? '1' : '2';
$order = ($order_by == 'random') ? 'RAND()' : 'p.time DESC';
$sql = db_query ('SELECT p.ID_PICTURE, p.ID_MEMBER, p.title, p.time, p.filename, m.realName
FROM ' . $db_prefix . 'profile_pictures AS p, ' . $db_prefix . 'members AS m
WHERE
p.ID_MEMBER = m.ID_MEMBER AND
m.gender = ' . $gender . '
ORDER BY ' . $order . '
LIMIT ' . $num_pictures, __FILE__, __LINE__);
$data = array();
while ($row = mysql_fetch_assoc ($sql)) {
$data[] = array (
'title' => $row['title'],
'thumb' => $modSettings['profile_pictures_url'] . '/' . $row['ID_MEMBER'] . '_' . $row['time'] . '_thumb.' . substr (strrchr ($row['filename'], '.'), 1),
'url' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . ';sa=pictures;view=' . $row['ID_PICTURE'],
'time' => timeformat ($row['time']),
'user' => $row['realName'],
'profile' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
);
}
echo '
<DIV ALIGN="CENTER">
<table width="90%">
<tr>';
foreach ($data as $picture)
{
echo '
<a href="', $picture['url'] ,'"><img src="' . $picture['thumb'] . '" alt="" width="80" height="80" /></a>
';
}
echo '
</tr>
</table></div>';
In articles
Last 99 Girls
global $db_prefix, $modSettings, $scripturl;
// Settings
$member_gender = 'female'; // or female
$num_pictures = 99;
$order_by = 'latest'; // or latest
$gender = ($member_gender == 'male') ? '1' : '2';
$order = ($order_by == 'random') ? 'RAND()' : 'p.time DESC';
$sql = db_query ('SELECT p.ID_PICTURE, p.ID_MEMBER, p.title, p.time, p.filename, m.realName
FROM ' . $db_prefix . 'profile_pictures AS p, ' . $db_prefix . 'members AS m
WHERE
p.ID_MEMBER = m.ID_MEMBER AND
m.gender = ' . $gender . '
ORDER BY ' . $order . '
LIMIT ' . $num_pictures, __FILE__, __LINE__);
$data = array();
while ($row = mysql_fetch_assoc ($sql)) {
$data[] = array (
'title' => $row['title'],
'thumb' => $modSettings['profile_pictures_url'] . '/' . $row['ID_MEMBER'] . '_' . $row['time'] . '_thumb.' . substr (strrchr ($row['filename'], '.'), 1),
'url' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . ';sa=pictures;view=' . $row['ID_PICTURE'],
'time' => timeformat ($row['time']),
'user' => $row['realName'],
'profile' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
);
}
echo '
<DIV ALIGN="CENTER">
<table width="90%">
<tr>';
foreach ($data as $picture)
{
echo '
<a href="', $picture['url'] ,'"><img src="' . $picture['thumb'] . '" alt="" width="65" height="65" /></a>
';
}
echo '
</tr>
</table></div>';
Last 99 Boys
global $db_prefix, $modSettings, $scripturl;
// Settings
$member_gender = 'male'; // or female
$num_pictures = 99;
$order_by = 'latest'; // or latest
$gender = ($member_gender == 'male') ? '1' : '2';
$order = ($order_by == 'random') ? 'RAND()' : 'p.time DESC';
$sql = db_query ('SELECT p.ID_PICTURE, p.ID_MEMBER, p.title, p.time, p.filename, m.realName
FROM ' . $db_prefix . 'profile_pictures AS p, ' . $db_prefix . 'members AS m
WHERE
p.ID_MEMBER = m.ID_MEMBER AND
m.gender = ' . $gender . '
ORDER BY ' . $order . '
LIMIT ' . $num_pictures, __FILE__, __LINE__);
$data = array();
while ($row = mysql_fetch_assoc ($sql)) {
$data[] = array (
'title' => $row['title'],
'thumb' => $modSettings['profile_pictures_url'] . '/' . $row['ID_MEMBER'] . '_' . $row['time'] . '_thumb.' . substr (strrchr ($row['filename'], '.'), 1),
'url' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . ';sa=pictures;view=' . $row['ID_PICTURE'],
'time' => timeformat ($row['time']),
'user' => $row['realName'],
'profile' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
);
}
echo '
<DIV ALIGN="CENTER">
<table width="90%">
<tr>';
foreach ($data as $picture)
{
echo '
<a href="', $picture['url'] ,'"><img src="' . $picture['thumb'] . '" alt="" width="65" height="65" /></a>
';
}
echo '
</tr>
</table></div>';
Random Girls (99)
global $db_prefix, $modSettings, $scripturl;
// Settings
$member_gender = 'female'; // or female
$num_pictures = 99;
$order_by = 'random'; // or latest
$gender = ($member_gender == 'male') ? '1' : '2';
$order = ($order_by == 'random') ? 'RAND()' : 'p.time DESC';
$sql = db_query ('SELECT p.ID_PICTURE, p.ID_MEMBER, p.title, p.time, p.filename, m.realName
FROM ' . $db_prefix . 'profile_pictures AS p, ' . $db_prefix . 'members AS m
WHERE
p.ID_MEMBER = m.ID_MEMBER AND
m.gender = ' . $gender . '
ORDER BY ' . $order . '
LIMIT ' . $num_pictures, __FILE__, __LINE__);
$data = array();
while ($row = mysql_fetch_assoc ($sql)) {
$data[] = array (
'title' => $row['title'],
'thumb' => $modSettings['profile_pictures_url'] . '/' . $row['ID_MEMBER'] . '_' . $row['time'] . '_thumb.' . substr (strrchr ($row['filename'], '.'), 1),
'url' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . ';sa=pictures;view=' . $row['ID_PICTURE'],
'time' => timeformat ($row['time']),
'user' => $row['realName'],
'profile' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
);
}
echo '
<DIV ALIGN="CENTER">
<table width="90%">
<tr>';
foreach ($data as $picture)
{
echo '
<a href="', $picture['url'] ,'"><img src="' . $picture['thumb'] . '" alt="" width="65" height="65" /></a>
';
}
echo '
</tr>
</table></div>';
Random Boys (99)
global $db_prefix, $modSettings, $scripturl;
// Settings
$member_gender = 'male'; // or female
$num_pictures = 99;
$order_by = 'random'; // or latest
$gender = ($member_gender == 'male') ? '1' : '2';
$order = ($order_by == 'random') ? 'RAND()' : 'p.time DESC';
$sql = db_query ('SELECT p.ID_PICTURE, p.ID_MEMBER, p.title, p.time, p.filename, m.realName
FROM ' . $db_prefix . 'profile_pictures AS p, ' . $db_prefix . 'members AS m
WHERE
p.ID_MEMBER = m.ID_MEMBER AND
m.gender = ' . $gender . '
ORDER BY ' . $order . '
LIMIT ' . $num_pictures, __FILE__, __LINE__);
$data = array();
while ($row = mysql_fetch_assoc ($sql)) {
$data[] = array (
'title' => $row['title'],
'thumb' => $modSettings['profile_pictures_url'] . '/' . $row['ID_MEMBER'] . '_' . $row['time'] . '_thumb.' . substr (strrchr ($row['filename'], '.'), 1),
'url' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . ';sa=pictures;view=' . $row['ID_PICTURE'],
'time' => timeformat ($row['time']),
'user' => $row['realName'],
'profile' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
);
}
echo '
<DIV ALIGN="CENTER">
<table width="90%">
<tr>';
foreach ($data as $picture)
{
echo '
<a href="', $picture['url'] ,'"><img src="' . $picture['thumb'] . '" alt="" width="65" height="65" /></a>
';
}
echo '
</tr>
</table></div>';
Latest (99)
global $db_prefix, $modSettings, $scripturl;
$sql = db_query ('SELECT p.ID_PICTURE, p.ID_MEMBER, p.title, p.time, p.filename, m.realName
FROM ' . $db_prefix . 'profile_pictures AS p, ' . $db_prefix . 'members AS m
WHERE p.ID_MEMBER = m.ID_MEMBER
ORDER BY p.time DESC
LIMIT 99', __FILE__, __LINE__);
$data = array();
while ($row = mysql_fetch_assoc ($sql)) {
$data[] = array (
'title' => $row['title'],
'thumb' => $modSettings['profile_pictures_url'] . '/' . $row['ID_MEMBER'] . '_' . $row['time'] . '_thumb.' . substr (strrchr ($row['filename'], '.'), 1),
'url' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . ';sa=pictures;view=' . $row['ID_PICTURE'],
'time' => timeformat ($row['time']),
'user' => $row['realName'],
'profile' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
);
}
echo '
<DIV ALIGN="CENTER">
<table width="90%">
<tr>';
foreach ($data as $picture)
{
echo '
<a href="', $picture['url'] ,'"><img src="' . $picture['thumb'] . '" alt="" width="65" height="65" /></a>
';
}
echo '
</tr>
</table></div>';
Random (99)
global $db_prefix, $modSettings, $scripturl;
$sql = db_query ('SELECT p.ID_PICTURE, p.ID_MEMBER, p.title, p.time, p.filename, m.realName
FROM ' . $db_prefix . 'profile_pictures AS p, ' . $db_prefix . 'members AS m
WHERE p.ID_MEMBER = m.ID_MEMBER
ORDER BY RAND()
LIMIT 99', __FILE__, __LINE__);
$data = array();
while ($row = mysql_fetch_assoc ($sql)) {
$data[] = array (
'title' => $row['title'],
'thumb' => $modSettings['profile_pictures_url'] . '/' . $row['ID_MEMBER'] . '_' . $row['time'] . '_thumb.' . substr (strrchr ($row['filename'], '.'), 1),
'url' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . ';sa=pictures;view=' . $row['ID_PICTURE'],
'time' => timeformat ($row['time']),
'user' => $row['realName'],
'profile' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
);
}
echo '
<DIV ALIGN="CENTER">
<table width="90%">
<tr>';
foreach ($data as $picture)
{
echo '
<a href="', $picture['url'] ,'"><img src="' . $picture['thumb'] . '" alt="" width="65" height="65" /></a>
';
}
echo '
</tr>
</table></div>';
Hope this helps!
Regards,
Wilsy.
Quote from: ~Alex on February 14, 2008, 01:07:23 AM
thanks embrace.
i think i've got it down, with a few exceptions. sorry, i know this thread isn't a 'tweak your profile' type of thread, but...
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg217.imagevenue.com%2Floc428%2Fth_68524_changes_122_428lo.jpg&hash=9f59ff5b0d6d9cc98c3e1d0de5ca47d81535ea1a) (http://img217.imagevenue.com/img.php?image=68524_changes_122_428lo.jpg)
do you know what code to use on those? that includes the menu bar, which i can't seem to change.
I sure do :)
First you want to open your ultimate.profiletemplate.php or whatever its called
Find
// Show more page numbers.
echo '
<table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor" align="center">
<tr>
right after that last TR you will see
// Show more page numbers.
<td colspan="3" class="catbg">
It might not be catbg im unsure since I have not edited it in a few months
and replace catbg (or whatever it is) with titlebg :)
I completly removed the functions so im not sure, but its gonna be the same catbg with titlebg.
I am thinking about installing Ultimate Profile on my site tomorrow. Which version does everyone recommend?
0.7 or 0.8 - I still have both files somewhere on my computer...
Does anyone have good suggestions to put the edit profile menus somewhere other than the bottom?
QuoteWhich version does everyone recommend?
I installed the latest and ran the buddy import script with no problems whatsoever. So, I don't see any reason not to use the latest version....
Cheers
underneath the display picture brianjw. (that's where i've set ours up anyway)
embrace...thanks again! :)
i installed ver 8 with no errors. when i click on profile and then Customized profile i get the following error Unable to load the 'customized' template.
Upload the zip file to The Package Parser (http://www.gamerzgarage.com/package.php) and where it says what files that need to be at certain locations. Unzip the zip file and upload each file to the location said at the package parser. This will be sure that all the files were uploaded correctly.
I installed this (had to use the table fixer package thingy) and it works fabulously! I think this has to be one of my favorite mods.
I do have a question though... all the profile comments are dated December 31, 1969... Is there a way to fix that?
I am getting this error when I click "customizable profile" from inside my profile:
Fatal error: Cannot redeclare class inputfilter in /home/xxxxxx/public_html/smf/Sources/InputFilter.php on line 12
I'm not sure why it is giving the error now as it WAS working. Any help would be appreciated. I have the following mods installed:
1. Website Button 1.1.4 [ Uninstall ] [ List Files ] [ Delete ]
2. YouTube BBC Tag (XHTML Compliant) 1.2 [ Uninstall ] [ List Files ] [ Delete ]
3. SMF Gallery Pro Upgrade 1.3.10 [ List Files ] [ Delete ]
4. SMFChess 0.1 [ Uninstall ] [ List Files ] [ Delete ]
5. Ultimate Profile 0.8 [ Uninstall ] [ List Files ] [ Delete ]
6. Ad Managment 2.3 [ Uninstall ] [ List Files ] [ Delete ]
7. SMF Gallery Pro 1.3.4 [ Uninstall ] [ List Files ] [ Delete ]
8. AddThis Social Bookmarks 1.0 [ Uninstall ] [ List Files ] [ Delete ]
9. FlashChat Integration 1.0 [ Uninstall ] [ List Files ] [ Delete ]
10. mp3 Flash Player BBC Tag (XHTML Compliant) 1.0 [ Uninstall ] [ List Files ] [ Delete ]
11. MCLegendII 1.1 [ Uninstall ] [ List Files ] [ Delete ]
12. Topic description 1.1 [ Uninstall ] [ List Files ] [ Delete ]
13. Wrap Text Around Image 1.0 [ Uninstall ] [ List Files ] [ Delete ]
14. Inline Attachments 1.0.4.2 [ Uninstall ] [ List Files ] [ Delete ]
15. RSS Feed Icon 1.1 [ Uninstall ] [ List Files ] [ Delete ]
16. Auto Embed Video Clips 2.1.2 [ Uninstall ] [ List Files ] [ Delete ]
17. Buy Me A Beer 1.3 [ Uninstall ] [ List Files ] [ Delete ]
18. SMF Staff Page 1.5.1 [ Uninstall ] [ List Files ] [ Delete ]
19. Popup PM Message - Uses The Same Window 1.3 [ Uninstall ] [ List Files ] [ Delete ]
20. New Topic Button 1.0 [ Uninstall ] [ List Files ] [ Delete ]
21. User Email System 1.2 [ Uninstall ] [ List Files ] [ Delete ]
22. Signature BBCode Bar 1.4 [ Uninstall ] [ List Files ] [ Delete ]
23. Fix Message Empty Error For Embed Video Mods 1.0 [ Uninstall ] [ List Files ] [ Delete ]
24. Gravatar 0.1
Just installed and had no problems.
Looks great
nice but i have a problem installing manual , i edit the profile.php and upload to my forum and say:
Parse error: syntax error, unexpected '}', expecting '{' in /www/zzl.org/s/e/-/se-world/htdocs/foro/Sources/Profile.php on line 2797
@wilsy: your editing is really good.
My query.
I have custom profile fields installed and there i have the about me feature. Many have filled it.
I want to remove it from the ultimate profile part. How to do so??
Also I have integrated the coppermine in my site. I have linked user pics in the profile area. I want to display those too in the profile area while using the Ultimate profile.
Any idea. which one to edit
Something similar to
http://www.simplemachines.org/community/index.php?topic=183574.msg1417653#msg1417653
Although the answer to the query didnt work.
anybody there to help me
The dates are "January 01, 1970, 12:30:00 pm" for the profile comments.
I used to use profile comments mod before. The dates are ok there
Hello,
First of all, thanks for the great mod.
All my members are using customized profile fields.
Is there a way to make it so that only some member groups have access to the profile fields?
For example, "newbie" group can only see normal profile fields and the customized fields can be seen by "Jr. Members" etc..
Can it be done? Thanks anyhow.
Good day
Please help me.
Ultimate Profile:
1. Remove "About Me" and Instead put the custom profile there
ii. Profile Comments date problem at at 1970
iii. Profile settings CP after the Profile comments
iv. Remove About Us and Interests from the Custom Profile input page.
v. Referral System Link display.
hey finally have internet again, it has been a long while it's great to see that everything is still running at full speed and I miss being here I'll be here everyday now after work :].
@ Santana, look in ultimateprofile.template.php
What you need to do is take the custom profile fields from profile.template.php and insert them into ultimateprofile.template.php.
Then if you want to remove the about me, in ultimateprofile.template.php look for <table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="aboutme">
<tr class="titlebg">
<td height="26" align="center">
', $txt['profile_about_me'] ,'
</td>
</tr>
<tr>
<td class="windowbg">';
if (!empty($context['member']['options']['about']))
echo '
', parse_bbc ($context['member']['options']['about']);
else
echo '
', $txt['profile_about_no'];
echo '
</td>
</tr>
</table>';[/code[ and remove it. Save the code to a notepad document or something just in case you would like to reinsert it at a later time, or make a back up first. For the control panel, I forget what its code is I have not been editing for a couple months now, but I remember it is not too hard to find, one you find it copy and paste it right after the comments table, and that should do it. I gotta head out to work soon, but I'll be back around 7:30 tonight and then I can give you really specific instructions if you would like I have a lot of stuff I need to finish and probably updates and everything nice seeing everyone again :]
Have made theabove query work, Thanks anyway.
Please help me in the removal of the about me and interest from the control panel so that users cant input anything.
Also , This is very IMP. The dates on profile comments are all dated 1970. Please tell a way to bring them to original dates
This is a problem with the server your hosting is on I believe. The date must be set wrong on them which is what shows the date through mysql and into the forum.
Nopes the date is all right. in allthe servers (test) local + live its the same.
hmm, I don't know are all of the other dates on your forum working correctly?
every thing is ok.
All new profile comments that i am getting are showing correct time. Just the one before using Ultimate profile and while using Profile comments are showing that error.
All dates are 1970 12:30 Am
Quote from: santanu on February 21, 2008, 07:51:35 AM
every thing is ok.
All new profile comments that i am getting are showing correct time. Just the one before using Ultimate profile and while using Profile comments are showing that error.
All dates are 1970 12:30 Am
If you have access to your SQL databases and My PHP, it may help to run repair and optimize on each.
I get this error when I click "Customized Profile" from my profile. Any ideas? Thanks in advance
Fatal error: Cannot redeclare class inputfilter in /home/xxxxxx/public_html/smf/Sources/InputFilter.php on line 12
did you reinstall it?
Yea, I tried uninstalling and reinstalling and still get the same error.
Thanks
I think that is the problem, when you reinstalled it, it pry didn't uninstall right so you probably have a duplicate line of code
Any idea where I should look for duplicate code?
Thanks
Quote from: weightman on February 21, 2008, 04:49:27 PM
I get this error when I click "Customized Profile" from my profile. Any ideas? Thanks in advance
Fatal error: Cannot redeclare class inputfilter in /home/xxxxxx/public_html/smf/Sources/InputFilter.php on line 12
look in that file at line 12 and then search to see if it appears again in the same file :)
Quotelook in that file at line 12 and then search to see if it appears again in the same file :)
Oh, yea, sorry- I did that. And, actually when I think about it, this error is why I uninstalled it in the first place so it can't be the cause.
Thanks
For all you having the problem with comment dates, take a look at this explanation (http://jovant.guruserve.com/test-forum/index.php?topic=33.msg133#msg133).
VERY NICE MOD. Surely i will donate for this... Just what i wanted.. Keep up the good work plz...
Btw, i got a bug... I check that only buddies can view my photos, comment and see my customized profile and still doesnt work..
Other thing.. A section apart my images.. A My Music, My videos.. Cuz i got 1,600 gb doing nothing xD.
Assasin - could you explain more what you need, im using and did many custom works on this mod and it works briliant
I saw also question ...
How to made ultimate custom mod default ON?
Easy way :
1. go to database
2. find table xxx_settings where xxx is Yours prefix
3. find field profile_enable_all and assign default value from 0 to 1
regards
This mod looks great but I get one problem.
QuoteUnknown column 'com.time' in 'field list'
File: /home/xxxx/public_html/board/Sources/Profile.php
Line: 1356
I can still change all the settings etc, but this stops me viewing anything on the summary page.
I'm thinking it's something to do with the database changes, but I don't know how to do those manually?
When will people start reading the FAQ (http://jovant.guruserve.com/test-forum/index.php?topic=13.0)?
@eline
You don't have to do it manually. There is an option in the admin center.
It would be much easier to know you had an FAQ if you linked to it. I know a lot of people want to use SMF and get SMF from its actual forum instead of going elsewhere.
You don't have to do it manually. There is an option in the admin center....
Hmm i didnt find it - propably problems with some not translated strings - i have few checkbox without text ;) but I translate all from mod.lang.file nad all from mod.lang.admin
so I dont know where it is ...
How come videos put in using the embed code appear very small?
@ eline
try using the package parser on www.smfhelper.info.
Look for the txt strings added, and then just add them. Then if you need to just translate them and whatnot. Other than that there are two things. In Admin> Features and options > Ultimate Profile, there is a checkbox to enable it. Then users have the choice of whether to enable it also.
Well, chotea.com register, and you will see, even if member checks that only his friends can see his profile, and make comments, still anyone can see it.
And this is a suggestion:
*A place where you can upload your own videos. And your own music.
*In my pictures organize by album. Cuz people likes to upload LOT of pictures
Also i dont see a link in the profile "Add to buddies" :S
do you have buddies enabled? it is somewhere ni your admin settings :].
Okay I sorted the videos..
Now I'm onto another problem, one which isn't found anywhere on the support forum.
How exactly can you use the page box to customise colour etc with html and css? I've tried all sorts (and so have many of my members) yet it doesn't work.
Google this, myspace layouts, they will give u a code when you choose a layout, put that code in
"Customization:
Here you can add some HTML and CSS to customize look & feel of your profile."
All those "myspace layouts" arent exactly for myspace, how i can explain you...
Maybe another guy can explain you if you still have a question
Yeah sounds about right.
The only problem is, most of the myspace layouts simply mess up SMF because they weren't designed for it.
@ L.G.S.
All you really have to do to make most of the myspace layouts work, is make sure anywhere there is a six digit color code, you add a # in front of it. Then if there is like background: transparent, just delete the transparency and set an alpha filter up, I'm a little rusty so I gotta find out the exact code forthat again, but it just takes a little bit of messing around, it works good enough for the most part, just gotta find some way of not needing the users to make it themselves, or you could just edit the myspace layouts for them, but that isn't a good efficient way either lol.
Fixed it, thanks.
QuoteI get this error when I click "Customized Profile" from my profile. Any ideas? Thanks in advance
Fatal error: Cannot redeclare class inputfilter in /home/xxxxxx/public_html/smf/Sources/InputFilter.php on line 12
This has to be a database issue because I went through all the edits this mod performs and there is not a trace of any of them. Is it possible to uninstall all effects that this and the buddy migration script had on the database? Perhaps then I could reinstall it without a problem. I believe the problem was caused initially by the path to the profile_pictures being incorrect on install.
its not possible to have most of myspace personalization code works ;), most templates use they OWN css classes and styles, so ...
I would like to have a kind of manual for users how to customize profiles ;), and propably write it for template which I use.
Where should i donate?
Also can you make in "Images" to make it sort by gallery
example when somebody clicks on pictures
Then you get lot of galleries
In the beach, In the party, etc...
Also implement a video part, tell me if you can do it, should i search another mod for that..
And last thing.. Upload music.
Also i can translate it to spanish. Cuz anyway i need it in Spanish, so. If you want me to make it, just post it or pm me
THANKS! LOVE YOU!
Thanks!
assasin - You can do all ;) just some html/php skils will solve problem.
If You want personal images i will do it like this
use search via mysql to take similar description of pictures and dynamic link them to galleries - it will by similar to TAG system
regards
Did you understand what i tried to say?
About the galleries? Make people avaible to make galleries.. But i got a problem. Im not so good in php...
Also, a tag system, like facebook... How can i do that? It would be amazing...
Also if you want me to translate to spanish, i can translate it good... Just tell me the words i translate it, and if you are good in php you make the mod in spanish.
Thanks.
I am very much interested in the same options as assasinkilla
A gallery system where members can change categories for their photos
And I would like a bulletin system to where members can post a bulletin that only their Buddies could see...
Quote from: assasinkilla on February 24, 2008, 09:39:10 PM
Did you understand what i tried to say?
About the galleries? Make people avaible to make galleries.. But i got a problem. Im not so good in php...
Also, a tag system, like facebook... How can i do that? It would be amazing...
Also if you want me to translate to spanish, i can translate it good... Just tell me the words i translate it, and if you are good in php you make the mod in spanish.
Thanks.
Bump cuz i need it as soon as possible. Thanks
The galleries would just require a new database table probably named profile_galleries. Then have them be given ids, so you would need to make some parameters of the database. Then from there when they click my pictures, you will need them to go to sort of the same page, just with the galleries instead. Ugh I can't get into this fully. It might be on Jovan's to do list, but if I were you I think you'd get it faster by just looking at how ultimateprofile 0.8 works, and just rewriting it a little bit. Wouldn't be too hard reall, but at the moment I am trying to make my very first two mods lol, so I'll check back afterwords. Also try going to Jovans test forum and posting it there. I think you would turn up better results there.
Ok seriously I need help with this mod. Some members that were buddies before I installed the mod aren't able to become buddies now, and there's also no accept / deny button on the buddy requests on my website.
go to admin > feautes and options > basic settings and look for:
Allow buddylists (checkbox) check it and hit save. :]. That happened to me on my new site and I realized that I never enabled buddylists.
Quote from: trekkie2444 on February 29, 2008, 12:06:33 AM
Ok seriously I need help with this mod. Some members that were buddies before I installed the mod aren't able to become buddies now, and there's also no accept / deny button on the buddy requests on my website.
Check his support site there is a fix to that
http://jovant.guruserve.com/test-forum/index.php
I have been attempting to change the text strings. I thought i had it but nothing has changed on viewing the profiles... Basically I'm changing the word buddies to friends and adding (view all my pictures/friends here)
Edit:
I figured it out. I was in the wrong file. I suppose it has said before, but as this is a massive topic, I looked and did not find this info:
I did see where it has been said many times that any edits done on profile.php has to be done on ultimateprofile.php
What I didn't find anywhere, is that in order to change the text strings you have to do so in the
Themes/YOUR THEME/languages/UltimateProfile.english.php
not
Themes/YOUR THEME/languages/Modifications.english.php
default theme SMF 1.1.4
latest Beta version .8 <no edits>
not sure whats going on, but the customization codes randomly disappear
sometimes, right after they click save changes, sometimes when an admins edits
Quote from: Lord Anubis on February 29, 2008, 08:15:29 AM
Quote from: trekkie2444 on February 29, 2008, 12:06:33 AM
Ok seriously I need help with this mod. Some members that were buddies before I installed the mod aren't able to become buddies now, and there's also no accept / deny button on the buddy requests on my website.
Check his support site there is a fix to that
http://jovant.guruserve.com/test-forum/index.php (http://jovant.guruserve.com/test-forum/index.php)
I have a similar problem I have just posted on Jovan's site. I have already done the migrate script thing and that works well :)
My problem is that I as the administrator am the only member who has an edit buddies link in their profile (standard or customised). None of the other members do. Buddy lists are enabled in the admin panel.
So how would someone remove a buddy? I can't see a way???
http://yoursite.com/index.php?action=buddies
That is where you move, add, and delete buddies :)
Quote from: Lord Anubis on March 05, 2008, 11:54:56 PM
http://yoursite.com/index.php?action=buddies
That is where you move, add, and delete buddies :)
yeah I know but there are no links in profiles for other members. I have a link in mine. It's a little awkward to explain to members
Do you have a test account on your site to test how it looks as a member, because if I view members profiles I can't see it but on my test account (as a normal member) there is one
I realised what it probably is, I have user CP mod installed and that has a huge 'my buddies' icon on the front page (it was really late last night :P ) so it's not the fault of this mod I think, it's the fault of the other one! The huge buddy icon links to action=profile;u=';sa=editBuddies which is the old buddies, so I will have to edit that mod and correct it. That should do it I think.
The link needs to be action=buddies;u=';sa=editBuddies but I can't get it to work. (fixed it - now it works!) I have posted what I did in the other mod thread
[solved]
this is awesome :)
I have the Auto embed video clips mod installed and I just realised that it is preventing the videos from being displayed in the My Media profile box
I have posted in that mod to ask for help but I thought I would post it here just in case a. someone know how to fix and b. anyone else has this AEVC mod
click here to read the post (http://www.simplemachines.org/community/index.php?topic=200401.msg1456602#msg1456602)
Thats weird. I also have the AEVC mod installed and before this mod went caput on me as described in the thread it showed urls to videos as simple urls but the embed codes worked. Not long after I added the embed codes though was when the mod went caput, don't know if its connected though.
That's because the media box doesn't parse bbc. You' d have to fix it parse BBC before you could use the AEVC mod there. For now, you can simply use the embed code found on the video sites.
I tried that but it still only shows the url
Problem solved. Ignore my post above :-[
Quote from: Assistance on March 05, 2008, 05:52:32 PM
default theme SMF 1.1.4
latest Beta version .8 <no edits>
not sure whats going on, but the customization codes randomly disappear
sometimes, right after they click save changes, sometimes when an admins edits
anyone?
Hmmm, what other mods do you have installed? Was it a successful installation?
I have over 30 mods
it installed and running fine
about a week later, it started auto deleting its self ( the info )
no one is able to acces admin or db
I think maybe its when i run maintenance ?
Mod Name Version
1. Ad Managment 2.3 [ Uninstall ]
2. TinyPortal 0.983 [ Uninstall ]
3. Users Online Today Mod 1.4.0 [ Uninstall ]
4. Custom Action Mod 2.04 [ Uninstall ]
5. Remove Post Modified Time 1.1 [ Uninstall ]
6. Ultimate Profile 0.8 [ Uninstall ]
7. vReportBoard Mod 1.03 [ Uninstall ]
8. Member Color Link 2.0.5 [ Uninstall ]
9. MCLegendII 1.1 [ Uninstall ]
10. Bookmarks 1.1 [ Uninstall ]
11. Board Notes 1.0.7 [ Uninstall ]
12. Display Signatures Only Once Per Page 1.2 [ Uninstall ]
13. Personal Icons 2.0.2 2.0.2 [ Uninstall ]
14. Global Announcements 1.0 [ Uninstall ]
15. Custom Profile Field Mod 3.17 [ Uninstall ]
16. RSS Feed Icon 1.1 [ Uninstall ]
17. SMF Shoutbox 1.16b [ Uninstall ]
18. Invite 1.14 [ Uninstall ]
19. ssi_grabMessage 1.0 [ Uninstall ]
20. RemovePM 1.1.4 [ Uninstall ]
21. SSI Member Color Link 1.0.1 [ Uninstall ]
22. EmailFlash 2.0 [ Uninstall ]
23. AddThis Social Bookmarks 1.0 [ Uninstall ]
24. AvatarOnBoard 1.1 [ Uninstall ]
25. View Single Post 2.0 [ Uninstall ]
26. View Single PM 1.3 [ Uninstall ]
27. Member Awards 1.0.2 [ Uninstall ]
28. Signature Area BBCode Buttons 1.5 [ Uninstall ]
29. SSI Membergroup 1.0 [ Uninstall ]
30. SMFChess 1.0 [ Uninstall ]
31. Googlebot & Spiders Mod 2.0.3 [ Uninstall ]
32. Treasury 2.08 [ Uninstall ]
33. Moderator Activity Report for SMF1.1.4 1.2 [ Uninstall ]
34. Enhanced Quick Reply Box 2.0.2 2.0.2 [ Uninstall ]
35. Board Viewers Mod 1.2 [ Uninstall ]
36. Enhanced Forum Statistics 1.0 [ Uninstall ]
37. Single Category 2.1 [ Uninstall ]
38. Image Align Tag 0.5 [ Uninstall ]
Quote from: Assistance on March 07, 2008, 10:42:45 PM
Quote from: Assistance on March 05, 2008, 05:52:32 PM
default theme SMF 1.1.4
latest Beta version .8 <no edits>
not sure whats going on, but the customization codes randomly disappear
sometimes, right after they click save changes, sometimes when an admins edits
anyone?
If you're using IE, I believe the problem lies with that browser. I have noticed in the past few days that my profiles are messing up. But only when being viewed in IE.
I'm just getting the hang of all this PHP stuff so my opinion is that of a beginner. Someone else may think otherwise.
theres no way using IE wipes out everyones customization
also tested, its not cause of maintenance
in fact last time it happened, I was taking a nap
you mind sharing your mod list AAnswers
Hmmm, I don't see why any of those mods would be conflicting. Run ultimate profiles 0.8 through the mod parser, and then manualy check to make sure all of it's edits are where they should be. Have you uninstalled and reinstalled?
I'm still at 1.1.3 with the following mods
1. Temporary fix 0.5
2. TinyPortal 0.983
3. SMF Arcade 2.0.9
4. Ad Managment 2.3
5. Bookmarks 1.0
6. Contact Page 1.1
7. SMF Gallery Lite 1.7.6
8. Googlebot & Spiders Mod 2.0.3
9. SMF Links 1.6.3
10. Expand Pages Mod 1.0
11. Mark Selected Topics As Read 1.0
12. Favicon 1.0
13. SMF Sitemap 1.2.0
14. SMF Staff Page 1.5.1
15. Tagging System 1.0.3
16. Display Age and Location next to posts 1.0
17. Attachment File Renamer 1.1.0
18. Enhanced Calendar 1.1
19. cbi, 1.0 1.0
20. Color Bar 2.0
21. Enhanced Password Reminder 1.0
22. Enhanced Forum Statistics 1.0
23. Enhanced User Statistics 1.0
24. Karma Description Mod 2.3
25. Registered Links 1.0
26. Registered Images ENG 2
27. Signature BBCode Bar 1.4
28. Related Topics 1.1.1
29. View Single PM 1.1
30. SMF Ajax Registration Feedback 1.0.0
31. Spam Me Not Mod 1.02
32. Sticky First Post (extends sticky topic) 1.3.2
33. Titled Links 1.1c
34. Topic Member Post Count 1.0.0
35. Topic starter 1.3
36. Zodiac Starsigns 1.0
37. SMF Trader System 1.1
38. blinkbbc 1.0
39. Additional Membergroups on Profile 1.0
40. View Only Boards 1.1
41. Referrals Mod 1.1
42. Custom Action Mod 2.04
43. Modbreaktag 1.0
44. Admin Modification Menu Section 1.0.2
45. GoogleTagged 1.0
46. Alternate Text for Member Group Images 0.3.1
47. SMF File Manager 2.0
48. Streaming 3 4.2.2b
49. vWishList 0.91
50. User Email System 1.2
51. FelBlog for SMF 0.940
52. Most Popular Topic Today 1.0
53. Sorted Package Manager Listing 0.1
54. vMoveTopic Notify by PM 0.901
55. FlashChat Integration 1.0
56. Social Bookmarks 1.1
57. Unread by category 1.0
58. Reason For Editing Mod 1.14
59. Default Avatar 1.0
60. 2DTV 100px 1.0.100
61. Colorize Boards 2.0
62. Custom Profile Field Mod 3.16
63. Ultimate Profile 0.8
64. hidden for guests
Also installed but not by the package stystem, is the "Gender on Register" mod. This mod had to be installed manually.
this is still one of my favorite mods and my forum members are finally starting to use it too. the biggest request I have though is making it transparent. can someone give me the rundown on how I would do this?
Quote from: chrishicks on March 10, 2008, 09:56:28 AM
this is still one of my favorite mods and my forum members are finally starting to use it too. the biggest request I have though is making it transparent. can someone give me the rundown on how I would do this?
take a look at this post
http://www.simplemachines.org/community/index.php?topic=183574.msg1422305#msg1422305
Quote from: AdviseorAnswers.com on March 10, 2008, 10:09:38 AM
Quote from: chrishicks on March 10, 2008, 09:56:28 AM
this is still one of my favorite mods and my forum members are finally starting to use it too. the biggest request I have though is making it transparent. can someone give me the rundown on how I would do this?
take a look at this post
http://www.simplemachines.org/community/index.php?topic=183574.msg1422305#msg1422305
great. thank you. that helped. :)
You're welcome chrishicks.
First I have a suggestion or a question I guess.
Can the SMF /index.php?action=viewmembers;sa=search be used to create a profile search such as the one previously asked for?
Second I have a staff member that is working on a ultimateprofile.template.css (or maybe we'll call it a smfprofile.template.css depends on who gives us permission to use their name) for everyone to use with notations as what to change to make different effects on the ultimate profiles. We are about to begin our birthday bash so it will be a week or so before she gets it completed. But I will allow anyone to use it as long as we get the appropriate credit and all that good stuff. :P
I have search every place I can think of to find something that would put me in the right direction to building an automatic program to do this but, have not been able too. Does anyone have any ideas? Where do all those sites get the programs they use to make myspace profiles?
maybe they buy something like this layout generator (http://www.popscript.com/scripts/php-scripts/social-network/phpmyspace-layout-generator-5-2/prod_668.html) :o
Quote from: perplexed on March 10, 2008, 08:58:14 PM
maybe they buy something like this layout generator (http://www.popscript.com/scripts/php-scripts/social-network/phpmyspace-layout-generator-5-2/prod_668.html) :o
OUCH! Was thinking alone the line of open source.
yeah I know, I was looking too but that was all I found. Those things are big business now with myspace so I don't know if there would be a free one
I'd like to have the buddy notification show the display name of the requester in the PM subject and text. I found the PM code in the source files, I'm just not sure how to edit this. Does $context['user']['realName'] work? Or does it have to be something else?
This is on line 135 of Buddies.php (in the sources folder).
So I could change it from this:
Quotesendpm (array('to' => array($_GET['u']), 'bcc' => array()), sprintf ($txt['buddy_notif_new_subject'], $context['user']['username']), sprintf ($txt['buddy_notif_new_body'], $context['user']['username'], $scripturl . '?action=buddies'), false, array ('id' => 0, 'name' => $txt['profile_notif_com_user'], 'username' => $txt['profile_notif_com_user']));
to this?
Quotesendpm (array('to' => array($_GET['u']), 'bcc' => array()), sprintf ($txt['buddy_notif_new_subject'], $context['user']['realName']), sprintf ($txt['buddy_notif_new_body'], $context['user']['realName'], $scripturl . '?action=buddies'), false, array ('id' => 0, 'name' => $txt['profile_notif_com_user'], 'realName' => $txt['profile_notif_com_user']));
EDIT: Nevermind, it's name, not realName. Works now.
Unknown column 'com.time' in 'field list'
File: /public_html/Sources/Profile.php
Line: 1321
How to solve this?
Quote from: JoshieTheGreat on March 11, 2008, 01:10:40 PM
Unknown column 'com.time' in 'field list'
File: /public_html/Sources/Profile.php
Line: 1321
How to solve this?
try searching this topic for the answer as it is a known issue
Quote from: JovanT on February 24, 2008, 10:16:02 AM
When will people start reading the FAQ (http://jovant.guruserve.com/test-forum/index.php?topic=13.0)?
Hmmm, through searching I have found a basic css generating script. I will attach my work in progress so far. Feel free to use it however you would like, I'm going to make it a little modification, so if you want to wait, I will turn it into a mod, and it will be uploadable. Please give me until later tonight, as I have a couple interviews lined up lol. Hmm, I guess I can't attach files here, well then I'll just set it up as of later the current classes I have customizable are:
Body
Table
TD
List
Link
Hover
Visited
I will add some more classes in, if someone would be nice enough to list the other classes needed. Like:
Linked Images
Image (img)
Hover
I will make it so they can use some filters for the images, and whatnot. Also to get extra use out of this, I will provide the edit needed to make the avatars lead to their profile, so they are linked.
Upload it to a file sharing site like rapidshare or megaupload.
I wish I know a way to put referral section on it. For a custom template.
Like the referral mod? Run it through the package parser and perform any edits on the utlimateprofile.template.php that it says to do on the profile.template.php file.
That I will do.
And other thing. I found something not working properly.
<style type="text/css">
background-color: #FFFFFF;}
</style>
It is not showing color of background.
Try setting just background. The default background might be an image, which could be overriding the color choice.
Is there a way of finding a complete CSS to provide my users to edit for their own profile? Such as changing table, and stuff in their way.
Quote from: Coldfx on August 05, 2007, 07:18:30 PM
Quote from: SoulPleX on August 05, 2007, 04:38:57 PM
Quote from: Coldfx on August 05, 2007, 12:36:43 PM
Quote from: SoulPleX on August 05, 2007, 09:54:56 AM
how can i add a third box just like the 'About me' and the 'My interest' box where i can place code for music or videos or that will allow HTML code
In your default themes folder open "Customprofile.template.php".
CTRL + F: ($context['member']['options']['interests']) ,'
</td>
</tr>
<tr>
<td>';
Add after:
if ($context['member']['options']['newbox'] !== '')
echo '
<br />
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="newbox">
<tr class="titlebg">
<td height="26" align="center">
New Box Title
</td>
</tr>
<tr>
<td class="windowbg">
', parse_bbc ($context['member']['options']['newbox']) ,'
</td>
</tr>
</td>
</tr>
</table>
</table>';
Make changes accordingly.
Ok, how do i make so members can execute code in new field created
Open Profile.template.php;
Now, for something to learn from, I'll borrow code from the [a href=http://custom.simplemachines.org/mods/index.php?mod=424]YouTube Mod[/a].
Search for:
<textarea class="editor" name="default_options[interests]" rows="8" cols="65">', @$context['member']['options']['interests'], '</textarea><br />
</td>
</tr>';
Add after:
</tr><tr>
<td><b>Youtube Video: </b></td> <td><input type="text" name="default_options[youtube]" size="50" value="', @$context['member']['options']['youtube'], '" /></td>
Now, to add the YouTube movie, where I told you to add your own content add"
!empty($context['member']['options']['youtube']) ?'<embed src="http://www.youtube.com/v/'
. $context['member']['options']['youtube'] . '" height="150" width="190"></embed>': '', '
The ' . $context['member']['options']['youtube'] . ' is our variable. You can alter it to how you want; change the "youtube" name also in all the areas accordingly.
I am so confused! How to put it in fields? Exactly.
For instance.
If I want....
"Favorite music?" Then what that would be?
In buddy list. One user deleted and that it became an icon saying "offline" in the profile even I have no friend on there since the user deleted.
..
Quote from: JoshieTheGreat on March 11, 2008, 09:11:45 PM
Is there a way of finding a complete CSS to provide my users to edit for their own profile? Such as changing table, and stuff in their way.
http://www.simplemachines.org/community/index.php?topic=183574.msg1422305#msg1422305
Quote from: capabmx on March 11, 2008, 01:59:42 PM
Hmmm, through searching I have found a basic css generating script. I will attach my work in progress so far. Feel free to use it however you would like, I'm going to make it a little modification, so if you want to wait, I will turn it into a mod, and it will be uploadable. Please give me until later tonight, as I have a couple interviews lined up lol. Hmm, I guess I can't attach files here, well then I'll just set it up as of later the current classes I have customizable are:
Body
Table
TD
List
Link
Hover
Visited
I will add some more classes in, if someone would be nice enough to list the other classes needed. Like:
Linked Images
Image (img)
Hover
I will make it so they can use some filters for the images, and whatnot. Also to get extra use out of this, I will provide the edit needed to make the avatars lead to their profile, so they are linked.
I would like to see this and test it as a mod capabmx.
If it were possible to fix it so there was an admin option to choose so that they could only use this 'mod' to change their background css etc that would be even better for me.
I don't really want members using myspace code generators and uploading all kinds of things that they may or may not understand and then be looking towards the moderators to fix for them. Also I don't want the profiles to be overloaded with a bunch of hideous 'myspace' backgrounds if possible lol
I don't have the option switched on for this at the moment because of the above. It's nice for people to be able to do it but I think being able to choose from a pre-determined selection /options would be better (for our site at least) Plus making it easier for the less technically minded members at the same time :)
I have a suggestion!
Quote
* Hey, Joshie
* 12 messages, 0 are new
* Show unread posts since last visit.
* Show new replies to your posts.
As it is on top on every smf forums. Why not have it like this.
Quote
* Hey, Joshie
* 12 messages, 0 are new
* 100 comments, 7 are new (7 are new links to the comment part).
* Show unread posts since last visit.
* Show new replies to your posts.
----------------------------------------
Is there a way for "about me:" and other fields for user to be able to put html/css in it too?
How does this work? I already installed the mod, now what?
I am using the spanish version of SMF, is that a problem?
Thanks
You should find an Administration area for the mod in Admin Control Center >> Features and Options >> UltimateProfile
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg394.imageshack.us%2Fimg394%2F4627%2Faaabp6.jpg&hash=2ac80f1b68c9ecb106c48fe4bdaf96394980a64e)
http://img394.imageshack.us/img394/4627/aaabp6.jpg
How is it? Pls.. Help me..
I'm not sure. You'd have to keep track of profiles views and who specifically viewed them. Would require some changes to the source coding, I think.
I am having a HUGE difficult time to do editing through http://sleepycode.com/PackageParser/index.php
Find
</table>
</td>
</tr>';
// Show the standard "Save Settings" profile button.
Add before
';
//Karma Description Mod (Notification)
if (!empty($modSettings['karmadescmod']) && !empty($modSettings['karmanotifier']))
echo '
<tr>
<td colspan="2"><label for="enable_notify">', $txt['enable_notify'], '</label>
<select name="default_options[enable_notify]" id="none_notifier">
<option value="0"', empty($context['member']['options']['enable_notify']) ? ' selected="selected"' : '', '>', $txt['enable_notify_none'], '</option>
<option value="1"', !empty($context['member']['options']['enable_notify']) && $context['member']['options']['enable_notify'] == 1 ? ' selected="selected"' : '', '>', $txt['enable_notify_popup'], '</option>
<option value="2"', !empty($context['member']['options']['enable_notify']) && $context['member']['options']['enable_notify'] !=1 ? ' selected="selected"' : '', '>', $txt['enable_notify_pm'], '</option>
</select>
</td>
</tr>';
echo '
That's where I am stuck at. I got all of them done. I am at VERY last part of editing now I am stuck for not finding cause I searched it through notepad in my server FTP and can't find these keyword/words.
Oh yeah. The mod is: http://custom.simplemachines.org/mods/index.php?mod=192
If you point me out where to put in as where it's supposed to be on original profile I would VERY VERY appreciate and consider that help for my birthday present (tuesday march 18).
search: // Messenger type information.
Then add that code before it. You are adding it in ultimateprofile.template.php right?
Quote from: Eliana Tamerin on March 12, 2008, 06:47:13 PM
I'm not sure. You'd have to keep track of profiles views and who specifically viewed them. Would require some changes to the source coding, I think.
but how..i don't know...
im wondering if this mod will work with the smf arcade? id also like some help installing these mods since i am not able to install it the normal easy way because i cant get "666" .. or was it 777? anyway the best i can get is 555..
so any ideas how i can do this? im running linux.. so i could install apache, mysql and php and do it local then movie it... but im too much of a noob to do it that way :( lol
Quote from: capabmx on March 14, 2008, 12:51:58 AM
search: // Messenger type information.
Then add that code before it. You are adding it in ultimateprofile.template.php right?
Yes. Ultimateprofile.template.php is where I need to put that in. And I did it, thank you very much and one question. Can't find the button? Such as "save" for the options user choose.
Quote from: daft_vada on March 14, 2008, 05:35:35 AM
im wondering if this mod will work with the smf arcade? id also like some help installing these mods since i am not able to install it the normal easy way because i cant get "666" .. or was it 777? anyway the best i can get is 555..
so any ideas how i can do this? im running linux.. so i could install apache, mysql and php and do it local then movie it... but im too much of a noob to do it that way :( lol
Why do you need arcade to be work with the profile? Arcade isn't modified in the profle, all it does is make another page.
Quote from: daft_vada on March 14, 2008, 05:35:35 AM
im wondering if this mod will work with the smf arcade? id also like some help installing these mods since i am not able to install it the normal easy way because i cant get "666" .. or was it 777? anyway the best i can get is 555..
so any ideas how i can do this? im running linux.. so i could install apache, mysql and php and do it local then movie it... but im too much of a noob to do it that way :( lol
You got ftp? In case if you do. It should allow you to change cmodd no matter what.
Click on your folder/file then go to properties and change the number.
Quote from: daft_vada on March 14, 2008, 05:35:35 AM
im wondering if this mod will work with the smf arcade? id also like some help installing these mods since i am not able to install it the normal easy way because i cant get "666" .. or was it 777? anyway the best i can get is 555..
so any ideas how i can do this? im running linux.. so i could install apache, mysql and php and do it local then movie it... but im too much of a noob to do it that way :( lol
I suppose maybe they want arcade stats to show in the profile which is an option with some of the arcade mods. You could do it but it would be manual file edits again
Whatever edits you make to the profile.template.php file should be made in the ultimateprofile.template.php file. You may have to tweak and try again if you don't get it right the first time, as some of the layout is different. But it will work.
Quote from: Eliana Tamerin on March 14, 2008, 08:49:05 AM
Whatever edits you make to the profile.template.php file should be made in the ultimateprofile.template.php file. You may have to tweak and try again if you don't get it right the first time, as some of the layout is different. But it will work.
Hey! I never thought about that! I shall try that sometimes, thanks.
@ daft, are you doing it locally, or is it live? Do you have your own server, or are you on a host plan?
Unknown column 'com.time' in 'field list'
Dosya: /home/trmanyak/public_html/forum/Sources/Profile.php
Satır: 1307
Quote from: ERENN on March 14, 2008, 02:43:46 PM
Unknown column 'com.time' in 'field list'
Dosya: /home/trmanyak/public_html/forum/Sources/Profile.php
Satır: 1307
Download this and upload then install in your package at your admin (http://jovant.guruserve.com/projekti/smf/ultimate_profile/table_fix.zip)
You should look in few pages because a lot of people asked for a solve about this.;)
hey i got a prob
At my site, www.halocemaps.net it will not show up in my profile, or any for that matter. It lets you edit and customize, but it wont actually show
Quote from: JoshieDaMan on March 14, 2008, 03:11:52 PM
Quote from: ERENN on March 14, 2008, 02:43:46 PM
Unknown column 'com.time' in 'field list'
Dosya: /home/trmanyak/public_html/forum/Sources/Profile.php
Satır: 1307
Download this and upload then install in your package at your admin (http://jovant.guruserve.com/projekti/smf/ultimate_profile/table_fix.zip)
You should look in few pages because a lot of people asked for a solve about this.;)
I had this exact same problem. I fixed it very easily. Just go to the line it specifies (in Sources/Profile.php) and change com.time to com.date and it should work just fine. I had installed the profile comments mod before I installed the ultimate profile mod.
Suggestion:
Maybe JovanT could add the fixes for the common problems to the first post in this thread, so people could find the solutions more easily, and reduce the amount of duplicated questions
This would help everyone :)
LOL looks like JovanT is on vacation as there hasn't been a single reply from him in a long time
this would be nice as the defualt on SMF 2.0 Beta 3 ;)
Quote from: [●ριмρєя12●] on March 15, 2008, 12:37:50 PM
this would be nice as the defualt on SMF 2.0 Beta 3 ;)
Not a chance, I'm afraid.
SMF is board-centric, not member-centric. Therefore, this kind of improvement will probably never be merged into the software itself.
Additionally, mods are never included in SMF "as is". For instance, as you may have noticed, the Google bot & spiders mod's and Custom Profile mod ideas were used in SMF 2, but they were completely written from scratch, instead of using the original mod code (I'm not 100% sure about Custom Profile but I can assure you they didn't use a single line of code from Google bot).
I think it's needed/required for better group management. Anyway--you'll never find Ultimate Profile as is in SMF2, that's for sure. But you can always ask for specific features of Ultimate Profile, there's a Feature Requests board for that ;)
Hey guys.
I am trying to use this mod.
but I get this error...
**
Unknown column 'com.time' in 'field list'
File: /home/kreemina/public_html/mixeddance/Sources/Profile.php
Line: 1307
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.4, while your database is at version 1.1.2. The above error might possibly go away if you execute the latest version of upgrade.php.
**
In every profile I try to open...
Last time I did the upgrade.php thing my entire site was wiped out.
I can not afford it to happen again.
Can any one help out?...
Edit.... Researched and fixed that. I dont get that error..
but now the profile for people look exactly the same nothing changed??
Quote from: pumxee on March 19, 2008, 01:38:40 AM
Edit.... Researched and fixed that. I dont get that error..
but now the profile for people look exactly the same nothing changed??
Is this how you fixed it?
QuoteI had this exact same problem. I fixed it very easily. Just go to the line it specifies (in Sources/Profile.php) and change com.time to com.date and it should work just fine. I had installed the profile comments mod before I installed the ultimate profile mod.
If not you may wish to try it this way, because the ultimate profile mod works perfectly for me.
Quote from: pumxee on March 19, 2008, 01:38:40 AM
Hey guys.
I am trying to use this mod.
but I get this error...
**
Unknown column 'com.time' in 'field list'
File: /home/kreemina/public_html/mixeddance/Sources/Profile.php
Line: 1307
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.4, while your database is at version 1.1.2. The above error might possibly go away if you execute the latest version of upgrade.php.
**
In every profile I try to open...
Last time I did the upgrade.php thing my entire site was wiped out.
I can not afford it to happen again.
Can any one help out?...
Edit.... Researched and fixed that. I dont get that error..
but now the profile for people look exactly the same nothing changed??
com.time error fix is in this thread already
Quote from: perplexed on March 11, 2008, 01:14:16 PM
Quote from: JovanT on February 24, 2008, 10:16:02 AM
When will people start reading the FAQ (http://jovant.guruserve.com/test-forum/index.php?topic=13.0)?
but if you have fixed the error, have you enabled 'customised profiles' for everyone in Admin >features and options > ultimate profile ? Otherwise everyone will still have the regular profiles unless you do that or they switch it on themselves
URGENTLY HELP!
A user deleted that were on my buddy list on the profile. When a user deleted, it won't remove. I tried to remove by clicking the trash can, it never removed. How can I removed this?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg86.imageshack.us%2Fimg86%2F9089%2F44448419ll6.jpg&hash=e47f0202dd8855b259ca528ec3af85a2ab48cbf9)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg86.imageshack.us%2Fimg86%2F6403%2F75035498uz9.jpg&hash=cdf1ab87d69d8bb8ff26f86fefaededfd0bf355a)
It refused to remove. Please fix this.
Same problem as posted above... is this mod still active?
Embrace, the mod is still active however not active in support. JovanT is very busy I assume with other things than this mod at the moment. So in a sense "it's active" but in another sense "it's not"
If you want the best support, there is a link to JovanT's support board in the first post. Otherwise, there are some here who can help you with small issues if you have them.
Hello,
i have the problem when i install
Onbekende kolom 'com.time' in field list
Bestand: /home/bimeiden.nl/www/Sources/Profile.php
Regel: 1338
I know that it has something to do with the mod Profile comments that i have installed.
I had deinstalled the mod, deinstalled profile comments and reinstalle ultimate profile, but without succes. I get the same error again.
Now within a other topic someonde had the same problem. Coldfx suggested to add the "time" row to the "comments" column.
How do i do that? I am just starting and not very well known with SMF.
Thanks & Bey Bey :D
search this topic for 'com.time' and you will find the answer already
Quote from: capabmx on March 14, 2008, 09:58:14 AM
@ daft, are you doing it locally, or is it live? Do you have your own server, or are you on a host plan?
its a shared donation based server, and when ever i try to change things from 555 to 666 its tells me to get lost.. aka... "access denied" or the like so im unabvle to allow smf to edit stuff for me so im wanting to set the whole lot up on another free server with all the stuff i need then download the required edited files over to the main server does this work? if it doesnt i wont bother fighting with getting the mysql setup on this other server
1.1.4 default theme
I had the media box disabled, but now when I click the box to enable it and hit save, it unchecks it. No media box is present. Can anyone help.
Quote from: fecu2008 on March 25, 2008, 06:42:05 AM
1.1.4 default theme
I had the media box disabled, but now when I click the box to enable it and hit save, it unchecks it. No media box is present. Can anyone help.
I believe it is because any one of you don't put the media code in there? Such as music video off youtube the embed code.
Quote from: perplexed on March 24, 2008, 09:11:52 PM
search this topic for 'com.time' and you will find the answer already
Hi, i have tryd to search, but the only item i receive is your reply :)
Quote from: Lafemme on March 25, 2008, 12:11:04 PM
Quote from: perplexed on March 24, 2008, 09:11:52 PM
search this topic for 'com.time' and you will find the answer already
Hi, i have tryd to search, but the only item i receive is your reply :)
lol look at the 4th message down from the top of this page (page 41) click on the link that says FAQ in that message :)
do you thinkin adaptation for modification on smf version 2.0 beta 3 ?
I try to upload photo in the profile area i receive the following error message:
2: rename(profile_pictures/tmp_1_thumb,profile_pictures/1_1206363858.jpg) [<a href='function.rename'>function.rename</a>]: No such file or directory
File: /home/singlean/public_html/Sources/ProfilePictures.php
Line: 133
Th titel of the photo is there but no photo?? This started about 2 days ago. I have not added any mods.
Quote from: SoulPleX on March 25, 2008, 05:10:17 PM
I try to upload photo in the profile area i receive the following error message:
2: rename(profile_pictures/tmp_1_thumb,profile_pictures/1_1206363858.jpg) [<a href='function.rename'>function.rename</a>]: No such file or directory
File: /home/singlean/public_html/Sources/ProfilePictures.php
Line: 133
Th titel of the photo is there but no photo?? This started about 2 days ago. I have not added any mods.
Umm, it seems like a file is missing since it stated that there isn't a such file in the directory of sources, a file name "profilepictures.php'. Go to that direct and see if there's a file called "ProfilePictures.php".
Quote from: JoshieDaMan on March 25, 2008, 08:29:47 AM
Quote from: fecu2008 on March 25, 2008, 06:42:05 AM
1.1.4 default theme
I had the media box disabled, but now when I click the box to enable it and hit save, it unchecks it. No media box is present. Can anyone help.
I believe it is because any one of you don't put the media code in there? Such as music video off youtube the embed code.
HUH?
Quote from: JoshieDaMan on March 25, 2008, 10:24:39 PM
Quote from: SoulPleX on March 25, 2008, 05:10:17 PM
I try to upload photo in the profile area i receive the following error message:
2: rename(profile_pictures/tmp_1_thumb,profile_pictures/1_1206363858.jpg) [<a href='function.rename'>function.rename</a>]: No such file or directory
File: /home/singlean/public_html/Sources/ProfilePictures.php
Line: 133
Th titel of the photo is there but no photo?? This started about 2 days ago. I have not added any mods.
Umm, it seems like a file is missing since it stated that there isn't a such file in the directory of sources, a file name "profilepictures.php'. Go to that direct and see if there's a file called "ProfilePictures.php".
I verified th the file "ProfilePictures.php" is indeed there..
I cannot get the "Buddies" part of this MOD to work correctly. I did everything at the supprt forum that they said to do in a thread there and it still doesnt work correctly and no seems to be alive over there anymore. Does anyone have this actually working correctly on thier forum???
Quote from: perplexed on March 25, 2008, 01:43:27 PM
Quote from: Lafemme on March 25, 2008, 12:11:04 PM
Quote from: perplexed on March 24, 2008, 09:11:52 PM
search this topic for 'com.time' and you will find the answer already
Hi, i have tryd to search, but the only item i receive is your reply :)
lol look at the 4th message down from the top of this page (page 41) click on the link that says FAQ in that message :)
Hi perplexed, thanks for your reply!
I have installed the mod :)
It works great, apart from that i have to set the language to english.. but i have understood that there are also mods for that...
you're welcome, post again if you need any help
Hi!,
thanks perplexed! It's nice to know that i'm welcome :D
I wanted a forum and started off with PHPBB, because that was suggested to me. But, as i was not happy with that program, with all it's faults i search further. Well.. i'm so happy to have found this program! It's great, and the people using it are so nice and helpfull.. it's great!
Anyway...
I have translated this MOD in Dutch.
I can't promise without missspelling, but he.. better something than nothing ;)
When someone uses this translation, and you find missspellings, please tell me...
Bey
Glad you are enjoying your experience so far :)
Hello,
I wanted to ask what the function Profile > Customized profile > Enable customized profile? does. Because even when i switch it off.. the profile customized profile still apears.
And is it possible to have the menu options on the profile page above or next all the blocks instead of below it?
that option in profile switches customised profile on and off for individual members, but if you have enabled Ultimate profile to show customised profiles for all members (in the Admin panel) then this option won't work. It's only for when you don't have in enabled for everyone via Admin > features and options > ultimate profile
Quote from: JoshieDaMan on March 19, 2008, 10:22:36 PM
URGENTLY HELP!
A user deleted that were on my buddy list on the profile. When a user deleted, it won't remove. I tried to remove by clicking the trash can, it never removed. How can I removed this?
Sorry, this is a known issue and will be fixed in the next release. When user gets deleted, it isn't removed from the buddies table. But, you should be able to remove it manually. Are there any errors when you try to do that? Alternatively, you could always remove him running a database query.
Quote from: Alpay on March 25, 2008, 04:33:45 PM
do you thinkin adaptation for modification on smf version 2.0 beta 3 ?
SMF 2.0 version is planned but it is not a priority since it is still a beta and not widely used. Also, it will take some time for me to get used to the new database system that SMF 2.0 introduced.
Hi perplexed!
Thanks (again) for your reply. Now i also know that the translation for that option has te be changed. :D
Can i delete this line? Because i will alsways keep this mod turned on, so the members never has a choice of enabling it.
Yes, you can delete it so it won't confuse your members.
yes tryd to delete it, but i keep seeing the checkbox, so that looks a bit silly :D
Do you have a solution for that?
Because you only deleted the text string. Now you need to delete the code that generates the checkbox.
oke.. :D but do you know what code it is then? I'm not a coder.. more a designer.. so that part is a bit diffucult for me..
Lafemme
Ok, go to /Themes/default/ and open up Profile.template.php.
FIND
<tr>
<td width="40%" valign="top">
<b>', $txt['profile_customize_enable'], '</b>
</td>
<td>
<input type="hidden" name="default_options[customized]" value="0" /><input type="checkbox" name="default_options[customized]"', (@$context['member']['options']['customized'] == 1) ? ' checked="checked"' : '', ' value="1" class="check" />
</td>
</tr>
AND REMOVE IT.
Thanks Brian!
It works great! :D
Hi,
Two probable problems:
1. Seems users can't write comments - i have no errors in forum, when i write a comment in profile nothing changes.
2. Pictures don't enlarge when i click on the thumb.
Thanks
Can you provide test account so I can see where is the problem?
I beleive I'm having a pretty unique error.
Firsdt off, I've been unable to add anything but avatars when it comes to packages; my host, easycgi, apparently heavily limits FTP permissions, so changing the stuff in the "options" tab in admin made no particular difference. In order to get the package manager to install this, I went in and set the entire SMF directory as writable.
it installed just fine after that.
the admin tab came up in features and options, I turned it on.
went into my profile, uploaded a pic, no problem.
in my profile, when I click "customized profile" i get a new page popping up with:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
and thats it.
Any thoughts?
Quote from: pvcblue™ on March 26, 2008, 09:09:43 AM
I cannot get the "Buddies" part of this MOD to work correctly. I did everything at the supprt forum that they said to do in a thread there and it still doesnt work correctly and no seems to be alive over there anymore. Does anyone have this actually working correctly on thier forum???
what seems to be the problem? Work correctly in what way?
I have it working, all except buddies won't move down but they will move up, which kinda achieves the same effect :)
thanks for the mod.
how would I change it so that it does not rename pictures or re-encode them.
it is really destroying the quality of all the pictures that are uploaded :-\
Is there some way to get this MOD and the User Email Mod to work together??
pvcblue
Use the package parser, then where it edits the Profile.template.php, make those edits to the UltimateProfile.template.php
Quote from: Lord Anubis on March 27, 2008, 11:04:31 AM
pvcblue
Use the package parser, then where it edits the Profile.template.php, make those edits to the UltimateProfile.template.php
Ohhhhhhhhhhhhhhhhh!!! SO it is a different php profile file altogether then?? Ok I think I can do that!! Thanks!!
Quote from: Lord Anubis on March 27, 2008, 11:04:31 AM
pvcblue
Use the package parser, then where it edits the Profile.template.php, make those edits to the UltimateProfile.template.php
Nah can't be done, part of the changes to the old profile.php are not even in the ultimateprophile.php
are you looking at the right file? profile.php and profile.template.php are different
Quote from: JovanT on March 26, 2008, 09:24:35 PM
Can you provide test account so I can see where is the problem?
I just PM to you.
Thanks
Quote from: perplexed on March 27, 2008, 11:50:30 AM
are you looking at the right file? profile.php and profile.template.php are different
Yes I downloaded the Ultimateprfile.template.php from my server and looked for everything that should be changed and part of it isnt on that php file like it is on the profile.php
profile.template.php? not the profile.php, that doesn't need editing
Here is the map:
The mod tells you to edit: What you edit:
Profile.template.php UltimateProfile.template.php
Profile.php doesn't need to be edited.
Just installed into my 1.1.4 forum today and my users are absolutely loving it, awesome job with the mod.
Few things that have been noticed that could be tweaked for a future version:
PICTURE COMMENTS
Have some type of counter beneath each image that shows how many comments have been made
PROFILE UPDATES NOTIFICATION
Have a way for members to be notified that their buddy has updated their profile (with pictures, or changed their about me or interests section, etc)
RSS FEED DISPLAY
Possibly find a way to incorporate the profiles into an RSS feed. Perhaps a "latest updated profile" feature that could be displayed as an RSS feed. Or even a way for the admin to manually select the profiles to display in the RSS feed so we can title it "interesting profiles" or "best profiles" or "new members", etc.
My apologies if any of this has already been mentioned, I just can't wade through 43 pages of responses at the moment. ;)
I like the RSS feed idea!!!
Check out how some members on my forum have used this mod
http://www.blabbster.com/index.php?action=profile;u=1 <<<Mine
http://www.blabbster.com/index.php?action=profile;u=15
http://www.blabbster.com/index.php?action=profile;u=34 <<<WARNING NSFW!!!!
Quote from: brianjw on March 27, 2008, 07:30:16 PM
Here is the map:
The mod tells you to edit: What you edit:
Profile.template.php UltimateProfile.template.php
Profile.php doesn't need to be edited.
Yes Brian I know - only the UltimateProfile.template.php does NOT have some the lines that need to be edited.
Narrow down the search then. I know it doesn't have the same lines but looks for things that are similar and narrow it down by taking bits of the code and searching for it. Basically, find a place and paste it :D
Quote from: brianjw on March 27, 2008, 10:13:27 PM
Narrow down the search then. I know it doesn't have the same lines but looks for things that are similar and narrow it down by taking bits of the code and searching for it. Basically, find a place and paste it :D
I did that - the second half of what needs to be changed is just not there!
Quote from: Lord Anubis on March 27, 2008, 08:54:55 PM
I like the RSS feed idea!!!
Check out how some members on my forum have used this mod
http://www.blabbster.com/index.php?action=profile;u=1 <<<Mine
http://www.blabbster.com/index.php?action=profile;u=15
http://www.blabbster.com/index.php?action=profile;u=34 <<<WARNING NSFW!!!!
Pretty cool, here are some of ours:
mine: http://www.forum.rakereport.net/index.php?action=profile;u=1064
a member who did some customization: http://www.forum.rakereport.net/index.php?action=profile;u=4618
This mod is working fine for me except when someone views a profile the left box with the users email adress in it isnt spanning out to the middle of the page. Its only out as far as the text goes which in some cases cause the next infobox to come up next to it.
Any ideas whats causinig this?
I have decided I will use this mod if/when it comes out of beta and if/when it get's approved by the SMF Customization Team.
Quote from: edsloter on March 27, 2008, 09:46:26 AM
thanks for the mod.
how would I change it so that it does not rename pictures or re-encode them.
it is really destroying the quality of all the pictures that are uploaded :-\
Still unresolved....
and how would I put the country flags from this mod (http://custom.simplemachines.org/mods/index.php?mod=417) onto the new profile off of this profile mod?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.kwikpiks.com%2Ffiles%2F46%2FBilderman%25202008.03.28%25209-04-55%2520PM.png&hash=4ec9cc91ac69d376dac7d3d30dbbfc5a25cb79d4)
@ edsloter
You need to put it in a table like the rest (Gender, Age, etc...)
yes of course i do. anyone know the specific code for doing so?
Quote from: paganize on March 27, 2008, 04:19:51 AM
the admin tab came up in features and options, I turned it on.
went into my profile, uploaded a pic, no problem.
in my profile, when I click "customized profile" i get a new page popping up with:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
and thats it.
Any thoughts?
a little clarification: the very first time you click the "customized profile" link it works; it's only during all subsequent clicks that the CGI error screen displays.
Quote from: edsloter on March 28, 2008, 11:11:47 PM
yes of course i do. anyone know the specific code for doing so?
Hmmm when I said you have to use a Table I meant coding a table...Like
<tr> = ROW
<td> = Column
So the code you would use would look something like:
<tr>
<td><b>', $txt['country_flag'], ':</b></td>
<td>';
// Did they select a flag?
if(isset($context['member']['options']['country']) && !empty($context['member']['options']['country']))
{
$flags = CountryFlag();
echo
$flags[$context['member']['options']['country']] . ' <img src="', $settings['default_theme_url'], '/images/flags/', $context['member']['options']['country'], '.png" alt="Country" />';
}
echo '
</td>
</tr>
thanks ;)
I enabled buddy lists for the first time after installing this mod, so not sure if it's related or not.
I have one member that my forum is telling me is already my buddy, but he doesn't show up in my list and I don't show up in his.
He also has the problem with another forum member, but has recently gotten two other members successfully onto his buddy list.
This has not happened with any other members. So I'm not sure what to do to correct the issue?
it's mentioned a few times already in this topic, but you will need to use this buddies migration tool (http://jovant.guruserve.com/test-forum/index.php?topic=15.0) it's because some of your members had existing buddies and this mod uses the new buddies system
Quote from: perplexed on March 30, 2008, 06:14:26 AM
it's mentioned a few times already in this topic, but you will need to use this buddies migration tool (http://jovant.guruserve.com/test-forum/index.php?topic=15.0) it's because some of your members had existing buddies and this mod uses the new buddies system
thanks for the headsup. Looks like all I had to do is go to MySQL and delete the buddy requests regarding my account and this other member and that cleared it up I believe.
A request - The admin should be on the buddy list by default like myspace ;)
Quote from: brianjw on March 30, 2008, 03:14:56 PM
A request - The admin should be on the buddy list by default like myspace ;)
I was thinking the same thing, but I'm not changing my name to Tom! :P
LMAO :D
/me thinks about changing his display name to Tom and stealing his avatar!!
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fb2.ac-images.myspacecdn.com%2F00000%2F20%2F52%2F2502_m.jpg&hash=26762826b855589c6f98659172a23a7ef8391f91)
Quote from: brianjw on March 30, 2008, 03:24:18 PM
LMAO :D
/me thinks about changing his display name to Tom and stealing his avatar!!
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fb2.ac-images.myspacecdn.com%2F00000%2F20%2F52%2F2502_m.jpg&hash=26762826b855589c6f98659172a23a7ef8391f91)
I love how Tom put up his picture from when he's 24 when he's really 39 now, or whatever. :P
I'd rather that was an option rather than default personally. Why would you want the admin to be on the buddy list for everyone? Just wondering :)
Quote from: perplexed on March 30, 2008, 03:36:04 PM
I'd rather that was an option rather than default personally. Why would you want the admin to be on the buddy list for everyone? Just wondering :)
With my forum I'm kind of a personality for the members. Everyone wants to play me @ poker, and everyone wants to think they're special enough for the time I spend on them (i.e. they all want to be recognized)
So by putting forth the time spent on each member, I help to build a community where people feel welcome and appreciated and recognized by the site owner.
I'd prefer, like perplexed, that it be an option with the default value being false. I don't want all of my members being my buddy, I run an RPG forum not a social networking site, and I like to keep the buddies to the people I RP with or develop OOC friendships with.
Well it would be able to be disabled or something like that. ;)
I would want this feature though because having all your members as your buddy makes them atleast have their first buddy and so I can have alot of friends lol. Mines alot like rake.
Quote from: RakeReport on March 30, 2008, 03:25:55 PM
I love how Tom put up his picture from when he's 24 when he's really 39 now, or whatever. :P
the corporate 'big brother' guys leave it like that so all the kiddies think he is a young 'hip, cool' guy.
http://www.kchristieh.com/blog/?p=770
lol funny article. I think that's the point
QuoteI just checked, and Tom's no longer my friend. Maybe he decided to stick to people he truly knows after all.
My friend list is for people who are my friends, not anyone who joins the forum. That kinda defeats the purpose of it being a 'friends' list if everyone is your friend, what's the point?
QuoteLike every new MySpace user, Tom was my first "friend." In fact, since I don't use my MySpace account, Tom was my only friend. I never contacted him, however, as I didn't personally know him
I don't personally know everyone on my forums either so I don't want them cluttering up my friends list which will start to look like an admin contact list. I have User CP installed with a 'contact the admin' option if needed. Otherwise I get to have my friends on my friends list just like everyone else.
________________________________________________________
edited to add: Just noticed this in the error log three times
Hacking attempt...
INSERT INTO smf_profile_pictures SET
ID_MEMBER = "xxx",
time = "1206844466",
title = 'Sooty & the Beanbag',
description = '',
filename = "Sooty & the Beanbag.JPG"
File: /home/xxxxxxx/public_html/forum/Sources/ProfilePictures.php
Line: 142
I have it three times for this member. They have successfully added 3 photos to their profile but I don't know if one of them is this photo or whether they couldn't add this particular one as there are no names on their photos and the member is not online to ask at the moment.
and this one twice:
8: Undefined variable: txt
File: /home/xxxxx/public_html/forum/Sources/ProfilePictures.php
Line: 57
Not sure, but it may be that the picture they're trying to upload is too big. I found the error end-user error for that situation lacking in information, it was only after I was browsing through the UP settings when I discovered what was happening.
Quote from: RakeReport on March 27, 2008, 11:17:35 PM
Quote from: Lord Anubis on March 27, 2008, 08:54:55 PM
I like the RSS feed idea!!!
Check out how some members on my forum have used this mod
http://www.blabbster.com/index.php?action=profile;u=1 <<<Mine
http://www.blabbster.com/index.php?action=profile;u=15
http://www.blabbster.com/index.php?action=profile;u=34 <<<WARNING NSFW!!!!
Pretty cool, here are some of ours:
mine: http://www.forum.rakereport.net/index.php?action=profile;u=1064
a member who did some customization: http://www.forum.rakereport.net/index.php?action=profile;u=4618
I would say they are just like myspace profiles. Nice job.
Quote from: Eliana Tamerin on March 31, 2008, 08:35:37 AM
Not sure, but it may be that the picture they're trying to upload is too big. I found the error end-user error for that situation lacking in information, it was only after I was browsing through the UP settings when I discovered what was happening.
there's no setting though apart from width, so how big is too big?
if it's bigger than Height x {image width setting} then it's too big.
there's no place to set a height restriction. I thought you were referring to file size rather than dimensions
No, dimensions. The width restriction is so that images don't break the page, but height doesn't matter in that respect.
well in that case it was probably due to the width I guess. I do have it set quite low but I may up it a bit. :)
Does anyone know how to integrate SMFBlogger into this mod? The file is attached for the mod. The mod doesn't have any profile modifications so....
Attachment for SMFBlogger
- Download Page (http://www.mzbt.com/304660)
is this the one Snake wrote? btw your direct link comes up as
Invalid download link.
Yes, it's the same one snake wrote.
I always liked that mod and was thinking whether or not to install it or not on my live forums.
In what way did you want it integrated? Just blog links or actual blog posts? I might install on my test site and fiddle with it.
Actually I figured it out. I put a link to each users blog in the ultimate profile under contact it says DisplayName's Blog which is linked to ./index.php?action=blog;sa=user;u=ID
The words displayed in bold^ are the php code values of each individual user.
Something similar to this felblog code (http://jovant.guruserve.com/test-forum/index.php?topic=4.msg24#msg24)
I altered it slightly and it works, but having actual blog posts could be nice, just a couple
Quote from: capabmx on March 11, 2008, 01:59:42 PM
Hmmm, through searching I have found a basic css generating script. I will attach my work in progress so far. Feel free to use it however you would like, I'm going to make it a little modification, so if you want to wait, I will turn it into a mod, and it will be uploadable. Please give me until later tonight, as I have a couple interviews lined up lol. Hmm, I guess I can't attach files here, well then I'll just set it up as of later the current classes I have customizable are:
Body
Table
TD
List
Link
Hover
Visited
I will add some more classes in, if someone would be nice enough to list the other classes needed. Like:
Linked Images
Image (img)
Hover
I will make it so they can use some filters for the images, and whatnot. Also to get extra use out of this, I will provide the edit needed to make the avatars lead to their profile, so they are linked.
Did anything ever happen with this? I would be interested in using it if so :)
this is a very great mod :D thx a lot :)
It works well with the default theme :D
however, if i changes the theme to Dilber MC.
The css customization wont take effect, or rather it seems like it is overlap with the Dilber MC .css.
Is there a way to work this around ?
thx in advance :)
In genereal, Is there any way i can rename, for example, the Gender: field name to Hemisphere: , signature: to Moto:, Age: to Founded: and so forth? I believe its a matter of changing just the fields within a template but which template? or is this something major that will affect other portions of the code and templates like the regular forum profile info?
I'd like to have "about me" to be allowed for html/css. How can I do that?
How do I rectify this:
Fatal error: Cannot redeclare template_customized() (previously declared in /home/content/k/i/l/killachinu/html/apqgss/forum/Sources/Load.php(1855) : eval()'d code:1821) in /home/content/k/i/l/killachinu/html/apqgss/forum/Sources/Load.php(1855) : eval()'d code on line 2059
Im using SMF 1.14, Ult. Prof 0.8, TP 0.983, and the Cityscape TP theme.
And here are my mods:
1. SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update 1.0 [ List Files ] [ Delete ]
2. hidden for guests 1.0.3 [ Uninstall ] [ List Files ] [ Delete ]
3. Profile Comments 1.3.5 [ Uninstall ] [ List Files ] [ Delete ]
4. Password Protect Boards 0.1 [ Uninstall ] [ List Files ] [ Delete ]
5. Avatars at Index Mod 1.5 [ Uninstall ] [ List Files ] [ Delete ]
6. Avatars at Index Mod 1.4 [ List Files ] [ Delete ]
7. Signature Dropdown Choices 1.0 [ Uninstall ] [ List Files ] [ Delete ]
8. XarSmilies-1 1.0 [ Uninstall ] [ List Files ] [ Delete ]
9. Profile Music 1.0 [ Uninstall ] [ List Files ] [ Delete ]
10. FelBlog for SMF Update 0.941 [ List Files ] [ Delete ]
11. Automatic_Karma 1.0 [ Uninstall ] [ List Files ] [ Delete ]
12. Enhanced Quick Reply Box 2.0.2 2.0.2 [ Uninstall ] [ List Files ] [ Delete ]
13. Image Zoom Tag Package 1.1 [ Uninstall ] [ List Files ] [ Delete ]
14. JPG Thumbnails 1.0 [ Uninstall ] [ List Files ] [ Delete ]
15. Member List Position Filter 1.0.2 [ Uninstall ] [ List Files ] [ Delete ]
16. nwsw.nwswAdminAttachAnything 1.1 RC3 [ Uninstall ] [ List Files ] [ Delete ]
17. Popup PM Message - Uses The Same Window 1.1 [ Uninstall ] [ List Files ] [ Delete ]
18. Post New Poll Link 1.1 [ Uninstall ] [ List Files ] [ Delete ]
19. Registered Images 2.1 [ Uninstall ] [ List Files ] [ Delete ]
20. Board Viewers Mod 1.2 [ Uninstall ] [ List Files ] [ Delete ]
21. Free Smileys 0.9.2.2 [ List Files ] [ Delete ]
22. Ultimate Profile 0.8 [ Uninstall ] [ List Files ] [ Delete ]
23. Snapshot BBCode 1.0 [ Uninstall ] [ List Files ] [ Delete ]
24. SSI Latest Members 1.0.1 [ Uninstall ] [ List Files ] [ Delete ]
25. Topic Member Post Count 1.1.2 [ Uninstall ] [ List Files ] [ Delete ]
26. Temporary fix 0.5 [ List Files ] [ Delete ]
27. Who Voted What? 1.1.3 [ List Files ] [ Delete ]
28. User Email System 1.2 [ Uninstall ] [ List Files ] [ Delete ]
29. Users Online Today Mod 1.4.0 [ Uninstall ] [ List Files ] [ Delete ]
30. YouTube BBCode 1.4 [ Uninstall ] [ List Files ] [ Delete ]
31. Group on Registration 1.1.1 [ Uninstall ] [ List Files ] [ Delete ]
32. Topic Ratings 1.03 [ Uninstall ] [ List Files ] [ Delete ]
33. Hide SMF Version 1.0 [ Uninstall ] [ List Files ] [ Delete ]
34. Who's Online Buddies 1.0 [ Uninstall ] [ List Files ] [ Delete ]
35. Most Popular Topic Today 2.0 [ Uninstall ] [ List Files ] [ Delete ]
36. Award Mod 1.11 [ Uninstall ] [ List Files ] [ Delete ]
37. Custom Profile Field Mod 3.16 [ Uninstall ] [ List Files ] [ Delete ]
38. SearchResultsMod 1.0 [ Uninstall ] [ List Files ] [ Delete ]
39. Stars to Profile 1.0 [ Uninstall ] [ List Files ] [ Delete ]
40. XarSmilies-2 1.0 [ Uninstall ] [ List Files ] [ Delete ]
41. SSI Membergroup 1.0 [ Uninstall ] [ List Files ] [ Delete ]
42. Display Signatures Only Once Per Page 1.2 [ Uninstall ] [ List Files ] [ Delete ]
43. Hide SMF Version 1.0 [ Uninstall ] [ List Files ] [ Delete ]
44. RSS Feed Poster 1.0.4 [ Uninstall ] [ List Files ] [ Delete ]
45. Ellow yellow christmas edition smiley set 1.1 [ Uninstall ] [ List Files ] [ Delete ]
46. Global Headers Footers 1.3 [ Uninstall ] [ List Files ] [ Delete ]
47. SMF File Manager 2.0.2 [ Uninstall ] [ List Files ] [ Delete ]
48. Grouped Who's Online 1.0 [ Apply Mod ] [ List Files ] [ Delete ]
49. PM On Registration 1.0.2 [ Apply Mod ] [ List Files ] [ Delete ]
50. MessagePreview 1.2 [ Uninstall ] [ List Files ] [ Delete ]
51. MessagePreviewOnHover 1.5 [ Uninstall ] [ List Files ] [ Delete ]
52. Add Sitepreviews 1.31 [ Uninstall ] [ List Files ] [ Delete ]
53. Previous and Next Links for Page Index 1.0 [ Uninstall ] [ List Files ] [ Delete ]
54. TinyPortal 0.983 [ Apply Mod ] [ List Files ] [ Delete ]
55. AvatarOnBoard 1.2 [ Uninstall ] [ List Files ] [ Delete ]
56. Top 10 Posters Today And This Week Stats 1.0 [ Uninstall ] [ List Files ] [ Delete ]
This is a great Mod, Jovan, a BIG thank you!
After I installed it I got an error:
Unknown column 'com.time' in 'field list'
File: /homepages/24/d213015727/htdocs/cccom/community/Sources/Profile.php
Line: 1371
and then I re-read the previous posts and uninstalled "Profile Comments"
only to be stopped again by another Mod "Custom Profile Field Mod".
Normally I'd delete this, too, but actually this Mod is critical for membership sign-up on my forum.
It is only one field but is mandatory for successful registration.
Is it possible that I can still use Jovan's "Ultimate Profile Mod" and transfer each of my member's "Custom Profile Field Mod" into it so that I can then uninstall (an equally great mod) "Custom Profile Field Mod"
Many thanks.
Kevin Hannan
Oops! My bad - I just saw the faq's which appear to answer my question.
I hope I got this here in time to prevent anyone from wasting theirs..sorry.
I'm off to try the faq's.
See you later!
Regs
Kevin
Shawn Gotti previously declared or cannot redeclar means the same code is placed twice in one file. Load.php may or may not be the file with it.
I read and re-read the faqs and sadly cannot resolve the buddies issue.
I looked at phpadmin but cannot understand it so I don't know if that will resolve my problem.
Any ideas anyone, please?
Regards
Kevin Hannan
Quote from: kevinhannan on April 04, 2008, 04:23:50 PM
I read and re-read the faqs and sadly cannot resolve the buddies issue.
I looked at phpadmin but cannot understand it so I don't know if that will resolve my problem.
Any ideas anyone, please?
Regards
Kevin Hannan
hi Kevin,
I don't know what buddy problem you have but did you check JovanT's site, where there are fixes for the buddies issues?
Did you manage to install the custom profile mod? If so, also on JovanT's site you can find how to add the custom profiles to the ultimate profile. Looks good too :)
Thanks, Perplexed.
I really thought that I had gone through Jovan's site as I had tried a number of fixes - I'll go and re-check. ;)
Thanks again!
Regs
Kevin
@quiteperplexed
The errors you experienced are not related with the picture dimensions. I think that SMF complains because of the "&" sign in the filename. I will try to fix this in the next release.
@capabmx
I think that many users would appreciate if you could share that CSS generator with us. It would help users to customize their profiles a lot easier.
Thanks JovanT! I did wonder as I have had not issues with uploading larger images myself, but the & makes sense. I'll let the member know :)
I would really like this css generator too :)
Quote from: JovanT on April 05, 2008, 08:09:25 AM
@quiteperplexed
I will try to fix this in the next release.
Hi Jovan,
Good to hear from you. Is the next release imminent and what can we look forward to?
Regards,
Wilsy.
Hi!
I have installed firstly Custom Profile field. I have added one field, wich i did give not aq name, since i was experimenting. Afther that i found Ultimate profile. I have installed it, not knowing that it would overwrite custom profile field mod. I do not mind that, but now i have an extra nameles field wich you can fill in in the profile information. Do you know how i can erase that field? Or make custome field mod and ultimate profile work together?
Thanks! :D
LaFemme, if you read this thread on the mod author's site (http://jovant.guruserve.com/test-forum/index.php?topic=19.0) it will tell you how to display the custom profile fields on the ultimate profile :)
Thanks perplex!
however, i have still one problem, that is that i do not see the tab of custome field mod.
See attached..
you would have to ask in the custom profile mod topic for that one, as with all mods if you are using a different theme or a language other than english, you will have to make manual edits.
Quote from: brianjw on April 04, 2008, 03:37:54 PM
Shawn Gotti previously declared or cannot redeclar means the same code is placed twice in one file. Load.php may or may not be the file with it.
I've checked the above-mentioned file (Load.php), and can't seem to identify the issue. I dont know what I'm missing.
Quote from: quiteperplexed on April 07, 2008, 02:20:36 PM
you would have to ask in the custom profile mod topic for that one, as with all mods if you are using a different theme or a language other than english, you will have to make manual edits.
He's using the core theme, just with Dutch, I'll reckon.
Quote from: Eliana Tamerin on April 07, 2008, 02:41:06 PM
Quote from: quiteperplexed on April 07, 2008, 02:20:36 PM
you would have to ask in the custom profile mod topic for that one, as with all mods if you are using a different theme or a language other than english, you will have to make manual edits.
He's using the core theme, just with Dutch, I'll reckon.
he is a she lol 'lafemme'.
Yeah I know she's using dutch as she's had similar probs with other mods but I thought she had this one working already :)
I never look at the gender. I just assume male unless I catch sight of the gender or name. It just didn't stand out to me, sorry.
hahaha... She.. indeed :D LOL
And no need to be sorry Eliana :D
Quote from: Shawn Gotti on April 07, 2008, 02:25:27 PM
Quote from: brianjw on April 04, 2008, 03:37:54 PM
Shawn Gotti previously declared or cannot redeclar means the same code is placed twice in one file. Load.php may or may not be the file with it.
I've checked the above-mentioned file (Load.php), and can't seem to identify the issue. I dont know what I'm missing.
any help on this?
Quote from: JovanT on March 26, 2008, 03:10:45 PM
Quote from: Alpay on March 25, 2008, 04:33:45 PM
do you thinkin adaptation for modification on smf version 2.0 beta 3 ?
SMF 2.0 version is planned but it is not a priority since it is still a beta and not widely used. Also, it will take some time for me to get used to the new database system that SMF 2.0 introduced.
well, i analyzed, profile leave the 4 part. So i search the one by one for modification but not have a code. What estimate with a time extend for modification 2.0 b 3 ? Waiting for a more then people :) O:)
A version for 2.0 probably won't come until it's in the RC releases or final.
Quote from: Shawn Gotti on April 08, 2008, 09:34:28 PM
Quote from: Shawn Gotti on April 07, 2008, 02:25:27 PM
Quote from: brianjw on April 04, 2008, 03:37:54 PM
Shawn Gotti previously declared or cannot redeclar means the same code is placed twice in one file. Load.php may or may not be the file with it.
I've checked the above-mentioned file (Load.php), and can't seem to identify the issue. I dont know what I'm missing.
any help on this?
If the code is really not duplicated in the load.php file then you could try this (http://www.simplemachines.org/community/index.php?topic=231056.msg1487253#msg1487253) which will should turn the eval off and possibly point you to the problem file. Read the post and try it out, then check your error log and see if it reports a different file :)
Quote from: Eliana Tamerin on April 13, 2008, 02:28:11 PM
A version for 2.0 probably won't come until it's in the RC releases or final.
well. we are waiting end of eight month for rc release. :-\
Welcome to the world of software development. ;)
Quote from: paganize on March 28, 2008, 11:22:53 PM
Quote from: paganize on March 27, 2008, 04:19:51 AM
the admin tab came up in features and options, I turned it on.
went into my profile, uploaded a pic, no problem.
in my profile, when I click "customized profile" i get a new page popping up with:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
and thats it.
Any thoughts?
a little clarification: the very first time you click the "customized profile" link it works; it's only during all subsequent clicks that the CGI error screen displays.
Interesting. I've posted on my problem 3 times, and no one has seen fit to even tell me to go away.
Normally, this would indicate to me a few possibilities; one, that this is something really simple that everyone knows about and If I did even the smallest amount of research, the answer would present its self to me. Two, that is is a common problem that no one can solve or even has a clue about, so no one bothers to post. Three, I'm asking in such a way that is offensive by its very nature.
While answer one is of course possible, I've researched it pretty heavily, the only clue I can find is that a windows server sometimes returns this error if the script is too Unix specific. Which kinda points me at answer two or three?
Anyway, anyone have a clue how to fix it?
Another user experienced this error from another function.
Are you using IIS? http://bugs.php.net/bug.php?id=25863
Users who are using this mod can also be interested in the mod linked below:
http://www.simplemachines.org/community/index.php?topic=233298.0
It has Ultimate Profile Mod support too.
Quote from: Eliana Tamerin on March 07, 2008, 02:04:02 PM
That's because the media box doesn't parse bbc. You' d have to fix it parse BBC before you could use the AEVC mod there. For now, you can simply use the embed code found on the video sites.
or do this simple change to allow 'Auto Embed Video Clips' to function within the MEDIA box
find in Themes/default/UltimateProfile.template.php:
<td class="windowbg">
', un_htmlspecialchars ($context['member']['options']['media']) ,'
replace with:
<td class="windowbg">
', parse_bbc ($context['member']['options']['media']) ,'
You'll lose the HTML and CSS support in that box, but get your AEVC working again. Of the two, I'd rather have the added security of AEVC instead of blanket opening up all SWF embeds elsewhere in the forum. I haven't seen any malicious SWF applets, but that doesn't mean that some vicious child won't write one next week.
QuoteYou'll lose the HTML and CSS support in that box
Not necessarily. SMF's BBC is a pretty powerful system for styling and formatting text and images, so I'm sure it's competent enough to replace HTML. In any case, you can always define custom BBC through Sarke's mod found in the mod site, and then use that if you need something specific.
Sry if its been answered but is there a way to make it so the Profile Music Mod works with this?
Quote from: Damian1221 on April 20, 2008, 08:52:56 PM
Sry if its been answered but is there a way to make it so the Profile Music Mod works with this?
depends what you mean by 'works with' but you will have to add any edits the profile music mod makes to profile template to the ultimate profile template. Use the package parser (link in my sig) and find out what changes are made to profile template, and then make them in ultimate profile template :)
theres actually a package parser on this site now as well. just go to the page for the mod and on the right side there should be options for manual install instructions.
This parser will not require a package to be uploaded and will work with boardmod formatted mods
Thanks guys figured out =)
Also got stuff from the custom profile field mod to work but how would I go about giving it a nice table of its own? its kind of all over the place
Hello,
I have tried sveral times to ask support on the topic of costum field mod, but i receive no answhere :(
The problem is this that i do not see the tab anymore of costum profile, sinds i have installed Ultimate profile :(
See the attached
If somebody wants to see codes.. please tell me wich file
Thanks!!!!!
Something went wrong in your ModSettings.php. You could upload it here or somewhere else (don't copy the whole file into your post).
Hi,
thanks! I have attached 2 files, because i have a dutch translation :)
Do you also know that if there is a way to get all the blocks lined up ather each other, in stead of next to each other? And if i can delete own box? Can i also make it more clear somehow to my members that they can leave a comment on the photo's?
Attach ModSettings.php from ./Sources not the language files, Lafemme ;)
Whoops :D
Yeah.. i'm just a noob.. i know :D
And if you want to add brianjw's 'Google Member Map', here's the change I'm using. It puts a fixed map just below the MEDIA box at zoom scale 6 that shows up once they've placed a pin.
http://i27.tinypic.com/e190r6.jpg for the sample image
in Themes/default/UltimateProfile.template.php
find:
if (($modSettings['profile_allow_mediabox'] == 1) && (!empty($context['member']['options']['media'])))
echo '
<br />
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="media">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['profile_media'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
', un_htmlspecialchars ($context['member']['options']['media']) ,'
</td>
</tr>
</table>';
add after that:
if (($modSettings['googleMapsEnable']) && (allowedTo('googleMap_view'))) {
if(isset($context['member']['googleMap']['latitude']) && isset($context['member']['googleMap']['longitude'])) {
echo '
<br /><table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="more_fields">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['googleMap'] ,'
</td>
</tr>
<tr>
<td class="windowbg" colspan="2">
<script src="http://maps.google.com/maps?file=api&v=2&key=' . $modSettings['googleMapsKey'] . '" type="text/javascript"></script>
<div id="map" style="width: 450px; height: 250px; color: #000000;"></div>
<input type="hidden" name="latitude" size="50" value="', $context['member']['googleMap']['latitude'], '" />
<input type="hidden" name="longitude" size="50" value="', $context['member']['googleMap']['longitude'], '" />
<script type="text/javascript">';
//Evil hack on this!!!
echo '
//' . chr(60) . chr(33) . chr(91) . chr(67) . chr(68) . chr(65) . chr(84) . chr(65) . chr(91);
echo "
function LoadMap() {
var map = new GMap2(document.getElementById(\"map\"));
map.disableDragging();
map.disableDoubleClickZoom();
map.addControl(new GScaleControl);
map.setCenter(new GLatLng(" . $context['member']['googleMap']['latitude'] . "," . $context['member']['googleMap']['longitude'] . "), 6, ". $modSettings['googleMapsType'] .");
var point = new GLatLng(" . $context['member']['googleMap']['latitude'] . "," . $context['member']['googleMap']['longitude'] . ");
var marker = new GMarker(point);
map.addOverlay(marker);
}
if (GBrowserIsCompatible()) {
window.onload=LoadMap;
}";
//Lets make another evil hack!
echo '
//' . chr(93) . chr(93) . chr(62);
echo "
</script>
</td>
</tr></table>";
}
}
If you're not happy with the map settings that I like, the initial (locked) zoom scale is the 6 in this line:
map.setCenter(new GLatLng(" . $context['member']['googleMap']['latitude'] . "," . $context['member']['googleMap']['longitude'] . "), 6, ". $modSettings['googleMapsType'] .");
(larger numbers up to 16? are more zoomed in, smaller are more zoomed out)
If you want them to be able to pan and zoom (it's a bit pointless since it only shows the map and that member's pin) then replace these lines:
map.disableDragging();
map.disableDoubleClickZoom();
with this:
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
Does anybody have looked at my file :D ?
Yes, there are no problems with the files but I did find out what the issue was.
You need to upload THIS FILE (CLICK HERE) (http://www.mzbt.com/841985) and make sure it is located in ./Themes/default/languages/ and then you will have to translate that file to dutch and rename it as CustomProfile.dutch.php then you would upload it to ./Themes/default/languages/
Couldn't upload it because I don't have permission to so I uploaded it on a file hosting site.
Try that. :)
brianjw :)
Oke thanks! I wil try in the morning.. because i need some sleep :D
brianjw... THANKS!!!!!!!!!!!!!!!!!!!
Afther a long time i am able to use it!!!! THANKS THANKS THANKS!!
Now i also have translated the file ofcourse wich i will add to the topic of custom field...
:D :D :D :D :D :D
Hello,
I tried to add a buddy, in my list in the buddy's are the, but when i look at my profile. nobody is there.
See the attached files :)
Is there also a way that there can be send an question to that person if they want to become a buddy? so that some can decline?
Also... how does the box work, that you can give your own look and feel to the profile? I have tried several codes.. but they all don't work..
Thanks!
I think you might have to use some kind of convert script. Use the topic search above with the only keyword being "convert" (no quotes). :)
Quote from: Lafemme on April 26, 2008, 07:18:58 PM
Hello,
I tried to add a buddy, in my list in the buddy's are the, but when i look at my profile. nobody is there.
See the attached files :)
Is there also a way that there can be send an question to that person if they want to become a buddy? so that some can decline?
Also... how does the box work, that you can give your own look and feel to the profile? I have tried several codes.. but they all don't work..
Thanks!
the buddies system is not perfect but then this is still a Beta. Read this on JovanT's site (http://jovant.guruserve.com/test-forum/index.php?topic=15.0)
When you click on 'add to buddy list' in someone's profile, it will then send out a PM to that person asking them to approve or reject your request.
As for the customise look, I havent tried it yet but someone who has might be able to help you. Some people use myspace generators.
Yes. i know that.. but now members will pm me about this. so if this can't be fixed.. how do i remove the option to add a buddy thru the controlepanel, so that you only can add thru the profile? Or should i ask this at the user controle panel topic?
What do you mean by the way with Myspace genertor??
I mean layout generators that people use to customise their myspace profiles for Myspace.com
if you search google for 'myspace layout generator' you will see what I mean. Some people in this thread have been using these to customise their profiles. Check back a few pages for some examples.
yes... i have looked it up.. but i could not make the link ::)
But know i know what you mean :D
Thanks. again
By the way.. in a few days i will post the link here.. so that all you who have helped me can take a quick peak at my forum.. so that you know why i have stalking you :D
Finally ... almost done
looking forward to seeing what you have done with it so far :)
if you want you can look : http://www.bimeiden.nl login: test : tester :D
But ehm.. i have tried to put html code and bb code.. but both dont work :( i have tried with an myspace generator and also don't work.. what should i do?? i am now filling in my profile.. but no succes sofar :(
i only added my photo
SORRYYYY.... i know that it is in beta fase.. but the buddy action doesnt work at all for me... i have added my buddy Test :D
He send a acceptance message to test. When logged in as test i saw the mail that I wanted to be my friend. When i accepted in the mail The Lafemme account was put in the waiting list at the test account.. i hope you all can follow me sofar :D
When i saw both of the profiles, neither on account was shown as a friend and when i clicked the buddy icoon again the awaiting friend was gone. When i tried this proces again, the forum said that Test was already my friend, although i do not see the test account as my friend anywhere... what should i do?
make sure you have the box checked in features and options > ultimate profile > allow profile customisation
then go to your own profile > customised profile
and you will see an extra box where you can enter html and css.
Try this myspace editor, it works and is very easy thomas' myspace editor (http://strikefile.com/myspace/)
choose your colours, fonts, backgrounds etc and then paste the code that it generates into the customisation box on your profile.
Quote from: Lafemme on April 27, 2008, 07:40:04 AM
SORRYYYY.... i know that it is in beta fase.. but the buddy action doesnt work at all for me... i have added my buddy Test :D
He send a acceptance message to test. When logged in as test i saw the mail that I wanted to be my friend. When i accepted in the mail The Lafemme account was put in the waiting list at the test account.. i hope you all can follow me sofar :D
When i saw both of the profiles, neither on account was shown as a friend and when i clicked the buddy icoon again the awaiting friend was gone. When i tried this proces again, the forum said that Test was already my friend, although i do not see the test account as my friend anywhere... what should i do?
if the buddy has accepted your request, then look in your buddies list to see if there are any pending, the link is probably something like this
http://www.bimeiden.nl/index.php?action=profile;u=1;sa=editBuddies (http://www.bimeiden.nl/index.php?action=profile;u=1;sa=editBuddies)
edit: u=1 is for you lafemme, so change that to whatever the member number is for your test account
I have tried the site and yes ! it works ! although it gives a lot of extra code :)
As far as the buddy list.. STUPID.......... i had to click that image to accept her again.. didn't know that :)
But.. now.. the problem is still there that the pending box is gone and when i try to add test again as a buddy it says that she is already my friend.. where can i erase that manually? and where ca i erase the box that they can add a friend at the controle panel? sinds that is not working (only if you add them at the profile)
I now know it!!!!!!!! There are 2 different buddysettings... one list of the old own... as you said :
http://www.bimeiden.nl/index.php?action=profile;u=1;sa=editBuddies (this own doesn't work)
and own of http://www.bimeiden.nl/index.php?action=buddies
The second own works great but is only seen in standard vieuw, if you have user controle mod installed...
So only thing what i have to do is replace the link within the user controle panel to the good link..
does anybody know in wich file?
***** update*****
Ik replaced the code with '?action=buddies instead of '?action=profile;u=', $ID_MEMBER, ';sa=editBuddies and it works now! I alsmost pucked doing it, sinds i have the luck screwing everything up.. but it works!
For some reasen, there are 2 buddypages, and one of the isn't working properly...
*****************
I also want to make it more clear to my members that they have to click on the image to finnally accept the friend..
so.. i want to add afther the text pending buddy's, click on the image to finally accept. How do i insert the image in the textline in php?
just <img=/image/icon.jpg> or something like that?
Where is JOVAN, I sent him many mails. he didnt replied any.
he's probably busy? Have you tried his site? What is the problem you have, maybe someone else can help you?
Yeah. I send a mail to him via his forums too.
well this the place to post if you have a problem. Maybe someone else can help you
Jovan seems only to pop in for an odd post now and again. Probably to ensure that this mod stays 'supported', but it isn't really supported in the true sense anymore.
I dont wish this post to sound negative at all, it isnt meant to be. We're really grateful to people like Jovan for coming up with mods such as these. I do believe though that this mod has so much potential for further development that it's a real shame its not moving forward. IMO it is without doubt the best mod on SMF.
So, much respect to Jovan, but tinged with a bit of sadness that it couldnt be taken further at a reasonable pace.
Regards,
Wilsy.
If Jovan is like half the people here, he's probably in college or school. And with finals coming up for those people, he may be bogged down with studying.
Otherwise, he may just be going through a rough period in life. But that's the reason there are other people in here who offer support for the mod. Perhaps not as comprehensive as Jovan's would be, with his innate knowledge of the mod. But still sufficient for changes and fixes to get made.
Anyways, that's my little response there. I, too, feel that Jovan should be around more. But I suppose it is his choice, or he simply has too much going on in his life. Either way, I don't think this mod should suffer because of it. Why? It still has a few people who give generous support and Jovan is still alive and kicking around here. Better late than never, right?
Is there a port of this for SMF 2.0?
Is it possible for individuals to customize the tables? If so what are the things I'd need to know to allow them too. Like should I know the table names for the different parts? If so what are they?
I'd look in the UltimateProfile.template.php file. If you want to change structure and such, do so at your whim. But make sure you have a backup in case you break it.
When I say individuals I mean any of the members. and when I say customize I meant like change colors
I've copied different themes overall for forum.. but it changes the entire forum. In a way that would seem neat.. but if that were an option it'd be better to allow them to change everything on there.. because certain things like the banner wouldn't be able to be changed.
I am not that familiar with the different parts of the default theme. I've just noticed the thing that changes the actual background (which obv. comes with knowing css)
I actually attempted going through using actual themes but removing some parts to figure out what did what.. but it was too complicated and there aren't enough colors I can identify and remember where it was and came from.
Nope it isn't possible unless you modify the files with php css options and adding fields to the customize profile page. Otherwise, CSS cannot change everything.
Right, the CSS can't change the layout of the pages. Only the style of them. What you're asking is beyond the capabilities of the UP mod for the moment.
Quote from: Eliana Tamerin on May 02, 2008, 09:48:19 AM
Right, the CSS can't change the layout of the pages. Only the style of them. What you're asking is beyond the capabilities of the UP mod for the moment.
I think he is talking about the style -colors- Eliana, and that is possible I guess.
The template file can include a css and it can be set by the custom profile fields:
http://www.unknownbrackets.com/tutorials/custom-profile
you know what would be cool?
if someone went ahead and rearranged the ultimate profile template to match the myspace template and ID'd everything the same. that way people could just copy and paste myspace template code and have their profile look like it would on myspace.
i would take a stab at it but i wouldnt even know where to begin.
Quote from: Eliana Tamerin on April 15, 2008, 01:06:33 AM
Another user experienced this error from another function.
Are you using IIS? http://bugs.php.net/bug.php?id=25863
Yeah. I'm hosting with easycgi.com (yes, it was a mistake, but it's too much trouble to move it) and I'm on a IIS server; I use DotNetNuke for an eCommerce site, so I sort of have to.
The link points to a discussion of the problem that no one has discussed since 2005. The best I can tell, this is going to happen with any IIS server, unless the PHP subsystem is modified, which could cause other PHP based activity to malfunction. I don't think I'll have much luck getting them to change it. So anyone who tries to run this mod, if they are on a IIS (which is apparently 21% of the internet as of last week) will get this error.
Maybe someone could make a IIS friendly fix? I can't, PHP is just not ever going to be a language I speak, my brain got rigid sometime after PASCAL.
A small thing is that I don't want to receive notifications when I post a comment to my own picture ~ haha.
I'm not sure if this has been addressed before as I haven't been online here for some time... :)
Hi all! I've just released the new version, 0.8.5 with some new features and fixed bugs. I should mention that the new version brings picture albums as well as a permission system for editing ultimate profile. See the first message in this topic for more details (changelog).
Also, I would like to say I'm sorry I don't have time to provide 24/7 support for this mod. But, I'm glad there are people willing to help other users. Thanks!
A well sigh of relief, and thanks for the new additions JovanT...Great work on everything :)
JovanT: there's something strange with your latest update. I haven't installed it myself yet, but looking at your test-forum, I see it broken with FireFox 2.0.0.14, but fine with IE 6. I'm running your UP v0.8 on our forum and haven't seen this with the earlier version.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg189.imagevenue.com%2Floc384%2Fth_89983_UP085_FF_122_384lo.jpg&hash=6f0f7bb65c96958b8adcb36f257fe27e9ac0c8fc) (http://img189.imagevenue.com/img.php?image=89983_UP085_FF_122_384lo.jpg) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg43.imagevenue.com%2Floc1166%2Fth_89977_UP085_IE_122_1166lo.jpg&hash=d5ddec2c4bd5643b48ca985c7bd6f508e8668d03) (http://img43.imagevenue.com/img.php?image=89977_UP085_IE_122_1166lo.jpg)
Quote from: JovanT on May 09, 2008, 08:48:22 PM
Also, I would like to say I'm sorry I don't have time to provide 24/7 support for this mod. But, I'm glad there are people willing to help other users. Thanks!
Haha, anyone who expects you to provide support 24/7 is unreasonable and doesn't deserve a response anyway... :P
Thanks for all your hard work, this is one of the most important mods on my forum! :)
Quote from: hugodiaz on May 10, 2008, 02:11:13 AM
Quote from: JovanT on May 09, 2008, 08:48:22 PM
Also, I would like to say I'm sorry I don't have time to provide 24/7 support for this mod. But, I'm glad there are people willing to help other users. Thanks!
Haha, anyone who expects you to provide support 24/7 is unreasonable and doesn't deserve a response anyway... :P
Thanks for all your hard work, this is one of the most important mods on my forum! :)
You'r so right! I'm glad that you took the time to create the mod :D It's also the most important mod of my forum... and yes.. thanks to al the members who is helping you with the support!...
Quote from: 2Ntense on May 09, 2008, 11:30:53 PM
JovanT: there's something strange with your latest update. I haven't installed it myself yet, but looking at your test-forum, I see it broken with FireFox 2.0.0.14, but fine with IE 6. I'm running your UP v0.8 on our forum and haven't seen this with the earlier version.
I've just checked and everything seems fine. I don't get ther error you are experiencing. Have you tried refreshing this page?
Odd... today it looks fine.
Hmmm. Maybe I got a bit-error when I looked the first time, and FF ignored the errored <td> or whatever. And of course since FF does a reasonably good job of caching, it cached the error. That's one of the frustrating things with hypertext protocol: no error detection. LOTS of chatter, but no end-to-end error detection. ::)
hello,
if i upgrade it to the new version, do my members keep there photo's and there tekst they already have entered?
Of course. You shouldn't lose users' data. But, keep in mind that there is no upgrade package. You will have to uninstall the previous version before installing the new one.
oke..then i will do that.. but know that i am trimbling :)
This mod is great.. until you change the site theme.
How so?
Love the idea of this mod, but I can't get it working.
It seems to install fine (I use default theme), but when I try to access my profile I get this message...
Quote
Unknown column 'com.time' in 'field list'
File: /home/*snip*/forum/Sources/Profile.php
Line: 1311
QuoteThis mod is great.. until you change the site theme.
It works fine for me with multiple themes, and I have forced the 'test members' onto various themes and checked the results. No problem here.
I found one small bug... I'll root around and find the offending line later.
When you click the 'add to buddy list' link in a member's profile, the system shoots out a new 'Notifier' message to let them know that you want to be added to their buddy list. The message itself or the function that's
displaying the notifier message is using
memberName instead of
realName. I use a radically different *login* memberName from my *display* realName for security reasons, and the members won't recognize OR be able to find my
login name in the Member List.
Names shown in this example were changed to protect the guilty. :P
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg138.imagevenue.com%2Floc1195%2Fth_12220_buddy0_122_1195lo.jpg&hash=6a773f6b988646336ccb7ac71cd2df292229fef5) (http://img138.imagevenue.com/img.php?image=12220_buddy0_122_1195lo.jpg) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg234.imagevenue.com%2Floc158%2Fth_12221_buddy1_122_158lo.jpg&hash=aa2bfb424a385c482c26c2a77868602995132d7d) (http://img234.imagevenue.com/img.php?image=12221_buddy1_122_158lo.jpg) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg200.imagevenue.com%2Floc100%2Fth_12222_buddy2_122_100lo.jpg&hash=08e3e8f28530869422d6b719c7fd6bcc08be7e28) (http://img200.imagevenue.com/img.php?image=12222_buddy2_122_100lo.jpg) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg142.imagevenue.com%2Floc737%2Fth_12224_buddy3_122_737lo.jpg&hash=b9fa6150b777840a223989bebf758beafe78cd6b) (http://img142.imagevenue.com/img.php?image=12224_buddy3_122_737lo.jpg)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg239.imagevenue.com%2Floc567%2Fth_12224_buddy5_122_567lo.jpg&hash=15853f4e869f535afc833dfb34fbce8e9afa435c) (http://img239.imagevenue.com/img.php?image=12224_buddy5_122_567lo.jpg)
Quote from: seek2501 on May 12, 2008, 08:13:03 PM
Love the idea of this mod, but I can't get it working.
It seems to install fine (I use default theme), but when I try to access my profile I get this message...
Quote
Unknown column 'com.time' in 'field list'
File: /home/*snip*/forum/Sources/Profile.php
Line: 1311
Hi if you try to search for: Unknown column 'com.time' in 'field list' you will receive ceveral pages with the answhere..
But.. here is one of them thats gets you on the way :D
http://www.simplemachines.org/community/index.php?topic=183574.msg1473063#msg1473063 (http://www.simplemachines.org/community/index.php?topic=183574.msg1473063#msg1473063)
I think 0.85 is using realName now for buddy request PMs.
From the changelog:
Quoteversion 0.8.5
- new features:
- picture albums
- support for unlimited number of pictures
- permission for editing ultimate profile
- comment reply option
- better Unicode support
- pending buddy requests
- sorting buddies should work a lot better
- fixed bugs:
- when a user is deleted, buddy lists are updated
- user won't get notifications when commenting his own profile/picture
- display names are now shown instead of usernames in PM notifications
- pictures with "&" in filename can now be uploaded without errors
Is there a way to edd tekstfields without the use of custom fields? The reason i ask, is because when i ad a field using custom fields you can not fill the field within the same page where you add also the tekst of "about me" and "Media"...
Can there also be an extra code where you set not only permission to buddy's to vieuw profile or photo's but also a certain membergroup?
Quote from: Eliana Tamerin on May 13, 2008, 06:20:08 PM
I think 0.85 is using realName now for buddy request PMs.
Agggghhh! You're probably right... I've had so many different packages and
versions of packages on my test site that I forgot I'd backed that one off a notch. I *had* 0.8.5 on there earlier, but a quick check shows 0.8 now. D'oh!
update: yep, it's solid now. Top message from Sunday, bottom message from today with 0.8.5... again. ;D
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg13.imagevenue.com%2Floc657%2Fth_21790_realname_122_657lo.jpg&hash=399ce5815694b95d2d2027e79e68801fe98937a7) (http://img13.imagevenue.com/img.php?image=21790_realname_122_657lo.jpg)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi25.tinypic.com%2F2yyxmaw.jpg&hash=67170ae2d5479f8543076812b6689615eb47d420)
"Neeever mind..." Emily Latella
I finally got everything up running great... THANX for the AWESOME mod! ;D
The only part I cant get to work, is PENDING buddies... That list do not show buddies asked to be, and where you wait for aproval or not.. But rather it shows yourself ONLY as a pending buddie...
Any idea how to fix that?
Also... a cosmetic thing... Not a big deal..
Under the Notifier (bot), where a user get a notification about request for buddy, it says that the PM is sent from Notifier - level Guest... Can I change that somehow? or remove the level part from template?
Thanx :) O:)
SOLVED :D :D :D
Problem with PENDING BUDDIES that does not work in current release of Ultimate Profile..
The function currently does NOT show users that you have asked for to be buddie, but it rather only shows yourself...
Here is the fix
In sources >> Buddies.php
find
// pending buddies
$buddies = array();
$request = db_query ('SELECT BUDDY_ID FROM ' . $db_prefix . 'buddies
WHERE BUDDY_ID = ' . $ID_MEMBER . ' AND approved = 0 AND requested = ' . $ID_MEMBER . '
ORDER BY position ASC, time_updated DESC', __FILE__, __LINE__);
and replace :
// pending buddies
$buddies = array();
$request = db_query ('SELECT BUDDY_ID FROM ' . $db_prefix . 'buddies
WHERE BUDDY_ID <> ' . $ID_MEMBER . ' AND approved = 0 AND requested = ' . $ID_MEMBER . '
ORDER BY position ASC, time_updated DESC', __FILE__, __LINE__);
Actually, the best solution would be to replace "BUDDY_ID = ' . $ID_MEMBER" with "FRIEND_ID = ...", because it works both ways.
Converted v0.8.5 to SMF 2.0 beta 4. Took me several hours, once again :) But since there's no official 2.0 edition, that's fine by me. (I can't share my code because it's not a mod in itself, my version is hardcoded into my cyna.fr website. Sorry if you were interested, but I can help you with your own conversion.)
It works nicely, good job JovanT! And I like the new features. I would have been too lazy to add them myself so it's a win-win situation for me, eheh.
May I simply suggest you tidy up your code before you publish it ;) Unneeded spaces, tabs, etc. and this strange habit of yours of separating function names from parenthesis with a space... Just like that: db_query ('stuff');
Quote from: runebergen on May 15, 2008, 08:36:48 PM
SOLVED :D :D :D
Problem with PENDING BUDDIES that does not work in current release of Ultimate Profile..
The function currently does NOT show users that you have asked for to be buddie, but it rather only shows yourself...
Thanks for reporting this error. I've update the package file. And for all you that installed 0.8.5 already, take a look at this message (http://jovant.guruserve.com/test-forum/index.php?topic=63.msg284#msg284).
Quote from: Nao 尚 on May 16, 2008, 05:28:57 PM
May I simply suggest you tidy up your code before you publish it ;) Unneeded spaces, tabs, etc. and this strange habit of yours of separating function names from parenthesis with a space... Just like that: db_query ('stuff');
Certainly, before submitting this mod to the mod site, I will review SMF's Coding Guide one more time. Can you tell me, where do I used unneeded spaces and tabs (if we don't count those function things :)).
I like separating function names for parenthesis because I think it is easier to read. Maybe it's a strange habit but I love it :). And, I know I should change it sometimes :(.
Quote from: runebergen on May 15, 2008, 08:11:38 PM
Also... a cosmetic thing... Not a big deal..
Under the Notifier (bot), where a user get a notification about request for buddy, it says that the PM is sent from Notifier - level Guest... Can I change that somehow? or remove the level part from template?
If this bothers you, you can always register a new member with the desired name and change those lines of code so that the message is sent by the member you wish.
Quote from: Nao 尚 on May 16, 2008, 05:28:57 PM
Actually, the best solution would be to replace "BUDDY_ID = ' . $ID_MEMBER" with "FRIEND_ID = ...", because it works both ways.
Hmm it was a bit late, I didn't mean "FRIEND_ID" but "ID_MEMBER" obviously.
The query should mean "look for all buddies that are not approved and that I requested. Only keep half of the rows."
Oh well, the other way works anyway, but I think "=" is better than a "<>" and a bit more logical, too...
Apart from that, JovanT > you usually put extra spaces/tabs after the end of lines, or before them, or in empty lines (automatic indentation). The SMF team does it too, but you managed to turn this into an art form in itself ;D To the point that I'm wondering if there's a secret message hidden somewhere! :-X
Quote from: Nao 尚 on May 17, 2008, 03:04:02 AM
Hmm it was a bit late, I didn't mean "FRIEND_ID" but "ID_MEMBER" obviously.
The query should mean "look for all buddies that are not approved and that I requested. Only keep half of the rows."
Oh well, the other way works anyway, but I think "=" is better than a "<>" and a bit more logical, too...
Agree :)
Quote from: JovanT on May 16, 2008, 06:29:16 PM
If this bothers you, you can always register a new member with the desired name and change those lines of code so that the message is sent by the member you wish.
It doesnt bother me, not a bit deal:) the only part I found a bit strange was that the notifier has level GUEST, that all can see.. Just wanted to remove the level display... But I can do that myself...
And just want to say this: Ultimate Profile its by far the VERY BEST mod ever made for SMF... ;D
All my users LOVE it, and it makes being part of my forum a treat... ;)
thanks a lot for your awesome work :)
Idea for possible future feature :
- If you request a buddy, but remove your request before the potential buddy answers his/her PM notifier, the PM asking for accept will still be in his/her inbox, even if you have removed the request. And hence, can not accept it since its removed, but serves to show that the requester removed his request only..
Not a big deal either, but would be cool to keep that "privacy", that removed requests where not displayed as PMs.. But then again, its maybe a bit far going into users inbox and delete such messages :D
Not sure.. :)
If anyone is interested in showing their users mood in their profile and post profiles they can check out my mod
Mood Bobels (http://custom.simplemachines.org/mods/index.php?mod=1195)
I added support for the ultimate profile and it will show your users mood under their position ;)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ftinyadminresources.com%2Fextras%2Fimagehost%2Fscript%2Fuploads%2Fe183a84901.jpg&hash=aa6b3178bc0ec31221912e3668e5e0230c19316f)
Quote from: 2Ntense on April 20, 2008, 04:21:54 PM
Quote from: Eliana Tamerin on March 07, 2008, 02:04:02 PM
That's because the media box doesn't parse bbc. You' d have to fix it parse BBC before you could use the AEVC mod there. For now, you can simply use the embed code found on the video sites.
or do this simple change to allow 'Auto Embed Video Clips' to function within the MEDIA box
find in Themes/default/UltimateProfile.template.php:
<td class="windowbg">
', un_htmlspecialchars ($context['member']['options']['media']) ,'
replace with:
<td class="windowbg">
', parse_bbc ($context['member']['options']['media']) ,'
You'll lose the HTML and CSS support in that box, but get your AEVC working again. Of the two, I'd rather have the added security of AEVC instead of blanket opening up all SWF embeds elsewhere in the forum. I haven't seen any malicious SWF applets, but that doesn't mean that some vicious child won't write one next week.
Is there anyway to center the video inside the media box?
Not sure, but maybe this will work:
<td class="windowbg" align="center">
', parse_bbc ($context['member']['options']['media']) ,'
You could just use [center][/center] tags.
Quote from: [SiNaN] on May 18, 2008, 10:53:14 AM
Not sure, but maybe this will work:
<td class="windowbg" align="center">
', parse_bbc ('[center]' . $context['member']['options']['media'] . '[/center]') ,'
Like this Eliana. :P
I think he wants to do it for all -If I understand what the media box is correctly-.
So adding aling="center" would be the best I think.
Quote from: [SiNaN] on May 18, 2008, 10:53:14 AM
Not sure, but maybe this will work:
<td class="windowbg" align="center">
', parse_bbc ($context['member']['options']['media']) ,'
That centers the video but leaves the align="center"> code to the left of the video box
*edit---oops didnt code it right. Works just fine. Thanks for the help.
I didn't read it that way, SiNaN, but so long as he gets the right code for what he wants.
/me shrugs.
Quote from: Eliana Tamerin on May 18, 2008, 11:22:10 AM
I didn't read it that way, SiNaN, but so long as he gets the right code for what he wants.
/me shrugs.
Heh. No worries. It is just that little things drive me nuts, like items not centered in boxes or things like "Customized profile" instead of "Customized Profile"
Ahh, picky? Yeah, I am too, sometimes.
I'm using MemberAwards mod.
Would it be possible to show 3 random awards or so in a extra box on the profile?
I love this mod but I can't quite get it to work.
I'm using a custom theme. I did have User Control Panel installed, uninstalled that, reinstalled Ultimate Profile...still not working.
I have enabled it for all users in Admin panel. I can see the link for Customized Profile when I go into my profile as Admin. But if I log in as a regular user, that option doesn't exist, although their profile displays like Ultimate Profile.
Also, there isn't any way to add buddies. When you click Edit Buddies, it takes you to the buddy screen, but no way to add anyone.
I hope someone will continue on with this mod! Most of the work is done already, it would seem. Only needs a few adjustments and tweaking.
Would love to be able to use it. :)
Quote from: cassie on May 18, 2008, 05:42:28 PM
I have enabled it for all users in Admin panel. I can see the link for Customized Profile when I go into my profile as Admin. But if I log in as a regular user, that option doesn't exist, although their profile displays like Ultimate Profile.
You should set the appropriate permissions for each user group that you want to be able to edit ultimate profiles.
QuoteAlso, there isn't any way to add buddies. When you click Edit Buddies, it takes you to the buddy screen, but no way to add anyone.
Edit Buddies does what it say - edits buddies. If you want to add someone as a buddy, you should go to his/her profile and click on the "[Add To Buddy List]" link.
QuoteHeh. No worries. It is just that little things drive me nuts, like items not centered in boxes or things like "Customized profile" instead of "Customized Profile"
Sorry, I'm not a native English speaker so I didn't noticed the difference. I forgot you like to capitalize every single word in the title. We don't do that in Serbian language :). Will be fixed in the next release.
Quote from: MTF95 on May 18, 2008, 12:14:06 PM
I'm using MemberAwards mod.
Would it be possible to show 3 random awards or so in a extra box on the profile?
Sorry, I don't have experience with that mod. You should contact the mod author.
Thank you Jovan! That solved my problems :)
Love this mod
For Member awards, just perform any edits on UltimateProfile.template.php as you would on Profile.template.php in your /Themes/default folder.
And JovanT, we don't capitalize ALL words in a title. Just the important ones. It's confusing, but "The Cat in the Hat" is an example. The first "the" is capitalized because it's first, but otherwise it is lowercase, just like "in." "Cat" and "Hat" are capitalized because they are nouns and important to the subject of the book. Sometimes even native English speakers get this wrong, because there are so many exceptions to our rules.
In short, it's English, what do you expect? It's spoken as a national language in several different countries and it has some very unstandardized idiosyncrasies.
is there a version for smf 2 beta?
So I would add this?
// This is the template for the awards
function template_awards()
{
global $context, $modSettings, $txt, $settings;
// Start the template
echo '
<table border="0" cellspacing="1" cellpadding="4" align="center" width="90%" class="bordercolor">
<tr class="titlebg">
<td colspan="', $modSettings['pa_columns'], '">' ,$txt['awards'], '</td>
</tr>';
// Show the amount of awards that a member has
if (!empty($context['countAwards']))
echo '
<tr class="windowbg">
<td colspan="', $modSettings['pa_columns'], '" align="center">
', sprintf($txt['pa_count_badges'], $context['countAwards']), '
</td>
</tr>';
// Check if this memebr has any awards
if (empty($context['awards']))
{
echo '
<tr class="windowbg2">
<td>', $txt['pa_no_badges_member'], '</td>
</tr>';
}
else
{
// Output the results
$counter = 0;
$alternate = true;
$width = 100 / $modSettings['pa_columns'];
foreach ($context['awards'] as $award)
{
// The opening tr tag
if ($counter == 0)
echo '
<tr class="windowbg', $alternate ? '2' : '', '">';
// The actual award
echo '
<td align="center" width="', $width, '%" valign="bottom">
<br />
<a href="', $award['more'], '"><img src="', $award['img'], '" width="', $award['width'], '" height="', $award['height'], '" alt="', $award['awardName'], '" /></a><br />
<strong>', $award['awardName'], '</strong><br />
', $award['gameName'], '<br />
', $txt['months'][$award['time'][1]], ' ', $award['time'][2], ', ', $award['time'][0], '<br />
', $award['favorite']['fav'] == 1 ? str_repeat('<img src="' . $settings['images_url'] . '/star.gif" alt="' . $txt['pa_favorite']. '" />', 5) : '', '</br />
', ($context['user']['is_owner'] && allowedTo('profile_view_own')) || allowedTo('profile_extra_any') ? '<a href="' . $award['favorite']['href'] . ';sesc=' . $context['session_id'] . '">' . $award['favorite']['img'] . '</a>' : '', '
</td>';
// Increase the counter.
$counter++;
// If we have reached the max columsn close it and reset the counter
if ($counter == $modSettings['pa_columns'])
{
echo '
</tr>';
// Reset the counter
$counter = 0;
$alternate = !$alternate;
}
}
// If $counter is not = 0 then we must close the last tr
if ($counter != 0)
{
if ($modSettings['pa_columns'] - $counter > 0)
{
for ($i = 0; $i < $modSettings['pa_columns'] - $counter; $i++)
echo '
<td class="windowbg', $alternate ? '2' : '', '"> </td>';
}
echo '
</tr>';
}
// Show the pages
echo '
<tr class="catbg">
<td align="left" colspan="', $modSettings['pa_columns'], '">
<b>', $txt[139], ':</b> ', $context['page_index'], '
</td>
</tr>';
}
// Close the table
echo '
</table>';
}
function template_awards_members()
{
global $context, $scripturl, $txt;
// Make this shorter
$award = $context['assignedAward'];
// Open the form
echo '
<table width="70%" cellpadding="4" cellspacing="1" border="0" align="center" class="bordercolor">
<tr class="titlebg">
<td colspan="3">', $txt['pa_members_with'], ': ', $award['awardName'], '</td>
</tr>
<tr class="windowbg">
<td colspan="3" align="center">
<img src="', $award['img'], '" alt="', $award['awardName'], '" /><br />
<strong>', $award['awardName'], '</strong><br />
', $award['gameName'], '
</td>
</tr>
<tr class="titlebg">
<td ', empty($context['assignedMembers']) ? 'colspan="2"' : 'colspan="3"', '>', $txt[19], '</td>';
echo '
</tr>';
// Check if there are assigned members
if (empty($context['assignedMembers']))
{
echo '
<tr class="windowbg2">
<td>', $txt['pa_no_assigned_members2'], '</td>
</tr>';
}
else
{
$alternate = true;
$columns = 3;
$width = 100 / $columns;
$counter = 0;
// Loop through the members
foreach($context['assignedMembers'] as $member)
{
// Open it
if ($counter == 0)
echo '
<tr class="windowbg', $alternate ? '2' : '', '">';
// The value
echo '
<td width="', $width, '">', $member['link'], '</td>';
// Increase $i
$counter++;
// Close it
if ($counter == $columns)
{
echo '
</tr>';
// Reset the counter
$counter = 0;
$alternate = !$alternate;
}
}
// If $counter is not = 0 then we must close the last tr
if ($counter != 0)
{
if ($columns - $counter > 0)
{
for ($i = 0; $i < $columns - $counter; $i++)
echo '
<td class="windowbg', $alternate ? '2' : '', '" width="', $width, '"> </td>';
}
echo '
</tr>';
}
}
// Close the table
echo '
</table>';
}
Quote from: runebergen on May 17, 2008, 11:05:41 AM
Idea for possible future feature :
- If you request a buddy, but remove your request before the potential buddy answers his/her PM notifier, the PM asking for accept will still be in his/her inbox, even if you have removed the request. And hence, can not accept it since its removed, but serves to show that the requester removed his request only..
Not a big deal either, but would be cool to keep that "privacy", that removed requests where not displayed as PMs.. But then again, its maybe a bit far going into users inbox and delete such messages :D
Not sure.. :)
This is interesting. It is actually possible technically to do this (a simple sql query with a carefully crafted "DELETE FROM"), but I'm not sure it's very ethical. After all, what if a user reads a friend request, does nothing while thinking about it, and when they come back to their PMs, they can't find the request anymore? They will immediately think of piracy...
Maybe the PM could be removed if it hasn't been read (just a simple flag to check), and if it has, a new PM could be sent, stating that the original requester has changed their mind.
Hello,
sotimes when a member tries to upload photo's, they receive an error that someting whent wrong with writing the photo away.. does anybody know what it is?
Kind Regards,
Cynthia
Quote from: Eliana Tamerin on May 18, 2008, 11:22:10 AM
I didn't read it that way, SiNaN, but so long as he gets the right code for what he wants.
/me shrugs.
I like your using words that I don't know. :P
Note: While I quoted your post, I saw this:
[me=Eliana Tamerin]shrugs.[/me]
I was doing it like this before; :D
[color=red]* Eliana Tamerin shrugs.[/color]
Ahh, well, it's actually
/me shrugs/me shrugs
Hımmm, interesting. I like that. :)
/me just tries it. :P
So I would add this for showing awards?
// This is the template for the awards
function template_awards()
{
global $context, $modSettings, $txt, $settings;
// Start the template
echo '
<table border="0" cellspacing="1" cellpadding="4" align="center" width="90%" class="bordercolor">
<tr class="titlebg">
<td colspan="', $modSettings['pa_columns'], '">' ,$txt['awards'], '</td>
</tr>';
// Show the amount of awards that a member has
if (!empty($context['countAwards']))
echo '
<tr class="windowbg">
<td colspan="', $modSettings['pa_columns'], '" align="center">
', sprintf($txt['pa_count_badges'], $context['countAwards']), '
</td>
</tr>';
// Check if this memebr has any awards
if (empty($context['awards']))
{
echo '
<tr class="windowbg2">
<td>', $txt['pa_no_badges_member'], '</td>
</tr>';
}
else
{
// Output the results
$counter = 0;
$alternate = true;
$width = 100 / $modSettings['pa_columns'];
foreach ($context['awards'] as $award)
{
// The opening tr tag
if ($counter == 0)
echo '
<tr class="windowbg', $alternate ? '2' : '', '">';
// The actual award
echo '
<td align="center" width="', $width, '%" valign="bottom">
<br />
<a href="', $award['more'], '"><img src="', $award['img'], '" width="', $award['width'], '" height="', $award['height'], '" alt="', $award['awardName'], '" /></a><br />
<strong>', $award['awardName'], '</strong><br />
', $award['gameName'], '<br />
', $txt['months'][$award['time'][1]], ' ', $award['time'][2], ', ', $award['time'][0], '<br />
', $award['favorite']['fav'] == 1 ? str_repeat('<img src="' . $settings['images_url'] . '/star.gif" alt="' . $txt['pa_favorite']. '" />', 5) : '', '</br />
', ($context['user']['is_owner'] && allowedTo('profile_view_own')) || allowedTo('profile_extra_any') ? '<a href="' . $award['favorite']['href'] . ';sesc=' . $context['session_id'] . '">' . $award['favorite']['img'] . '</a>' : '', '
</td>';
// Increase the counter.
$counter++;
// If we have reached the max columsn close it and reset the counter
if ($counter == $modSettings['pa_columns'])
{
echo '
</tr>';
// Reset the counter
$counter = 0;
$alternate = !$alternate;
}
}
// If $counter is not = 0 then we must close the last tr
if ($counter != 0)
{
if ($modSettings['pa_columns'] - $counter > 0)
{
for ($i = 0; $i < $modSettings['pa_columns'] - $counter; $i++)
echo '
<td class="windowbg', $alternate ? '2' : '', '"> </td>';
}
echo '
</tr>';
}
// Show the pages
echo '
<tr class="catbg">
<td align="left" colspan="', $modSettings['pa_columns'], '">
<b>', $txt[139], ':</b> ', $context['page_index'], '
</td>
</tr>';
}
// Close the table
echo '
</table>';
}
function template_awards_members()
{
global $context, $scripturl, $txt;
// Make this shorter
$award = $context['assignedAward'];
// Open the form
echo '
<table width="70%" cellpadding="4" cellspacing="1" border="0" align="center" class="bordercolor">
<tr class="titlebg">
<td colspan="3">', $txt['pa_members_with'], ': ', $award['awardName'], '</td>
</tr>
<tr class="windowbg">
<td colspan="3" align="center">
<img src="', $award['img'], '" alt="', $award['awardName'], '" /><br />
<strong>', $award['awardName'], '</strong><br />
', $award['gameName'], '
</td>
</tr>
<tr class="titlebg">
<td ', empty($context['assignedMembers']) ? 'colspan="2"' : 'colspan="3"', '>', $txt[19], '</td>';
echo '
</tr>';
// Check if there are assigned members
if (empty($context['assignedMembers']))
{
echo '
<tr class="windowbg2">
<td>', $txt['pa_no_assigned_members2'], '</td>
</tr>';
}
else
{
$alternate = true;
$columns = 3;
$width = 100 / $columns;
$counter = 0;
// Loop through the members
foreach($context['assignedMembers'] as $member)
{
// Open it
if ($counter == 0)
echo '
<tr class="windowbg', $alternate ? '2' : '', '">';
// The value
echo '
<td width="', $width, '">', $member['link'], '</td>';
// Increase $i
$counter++;
// Close it
if ($counter == $columns)
{
echo '
</tr>';
// Reset the counter
$counter = 0;
$alternate = !$alternate;
}
}
// If $counter is not = 0 then we must close the last tr
if ($counter != 0)
{
if ($columns - $counter > 0)
{
for ($i = 0; $i < $columns - $counter; $i++)
echo '
<td class="windowbg', $alternate ? '2' : '', '" width="', $width, '"> </td>';
}
echo '
</tr>';
}
}
// Close the table
echo '
</table>';
}
I'm not familiar with the mod. Maybe JovanT's site would be a better place to post your question so that Jovan sees it.
I have Karma Description Mod on my board as well. After installing the Ultimate Profile, the links in the profile where people can check who gave them Karma or who they gave Karma to are gone.
Should I try uninstalling Ultimate Profile, Uninstalling Karma Mod, reinstalling Ultimate, then Karma mod? Do you think that might solve the problem, or is there something else I should do?
I posted this on the Karma Desc board as well, not to double post but in case no one here knows about the Karma mod to answer the question.
Thanks! :)
Apply any edits to UltimateProfile.template.php that you would to Profile.template.php.
I can get the first set of edits for the Karma mod applied to UltimateProfile.template.php, but the second section of code to find and replace, I can't find in UltimateProfile.template.php.
If anyone can help me with this, I would appreciate it. I know I'm not the only one with the Karma description mod installed. If you don't make some edits to the UltimateProfile.template, then your members can't check there Karma because the links do not appear in their profile.
Thank you :)
Will this mod work with a SMF 1.1.5 / TinyPortal 0.9.83 site?
Yes, I'm using it right now on a site with that configuration.
Yea Baby!!(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwherethetrailends.com%2FSmileys%2Fclassic%2Fbender_dance.gif&hash=3362d536f97dee2fdc52247e6ca640f02db646f3)
So one question before I go for it.
If I install version 0.8.5, then I upgrade to the next version (when it comes out), will all my users have to redo their Ultimate Profile, or will their info travel over to the next version?
I know this is kinda asking a future question, which is unanswerable, but I'm more looking for the experience from you webmasters that have upgraded from previous versions to this one.
The info should stay just fine.
Now this afternoon I'm getting this error when I try to accept someone as a buddy:
"Session verification failed. Please try logging out and back in again, and then try again."
I tried to log off, but it won't log me off. I tried to go into the Admin panel, but it gives me the same error when I enter my password.
Any answers?
How can I remove this mod without being able to access the Admin panel?
Help! :)
Almost had an issue.
After install, which showed no errors, I clicked Customize Profile and all I got was this error
"Unable to load the 'customized' template."
I did some site searches and only found one hit that was about 20 pages ago in this topic. It was someone else with this issue, and not informative as far as a fix.
As a last ditch effort, I tried a Package Parser (for the first time) just to see if it was a theme related upload error, or missing files.
I used Gamerz Garage SMF Package Parser (http://www.gamerzgarage.com/package.php), by Daniel15
Configured it for SMF 1.1.5 (my version, use your own)
Operation: Install
Show: Only Theme edits (editing a theme to support a mod)
After about 2 minutes of Find and Replace in my themes Profile.template.php, it seems as if the Mod is working perfectly.
I'm not posting this to get help, but more to help anyone else with this issue, since there are limited search results for "Unable to load the 'customized' template."
Hope this helps someone else out there ;)
I'm running
SMF 1.1.5
TinyPortal 0.9.83
PHP5.2.5
MySQL 4.1
IIS6
Window Server 2003
Does anyone have a list of all the HTML tags supported by this mod? I'm noticing that some of the tags I'm trying to use are not supported, like the < h2 > tag (spaces added as to not screw with the formatting of this site).
I'm sure this is going to be one of the first questions my users ask once they figure out this mod is in place.
...and how do you change the background? I was under the assumtion that this could be done to this mod through CSS, but I've been unsuccessfull so far.
I've searched for a READ_ME file in the package, but no luck, there isn't one that I could find.
Just an FYI...
My host had some server issues yesterday. I'm wondering if that may have been the problem.
I got an error this morning when trying to access the forum that a table had crashed (the smf_sessions table) and repaired the database. So far, things are working again with this mod.
I could still use some assistance with getting the Karma stat links in the Ultimate Profile (from my previous post.)
Thanks! :)
Quote from: ∑£ℓ¢†®¡¢ §ợų¡đ on May 21, 2008, 09:00:43 AM
...and how do you change the background? I was under the assumtion that this could be done to this mod through CSS, but I've been unsuccessfull so far.
I've searched for a READ_ME file in the package, but no luck, there isn't one that I could find.
If you go into the profile and then click on Customized profile, at the bottom of that screen is an input box for HTML/CSS to customize it.
I haven't played with that yet...
will be soon versione for smf 2?
Quote from: cassie on May 21, 2008, 09:26:00 AM
Quote from: ∑£ℓ¢†®¡¢ §ợų¡đ on May 21, 2008, 09:00:43 AM
...and how do you change the background? I was under the assumption that this could be done to this mod through CSS, but I've been unsuccessfully so far.
I've searched for a READ_ME file in the package, but no luck, there isn't one that I could find.
If you go into the profile and then click on Customized profile, at the bottom of that screen is an input box for HTML/CSS to customize it.
I haven't played with that yet...
Thanks for the reply.
I found the answer to that one in my forum's theme CSS template. Quick copy and paste did the trick.
Right now I'm working on a master CSS cheat sheet I can give my users so even the non-tech-savvy user can build a great page. The CSS stuff I pretty much figured out.
But I noticed when I tryed to add an < h2> < /h2> tag to a field that says you can use HTML, when it saved, the < h2> < /h2> tags were removed. I have read in this topic that some tags and scripts are somehow purged from the code on upload. I am fine with that. I am looking for a safe list of ones that aren't so I can share that with my users. Otherwise they are going to think it's not working, ask me about it, and want to know what tags they can use.
I'm not much of an admin if I can't give them an answer :P
Here's where I read the thing about some HTML being dumped
http://jovant.guruserve.com/test-forum/index.php?PHPSESSID=8pl6evc76bk5d0r5kveu4g5na2&topic=16.msg52#msg52 (http://jovant.guruserve.com/test-forum/index.php?PHPSESSID=8pl6evc76bk5d0r5kveu4g5na2&topic=16.msg52#msg52)
If you have read my forum, you should also see this topic (http://jovant.guruserve.com/test-forum/index.php?topic=20.0) which explains how to alter the list of allowed tags.
Quote from: edi67 on May 21, 2008, 12:11:56 PM
will be soon versione for smf 2?
No, until SMF2 become stable. Until then, I'll focus on maintaining the SMF 1.1.x version.
You ROCK JovanT !!
That was exactly what I needed.
Thank You for such a COOL mod.
Quote from: JovanT on May 21, 2008, 03:36:18 PM
No, until SMF2 become stable. Until then, I'll focus on maintaining the SMF 1.1.x version.
From what we know, and the official word is, version 2 is feature-complete now. No further database/code structure modifications will be implemented until the following major update. You can safely work on it.
As a sidenote -- if you have any problems converting to SMF2, feel free to PM me about it. As I said earlier, my SMF2 version of Ultimate Profile is running fine, so I might be able to help.
Yes, but there can still be code revisions, which alters how features are implemented. While the features themselves may not change, the way they are coded can, and that's what can break mods.
Quote from: [SiNaN] on May 19, 2008, 12:24:13 PM
Hımmm, interesting. I like that. :)
/me just tries it. :P
hmm...
/me didnt know that
What about people that members designated as buddies prior to the installation of Ultimate Profile?
I have a member who can't add someone she had listed as a buddy before and that person doesn't show up on her buddy list in the new Ultimate Profile either.
check this out at JovanTs support site
http://jovant.guruserve.com/test-forum/index.php?topic=15.0
Thank you Lord Anubis. I followed those directions. I will post my further questions about this mod over there on that support forum. :)
Anyway to get the Member Awards Mod to show on the profiles?
What CSS id controls the Add a Comment and My Pictures text color in SMF 1.1.4 / 1.1.5?
I have the rest figured out and gave my users an easy to use Sample CSS code, cause I want everyone to be able to modify ;D , but I can't seem to be able to nail down that one control.
Quote from: Shadow_KC on May 26, 2008, 12:51:02 AM
Anyway to get the Member Awards Mod to show on the profiles?
I am truely tired of seeing messages like this in this topic. Use the search!!
Here is the answer: You have to manually install it.
um...thanks for being rude. I USED the search feature. I tried to manually install it, I have no idea what I'm supposed to add to the UltimateProfile.template.php (or whatever name it is) for the awards to show up, and apparently I didn't find it by searching or I wouldn't have asked. If you don't want to help, say so, don't be rude about it.
I'm sorry I'm not a master of php
And yea, I installed the Mod, it works just fine, but I need to know what and where to put the code for it to show on ultimate profiles, but if no one knows, then who cares, don't complain.
Oh, and I contacted the author of the Mod. I've seen no support for it and havn't got a reply yet. If there's a topic on here that has a way of doing this, please post a link for me, I'd really appreciate that.
If not, I guess I'll have to learn php
Did you try JovanT's support forum (http://jovant.guruserve.com/test-forum/index.php) that he links to in the first post?
LOVING THIS MOD!! IT ROCKS
Could someone please help me with a certain piece of code? O:)
Might even be a good new feature for Ulti-Profile...
If the user have set his profile to "Only buddies can view my customized profile", I want to show a page with following message only :
"This profile has been set to private"
Anyone that know a good way of getting that done ?
Thanks in advance
Rune
[solved] ;D
comment out all inside function template_summary() .. you find this in profile.template.php
.. and add your custom message within the function..
function template_summary() { /* comment out all content */
echo 'This profile is set to private'; // Or what ever else output you want
}
Quote from: Eliana Tamerin on May 27, 2008, 11:18:45 AM
Did you try JovanT's support forum (http://jovant.guruserve.com/test-forum/index.php) that he links to in the first post?
Yes, but he specifically said in a post not to ask him, to contact the mod author, well since niether worked, I was hoping someone else had already solved this problem.
I made a support request on his support forum, but as far as I know, there's been no replies.
Also, the private profile script is useful, thanks for posting it :D
Quote from: Shadow_KC on May 27, 2008, 01:34:19 PM
I made a support request on his support forum, but as far as I know, there's been no replies.
Also, the private profile script is useful, thanks for posting it :D
thanx :D
As for your request, there is a part in the UltimateProfile.Template.php file for custom code...
Search for :
// This section is optional. You can paste code and display fields from Custom Profile fields mod.
// PASTE YOUR CODE HERE
Add the code needed to show the awards there...
I'll look in the awards php, if you dont know how.. :)
Quote from: runebergen on May 27, 2008, 01:39:29 PM
Quote from: Shadow_KC on May 27, 2008, 01:34:19 PM
I made a support request on his support forum, but as far as I know, there's been no replies.
Also, the private profile script is useful, thanks for posting it :D
thanx :D
As for your request, there is a part in the UltimateProfile.Template.php file for custom code...
Search for :
// This section is optional. You can paste code and display fields from Custom Profile fields mod.
// PASTE YOUR CODE HERE
Add the code needed to show the awards there...
I'll look in the awards php, if you dont know how.. :)
I appreciate it :D
I have tried to put the code in, but I did it wrong because I got templat parse errors, if you could get the code for it that would be great!
installation failed with me at profile.php so I manually edit it
but when i checks my profile, this error message appears... what does it mean?
Fatal error: Cannot redeclare template_customized() (previously declared in /home/*******/public_html/forums/Sources/Load.php(1901) : eval()'d code:1937) in /home/*******/public_html/forums/Sources/Load.php(1901) : eval()'d code on line 2367
looks like you installed the mod twice, or when you uninstalled a previous version it never cleared out the Load.php file
you will have to manually delete any duplicate code in this file, you might want to start with line 2367 ;)
Great Mod!!!
Wondering though how can I make in the Customization Box, a header photo to be default on all profiles.
For example, Simply making <img src="http://mysite.com/images/image.jpg" />
as default in every profiles Customization Box.
thx
Great mod! Really looking forward to getting it setup right. Unfortunately I'm currently getting the following error when accessing a Profile.
Parse error: syntax error, unexpected T_FUNCTION, expecting '{' in .../Themes/default/Profile.template.php on line 1717
Here is that section of code.
1708: if ($context['show_spellchecking'])
1709: echo '
1710: <form action="', $scripturl, '?action=spellcheck" method="post" accept-charset="', $context['character_set'], '" name="spell_form" id="spell_form" target="spellWindow"><input type="hidden" name="spellstring" value="" /></form>';
1711: }
1712:
1713: // Template for showing theme settings. Note: template_options() actually adds the theme specific options.
1714: function template_theme()
1715:
1716: // Template for profile specific options - about me, interests, customization...
1717: function template_customized()
1718: {
1719: global $context, $settings, $options, $scripturl, $modSettings, $txt;
1720:
1721: // The main containing header.
I can't find any other mentions of "function template_customized()" within any other files. If I remove that huge piece of Ultimate Profile code from Profile.template.php the profile becomes accessible and looks ok (can add pictures and comments) but the "Customize Profile" link does not work. It gives an error of "
Fatal error: Cannot redeclare class inputfilter in /home/isaracom/public_html/forum/Sources/InputFilter.php on line 12" which another member previously mentioned.
I have only installed the mod once and there was only one error while installing. The error was for Profile.template.php so I manually made the changes to it ...and have triple checked the changes.
Any help you can provide would be greatly appreciated. :)
Update: For some reason I can now view Profiles with the function template_customized () in place on Profile.template.php. Not sure what happened. BUT when I click the "Customize Profile" it still gives the InputFilter error. I opened Profile.php and commented out:
require_once $sourcedir . '/InputFilter.php';
That makes the previous error go away but when the page loads it says "Unable to load the 'customized' template."
Any ideas?
Quote from: ∑£ℓ¢†®¡¢ §ợų¡đ on May 26, 2008, 10:19:15 PM
What CSS id controls the Add a Comment and My Pictures text color in SMF 1.1.4 / 1.1.5?
I haven't tested but you can try something like
#pictures .titlebg a
#post_comments .titlebg a
Quote from: shiver on May 29, 2008, 03:20:36 AM
Wondering though how can I make in the Customization Box, a header photo to be default on all profiles.
Do you want to display code by default on every profile so that users can remove it if they want or you don't want your users to be able to remove it?
@isara
You should manually install my mod again to Profile.template.php. Obviously, you've made some error. Maybe you should use some Package Parser for easier installing?
Quote from: JovanT on May 30, 2008, 06:38:59 AM
Do you want to display code by default on every profile so that users can remove it if they want or you don't want your users to be able to remove it?
Hey JovanT, thanks for the reply. I would like it if users could remove or change it to whatever they like.
Just to be default so that everyone starts off with a nice profile header.
Love this mod BTW, by far my favorite!
Thanks for all the work you've put into this!
What controls the Add a Comment and My Pictures text color? SMF 1.1.5
UPDATE!!! TinyPortal Block
(USE A PHP BLOCK)
Updated Profile Image Upload Block for Ultimate Profile 0.8.5 (only uploads to the Basic Album ATM)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ftinyadminresources.com%2Fextras%2Fimagehost%2Fscript%2Fuploads%2F6a8b516018.jpg&hash=2169c0936793e20b7df2f1bda1186bf99eb7a81c)
*NOTE - CHANGE http://www.yoursite.com to the url of your website*
global $context, $scripturl, $settings, $txt;
echo '
<form action="http://www.yoursite.com/index.php?action=profile;sa=pictures;add2" method="post" accept-charset="', $context['character_set'], '" name="picture" id="picture" enctype="multipart/form-data">
Title:<br />
<input type="text" name="title" size="10" value="', @$context['picture_title'] ,'" /><br />';
echo '
Description:<br />
<input type="text" name="description" size="15">', @$context['picture_description'] ,'</textarea><br />';
echo '
Parent Album:<br />
<select name="album_id" id="album_id">
<option value="0">Basic album</option>';
foreach ($context['album_tree'] as $album)
{
echo '
<option value="', $album['id'] ,'"', (@$context['album_parent'] == $album['id']) ? ' selected="selected"' : '', '> ' . str_repeat('=', $album['level']) . '=> ' . $album['title'] . '</option>';
}
echo '
</select><br />';
echo '
Find Photos:<br />
<input type="file" size="10" name="picture" /><br />';
echo '
<input type="submit" value="', $txt[10], '" />
<input type="hidden" name="sc" value="', $context['session_id'], '" />
</form>';
Awesome Block for TP !!! thanks!!!!!!!!
Your welcome! Hopefully others find it handy as well :)
Quote from: Lord Anubis on May 31, 2008, 02:47:05 AM
UPDATE!!! TinyPortal Block
(USE A PHP BLOCK)
Updated Profile Image Upload Block for Ultimate Profile 0.8.5 (only uploads to the Basic Album ATM)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ftinyadminresources.com%2Fextras%2Fimagehost%2Fscript%2Fuploads%2F6a8b516018.jpg&hash=2169c0936793e20b7df2f1bda1186bf99eb7a81c)
*NOTE - CHANGE http://www.yoursite.com to the url of your website*
global $context, $scripturl, $settings, $txt;
echo '
<form action="http://www.yoursite.com/index.php?action=profile;sa=pictures;add2" method="post" accept-charset="', $context['character_set'], '" name="picture" id="picture" enctype="multipart/form-data">
Title:<br />
<input type="text" name="title" size="10" value="', @$context['picture_title'] ,'" /><br />';
echo '
Description:<br />
<input type="text" name="description" size="15">', @$context['picture_description'] ,'</textarea><br />';
echo '
Parent Album:<br />
<select name="album_id" id="album_id">
<option value="0">Basic album</option>';
foreach ($context['album_tree'] as $album)
{
echo '
<option value="', $album['id'] ,'"', (@$context['album_parent'] == $album['id']) ? ' selected="selected"' : '', '> ' . str_repeat('=', $album['level']) . '=> ' . $album['title'] . '</option>';
}
echo '
</select><br />';
echo '
Find Photos:<br />
<input type="file" size="10" name="picture" /><br />';
echo '
<input type="submit" value="', $txt[10], '" />
<input type="hidden" name="sc" value="', $context['session_id'], '" />
</form>';
Nice Block M'Lord!
Lord Anubis, why don't you just call $scripturl instead of writing "http://www.yoursite.com"? You've got it declared as a global.
I dunno, go ahead and rewrite :P
This was a quick and sloppy solution as I was a bit drunk when I wrote it :)
Hows about giving a solution on getting it to pull other album data, thats what I am more worried bout
Downlod and demo links not working now...
No problem, now working...
Quote from: weightman on February 21, 2008, 04:49:27 PM
I get this error when I click "Customized Profile" from my profile. Any ideas? Thanks in advance
Fatal error: Cannot redeclare class inputfilter in /home/xxxxxx/public_html/smf/Sources/InputFilter.php on line 12
I had the same error as weightman and just figured out why. If you're using the Joomla Bridge for SMF then it will give this error. I tried it with the Bridge and without it on numerous fresh installs of SMF 1.1.5 and Ultimate Profile 0.8.5 . The only time it gave the InputFilter error was when I used the bridge.
Does anyone have any ideas how to remedy this problem? Either by removing the InputFilter from Ultimate Profile or by blocking it from Joomla? Thanks.
Quote from: GliG on May 31, 2008, 11:54:40 AM
Downlod and demo links not working now...
They work for me
GO HERE
http://jovant.guruserve.com/test-forum/index.php
and to DOWNLOAD
http://jovant.guruserve.com/projekti/smf/ultimate_profile/ultimate_profile_0-8-5.zip
Quote from: shiver on May 29, 2008, 03:20:36 AM
Great Mod!!!
Wondering though how can I make in the Customization Box, a header photo to be default on all profiles.
For example, Simply making <img src="http://mysite.com/images/image.jpg" />
as default in every profiles Customization Box.
thx
Quote from: shiver on May 30, 2008, 05:06:24 PM
Quote from: JovanT on May 30, 2008, 06:38:59 AM
Do you want to display code by default on every profile so that users can remove it if they want or you don't want your users to be able to remove it?
Hey JovanT, thanks for the reply. I would like it if users could remove or change it to whatever they like.
Just to be default so that everyone starts off with a nice profile header.
Can anyone help?? :(
^ Please? Anyone? :)
Quote from: shiver on June 07, 2008, 08:38:26 PM
^ Please? Anyone? :)
Maybe this will help you:
UltimateProfile.template.php
Find:
if ($modSettings['profile_allow_customize'] == 1)
echo '
<!-- start of user\'s customization code -->
',
un_htmlspecialchars (@$context['member']['options']['css'])
, '
<!-- end of user\'s customization code -->
';
Replace:
if ($modSettings['profile_allow_customize'] == 1 && !empty($context['member']['options']['css'])) {
echo '
<!-- start of user\'s customization code -->
',
un_htmlspecialchars (@$context['member']['options']['css'])
, '
<!-- end of user\'s customization code -->
';
}
elseif ($modSettings['profile_allow_customize'] == 1) {
echo '<img src="ADRESS" />';
}
Thanks SiNaN!!
Tried it and received the following on the profile page...
Template Parse Error!
It seems something has gone sour on the forum with the template system. This problem should only be temporary, so please come back later and try again. If you continue to see this message, please contact the administrator.
You can also try refreshing this page.
Probably because of the <br /> error on this site.
I removed the comment lines. Can you try the codes again.
Still the same error i'm afraid.
Hımmm, interesting that it works perfect for me.
Can you attach your UltimateProfile.template.php file here after making the edit I gave above?
Yes, no problem...
<?php
// Version: 0.8.5; UltimateProfile
// This file is a part of Ultimate Profile mod
// Author: Jovan Turanjanin
function template_summary2()
{
global $context, $settings, $options, $scripturl, $modSettings, $txt, $db_prefix,$ID_MEMBER;
// Output user's customization code.
if ($modSettings['profile_allow_customize'] == 1 && !empty($context['member']['options']['css'])) {
echo '
<!-- start of user\'s customization code -->
',
un_htmlspecialchars (@$context['member']['options']['css'])
, '
<!-- end of user\'s customization code -->
';
}
elseif ($modSettings['profile_allow_customize'] == 1) {
echo '<img src="http://MYSAMPLESITE.COM/images/myprofile.jpg" />';
}
// Do the containing table and table header.
echo '
<table border="0" cellpadding="4" cellspacing="1" align="center" id="profile_info" width="100%">';
// Do the left hand column - where all the important user info is displayed.
echo '
<tr>
<td width="50%" id="profile_left" valign="top">
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="summary">
<tr>
<td class="titlebg" height="26" align="center">
<img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" align="top" />
', $txt['summary'], ' - ', $context['member']['name'], '
</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td width="30%" align="center">
', $context['member']['avatar']['image'], '<br /><br />
<i>', $settings['use_image_buttons'] ? '<img src="' . $context['member']['online']['image_href'] . '" alt="' . $context['member']['online']['text'] . '" align="middle" />' : $context['member']['online']['text'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $context['member']['online']['text'] . '</span>' : '', '</i>
</td>
<td>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td><b>', $txt[68], ': </b></td>
<td>', $context['member']['name'], '</td>
</tr>';
if (!empty($modSettings['titlesEnable']) && $context['member']['title'] != '')
{
echo '
<tr>
<td><b>', $txt['title1'], ': </b></td>
<td>', $context['member']['title'], '</td>
</tr>';
}
echo '
<tr>
<td colspan="2" style="padding-bottom: 1em;"><i>', $context['member']['blurb'], '</i></td>
</tr>
<tr>
<td><b>', $txt[86], ': </b></td>
<td>', $context['member']['posts'], ' (', $context['member']['posts_per_day'], ' ', $txt['posts_per_day'], ')</td>
</tr><tr>
<td><b>', $txt[87], ': </b></td>
<td>', (!empty($context['member']['group']) ? $context['member']['group'] : $context['member']['post_group']), '</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="info1">
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td><b>', $txt[231], ': </b></td>
<td>', $context['member']['gender']['image'] ,' ', $context['member']['gender']['name'], '</td>
</tr>
<tr>
<td><b>', $txt[420], ':</b></td>
<td>', $context['member']['age'] . ($context['member']['today_is_birthday'] ? ' <img src="' . $settings['images_url'] . '/bdaycake.gif" width="40" alt="" />' : ''), '</td>
</tr>
<tr>
<td><b>', $txt[227], ':</b></td>
<td>', $context['member']['location'], '</td>
</tr>
<tr>
<td><b>', $txt[233], ': </b></td>
<td>', $context['member']['registered'], '</td>
</tr>
<tr>
<td><b>', $txt['lastLoggedIn'], ': </b></td>
<td>', $context['member']['last_login'], '</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
';
// Messenger type information.
echo ' <table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="contact">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['profile_contact'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">';
// Can they add this member as a buddy?
if (!empty($context['can_have_buddy']) && !$context['user']['is_owner'] && !$context['member']['is_buddy'] )
echo '
<tr>
<td colspan="2"><img src="', $settings['images_url'] ,'/icons/online.gif" alt="" /> <a href="', $scripturl, '?action=buddies;sa=add;u=', $context['member']['id'], ';sesc=', $context['session_id'], '" onclick="javascript:return confirm(¥'', $txt['buddy_explanation'] ,'¥')">[', $txt['buddy_add'], ']</a></td>
</tr>';
if (!$context['user']['is_owner'] && $context['can_send_pm'])
echo '
<tr>
<td colspan="2"><img src="', $settings['images_url'] ,'/icons/pm_read.gif" alt="" /> <a href="', $scripturl, '?action=pm;sa=send;u=', $context['member']['id'], '">', $txt[688], '.</a></td>
</td>';
if ((!empty($context['can_have_buddy']) && !$context['user']['is_owner']) || (!$context['user']['is_owner'] && $context['can_send_pm']))
echo '
<tr>
<td colspan="2"> </td>
</tr>';
if ($context['member']['icq']['link_text'] != '')
echo ' <tr>
<td><img src="', $settings['images_url'] ,'/icq.gif" alt="', $txt[513], '" /></td>
<td valign="middle">', $context['member']['icq']['link_text'], '</td>
</tr>';
if ($context['member']['aim']['link_text'] != '')
echo ' <tr>
<td><img src="', $settings['images_url'] ,'/aim.gif" alt="', $txt[603], '" /></td>
<td valign="middle">', $context['member']['aim']['link_text'], '</td>
</tr>';
if ($context['member']['msn']['link_text'] != '')
echo '
<tr>
<td><img src="', $settings['images_url'] ,'/msntalk.gif" alt="', $txt['MSN'], '" /></td>
<td valign="middle">', $context['member']['msn']['link_text'], '</td>
</tr>';
if ($context['member']['yim']['link_text'] != '')
echo '
<tr>
<td><img src="', $settings['images_url'] ,'/yim.gif" alt="', $txt[604], '" /></td>
<td valign="middle">', $context['member']['yim']['link_text'], '</td>
</tr>';
echo '
<tr>
<td><img src="', $settings['images_url'] ,'/email_sm.gif" alt="', $txt[69], '" /></td>
<td valign="middle">';
// Only show the email address if it's not hidden.
if ($context['member']['email_public'])
echo '
<a href="mailto:', $context['member']['email'], '">', $context['member']['email'], '</a>';
// ... Or if the one looking at the profile is an admin they can see it anyway.
elseif (!$context['member']['hide_email'])
echo '
<i><a href="mailto:', $context['member']['email'], '">', $context['member']['email'], '</a></i>';
else
echo '
<i>', $txt[722], '</i>';
// Some more information.
echo '
</td>
</tr>';
if ($context['member']['website']['url'] !== '')
echo '
<tr>
<td><img src="', $settings['images_url'] ,'/www.gif" alt="', $txt[96], '" /></td>
<td><a href="', $context['member']['website']['url'], '" target="_blank">', $context['member']['website']['title'], '</a></td>
</tr>';
echo '
</table>
</td>
</tr>
</table>
<br />
';
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="info2">
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td colspan="2" height="25">
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="table-layout: fixed;">
<tr>
<td style="padding-bottom: 0.5ex;"><b>', $txt[85], ':</b></td>
</tr>
<tr>
<td colspan="2" width="100%" class="smalltext"><div class="signature">', $context['member']['signature'], '</div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr>';
// Is this member requiring activation and/or banned?
if (!empty($context['activate_message']) || !empty($context['member']['bans']))
{
echo '
<tr>
<td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr>';
// If the person looking at the summary has permission, and the account isn't activated, give the viewer the ability to do it themselves.
if (!empty($context['activate_message']))
echo '
<tr>
<td colspan="2">
<span style="color: red;">', $context['activate_message'], '</span> (<a href="' . $scripturl . '?action=profile2;sa=activateAccount;userID=' . $context['member']['id'] . ';sesc=' . $context['session_id'] . '" ', ($context['activate_type'] == 4 ? 'onclick="return confirm(¥'' . $txt['profileConfirm'] . '¥');"' : ''), '>', $context['activate_link_text'], '</a>)
</td>
</tr>';
// If the current member is banned, show a message and possibly a link to the ban.
if (!empty($context['member']['bans']))
{
echo '
<tr>
<td colspan="2">
<span style="color: red;">', $txt['user_is_banned'], '</span> [<a href="#" onclick="document.getElementById(¥'ban_info¥').style.display = document.getElementById(¥'ban_info¥').style.display == ¥'none¥' ? ¥'¥' : ¥'none¥';return false;">' . $txt['view_ban'] . '</a>]
</td>
</tr>
<tr id="ban_info" style="display: none;">
<td colspan="2">
<b>', $txt['user_banned_by_following'], ':</b>';
foreach ($context['member']['bans'] as $ban)
echo '
<br /><span class="smalltext">', $ban['explanation'], '</span>';
echo '
</td>
</tr>';
}
}
// If karma enabled show the members karma.
if ($modSettings['karmaMode'] == '1')
echo '
<tr>
<td>
<b>', $modSettings['karmaLabel'], ' </b>
</td><td>
', ($context['member']['karma']['good'] - $context['member']['karma']['bad']), '
</td>
</tr>';
elseif ($modSettings['karmaMode'] == '2')
echo '
<tr>
<td>
<b>', $modSettings['karmaLabel'], ' </b>
</td><td>
+', $context['member']['karma']['good'], '/-', $context['member']['karma']['bad'], '
</td>
</tr>';
// If the person looking is allowed, they can check the members IP address and hostname.
if ($context['can_see_ip'])
{
echo '
<tr>
<td width="40%">
<b>', $txt[512], ': </b>
</td><td>
<a href="', $scripturl, '?action=trackip;searchip=', $context['member']['ip'], '" target="_blank">', $context['member']['ip'], '</a>
</td>
</tr>
<tr>
<td width="40%">
<b>', $txt['hostname'], ': </b>
</td><td width="55%">
<div title="', $context['member']['hostname'], '" style="width: 100%; overflow: hidden; font-style: italic;">', $context['member']['hostname'], '</div>
</td>
</tr>';
}
if (!empty($modSettings['userLanguage']))
echo '
<tr>
<td><b>', $txt['smf225'], ':</b></td>
<td>', $context['member']['language'], '</td>
</tr>';
echo '
<tr>
<td><b>', $txt['local_time'], ':</b></td>
<td>', $context['member']['local_time'], '</td>
</tr>
<tr>
<td colspan="2">
<br />
<a href="', $scripturl ,'?action=profile;u=', $context['member']['id'], ';sa=report">', $txt['profile_report_this'] ,'</a><br />
<br />
<a href="', $scripturl, '?action=profile;u=', $context['member']['id'], ';sa=showPosts">', $txt[460], ' ', $txt[461], '.</a><br />
<a href="', $scripturl, '?action=profile;u=', $context['member']['id'], ';sa=statPanel">', $txt['statPanel_show'], '.</a><br />
</td>
</tr>';
echo '
</table>
</td>
</tr>
</table>
<br />
';
if (isset ($modSettings['enable_buddylist']) && $modSettings['enable_buddylist'] == '1') {
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="buddies">
<tr>
<td class="titlebg" height="26" align="center">
<a href="', $scripturl ,'?action=profile;u=', $context['member']['id'], ';sa=buddies">', $txt['profile_buddies'] ,'</a>
</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td colspan="2">
<table width="100%">';
if (isset ($context['member']['buddies_data'])) {
$i = 1;
foreach ($context['member']['buddies_data'] as $buddy_id => $data) {
if ($i == 1)
echo ' <tr>';
echo '
<td align="center">
', $data['avatar_image'],'<br />
<a href="', $scripturl , '?action=profile;u=', $data['ID_MEMBER'] , '">' , $data['realName'] , '</a><br />
<i>', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/buddy_' . ($data['is_online'] ? 'useron' : 'useroff') . '.gif' . '" alt="' . $txt[$data['is_online'] ? 'online2' : 'online3'] . '" align="middle" />' : $txt[$data['is_online'] ? 'online2' : 'online3'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $txt[$data['is_online'] ? 'online2' : 'online3'] . '</span>' : '', '</i>
</td>';
if ($i == 3)
echo '</tr>';
$i++;
if ($i == 4) $i = 1;
}
} else
echo ' <tr><td>', $txt['profile_buddies_no'] ,'</td></tr>';
echo '
</table>
</td>
</tr>';
echo '
</table>
</td>
</tr>
</table>';
}
echo '
</td>';
// Now print the second column.
echo '
<td valign="top" width="50%" id="profile_right">';
if ($modSettings['profile_enable_pictures'] == 1 && $context['can_view_pics']) {
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="pictures">
<tr>
<td class="titlebg" height="26" align="center">
<a href="', $scripturl ,'?action=profile;u=', $context['member']['id'] ,';sa=pictures">', $txt['profile_pictures'] ,'</a>
</td>
</tr>
<tr>
<td class="windowbg">
<table>';
if (!empty($context['pictures'])) {
$i = 1;
foreach ($context['pictures'] as $picture) {
if ($i == 1)
echo '
<tr>';
echo '
<td align="center" valign="top" style="clear: both;">
<a href="', $picture['url'] ,'"><img src="', $picture['thumb'] ,'" alt="" title="', $picture['title'], '" border="0" /></a>
</td>';
if ($i == 3)
echo '
</tr>';
$i++;
if ($i == 4) $i = 1;
}
} else
echo '
<tr>
<td>', $txt['profile_pictures_no'] ,'</td>
</tr>';
echo '
</table>
</td>
</tr>
</table>
<br />
';
}
/*
// This Section is optional. You can paste code for displaying recent blog posts from felblog or some other blog mod for SMF
// Remeber to uncomment this section first!
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="blog">
<tr>
<td class="titlebg" height="26" align="center">Blog</td>
</tr>
<tr>
<td class="windowbg">';
// PASTE YOUR BLOG CODE HERE
echo '
</td>
</tr>
</table>
<br />';
*/
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="aboutme">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['profile_about_me'] ,'
</td>
</tr>
<tr>
<td class="windowbg">';
if (!empty($context['member']['options']['about']))
echo '
', parse_bbc ($context['member']['options']['about']);
else
echo '
', $txt['profile_about_no'];
echo '
</td>
</tr>
</table>';
if (!empty($context['member']['options']['interests']))
echo '
<br />
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="interests">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['profile_interests'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
', parse_bbc ($context['member']['options']['interests']) ,'
</td>
</tr>
</table>';
if (($modSettings['profile_allow_mediabox'] == 1) && (!empty($context['member']['options']['media'])))
echo '
<br />
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="media">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['profile_media'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
', un_htmlspecialchars ($context['member']['options']['media']) ,'
</td>
</tr>
</table>';
/*
// This section is optional. You can paste code and display fields from Custom Profile fields mod.
echo '
<br />
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="more_fields">
<tr>
<td class="windowbg">';
// PASTE YOUR CODE HERE
echo '
</td>
</tr>
</table>';
*/
echo '
</td>
</tr>
</table>';
if (!empty($context['profile_areas']))
{
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="profile_areas">
<tr>
<td class="windowbg2">
<table>
<tr>';
// Loop through every area, displaying its name as a header.
foreach ($context['profile_areas'] as $section)
{
echo ' <td valign="top">
<table border="0" cellpadding="4" cellspacing="1">
<tr>
<td class="catbg">', $section['title'], '</td>
</tr>
<tr>
<td class="windowbg2 smalltext">';
// For every section of the area display it, and bold it if it's the current area.
foreach ($section['areas'] as $i => $area)
if ($i == $context['menu_item_selected'])
echo '
<b>', $area, '</b><br />';
else
echo '
', $area, '<br />';
echo '
<br />
</td>
</tr>
</table>
</td>';
}
echo ' </tr>
</table>
</td>
</tr>
</table>';
}
echo '
<div class="div1"></div>
<br />';
if (@$context['member']['options']['comments_disable'] != 1) {
echo '
<script type="text/javascript">
function comment() {
document.getElementById("comment").style.display = "block";
}
</script>
<table border="0" cellpadding="4" cellspacing="1" align="center" class="bordercolor" width="65%" id="post_comments">
<tr>
<td class="titlebg"><a href="javascript:void(0);" onclick="comment()">', $txt['profile_comment_add'] ,'</a></td>
</tr>
<tr id="comment" class="windowbg" style="display: none;">
<td>
<form action="', $scripturl ,'?action=profile;u=', $context['member']['id'] ,';sa=comment;add" method="post">
', $txt['profile_comment'] ,':<br />
<textarea cols="50" rows="4" name="comment"></textarea><br />
<br />
<input type="submit" value="', $txt[10] ,'" />
<input type="hidden" name="sc" value="', $context['session_id'], '" />
</form>
</td>
</tr>
</table>
<div class="div2"></div>
<br />
<table border="0" cellpadding="4" cellspacing="1" align="center" class="bordercolor" width="100%" id="comments">
<tr>
<td class="titlebg" colspan="2" align="center">', $txt['profile_comments'] ,'</td>
</tr>';
// Only show comments if they have made some!
if (!empty($context['comments'])) {
foreach ($context['comments'] as $comment) {
echo '
<tr>
<td class="windowbg" align="center" valign="top">
<b><a href="', $scripturl ,'?action=profile;u=', $comment['author']['ID_MEMBER'] ,'">', $comment['author']['realName'] ,'</a></b>
<div class="smalltext">
', $comment['author']['avatar'] ,'<br /><br />
<i>', $settings['use_image_buttons'] ? '<img src="' . $comment['author']['online']['image_href'] . '" alt="' . $comment['author']['online']['text'] . '" align="middle" />' : $comment['author']['online']['text'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $comment['author']['online']['text'] . '</span>' : '', '</i>
</div>
</td>
<td class="windowbg2" valign="top">
<table width="100%">
<tr>
<td><span class="smalltext">', $comment['time'] ,'</span><hr /></td>
</tr>
<tr>
<td>', $comment['body'] ,'</td>
</tr>
<tr>
<td align="right" valign="bottom" class="smalltext">';
if ($context['user']['is_owner'])
echo '
<a href="', $comment['reply'], '">', $txt['profile_comment_reply'] ,'</a> ';
if ($context['can_delete'])
echo '
<a href="', $comment['delete'], '">', $txt['profile_comment_delete'] ,'</a>';
echo '
</td>
</tr>
</table>
</td>
</tr>';
}
}
else
echo '
<tr class="windowbg2">
<td colspan="2">', $txt['profile_comment_no'] ,'</td>
</tr>';
echo '
</table>';
// Show more page numbers.
echo '
<table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor" align="center">
<tr>
<td colspan="3" class="catbg3">
', $txt[139], ': ', $context['page_index'], '
</td>
</tr>
</table>';
}
echo '
<div class="div3"></div>';
}
?>
There is something wrong with your file.
For example:
<td colspan="2"><img src="', $settings['images_url'] ,'/icons/online.gif" alt="" /> <a href="', $scripturl, '?action=buddies;sa=add;u=', $context['member']['id'], ';sesc=', $context['session_id'], '" onclick="javascript:return confirm(¥'', $txt['buddy_explanation'] ,'¥')">[', $txt['buddy_add'], ']</a></td>
It should be:
<td colspan="2"><img src="', $settings['images_url'] ,'/icons/online.gif" alt="" /> <a href="', $scripturl, '?action=buddies;sa=add;u=', $context['member']['id'], ';sesc=', $context['session_id'], '" onclick="javascript:return confirm(\'', $txt['buddy_explanation'] ,'\')">[', $txt['buddy_add'], ']</a></td>
It doesn't work on me even if I take the change that I said you to make.
That is strange, I've just downloaded the file from page one of this thread. Then uploaded it and applied the above.
Still the same.
Is it possible to post your working file as I did, then I could replace all of the code in my file? Or does it not work like this?
Here you are, with the needed change made. Just change the image address.
By the way, maybe your editor is causing that. How do you edit your files?
You got it!
It works flawlessly! very nicely done!
Thank you
I made the changes in a program named CotEditor through the edit feature of Yummy ftp. From which I highlight and paste the new coding and save.
I have Dreamweaver as well, but found that the other opened faster for quick edits.
My mod adviser says that; :P
Quote from: Eliana TamerinAlways use a text editor like Notepad2 or Notepad++ to edit files. Don't use a word processor or PHP Editor.
Yep. PHP editors like to insert their own coding, and Word processors like to insert their own encoding. Text editors are really the best tools for editing code, because they leave it alone and let you work on it without interference.
When I install this and try to view a profile, it gives me an interesting error which tells me my forum is version 1.1.5 and my database is 1.1.2. That's odd, perhaps because I moved my database over from an old server which wouldn't allow me to update my SMF. I can't find an upgrade option anywhere or anything and I'm not sure I want to risk anything because I've made a few changes to the default template... Any ideas?
As I now, it makes some db changes. Possibly, they are not run.
Is this the only error message you get?
It's the only one I've noticed...
When I moved server I backed up my database from 1.1.2 then installed 1.1.5 on my new server and imported the database using PHPMyAdmin. I also reuploaded my old images and smilies, but in order to use a lot of the mods I had installed with my forum's 'look' I had to make some changes to the default theme... Otherwise it's pretty much 1.1.5.
Your db is version 1.1.2?
Do not remember any changes made in db since 1.1.2.
Somebody who is more famialiar with the mod can help better.
hello..
some of my members have there profile and / or photo's hidden.. I ofcourse can see them.. but is it also possible that my global mods can see them?
Thanks!!
Can someone please tell me where to locate the color control for the "Add Comment" and the "My Pictures" links in everyones profile. It appears to not be in the main CSS sheet, and I can't seem to find it in any of the templates.
I have done my own searching for over two weeks with no luck or responses. I've also asked here many times. Now I'm to the point of begging, please tell me where this control is hidden.
I need these links to be changed from black to a brighter color so they show up again. Since the site wide redesign, I have a dark background img behind these links, and now they simply don't show.
Each section should have an id that you can reference in css. Like
a link#pictures
{
color: red;
}
Quote from: Eliana Tamerin on June 13, 2008, 10:44:18 PM
Each section should have an id that you can reference in css. Like
a link#pictures
{
color: red;
}
I have been in and out of the CSS sheet, it's not there. That area around those links is controlled by ".windowbg2" I believe it was, but even if I add ".windowbg2 a" to css, I can't get the color to change on those two links. They change site wide, just not the two that I need.
I've also tried any of the CSS controls for links or text, but they don't do it either.
I'm guessing at this point that it's like the spellcheck page fiasco I went through finding those controls. They were hardcoded right in the page itself, so the css sheet code had no effect.
Try checking the source page. UltimateProfile.template.php and look for id="buddies" or whatnot in there. You'll find it.
I'm looking on mine, there's id="summary" id="info1" id="contact" etc.
I checked that template a few hours ago for the exact terms I'm looking to change, "Add Comment" and "My Pictures". None of that text is in that template.
I'm looking again.
Thanks for the second voice basically saying it is there but I'm missing it.
.titlebg a:link is the main CSS control I needed to change. Somehow that one kept sneaking past me.
I'll add a note in my main stylesheet as to what that controls so I can find it again.
No problem, glad to help.
Hello.. I love this MOD!!
The only thing is that i really, really, really need the option that members can show there profile or pictures only to the VIP-member and Special VIP Members... Can this be done?? :)
Thanks!!!!!
Anybody got any ideas on my database issue?
Did you see SiNaN's post?
Quote from: [SiNaN] on June 09, 2008, 09:03:43 AM
Your db is version 1.1.2?
Do not remember any changes made in db since 1.1.2.
Somebody who is more famialiar with the mod can help better.
Quote from: Lord Anubis on May 31, 2008, 02:47:05 AM
UPDATE!!! TinyPortal Block
(USE A PHP BLOCK)
Updated Profile Image Upload Block for Ultimate Profile 0.8.5 (only uploads to the Basic Album ATM)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ftinyadminresources.com%2Fextras%2Fimagehost%2Fscript%2Fuploads%2F6a8b516018.jpg&hash=2169c0936793e20b7df2f1bda1186bf99eb7a81c)
*NOTE - CHANGE http://www.yoursite.com to the url of your website*
global $context, $scripturl, $settings, $txt;
echo '
<form action="http://www.yoursite.com/index.php?action=profile;sa=pictures;add2" method="post" accept-charset="', $context['character_set'], '" name="picture" id="picture" enctype="multipart/form-data">
Title:<br />
<input type="text" name="title" size="10" value="', @$context['picture_title'] ,'" /><br />';
echo '
Description:<br />
<input type="text" name="description" size="15">', @$context['picture_description'] ,'</textarea><br />';
echo '
Parent Album:<br />
<select name="album_id" id="album_id">
<option value="0">Basic album</option>';
foreach ($context['album_tree'] as $album)
{
echo '
<option value="', $album['id'] ,'"', (@$context['album_parent'] == $album['id']) ? ' selected="selected"' : '', '> ' . str_repeat('=', $album['level']) . '=> ' . $album['title'] . '</option>';
}
echo '
</select><br />';
echo '
Find Photos:<br />
<input type="file" size="10" name="picture" /><br />';
echo '
<input type="submit" value="', $txt[10], '" />
<input type="hidden" name="sc" value="', $context['session_id'], '" />
</form>';
Hi,
This is really a nice one, thanks for it!
I have an other question as well. Is it possible to show the latest 5 uploaded pics by the logged in user in a php block?
Quote from: Lafemme on June 15, 2008, 05:02:16 AM
Hello.. I love this MOD!!
The only thing is that i really, really, really need the option that members can show there profile or pictures only to the VIP-member and Special VIP Members... Can this be done?? :)
You can add these restrictions into your code manually, it's actually easy provided you don't start playing with creating an actual permission set for that :P
It becomes a bit harder if you want to give profile owners the ability to restrict one particular area to one particular set of people.
Would it be possible to carry the Custom Profile Fields across to this?
Quote from: Nao 尚 on June 18, 2008, 05:57:56 PM
Quote from: Lafemme on June 15, 2008, 05:02:16 AM
Hello.. I love this MOD!!
The only thing is that i really, really, really need the option that members can show there profile or pictures only to the VIP-member and Special VIP Members... Can this be done?? :)
You can add these restrictions into your code manually, it's actually easy provided you don't start playing with creating an actual permission set for that :P
It becomes a bit harder if you want to give profile owners the ability to restrict one particular area to one particular set of people.
oh..oke.. but now there is also an option.. show only to friends.. can't i also not submit .. show only to (special) vip members? (there are 2 groups)
DistantJ, check JovanT's test site, linked in his first post. It's posted on there.
Sorry, thanks, I saw it before you replied XD Silly me.
Incredible mod, though. I did a lot of editing of the UltimateProfile.template.php file.
Please use the search, this has already been discussed, and you need to uncomment the UltimateProfile.template.php
Hi guys,
I'm posting here and in author's test forum because I really need to figure out what is happening: some of my users see the "add buddy" link, and some others simply don't. Also, there are users that see the link in some profiles and don't see it in others...
One of who that cannot see the add buddy link is an admin, so has all the possible permissions in the system. What could it be?
Thanks a lot,
Regards from Portugal
Quote from: ac99 on June 19, 2008, 06:12:12 PM
Hi guys,
I'm posting here and in author's test forum because I really need to figure out what is happening: some of my users see the "add buddy" link, and some others simply don't. Also, there are users that see the link in some profiles and don't see it in others...
One of who that cannot see the add buddy link is an admin, so has all the possible permissions in the system. What could it be?
Thanks a lot,
Regards from Portugal
How is life now after yesterday?
Well, play "without" a GK is a risk, so Portugal says bye bye... but I'm only concerning about this "add buddy" bug :D
Has anyone coded up a way that members can add music to there profiles? If so, how big of a hit does it put on the server and on bandwidth?
http://custom.simplemachines.org/mods/index.php?mod=344
Thanks,
for this awesome mod!
Quote from: Eliana Tamerin on June 20, 2008, 03:54:37 PM
http://custom.simplemachines.org/mods/index.php?mod=344
Thanks. I'm surprized that it is the only mod of this type listed in the mod site.
Does anyone else out there use the Profile Music mod with this Ultimate Profile mod?
Quote from: ∑£ℓ¢†®¡¢ §ợų¡đ on June 20, 2008, 08:16:21 PM
Quote from: Eliana Tamerin on June 20, 2008, 03:54:37 PM
http://custom.simplemachines.org/mods/index.php?mod=344
Thanks. I'm surprized that it is the only mod of this type listed in the mod site.
Does anyone else out there use the Profile Music mod with this Ultimate Profile mod?
I don´t use that mod because i think is very limited. So I use the HTML code from http://www.myflashfetish.com/ to put it over Html Field of Ultimate Profile.
I made a tutorial for members and voilá... much easier and more options!
Quote from: Stirred on June 21, 2008, 07:31:13 AM
Quote from: ∑£ℓ¢†®¡¢ §ợų¡đ on June 20, 2008, 08:16:21 PM
Quote from: Eliana Tamerin on June 20, 2008, 03:54:37 PM
http://custom.simplemachines.org/mods/index.php?mod=344
Thanks. I'm surprized that it is the only mod of this type listed in the mod site.
Does anyone else out there use the Profile Music mod with this Ultimate Profile mod?
I don´t use that mod because i think is very limited. So I use the HTML code from http://www.myflashfetish.com/ to put it over Html Field of Ultimate Profile.
I made a tutorial for members and voilá... much easier and more options!
you have a demo of your forum?
i've been using myflashfetish for some time, other members too.
it works really good.
...i haven't really read this thread in some time now, has anything changed? upgrades? has the buddy thing been fixed? can i get a recap? :P
Quote from: ~Alex on June 21, 2008, 01:27:48 PM
has the buddy thing been fixed?
I don't know if your problem is the same I have, if so, the bug still exists.
Quote from: ∑£ℓ¢†®¡¢ §ợų¡đ on June 20, 2008, 08:16:21 PM
Quote from: Eliana Tamerin on June 20, 2008, 03:54:37 PM
http://custom.simplemachines.org/mods/index.php?mod=344
Thanks. I'm surprized that it is the only mod of this type listed in the mod site.
Does anyone else out there use the Profile Music mod with this Ultimate Profile mod?
Personally, I modded Ultimate Profile to show Custom Profile Fields, and added a Custom Profile Field where people would put the URL to an MP3 file, and another for a YouTube URL, and used my own custom made [mp3] BBCode(It embeds it with a flash player I downloaded) done via Custom BBCodes as the prefix and suffix which Custom Profile Fields allow, and the YouTube embed tag on the video. That way they get a little embedded player and a YouTube video which the user can play at will (but doesn't intrusively play itself) in the little "Extra Info" box I created for the Custom Profile Fields. It's pretty awesome. :)
Very cool script! Thank you!
However, one problem, I, as the admin can use it, but my normal users don't see any option to enable custom profiles? Is there something I'm missing?
Quote from: NIBOGO on June 21, 2008, 09:42:19 AM
Quote from: Stirred on June 21, 2008, 07:31:13 AM
Quote from: ∑£ℓ¢†®¡¢ §ợų¡đ on June 20, 2008, 08:16:21 PM
Quote from: Eliana Tamerin on June 20, 2008, 03:54:37 PM
http://custom.simplemachines.org/mods/index.php?mod=344
Thanks. I'm surprized that it is the only mod of this type listed in the mod site.
Does anyone else out there use the Profile Music mod with this Ultimate Profile mod?
I don´t use that mod because i think is very limited. So I use the HTML code from http://www.myflashfetish.com/ to put it over Html Field of Ultimate Profile.
I made a tutorial for members and voilá... much easier and more options!
you have a demo of your forum?
Only available for members, if you're interested in seeing send me a PM and I give you a test account.
Hello,
I use Ultimate profile 8.0 and i've been haunted for about 900 errors :) They are:
http://www.bimeiden.nl/index.php?action=profile;u=278
8: Undefined index: 425
Bestand: /xxx/xxx/xxx/xxx/xxxx/Sources/Profile.php
Regel: 1320
http://www.bimeiden.nl/index.php?action=profile;u=278
8: Undefined index: realName
Bestand: /xxx/xxx/xxx/xxx/xxxx//Themes/default/UltimateProfile.template.php (summary2 sub template - eval?)
Regel: 512
8: Undefined index: isOnline
Bestand: /xxx/xxx/xxx/xxx/xxxx/Sources/Profile.php
Regel: 1322
Can anyone help me?
I have attached the files.
Thanks!!!!
Do you have all the $txt['strings'] in place in you dutch language files? because the 8: Undefined index: isOnline, and realName sounds like a $txt issue...
Can you post the lines from those files?
Quote from: dannbass on June 23, 2008, 05:59:14 PM
Do you have all the $txt['strings'] in place in you dutch language files? because the 8: Undefined index: isOnline, and realName sounds like a $txt issue...
Can you post the lines from those files?
From with file do you need the lines? Because i have the profile.php and ultimateprofile.template.php attached in the previous post..
I'd like to add a block in Tinyportal to show new buddy invitations, and if there are none than show 'No invitations currently'. What code to use???
Quote from: appleslice on June 22, 2008, 09:54:10 AM
Very cool script! Thank you!
However, one problem, I, as the admin can use it, but my normal users don't see any option to enable custom profiles? Is there something I'm missing?
I am having this same problem. Admin is the only one to have the option of customizing their profile. Users can see the changes to their profile but can not customize.
Did you check their permissions? .8.5 adds permissions to the mod.
Quote from: Eliana Tamerin on June 24, 2008, 03:58:35 PM
Did you check their permissions? .8.5 adds permissions to the mod.
That did it. Thank you, I had checked there (permissions) but I didn't take into account that I am using a theme other than the default. Went back and made the appropriate adjustments and checked permissions again... there it was.
Thanks again.
I read that someone had an Undefined error. Ever since i added this mod, my error log has been filled with Undefined Offset errors. 2 per user/per page veiw. I also upgraded to 1.1.5 from 1.1.4 at around the same time, so i dont know if thats where its coming from. I did the usual site search, but nothing that matched my issue. Ill post the needed files if needed once i get home. Just let me know what you need.
We will need the exact error that is filling the log, and probably have you run a query into the phpmyadmin just to see exactly where the issue is... nothing fancy and it can be undone once we're done with the errors.
I dont have phpmyadmin that i know of.
∑£ℓ¢†®¡¢ §ợų¡đ, if you have cpanel, you have phpmyadmin. Check out your MySQL Databases area on your host's control panel. They should give you some kind of option to manage your databases.
Lol, i am the host.
Ahh. Then you should have installed it already. Bah you!
I'm figuring it out as i go. One day I'll be as awesome as all of you :P
Quote from: Angelotus on June 24, 2008, 08:52:42 AM
I'd like to add a block in Tinyportal to show new buddy invitations, and if there are none than show 'No invitations currently'. What code to use???
Have you asked on JovanT's test site? See the link in the first post. He typically responds better there than here, and since he knows the code better than all of us, he'd be the person to ask.
Quote from: ∑£ℓ¢†®¡¢ §ợų¡đ on June 25, 2008, 02:15:21 PM
Ok, i found it on phpmyadmin.net and will install once i get home from work.
I thought phpmyadmin would be a quick install, but it seems to be a huge undertaking for someone who hasn't done it before and wants to keep the server secure. Considering I am the host, security is up to me, so this may take some time to get done, and there is a lot to learn.
The errors don't seem to be making a noticeable difference in site performance, layout, graphics, or site up time, so I'm not in a bind to get this fixed as fast as I can.
Looks like I have a task for the night.
The query I asked you to run is to eliminate the (summary2 sub template - eval?) and look at the exact line of the error.
Could you add the errors that you are having? Ideally you shouldn't have any errors at all, so something is missing or misplaced.
8: Undefined offset: 2
File: C:\Inetpub\wwwroot\Themes\rhino114\languages\ThemeStrings.english.php (init sub template - eval?)
Line: 72
- and -
8: Undefined offset: 1
File: C:\Inetpub\wwwroot\Themes\rhino114\languages\ThemeStrings.english.php (init sub template - eval?)
Line: 72
I'm wondering why the rhino114 has a language folder... I don't think it has to do with this mod, can you post the list of mods that you have.
The eval? means that SMF found an error while it was in the middle of loading the text strings of the ThemeStrings.english.php
Mods include:
----------------
1. Display Age and Location next to posts 1.0
2. Auto Embed Video Clips 1.9
3. SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update 1.0
4. SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update 1.0
5. TinyPortal 0.983
6. Ultimate Profile 0.8.5
I just noticed that the SMF 1.1.5 update is listed twice, though I only added it once.
I tried to uninstall it, then both disapeared. I reinstalled, and they both came back ???
other things include:
-----------------------
Rhino114 theme from TinyPortal
with a few minor code tweaks and a fully modified CSS stylesheet.
I use very few of the TP features.
FlashChat
Not the SMF mod, though I believe I added it, it didn't work, so I uninstalled it.
same with PrettyURLs mod,
I added it, it didn't work, I uninstalled it, then found that it does not work on Windows though that info is not listed anywhere.
Quote from: dannbass on June 25, 2008, 09:29:11 PM
I'm wondering why the rhino114 has a language folder... I don't think it has to do with this mod, can you post the list of mods that you have.
The eval? means that SMF found an error while it was in the middle of loading the text strings of the ThemeStrings.english.php
This is all thats in the ThemeStrings.english.php in the Rhino theme folder
<?php
// Version: 1.1; ThemeStrings
$txt['meph_sticky'] = 'Sticky topics';
$txt['meph_normal'] = 'Normal topics';
$txt['nascar_toolsmenu'] = 'Forum Tools';
?>
should I open a new topic on this?
Did you get the phpMyAdmin thing figure it out?
If so... run this
REPLACE INTO smf_settings
(variable, value)
VALUES ('disableTemplateEval', '1');
if not... What is phpMyAdmin? (http://www.simplemachines.org/community/index.php?topic=21919.0)
Quote from: dannbass on June 26, 2008, 10:37:04 PM
Did you get the phpMyAdmin thing figure it out?
No, not yet. I've been working some long hours lately and the set-up for phpmyadmin seems to be a huge undertaking. Of coarse their links to the GUI set-up script don't work, so I'm stuck with manually configuring it.
I'll get it up this weekend and give ya a report.
Could we do something just for the kick of it...? can you change your theme to the default and see if the errors are there, or where are the new ones?
Quote from: dannbass on June 26, 2008, 10:37:04 PM
If so... run this
REPLACE INTO smf_settings
(variable, value)
VALUES ('disableTemplateEval', '1');
Ran it. It said:
Affected rows: 2 (Query took 0.0004 sec)
Now the error log says this:
8: Undefined offset: 2
File: C:\Inetpub\wwwroot\Themes\rhino114\index.template.php
Line: 72
8: Undefined offset: 1
File: C:\Inetpub\wwwroot\Themes\rhino114\index.template.php
Line: 72
only thing that changed was \index.template.php
Quote from: dannbass on June 26, 2008, 11:51:09 PM
Could we do something just for the kick of it...? can you change your theme to the default and see if the errors are there, or where are the new ones?
No errors in the default theme.
Could you post that line from the index.template.php? let's have fun...
Oh almost forgot, now run this query... it will enable the eval again...
DELETE FROM smf_settings WHERE variable = 'disableTemplateEval';
Its way past my bedtime, ill start fresh on it in the morning. Thanks for the help.
Quote from: dannbass on June 27, 2008, 12:41:45 AM
Could you post that line from the index.template.php? let's have fun...
You ask, you shall receive :P
I'll start with the whole area around line 72 (line 29-78)
Then below in another code block is line 72 isolated
// Initialize the template... mainly little settings.
function template_init()
{
global $context, $settings, $options, $txt;
/* Use images from default theme when using templates from the default theme?
if this is 'always', images from the default theme will be used.
if this is 'defaults', images from the default theme will only be used with default templates.
if this is 'never' or isn't set at all, images from the default theme will not be used. */
$settings['use_default_images'] = 'never';
/* What document type definition is being used? (for font size and other issues.)
'xhtml' for an XHTML 1.0 document type definition.
'html' for an HTML 4.01 document type definition. */
$settings['doctype'] = 'xhtml';
/* The version this template/theme is for.
This should probably be the version of SMF it was created for. */
$settings['theme_version'] = '1.1.4';
/* Set a setting that tells the theme that it can render the tabs. */
$settings['use_tabs'] = true;
/* Use plain buttons - as oppossed to text buttons? */
$settings['use_buttons'] = true;
/* Show sticky and lock status seperate from topic icons? */
$settings['seperate_sticky_lock'] = true;
// load custom language strings
loadLanguage('ThemeStrings');
// make sure undefined actions use their own template
$settings['catch_action'] = array('layers' => array('main','pages'));
// split up the links if any
$context['sitemenu']=array();
if(!empty($settings['custom_pages']))
{
$pag=explode('|',$settings['custom_pages']);
foreach($pag as $menu => $value)
{
$what=explode(',',$value);
$context['sitemenu'][]=array($what[0],$what[1],$what[2]);
}
}
// are we in certain areas?
if(isset($_GET['topic']) || isset($_GET['board']) || $context['current_action']=='pm')
$context['template_layers'][] = 'extra';
}
this is line 72 which is near the bottom of the code block above
$context['sitemenu'][]=array($what[0],$what[1],$what[2]);
I see... is an error of the custom pages by Bloc... we could do two things... you could add the $what to the globals
global $context, $settings, $options, $txt;
somethings that clears the error... or, and I'm not familiar with the custom pages, could do what they say here http://www.tinyportal.net/index.php?topic=20385.msg171655#msg171655 and I think they got it fixed but couldn't find the exact issue.
Hope it helps, and if not, could somebody divide this topic because it has nothing to do with JovanT mod... we'll pick it up in other place until we got it... then start working on Lafemme errors.
Quote from: ac99 on June 19, 2008, 06:12:12 PM
Hi guys,
I'm posting here and in author's test forum because I really need to figure out what is happening: some of my users see the "add buddy" link, and some others simply don't. Also, there are users that see the link in some profiles and don't see it in others...
One of who that cannot see the add buddy link is an admin, so has all the possible permissions in the system. What could it be?
Thanks a lot,
Regards from Portugal
if someone has any idea how to fix this... ;)
Quote from: dannbass on June 27, 2008, 11:56:50 AM
I see... is an error of the custom pages by Bloc... we could do two things... you could add the $what to the globals
global $context, $settings, $options, $txt;
somethings that clears the error... or, and I'm not familiar with the custom pages, could do what they say here http://www.tinyportal.net/index.php?topic=20385.msg171655#msg171655 and I think they got it fixed but couldn't find the exact issue.
Hope it helps, and if not, could somebody divide this topic because it has nothing to do with JovanT mod... we'll pick it up in other place until we got it... then start working on Lafemme errors.
Thanks for the help, and I agree that this should probably be split off of this topic since it appears to be unrelated.
If I add it to globals, what difference does that make (just so I understand what that does for future reference)Forget I asked, adding $what to globals did nothing.
The globals declared there allow those variables to be used in that file.
Thanks, that's kinda what I figured, but wasn't sure.
It didn't work, still the same error. Unfortunately, the custom pages are one of the few TP features I do use. It figures :P
Well... there is a mod for that... you could use that one and remove those lines from the template... did you try what they said about that error?
At least we found the source of the trouble... is not related with this mod... which is awesome BTW!
how can you add youtube videos in My Media??
Copy the youtube embed code into the media box.
Quote from: dannbass on June 28, 2008, 01:07:29 AM
Well... there is a mod for that... you could use that one and remove those lines from the template... did you try what they said about that error?
At least we found the source of the trouble... is not related with this mod... which is awesome BTW!
Fixed it. There was a | at the end of the custom pages text field. So the code was saying there was another page there, though there was no title or URL to resolve.
That had to be the quickest fix I've ever done. I removed the trailing | and the errors went away.
I've since removed the rest of the custom page links in favor of some good old fashioned hard coding.
Thanks for the help.
Now I'll be off to battle the code over other issues and new planned mods in a new topic all their own :P This next task is probably very usefull for users of the Ultimate Profile Mod, and might be of some interest since the Buddys avatars are not yet clickable, and that is one part of what I'm trying to do next:
Topic: Making members name and avatar in User Info box clickable, link to users profile (http://www.simplemachines.org/community/index.php?topic=246848.msg1595194#msg1595194)
Check mod site, already a mod. ;)
Do you know the name of that mod?
http://custom.simplemachines.org/mods/index.php?mod=1250
Cool, that solves 98% of what I was trying to do, and provides the code. Can't ask for much better than that :D
sooo.... what template in Ultimate Profile makes the Buddy area in the profiles.
I tried searching for ['avatar'] and ['image'] in Buddies.template and UltimateProfile.template, but didn't find what I was looking for.
Buddies.template.php is all about the Buddies section I guess.
But if you mean the one in the summary, you can find it in UltimateProfile.template.php by searching "buddies" in the file.
I see I have mis-searched. How lame of me :P
I found what I was looking for in UltimateProfile.template, but the code is a touch different. I tried to stumble my way through it Drunken Monkey style, but I see I need to rethink my approach, cause all I accomplished was to make the avatars disapear :P
The codes kung fu is strong
Got it, this is easier than I thought (I was over-thinking it)
In fact, I've gone a little over the top this morning with all this info I was given and did the following :P
============================================
Ultimate Profiles Clickable Avatar Mod
The Mod below extends the function of the Clickable Avatars Mod (http://custom.simplemachines.org/mods/index.php?mod=1250) to the pages of Ultimate Profiles Mod, though you do not have to have the Clickable Avatars Mod (http://custom.simplemachines.org/mods/index.php?mod=1250) installed to make the below code work.
The below code takes care of 2 sections on the Ultimate Profile page. The Buddies area, and the Comments area. You can do one, or the other, or both if you like since they work independently from each-other.
BUDDIES SECTION
-----------------------
To make the buddy avatars in your member profiles buddy section link to the profile of the buddy they belong to:
Go to UltimateProfile.template.php
find
echo '
<td align="center">
', $data['avatar_image'],'<br />
<a href="', $scripturl , '?action=profile;u=', $data['ID_MEMBER'] , '">' , $data['realName'] , '</a><br />
<i>', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/buddy_' . ($data['is_online'] ? 'useron' : 'useroff') . '.gif' . '" alt="' . $txt[$data['is_online'] ? 'online2' : 'online3'] . '" align="middle" />' : $txt[$data['is_online'] ? 'online2' : 'online3'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $txt[$data['is_online'] ? 'online2' : 'online3'] . '</span>' : '', '</i>
</td>';
replace with
// ---- Ultimate Profiles - Clickable Avatar - Buddies
echo '
<td align="center"><a href="', $scripturl , '?action=profile;u=', $data['ID_MEMBER'] , '">', $data['avatar_image'] ,'<br />
' , $data['realName'] , '<br />
<i>', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/buddy_' . ($data['is_online'] ? 'useron' : 'useroff') . '.gif' . '" alt="' . $txt[$data['is_online'] ? 'online2' : 'online3'] . '" align="middle" />' : $txt[$data['is_online'] ? 'online2' : 'online3'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $txt[$data['is_online'] ? 'online2' : 'online3'] . '</span>' : '', '</i>
</a>
</td>';
Basically the linking code is already there. I just moved the front part of the "a href" tag up a line higher to include the avatar in the clickable part on the page.
I also noticed a missing end tag for the URL so in the new code, I added the < /a> (without the space in the tag, of coarse)
COMMENTS SECTION
--------------------------
To make the buddy avatars in your member profiles comment section link to the profile of the buddy they belong to:
Go to UltimateProfile.template.php
find
echo '
<tr>
<td class="windowbg" align="center" valign="top">
<b><a href="', $scripturl ,'?action=profile;u=', $comment['author']['ID_MEMBER'] ,'">', $comment['author']['realName'] ,'</a></b>
<div class="smalltext">
', $comment['author']['avatar'] ,'<br /><br />
<i>', $settings['use_image_buttons'] ? '<img src="' . $comment['author']['online']['image_href'] . '" alt="' . $comment['author']['online']['text'] . '" align="middle" />' : $comment['author']['online']['text'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $comment['author']['online']['text'] . '</span>' : '', '</i>
</div>
</td>
replace with
// ---- Ultimate Profile - Clickable Avatar - Comments
echo '
<tr>
<td class="windowbg" align="center" valign="top">
<b><a href="', $scripturl , '?action=profile;u=', $comment['author']['ID_MEMBER'] , '">', $comment['author']['realName'] ,'</a></b>
<div class="smalltext"><a href="', $scripturl , '?action=profile;u=', $comment['author']['ID_MEMBER'] , '">', $comment['author']['avatar'] ,'<br /><br />
<i>', $settings['use_image_buttons'] ? '<img src="' . $comment['author']['online']['image_href'] . '" alt="' . $comment['author']['online']['text'] . '" align="middle" />' : $comment['author']['online']['text'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $comment['author']['online']['text'] . '</span>' : '', '</i>
</a>
</div>
</td>
Remember, use this code at your own risk. It works on my site, quite well in fact. So that leads me to believe that it is correct, or close enough to work without creating errors.
==========================================
I'm not sure what SMF versions or themes this is compatible with, so do this at your own risk. I'm not by an means a coder and can't offer support because I'm probably more lost than you :P
If it helps,
My setup is:
SMF 1.1.5
TinyPortal 0.983 (Rhino theme - highly modified)
Ultimate Profile 0.8.5
Running on:
Windows XpPro SP2
LVLlord patch (http://www.lvllord.de/?lang=en&url=news) (opens the connection limit in XpPro)
Apache 2.2
PHP 5.2.5
MySQL 4.1
Sorry, I know this is a bit off topis, but it's in conclusion to the total hijack from before.
Quote from: dannbass on June 26, 2008, 10:37:04 PM
Did you get the phpMyAdmin thing figure it out?
If so... run this
REPLACE INTO smf_settings
(variable, value)
VALUES ('disableTemplateEval', '1');
then be sure to run this after you're done.
DELETE FROM smf_settings WHERE variable = 'disableTemplateEval';
Thanks a million for this bit of info. It's helped me 4 times since in debuging my code hack jobs that create errors in my logs.
One question and I'll stop hijacking, why is it that we all don't run without the "eval?" part in there. It seems to always mask the real problem and give false locations in the error logs.
It is because it can slow things down for you, is a performance issue AFAIK.
I'm glad I help you out, is a useful tip and it should be in the TIP/TRICK section as well.
How do I increase the number of buddies shown on the users profile?
The Top xx Buddies?
Is there an existing mod to give the users the choice in their profile edit page?
Maybe 6? or 9? or 12? maybe 15? or All?
@∑£ℓ¢†®¡¢ §ợų¡đ
http://jovant.guruserve.com/test-forum/index.php?topic=72.0
Wow, there's a bunch of cool stuff over there ;D Thanks!!
You can use default Custom Profile Fields (http://www.unknownbrackets.com/tutorials/custom-profile) to make people select how many buddies to show in their profile.
Don't know if this has been answered anywhere in this topic but is there a way to make recent blog posts (using felblog) from the user show up in the profile?
http://jovant.guruserve.com/test-forum/index.php?topic=24.0
I would like to offer to my Gold Members (paid membership) the ability to upload more pics to their profile than standard non-paid members. How would I go about doing this through Ultimate Profile Mod?
The standard pic limit on my forum is 12, for Gold members I'd like it to be 24.
The member group for Gold Members is call Gold Member. This is set through membergroups in the admin panel.
Will this mod be available for 2.0?
Quote from: Zetan on May 11, 2008, 08:43:14 AM
This mod is great.. until you change the site theme.
Quote from: Eliana Tamerin on May 11, 2008, 12:30:02 PM
How so?
bit of a late reply.. but to reiterate, yet again.. This mod with no theme options is next to useless for the customisation of profiles, in a nut shell..
Same profile, different site theme:
Tangles profile direct with Darkscape theme
http://labradio.co.uk/index.php?action=profile;u=16
Change to Invazion theme
http://labradio.co.uk/index.php?theme=30
Then view Tangles profile as it was designed in Invazion
http://labradio.co.uk/index.php?action=profile;u=16
Am I the only person to get this?
Quote from: Zetan on July 12, 2008, 08:24:42 AM
Am I the only person to get this?
Did you manually edit the required files for your custom themes?
I'm using the Rhino Theme from Bloc over at TinyPortal (and highly modified as well). Support for this theme is not coded into this mod by default, but through following the directions for a manual install for a custom theme, our Custom Profiles show up exactly as they should.
Here, take a look for yourself:
∑£ℓ¢†®¡¢ §ợų¡đ's profile on WhereTheTrailEnds.com (http://wherethetrailends.com/index.php?action=profile;u=1)
http://jovant.guruserve.com/test-forum/index.php?topic=74.msg316#msg316
Quote from: JovanT on June 05, 2008, 09:26:13 AM
Ultimate Profile for SMF 2.0 won't be available until SMF2 becomes stable. Since it is still a Beta, big changes in code are possible so I can't mantain it properly.
Don't expect SMF 2.0 version until it reaches at least RC status.
thanks for the info :)
Quote from: ∑£ℓ¢†®¡¢ §ợų¡đ on July 13, 2008, 03:12:20 PM
Quote from: Zetan on July 12, 2008, 08:24:42 AM
Am I the only person to get this?
Did you manually edit the required files for your custom themes?
I'm using the Rhino Theme from Bloc over at TinyPortal (and highly modified as well). Support for this theme is not coded into this mod by default, but through following the directions for a manual install for a custom theme, our Custom Profiles show up exactly as they should.
You are missing the point. All themes are different, custom edits to a profile when a forum is set to use a theme is pointless, when, the site theme changes (as they do, which is why we have theme options).. as the custom profile edits are not carried over correctly to the next theme.
The best example is MySpace, they have 1 default theme used in all profiles, with exception to the Music Pages which have a slightly different template. All profiles are based upon the respective Default template.
unless I'm missing something blatently obvious, like setting all profiles to use the Default theme.
Install ultimate profiles to each theme. Also, go into UltamateProfiles.template and find every reference to the main CSS. Give that list to your users. It will include names like "bordercolor" "windowbg" etc. Css is resolved in the tag first, then in the Css in the head of the page, then the main stylesheet. So if your users add the css to there profile, then it overrides the theme css.
Yup, I finally ran into an issue that I don't know how to fix.
The ADD BUDDY link will not show on any users profile.
I tried looking for errors in the error log, but there are none.
I tried searching through permissions and membergroups, just in case there was something I turned off, but didn't find anything that would control that feature.
I even tried replacing the code for that featurte from an old copy of UltimateProfile.template from before I started messing with the positioning of stuff.
I am totally stumped on this one.
Here's a link to the test user's profile on my forum wherethetrailends.com/index.php?action=profile;u=15 (http://wherethetrailends.com/index.php?action=profile;u=15)
If you need to log in, I'll give you the password for test user through a PM.
Here's my UltimateProfiles.template if you would like to take a look.
The Add Buddy linkshould be right below where it says "Contact Me :)"
and right above "Send this member a personal message."
and here's the clip of code that controls the add buddy link.
// Can they add this member as a buddy?
if (!empty($context['can_have_buddy']) && !$context['user']['is_owner'] && !$context['member']['is_buddy'] )
echo '
<tr>
<td colspan="2"><img src="', $settings['images_url'] ,'/icons/online.gif" alt="" /> <a href="', $scripturl, '?action=buddies;sa=add;u=', $context['member']['id'], ';sesc=', $context['session_id'], '" onclick="javascript:return confirm(\'', $txt['buddy_explanation'] ,'\')">[', $txt['buddy_add'], ']</a></td>
</tr>';
OK, the plot thickens :P
If I remove this part of the above code, the Add Buddy link shows up and works. I tried it all the way through with the test user.
if (!empty($context['can_have_buddy']) && !$context['user']['is_owner'] && !$context['member']['is_buddy'] )
I'm going to leave the code as is, with this above code removed for now, so my new users don't wonder what the deal is, but I'm curious as to why this is not working with the "if" statement in there.
Has anyone ever figured out how to do recent blog posts from a specific user id with felblog. Linking to the user's blog should be fairly simple it's actually showing that specific user's recent blog posts that I'm not sure how to do.
SWEEEET MOD!!
hi.. i have now over 6000 errors, not even counten the thousands that i have deleted... :(
http://www.site.nl/index.php?action=profile;u=102;sa=pictures;view=64
8: Undefined variable: avatar_height
Bestand: /xxxx/xxxx/xxxx/xxxx/xxxx/Sources/ProfilePictures.php
Regel: 338
http://www.site.nl/index.php?action=buddies
8: Undefined index: 308
Bestand: /xxxx/xxxx/xxxx/xxxx/xxxx/Sources/Buddies.php
Regel: 72
http://www.site.nl/index.php?action=buddies
512: loadMemberContext(): member id 308 not previously loaded by loadMemberData()
Bestand: /xxxx/xxxx/xxxx/xxxx/xxxx/Load.php
Regel: 969
http://www.site.nl/index.php?action=profile;u=62;sa=buddies
8: Undefined index: realName
Bestand: /xxxx/xxxx/xxxx/xxxx/xxxx/Themes/default/Profile.template.php (buddies sub template - eval?)
Regel: 1953
http://www.site.nl/index.php?action=profile;u=62;sa=buddies
Pas filter toe: Toon alleen de fouten met hetzelfde bericht
8: Undefined index: 308
Bestand: /xxxx/xxxx/xxxx/xxxx/xxxx/Sources/Profile.php
Regel: 2634
http://www.site.nl/index.php?action=buddies
8: Undefined index: 308
Bestand: /xxxx/xxxx/xxxx/xxxx/xxxx/Sources/Buddies.php
Regel: 51
http://www.site.nl/index.php?action=profile;u=61
8: Undefined index: realName
Bestand: /xxxx/xxxx/xxxx/xxxx/xxxx/Themes/default/languages/Who.dutch.php (summary2 sub template - eval?)
Regel: 512
http://www.site.nl/index.php?action=profile;u=85;sa=summary
8: Undefined index: isOnline
Bestand: /xxxx/xxxx/xxxx/xxxx/xxxx/Sources/Profile.php
Regel: 1322
http://www.site.nl/index.php?action=profile;u=85;sa=summary
8: Undefined index: 87
Bestand: /xxxx/xxxx/xxxx/xxxx/xxxx/Sources/Profile.php
Regel: 1320
I know that some errors has got something to do with Ultimate profile.. maybe it's because i upgraded to 1.1.5 ?
can please someone help me.. i want to go further with enhancing the site...
@d58e7
You can ask Feline (http://feline-networks.com/) to give you the code for displaying last blog posts. Once you have that, it would be very simple to show it in user's profile.
@Lafemme
Can you uninstall Ultimate Profile and install it again without errors? Maybe something went wrong when upgrading. Some of those errors are definitely from UP but I can't find appropriate lines in my original files.
Hi JovanT.. i only upgraded to 1.1.5.. and not yet to UP 0.8.5..
would the ultimate profile work on the 1.1.5?
Yes, it is suitable with the SMF 1.1.5 version.
I am sorry to bring up something I am sure has been asked, but which for the life of me I cannot find.
I just had Leviathan theme installed and now members custom backgrounds do not show up. I believe there is a fix for this, but cannot find where it is located.
Thank you
Weird...
I can post this in the customization form....
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/rbd_RjP6EH0&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/rbd_RjP6EH0&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
and it displayed fine.
but if I post this.....
<font color="#FF0000">test test test test test test test test test test </font>
it displays....
test test test test test test test test test test
...it strips out the html font stuff... going back into the customize box, the font stuff is gone!
Why?
Probably you should add the font tag here:
$allowed_tags = array ('b', 'i', 'u', 'a', 'p', 'br', 'span', 'style', 'div', 'img', 'hr', 'table', 'tr', 'td', 'object', 'embed', 'param', 'ul', 'ol', 'li', 'strong', 'em');
It's in Profile.php.
Cool... thanks... 'any reason size, color, blockquote and font shouldn't be added?
Also, could someone please help me with a little php code that would display everyone who has a custom profile?
in other words....
if default_options[customized] = 1 return links to all those profiles.
Thanks in advance.
To add to the above reply, it would be great if Ultimate Profiles had a special members page that shows up more like the buddy list. Hell, i'd ditch our existing members page in favor of one that shows the users avatar, username, member since, age, gender, and location all in a small table cell. We could fit about 8 users in a row and do 2, maybe 3 rows. That would be 16 to 24 membes per page, which is a good number. And it would look a lot better than the normal old members page.
i get this error to modify my cutomized my profile
Unable to load the 'customized' template.
what can i do?? :(
digit:
Probably because they are deprecated. Use this insted:
<span stlye="color: #FFFFFF; font-size: 12pt; font-family: verdana; font-weight:bold;">My name</span>
For the others, I'm not the coder of the mod and never used the mod.
elforoof:
Check if you have the template_customized() function in your theme's Profile.template.php file.
Thanks.
I would like to show an asterisk in the Who.template.php when someone has a custom profile.
I tried this.... I added this to the globals.... $modSettings, $db_prefix, $ID_MEMBER;
then did this.... in the for each statement
if ($context['member']['options']['customized'] == 1)
echo '*';
but it's not working.
If someone could help me with that little problem, that would be GREAT! 8)
\Im just a new guy on this , I really dont no what to do.
Quote from: [SiNaN] on July 31, 2008, 08:24:34 AM
digit:
Probably because they are deprecated. Use this insted:
<span stlye="color: #FFFFFF; font-size: 12pt; font-family: verdana; font-weight:bold;">My name</span>
For the others, I'm not the coder of the mod and never used the mod.
elforoof:
Check if you have the template_customized() function in your theme's Profile.template.php file.
Does anyone use this mod on anything but a default theme? I can't get the users custom backgrounds to work.
Quote from: tangerine on July 31, 2008, 11:15:19 PM
Does anyone use this mod on anything but a default theme? I can't get the users custom backgrounds to work.
Well what I found out is that if you have a picture in the background of your site, then your users won't be able to use custom backgrounds. But if the background of your site is a solid color with no picture, then your users can use a custom background. It's really strange and I'm not sure if I explained that right, But that's how it worked for me. But I turned that feature off so I don't have to worry about it lol! Hope this helps you out a little!
Maybe I am overlooking something here, but how do you actually ADD buddies?
Mike
i get this error to modify my cutomized my profile
Unable to load the 'customized' template.
what can i do?? :(
can someone help me fix this?
Quote from: shelzmike on August 01, 2008, 02:52:21 PM
Maybe I am overlooking something here, but how do you actually ADD buddies?
Mike
Well first make sure you have enabled the buddy list in
admin -> Features and Options -> Basic Features
and then you will see Enable buddy lists, check that! (I had the same problem at first)
Then when you go to a profile you will see...
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg243.imageshack.us%2Fimg243%2F7886%2Fbuddylisthf6.jpg&hash=5fba1093876cb14995fd4987516aa9bf59debf17)
Hope this helps!
Yusuf
shelzmike:
Do not forget that it works with an approval system.
elforoof:
Are you using a custom theme? If yes, does it have a Profile.template.php file within?
In the Ultimate.template.php file there are some commented out sections. One of them is for the custom profile fields mod.
Could someone give me an example of how to display the custom profile field data?
Thanks in advance.
please me Turkish languages file
türkçe dil dosyasını bilen varsa lütfen paylaşsın
Quote from: VeeDubbinMKIV on August 02, 2008, 12:12:12 AM
Well first make sure you have enabled the buddy list in
admin -> Features and Options -> Basic Features
and then you will see Enable buddy lists, check that! (I had the same problem at first)
Then when you go to a profile you will see...
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg243.imageshack.us%2Fimg243%2F7886%2Fbuddylisthf6.jpg&hash=5fba1093876cb14995fd4987516aa9bf59debf17)
Hope this helps!
Yusuf
Enabled through Admin - check.
Click to add as buddy under custom profile, negative. All I get for any user is "Send this member a personal message" and any contact info they want to share. This is weird...I will try to disable buddy lists and then reenable them to see if that has anything to do with anything.
Mike
No dice there. It still is not working. Is there a personal allow setting? Meaning is this something each individual must allow in addition to it being global? Also, what is the file that this setting is in? Maybe I can go in and manually set it to "enabled".
Mike
@shelzmike
There is no per user allow settings for buddies.
Take a look at this topic (http://jovant.guruserve.com/test-forum/index.php?topic=15.0), maybe it can help you.
Quote from: tangerine on July 31, 2008, 11:15:19 PM
Does anyone use this mod on anything but a default theme? I can't get the users custom backgrounds to work.
Try this CSS:
body {
background-image: url(http://yourdomain.com/image.jpg);
}[/url]
Quote from: digit on July 31, 2008, 10:09:50 AM
I would like to show an asterisk in the Who.template.php when someone has a custom profile.
Open Themes/default/Memberlist.template.php. Find:
function template_main()
{
global $context, $settings, $options, $scripturl, $txt;
replace with:
function template_main()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
Find:
<td class="windowbg" align="left">', $member['link'], '</td>
Replace it with:
<td class="windowbg" align="left">', $member['link'],
((isset($member['options']['customized']) && $member['options']['customized'] == 1) || $modSettings['profile_enable_all'] == 1) ? ' <span style="color: red; font-weight: bold;">*</span>' : '', '</td>
AWESOME! Thanks!
Hi,
I was successfully able to move the customized area and merge it with the forum profile info section. I have removed the link to the customized profile in profile.php.
I noticed things like the allowed tags were in that file as well. With the files moved to forumprofile, will this screw up the ultimate profile mod?
Quote from: Alundra on January 31, 2008, 10:03:02 PM
UPDATE `[dbname]`.`smf_buddies` SET `approved` = '1'
ran that, [dbname] is your db name ;)
worked perfectly
Okay, sorry for double posting but...
Is there a more permanant fix then this? This only takes the current buddy request and approves them. How can I make it automatically approve the buddy requests.
Okay, here is more info - so apparently everyone else but me has the Add as contact link. I am an admin, so I am not sure why I do not have it. Also, I believe that I was the only one who had buddies enabled before I uploaded this mod, could that have something to do with it? This is driving me crazy - you would think that if everyone else has the ability, I would too?
Mike
OKAY!!! Finally, I think I figured out what the problem is. Before I uploaded the mod, I had a couple of buddies on my list. Whenever I was trying to add new buddies in the new Ultimate Profile, I was using those same buddies - since you can only add a buddy once, I did not have that option (thinking that it was not showing because of some bug). So I went to some random person that I was never buddies with before and LO AND BEHOLD! I have the click to add as contact link! So it is not that that is not working - it is the fact that my old buddies are not showing up any longer, but they are apparently still in the system somewhere as my buddy - effectively not letting me add them again. I will take the link that someone sent up above and see if that helps me recover my old buddies! :)
Mike
Okay, new question and this is the last issue for now. For the My Pictures section, some of my members (even mods) do not have an option for uploading pictures. They click on my pictures title and get taken to the my pictures pages, but they are missing the link underneath that says "upload Pics". I have it, but am not sure why they do not.
Also, I know at least one of them do not have the "Customized Profile" link underneath the options block. Anyone have any suggestions here. I have already done the basic searches, such as being sure that everything is enabled and whatnot, but cannot find anything that is off here.
Mike
Okay, now I am having issue with the pictures. I can click on the link and upload them, but rather than displaying the picture that I uploaded, it is just a placeholder with a red x in the box - seems as though the file path is invalid. Which file holds this information so that I can check it. Thanks.
Mike
As an update - I tried to upload a picture then immediately checked the forum error log. The picture is not there (again, it is just the placeholder) and these are the errors I am getting:
2: rename(D:Hosting3105563htmlforum/profile_pictures/tmp_7_thumb,D:Hosting3105563htmlforum/profile_pictures/7_1217887580.JPG) [<a href='function.rename'>function.rename</a>]: No such file or directory
File: D:\Hosting\3105563\html\forum\Sources\ProfilePictures.php
Line: 166
The red highlighted text does not seem right to me - is it supposed to not have slashes?
2: getimagesize(D:Hosting3105563htmlforum/profile_pictures/tmp_7) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory
File: D:\Hosting\3105563\html\forum\Sources\Subs-Graphics.php
Line: 242
2: rename(D:Hosting3105563htmlforum/profile_pictures/tmp_7_thumb,D:Hosting3105563htmlforum/profile_pictures/7_1217887580_thumb.JPG) [<a href='function.rename'>function.rename</a>]: No such file or directory
File: D:\Hosting\3105563\html\forum\Sources\ProfilePictures.php
Line: 163
2: move_uploaded_file() [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: Unable to move 'D:\Temp\php\php12C7.tmp' to 'D:Hosting3105563htmlforum/profile_pictures/tmp_7'
File: D:\Hosting\3105563\html\forum\Sources\ProfilePictures.php
Line: 157
2: move_uploaded_file(D:Hosting3105563htmlforum/profile_pictures/tmp_7) [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: failed to open stream: No such file or directory
File: D:\Hosting\3105563\html\forum\Sources\ProfilePictures.php
Line: 157
Any insight? Is this perhaps a permissions issue? A file path issue. I will check these out in more detail to see what I can come up with in the meantime.
Mike
Edit - it appears that the path is what is wrong - so question is - how do you fix that?
Quote from: brianjw on August 03, 2008, 08:04:21 PM
I noticed things like the allowed tags were in that file as well. With the files moved to forumprofile, will this screw up the ultimate profile mod?
You should test but I think it should be fine.
QuoteHow can I make it automatically approve the buddy requests.
Open Sources/Buddies.php and replace all
approved = 0 with
approved = 1 inside
BuddyAdd() function.
@shelzmike
You should really read the FAQ (http://jovant.guruserve.com/test-forum/index.php?topic=13.0). Your question is answered there.
I REALLY need to get a tatoo of K.I.S.S. on my arm!!! (for the one person who does not know what that is - keep it simple stupid!) . You are absolutely right and I never even thought to look at that. I did read the FAQs, but that was BEFORE I discovered this issue and I didn't remember that it was discussed there.
Now for my next (and hopefully final) question - one of my members says that he does not have the Add Pictures Link when he clicks on my pictures. He is a mod, but I have the Ultimate Profile enabled for everyone except guests. I am not sure if he even understand what I am talking about, but he swears he knows what I am talking about and that it is not there. Would there be any reason, any at all, that he could not see that link and everyone else can? He thinks it is because of his setup Win2000 + IE 6. I told him I was not 100%, but was 95% sure that was not the issue. I mean, he would still see the link regardless, right?
Thanks again for the help on the previous issue!
Mike
Ok, thank you JovanT.
Now one more thing ~
- How can I make the buddy list show each buddy with their gender, amount of posts, and last active time?
- How can I make the buddy list show each buddies avatar at a specific size? Like doing <img src="['avatar']['href']" height="0" width="0" /> or something. I just don't know what to use.. This has been solved.
Thanks,
Brian
Hi guys,
I just wanted your opinion...
What do you think of this mod heavily modified on my site?
http://www.gamerzgarage.com/index.php?action=profile;u=1
Quote from: brianjw on August 04, 2008, 10:55:28 PM
Hi guys,
I just wanted your opinion...
What do you think of this mod heavily modified on my site?
http://www.gamerzgarage.com/index.php?action=profile;u=1
Wow..that looks awsome!! it probly took a lot of time.. yeah.. in the futre.. i also want to make some changes... but one thing at a time.. :D
Quote from: brianjw on August 04, 2008, 10:55:28 PM
Hi guys,
I just wanted your opinion...
What do you think of this mod heavily modified on my site?
http://www.gamerzgarage.com/index.php?action=profile;u=1
It looks great,
except for the 127 html errors :-)http://validator.w3.org/
I have been going through my UltimateProfile mod, and cleaning up all the errors, and found my most pesky ones have to do with the Profile Pictures section.
Could some one please help me rewrite the Profile Pictures section using a while loop?
In the UltimateProfile.template.php file - there is the following snippet...
(straight from the download!)
if ($modSettings['profile_enable_pictures'] == 1 && $context['can_view_pics']) {
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="pictures">
<tr>
<td class="titlebg" height="26" align="center">
<a href="', $scripturl ,'?action=profile;u=', $context['member']['id'] ,';sa=pictures">', $txt['profile_pictures'] ,'</a>
</td>
</tr>
<tr>
<td class="windowbg">
<table>';
if (!empty($context['pictures'])) {
$i = 1;
foreach ($context['pictures'] as $picture) {
if ($i == 1)
echo '
<tr>';
echo '
<td align="center" valign="top" style="clear: both;">
<a href="', $picture['url'] ,'"><img src="', $picture['thumb'] ,'" alt="" title="', $picture['title'], '" border="0" /></a>
</td>';
if ($i == 3)
echo '
</tr>';
$i++;
if ($i == 4) $i = 1;
}
} else
echo '
<tr>
<td>', $txt['profile_pictures_no'] ,'</td>
</tr>';
echo '
</table>
</td>
</tr>
</table>
<br />
';
}
I can't seem to make it work without some pesky syntax errors... like td's and tr's not closed with 2 images displayed, but ok with 4.
SO - It seems to me, this snippet would be
better written with a while statement....I am probably incorrect on the WHERE statement.... and I seem to have a closing bracket out of place! (It's NOT well written, I just copied and pasted something similar and hacked it!) Anyway...this is what I have so far, but it ain't workin!
// Now print the second column.
echo '
<td valign="top" width="50%" id="profile_right">';
if ($modSettings['profile_enable_pictures'] == 1 && $context['can_view_pics']) {
echo '<table border="0" cellpadding="4" cellspacing="1" width="100%" id="pictures">';
$result = db_query("SELECT ID_PICTURE,time,description,filename,ID_ALBUM
FROM {$db_prefix}profile_pictures
WHERE ID_PICTURE = 0 ORDER BY roworder ASC", __FILE__, __LINE__);
$cols=0;
while($row = mysql_fetch_assoc($dbresult))
$cols++;
if($cols==1) {
echo '<tr>';
}
echo '<td><a href="', $picture['url'] ,'"><img src="', $picture['thumb'] ,'" alt="" title="', $picture['description'], '" border="0" /></a>
<br />
<b>', $picture['title'], '</b></td>';
if($cols==4) {
echo '</tr>';
$cols=0;
} // end while
if ($cols < 4 && $cols!=0) {
while($cols <= 4) {
echo '<td> </td>';
$cols++
}
echo '</tr>';
echo '</table>';
}
Thanks a bunch for your help fixing this while loop!
One more question - does anyone know where in the code I can change the wrap parameters. Meaning - my site is constrained to 1000px width and after I edit my profile with html or some other long bit of code, the table that houses the code (where you edit About Me, My Media Etc.) is extended beyond my normal page width - which looks ugly. I can post a screen shot if necessary.
Mike
If the errors don't show up on the page, then I don't care.
Check out my profiles from a user perspective...
http://www.gamerzgarage.com/index.php?action=login
Username: testy
Password: testy
Notice what I did with the menu. It is a drop down menu. I removed the little side menus and I only included the links that I wanted my members to see. Take the time to edit the profile if you want and add a favorite color and it will change the color of your member name on the profile...
And if someone can answer these...
Quote from: brianjw on August 04, 2008, 07:07:26 PM
- How can I make the buddy list show each buddy with their gender, amount of posts, and last active time?
- How can I make the buddy list show each buddies avatar at a specific size? Like doing <img src="['avatar']['href']" height="0" width="0" /> or something. I just don't know what to use.. This has been solved.
- Since I set up by buddies box to scroll when it gets over the height and width, I want ALL of the users buddies to show. Can you tell me how?
Thanks,
Brian
Quote from: brianjw on August 05, 2008, 05:56:19 PM
If the errors don't show up on the page, then I don't care.
Well, when I develop sites, I test on every browser I can get my hands on - and started noticing the errors in Firefox... there was an entirely new column on the right! :P
HI i have installed the mod.
Got the error displayed in the profile page.
Even Ultimate profile is enabled or not.
could you check this out and help me now.
Unknown column 'com.time' in 'field list'
File: /home/itacumen/public_html/forum/Sources/Profile.php
Line: 1548
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.5, while your database is at version 1.1.1. The above error might possibly go away if you execute the latest version of upgrade.php.
asudhakar:
I think mod has some database queries that should be run and seems like they didn't automatically. You should run them from PhpMyAdmin manually.
Quote from: [SiNaN] on August 09, 2008, 09:40:15 AM
asudhakar:
I think mod has some database queries that should be run and seems like they didn't automatically. You should run them from PhpMyAdmin manually.
Any help , i was searching for it for a long time in the topic . Could not figure out Exactly .
Updating Thread :
-----------------------
Hi, Got it . From there Support Board. will work on it and let you know. Thanks for point it.
asudhakar,
I received your email. To solve your issue, just unzip the Ultimate Profile package that you downloaded and upload database.php to your forum root. Then go to http://www.your_forum_root.com/database.php (your forum root). It should install all the databases and as [SiNaN] said it didn't run all the way.
If you still have problems, then I am not sure I can help you.
Thanks for it both Brainjw and SiNaN.
I got it worked as mentioned here and as in FAQ of there blog.
Its working fine.
But Miss two great works in my Profile Page.
One is SiNaN's Latest 5 Visits and
BrainJw's Google Map / Member Map.
could you kindly help me to get both the things back on my New Ultimate Profile Page.
Demo of Profile @ http://forum.itacumens.com
Google Member Map in Ultimate Profile
http://www.gamerzgarage.com/index.php/topic,108.msg433.html#msg433
Latest Visitors
Uninstall your current version of that mod and install the new one which has support for the Ultimate Profile Mod.
Quote from: brianjw on August 09, 2008, 12:46:00 PM
Google Member Map in Ultimate Profile
http://www.gamerzgarage.com/index.php/topic,108.msg433.html#msg433
Latest Visitors
Uninstall your current version of that mod and install the new one which has support for the Ultimate Profile Mod.
COOL!
I have set things so only my paying, Charter Members have access to the Ultimate Profile customization features.
I thought to myself - what happens if they don't pay and lose their Charter Member status?
So I tested it.
To my dismay, their Ultimate Profile still shows, but they no longer have a link to edit it! If they try to edit it directly, they get the message... "You aren't allowed to edit just any ultimate profile."
So, I would like to see a message (maybe below the above error message).... "Would you lke to revert to your standard profile, so you can edit it? Uncheck this box to revert to your standard profile."
Thanks in advance for your help.
digit.
oke.. i am going to update my site tomorrow and install the new version of Up.. however.. i have asked on the forum of JovanT:
Is it possible to add font, bb code, ect. to the comments section?
Can this also be done for the about me and my interest block?
he told me: Yes, it is possible by editing Themes/default/UltimateProfile.template.php
How should i do this and what should i implement??
Quote from: brianjw on August 09, 2008, 12:46:00 PM
Google Member Map in Ultimate Profile
http://www.gamerzgarage.com/index.php/topic,108.msg433.html#msg433
Latest Visitors
Uninstall your current version of that mod and install the new one which has support for the Ultimate Profile Mod.
Hi Brain, you have instructed me in a correct path.
I got the Member map in Ultimate Profile.
And while uninstalling earlier version Profile visitor mod, i got errors and the mod writer SiNaN had helped to cleared it.
Then i have installed the latest version of Profile visitor mod v4.0 with some manual edits leads me a perfect page.
Thanks a lot for it. But still i have to do many changes like one then in Gamez Garage. Will do it soon Brain.
Sizce bu mod ne kdr güvenli.
Anyone smart that could code two nice codes that I'd love to use from Ultimate Profile, on my Forum fontpage, using the mod Simple Portal
- Most Popular Users
(top 5 with most friends)
- Most Popular Walls
(top 5 with most comments)
Would love that ;)
Hello..
ive upgraded.. and it works great!! I only have one problem..
Since the update.. buddy's who are deleted from the forum.. they are now removed automaticly from the buddylist.. so that's great..,
but my members can not delete members from the buddylist who are deleted from the forum before the update.
So now they have empty spots in there list and they cann not delete them in the buddypanel.. if they do. nothing happens...
see the attached file
Please help.. because i kinda promest this issue would be adressed tonight (with i thought it was.. with the new update)
You will have to delete them manually using phpMyAdmin or similar tool.
How do I get customized profile to already be on? instead of having to enable it.
MrBabbelen,
Go to Admin >> Features and Options >> Ultimate Profile and you can set it to default for all users of your forum.
You may want to remove the checkbox in the users profile that says enable/disable the customized profile so they don't get confused because you have it set on default.
Quote from: runebergen on August 14, 2008, 02:23:53 PM
two nice codes that I'd love to use from Ultimate Profile, on my Forum fontpage, using the mod Simple Portal
Top 5 Most Popular Profiles
(top 5 with most friends)
Top 5 Most Popular Walls
(top 5 with most comments)
Would love that ;) Will try myself.. if I figure it out, I'll let you know.. hehe
Here is the code if anyone else with Ultimate Profile wants to add similar feature to Simple Portal Boxes or Tiny Portal... OR at the Profile pages themselves (custom code box)
Somebody might fix up the code a little, and rather use the $db_prefix function.. :)
But it works as it is without it (couldnt quite figure out the use of $db_prefix)
<?
/**********************************************************************************
* PopularProfiles.php *
***********************************************************************************
* SMF: Simple Machines Forum *
* =============================================================================== *
**********************************************************************************/
if (!defined('SMF'))
die('Hacking attempt...');
function most_popular_profile() {
// VARIABLES FOR DATABASE - EDIT THIS FOR YOUR DATABASE
$DB_host = "localhost";
$DB_username = "xxxx";
$DB_passowrd ="xxxx";
$DB_name = "xxx";
$SMF_prefix ="smf_";
global $db_prefix,$ID_MEMBER, $user_info, $scripturl;
mysql_connect($DB_host , $DB_username, $DB_passowrd ) or
die("Could not connect: " . mysql_error());
mysql_select_db($DB_name );
$query = 'SELECT COUNT(`approved`) as \'Number\',`ID_MEMBER`'
. ' FROM `'.$SMF_prefix.'buddies`'
. ' where `approved` = 1'
. ' GROUP BY `ID_MEMBER`'
. ' ORDER BY `Number` desc'
. ' LIMIT 0 , 5';
$result = mysql_query($query);
if (!$result) {
echo mysql_error();
exit;
}
if (mysql_num_rows($result) == 0) {
echo "No entries found yet";
exit;
}
echo '<table width="100%">';
while ($row = mysql_fetch_array($result,MYSQL_ASSOC)) {
$ID = $row["ID_MEMBER"];
$sql = 'SELECT `realName` FROM `'.$SMF_prefix.'members` '
. ' where `ID_MEMBER` = '
. $ID
. ' LIMIT 0, 30 ';
$user = mysql_query($sql);
while ($row2 = mysql_fetch_array($user,MYSQL_ASSOC)) {
echo '<tr>';
echo '<td><a href="'.$scripturl.'?action=profile;u='.$ID.'">';
echo $row2["realName"].'</a></td>';
echo '<td style="text-align:right">'.$row["Number"].' buddies</td>';
echo '</tr>';
}
}
echo '</table>';
}
function most_popular_wall() {
// VARIABLES FOR DATABASE - EDIT THIS FOR YOUR DATABASE
$DB_host = "localhost";
$DB_username = "xxxx";
$DB_passowrd ="xxxx";
$DB_name = "xxx";
$SMF_prefix ="smf_";
$sql = 'SELECT COUNT(`COMMENT_MEMBER_ID`) as `Number`,`COMMENT_MEMBER_ID`'
. ' FROM `'.$SMF_prefix.'profile_comments`'
. ' GROUP BY `COMMENT_MEMBER_ID`'
. ' ORDER BY `Number` desc'
. ' LIMIT 0 , 5 ';
$result = mysql_query($sql);
if (!$result) {
echo mysql_error();
exit;
}
if (mysql_num_rows($result) == 0) {
echo "No entries found yet";
exit;
}
echo '<table width="100%">';
while ($row = mysql_fetch_array($result,MYSQL_ASSOC)) {
$ID = $row["COMMENT_MEMBER_ID"];
$sql = 'SELECT `realName` FROM `'.$SMF_prefix.'members` '
. ' where `ID_MEMBER` = '
. $ID
. ' LIMIT 0, 30 ';
$user = mysql_query($sql);
while ($row2 = mysql_fetch_array($user,MYSQL_ASSOC)) {
echo '<tr>';
echo '<td><a href="'.$scripturl.'?action=profile;u='.$ID.'">';
echo $row2["realName"].'</a></td>';
echo '<td style="text-align:right">'.$row["Number"].' comments</td>';
echo '</tr>';
}
}
echo '</table>';
}
?>
You can put this code in
SOURCES as PopularProfile.php
You must edit this part (2 places) in the code, to match your database settings :// VARIABLES FOR DATABASE - EDIT THIS FOR YOUR DATABASE
$DB_host = "localhost";
$DB_username = "xxxx";
$DB_passowrd ="xxxx";
$DB_name = "xxx";
$SMF_prefix ="smf_";
Use it left or right side boxes, with this code :
include ('Sources/PopularProfiles.php');
echo most_popular_profile() ;
:)
Quote from: JovanT on August 15, 2008, 05:04:42 AM
You will have to delete them manually using phpMyAdmin or similar tool.
oke.. since i am not to smart with coding... where do i have to look for? since there are obviously no names..
Hi :) I love your mod, but for some reason it's not working for me, I'm using the basic theme, and I uploaded it correctly, but I don't see it anywhere in the Admin section. Can someone please help me :(
I'm in desperate need of this mod.
Thanks in Advanced!
xyber9
Quote from: brianjw on August 15, 2008, 08:26:29 AM
MrBabbelen,
Go to Admin >> Features and Options >> Ultimate Profile and you can set it to default for all users of your forum.
You may want to remove the checkbox in the users profile that says enable/disable the customized profile so they don't get confused because you have it set on default.
Thanks so much :)
Thnx for replying :)
Yeah, I checked there and the Ultimate Profile tab doesn't show up at all, I've installed and uninstalled several times getting the same results every time. I'm not sure why this is going on.
:(
I'm using smf 1.1.5 and the default browser.
Quote from: xyber9 on August 15, 2008, 08:30:34 PM
Thnx for replying :)
Yeah, I checked there and the Ultimate Profile tab doesn't show up at all, I've installed and uninstalled several times getting the same results every time. I'm not sure why this is going on.
:(
I'm using smf 1.1.5 and the default browser.
do you have an other language as default?
Sorry for not posting sooner, I'm only using English i could give my pswrd to you so you could check it out, nothing's there so I feel safe, lol
Either that, or I can just assign privileges that are the same as admin :)
wel.. i am not a good coder.. :) but if you want i can take a look... pm me the pass then..
hi.. i found the problem :) you had your language default to english-utf8 - if set it to English.. you can now enjoy your Ultimate Profile :) Good Luck!!
Wow! Thnx! :D Wow! I've been frustrating myself with this all night, lol. If ya ever need somewhere 2 hang out come 2 my board and you'll be a Admin for sure ;)
your welcome.. :) but this is pure luck.. there are guys here ten times better in coding then me.. but thanks for your invitation :)
If thats the case then they're probably ten thousand times better than I am right now, lol :D
Well, if ya ever wanna take me up on the offer, you know where to find me :)
Does anyone know how to fix when buddies approved end up the wrong place?
And why it does so?
I have an auto request to be buddy, from Admin, to all new members, that register (custom hack)
But those who accept, end up at wrong place... Like its ending up at the "original" buddy list, and NOT ultimate profile buddies.
index.php?action=profile;u=2;sa=editBuddies Shows the NEW added buddies that accepted
forum/index.php?action=buddies Do no show NOT the new buddies
yet, it DOES show correct (on Ultimate profile) on the new users profile. Admin added, shows admin as buddy at the profile page for the new users, but not visa versa at the admins profile page :o
Anyone that knows why ? ::)
I am able to put this profile mod if I have this mod installed as well?
http://custom.simplemachines.org/mods/index.php?mod=1150
or will it interfere?
Quote from: vypergt on August 17, 2008, 02:28:32 AM
I am able to put this profile mod if I have this mod installed as well?
http://custom.simplemachines.org/mods/index.php?mod=1150
or will it interfere?
I use Profile Visitors inside of the Ultimate Profile. 8) I haven't seen interference.... you can search this thread (I think) for how to integrate the two.
The mod automatically adds it to Ultimate Profile on package manager install.
Hello, I have not posted here in quite sometime but I need help with this mod.
I recently installed the mod and I keep getting this problem
Unknown column 'com.time' in 'field list'
File: /home/geolion1/public_html/forum/Sources/Profile.php
Line: 1353
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.5, while your database is at version 1.1.4. The above error might possibly go away if you execute the latest version of upgrade.php.
Does anyone know how to fix this, I started to look for the upgrade.php file but cant seem to find it anywhere, if anyone knows how to fix it,then please help me.
Thanks
Geolion1
geo32101,
A simple search would've produced the same error 2 pages ago and a solution.
Please read: http://www.simplemachines.org/community/index.php?topic=183574.msg1651002#msg1651002
and read that entire page and you will find fixes. ;)
Actually I did unzip it and upload that file, but when I actually went to see it there was nothing to see, there was just a blank page.
It's a package and you should install it as any other.
Quote from: JovanT on August 18, 2008, 02:56:49 PM
It's a package and you should install it as any other.
I did, but when I go to the profile all it those is give me that error, so I did what was told 2 pages, ago, but when I go check the database file there is nothing there all it shows is a blank page, unless I am supposed to do something else.
I have just noticed that we cant see whi we have refered in our profiles now. but this is a great mod. does anyone know of any css to change the profile
Quote from: Lafemme on August 13, 2008, 08:41:59 AM
Is it possible to add font, bb code, ect. to the comments section?
Can this also be done for the about me and my interest block?
he told me: Yes, it is possible by editing Themes/default/UltimateProfile.template.php
How should i do this and what should i implement??
I've done just that ;)
In UltimateProfile.template.php look for
// Only show comments if they have made some!
A few lines down from there you'll find
$comment['body']
replace with
parse_bbc ($comment['body'])
Does anyone have a code/hack to show a default avatar for ultimate profile buddy list for those lazy ones that dont put any avatar? :)
Will try figure it out, but havent yet O:)
(I've installed the mod Default Avatar - but this only works for forum post, and the actual profile image)
Well, you just have to put a conditional where avatar is diplayed. Something like this could work in UltimateProfile.template.php:
Find:
$buddy['avatar']
Replace:
empty($buddy['avatar']) ? '<img src="' . $settings['images_url'] . '/default_avatar.gif" alt="avatar" />' : $buddy['avatar']
They are not the exact codes.
Here is the exact code:
', $data['avatar_image'], '
', empty($data['avatar_image']) ? '<img src="' . $settings['images_url'] . '/default_avatar.gif" alt="No Avatar" title="No Avatar" />' : $data['avatar_image'], '
Make sure you have an image called default_avatar.gif uploaded to /Themes/<your_theme/images/
:)
Wow... .this is why I love SMF.. its AWESOME support and help to get around here!! :D :D :D :D
I understood the logic from you guys post there, so in same concept I also added added default avatar for latest visitors block too... (Brians code for Buddies)
foreach ($visitor_profile as $visitor)
echo '
<td class="windowbg" align="center" style="padding:5px;">', $visitor['avatar']['href'] ? '<img src="' . $visitor['avatar']['href'] .'" width="45" height="45"/>' : '', '</td>';
foreach ($visitor_profile as $visitor)
echo ' <td class="windowbg" align="center" style="padding:5px;">'
, empty($visitor['avatar']['href']) ? '<img src="' . $settings['images_url'] . '/default_avatar.gif" alt="No Avatar" title="No Avatar" width="45" height="45" />' : '<img src="'.$visitor['avatar']['href'].'" width="45" height="45"/>',
' </td>';
The 45px widht & height is something I added for my own likings, but is not needed if someone else wanna use this code
:)
I am glad you made it work for you. :) But thank [SiNaN] more, because I had no idea what the code would be. I just posted the exact code it would be, he posted the details. ;)
Ah that's good, seems like you got it. Congrats. ;)
Quote from: brianjw on August 19, 2008, 02:04:42 PM
I am glad you made it work for you. :) But thank [SiNaN] more, because I had no idea what the code would be. I just posted the exact code it would be, he posted the details. ;)
Yeah I've been thanking
Sinan evert since I got here, several times already over last weeks ;) hehe
And seriously, my user experience with SMF, and my current forum with Sinans help, mods and hacks, would not have remotely been the same, as it is, just because if this great guy ;)
So thanx again... and again :) You ROCK
:)
Well, thanks for the comments. We are all trying to do our best to contribute this project. You're welcome. :)
I'm having a WEIRD problem with Ultimate profile.. that might be a SMF problem even...
If you embed the whole Youtube code in MEDIA BOX with the standard Youtube OBJECT and EMBED tags (you tube have this to be compatible with Firefox and IE), the ultimate profile page will CRASH Internet Explorer...
un_htmlspecialchars seems to be the problem, but not 100% sure whats going wrong...
Anyone got any idea?
EDIT : it seems related to my theme, doesnt happen in other themes ... But clueless to why
Quote from: geo32101 on August 18, 2008, 02:44:09 PM
Actually I did unzip it and upload that file, but when I actually went to see it there was nothing to see, there was just a blank page.
Hey guys, can someone please help me out.
Thanks
When I view my profile in internet explorer it is all pushed over and i have to use the srcoll bar to see things where as in firefox it all fits perfect is there a crue for this
Please ignore I have put a code wrong for my media and it messed all the page up.yet again this is the best
Now that the SMF 2.0 Beta 4 has been released to charter members, I'm seriously thinking about updating my community - I figure that after 4 betas, the first RC can't be too far away.
However, I don't want to lose the Ultimate Profile mod in the process.
So my question, to Jovan but also to the community is: can we expect to have Ultimate Profile on SMF 2 anytime soon, and, if not, what can we do help make this happen?
Is anyone already running a version of Ultimate Profile under Beta 4 that could be released, if an office release isn't coming soon?
If we chipped in to get Jovan an SMF charter membership so that he can get access to the beta's would that help?
Are there any other suggestions?
I really appreciate this mod and consider it just too valuable to do without, which is why I haven't upgraded my board yet.
Thanks for your input everyone,
Paul
Quote from: Pauls on August 18, 2008, 05:03:32 PM
I have just noticed that we cant see who we have refered in our profiles now. but this is a great mod. does anyone know of any css to change the profile
Anybody have a answer for me
well, i had profile visitors, refferel mod installed but with ultimate profile, i dont see any of them. Any idea what I have to do ?
Quote from: F.L.A.M.E.R on August 22, 2008, 04:44:24 AM
well, i had profile visitors, refferel mod installed but with ultimate profile, i dont see any of them. Any idea what I have to do ?
You have to add the mod in manually to the profile template is my guess.
it was there for the normal profile... i mean its not only the refferel.. even lots of other things are kind of missing.. like the next post level mod doesnt display the text..similarly other things are missing...
Also who changed my karma can not be seen :( but we cant hace everything this is still a great mod
Is it done or still doesn't work properly?
Dont know if this has been done but here goes
This will get who changed my karma and whos karma I changed in your ultimate profile
In your theme/default/ultimateprofile.template.
Find
<br />
<a href="', $scripturl ,'?action=profile;u=', $context['member']['id'], ';sa=report">', $txt['profile_report_this'] ,'</a><br />
Add before
<br />
<a href="'. $scripturl . '?action=otherkarma;u=' . $context['member']['id'] . '">'.$txt['whom_i_change_karma'].'</a><br />
<a href="'. $scripturl . '?action=ownkarma;u=' . $context['member']['id'] . '">'.$txt['who_change_my_karma'].'</a><br />
Please make a back up of your files before you do this
Hope this helps you out
Thanks paul aka callteg4
Show referals on ultimate profile ,
Please make a copy of your files before you do this
Open themes/default/ultimateprofile.template
Find
// If karma enabled show the members karma.
Add before
// Adds the referral/referred user information to the profile summary
echo '<tr><td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td></tr>
<tr>
<td><b>'.$txt['referrals_referrals'].'</b></td>
<td>'.$context['member']['referrals_no'] .' ';
// Show in dropdown usersname of those referred
if(!empty($context['member']['referredmembers']))
{
echo '<select onchange="location=options[selectedIndex].value;">
<option>'.$txt['referrals_membersreferred'].'</option>';
foreach($context['member']['referredmembers'] as $x)
echo $x;
// Tidy up
unset($x);
echo '</select>';
}
echo' </td>
</tr>
<tr>
<td><b>'.$txt['referrals_referrals_hits'].'</b></td>
<td>'.$context['member']['referrals_hits'].'</td>
</tr>';
if (!empty($context['member']['referred_by']))
{
echo' <tr>
<td><b>'.$txt['referrals_referred_by'].'</b></td>
<td>'.$context['member']['referred_bylink'].' '.$txt['referrals_on'].' '. date("jS M Y",$context['member']['referred_on']).'
</td>
</tr>';
}
echo '<tr>
<td colspan="2"><b>'.$txt['referrals_link'].'</b></td>
</tr>
<tr><td colspan="2" style="text-align:center;">
<script language="JavaScript" type="text/javascript"><!--//
function copy_referrallink()
{
// Create element (if does not exist)
if(!document.getElementById(\'clipboard\'))
{
var copydiv = document.createElement(\'div\');
copydiv.id = \'clipboard\';
document.body.appendChild(copydiv);
}
// Clear element
document.getElementById(\'clipboard\').innerHTML = \'\';
// Copy Referral Link
document.getElementById(\'clipboard\').innerHTML = \'<embed src="referrals_copytoclipboard.swf" FlashVars="clipboard=\'+encodeURIComponent(document.getElementById(\'referrallink\').value)+\'" width="0" height="0" type="application/x-shockwave-flash"></embed>\';
}
//--></script>
<input type="text" id="referrallink" value="'.$scripturl.'?referredby='. $context['member']['id'] .'" readonly="true" style="width:250px;" />
<a href="javascript:void(0);" rel="nofollow" onclick="javascript:copy_referrallink();return false;" title="'.$txt['referrallink_copy'].'">'.$txt['referrallink_copy'].'</a>
</td>
</tr>';
I hope you like this
Thanks paul aka callteg4
ehm... please code your links..? sometimes I miss out some brackets or text in there...
Sorry I have editted my posts
ok.. and how about the shop mod dollers or settings code ?
EDIT:-
Also please if possible, Can you give me other codes for the features below aswell ?
Next Posting Level
Profile Visitors.
Thanks, above both codes work Great.
Lolz..All sorted out..Just copied the codes from profile.template.php and added in ultimate profile...
Thanks for help...Now the mission shop mod is on..!
Here is a quick guide on how to add BBC buttons to the editor section of the about me and my interests sections
The result will look like this.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fxs230.xs.to%2Fxs230%2F08346%2Fscreen449.gif&hash=4dd166f79e9afc01d9da14a8323202ea72eaab63)
Backup Files First
Profile.php
Find
// Execute the modifications!
function ModifyProfile2()
{
global $txt, $modSettings;
global $cookiename, $context;
global $sourcedir, $scripturl, $db_prefix;
global $ID_MEMBER, $user_info;
global $context, $newpassemail, $user_profile, $validationCode;
loadLanguage('Profile');
Add after
if (isset($_POST['default_options_about'])) $_POST['default_options']['about'] = $_POST['default_options_about'];
if (isset($_POST['default_options_interests'])) $_POST['default_options']['interests'] = $_POST['default_options_interests'];
Thanks for JovanT for helping me with that bit ^^
Profile.template.php
Find
<textarea class="editor" name="default_options[about]" rows="8" cols="65">', @$context['member']['options']['about'], '</textarea><br />';
Replace With
<script language="JavaScript" type="text/javascript">
function bbc_highlight(something, mode)
{
something.style.backgroundImage = "url(" + smf_images_url + (mode ? "/bbc/bbc_hoverbg.gif)" : "/bbc/bbc_bg.gif)");
}
</script>';
// load the post variables
loadLanguage('Post');
// The below array makes it dead easy to add images to this page. Add it to the array and everything else is done for you!
$context['bbc_tags'] = array();
$context['bbc_tags'][] = array(
'bold' => array('code' => 'b', 'before' => '[b]', 'after' => '[/b]', 'description' => $txt[253]),
'italicize' => array('code' => 'i', 'before' => '[i]', 'after' => '[/i]', 'description' => $txt[254]),
'underline' => array('code' => 'u', 'before' => '[u]', 'after' => '[/u]', 'description' => $txt[255]),
'strike' => array('code' => 's', 'before' => '[s]', 'after' => '[/s]', 'description' => $txt[441]),
'glow' => array('code' => 'glow', 'before' => '[glow=red,2,300]', 'after' => '[/glow]', 'description' => $txt[442]),
'shadow' => array('code' => 'shadow', 'before' => '[shadow=red,left]', 'after' => '[/shadow]', 'description' => $txt[443]),
'move' => array('code' => 'move', 'before' => '[move]', 'after' => '[/move]', 'description' => $txt[439]),
'pre' => array('code' => 'pre', 'before' => '[pre]', 'after' => '[/pre]', 'description' => $txt[444]),
'justify' => array('code' => 'justify', 'before' => '[justify]', 'after' => '[/justify]', 'description' => $txt['justify']),
'left' => array('code' => 'left', 'before' => '[left]', 'after' => '[/left]', 'description' => $txt[445]),
'center' => array('code' => 'center', 'before' => '[center]', 'after' => '[/center]', 'description' => $txt[256]),
'right' => array('code' => 'right', 'before' => '[right]', 'after' => '[/right]', 'description' => $txt[446]),
'flash' => array('code' => 'flash', 'before' => '[flash=200,200]', 'after' => '[/flash]', 'description' => $txt[433]),
'img' => array('code' => 'img', 'before' => '[img]', 'after' => '[/img]', 'description' => $txt[435]),
'url' => array('code' => 'url', 'before' => '[url]', 'after' => '[/url]', 'description' => $txt[257]),
'email' => array('code' => 'email', 'before' => '[email]', 'after' => '[/email]', 'description' => $txt[258]),
'sup' => array('code' => 'sup', 'before' => '[sup]', 'after' => '[/sup]', 'description' => $txt[447]),
'sub' => array('code' => 'sub', 'before' => '[sub]', 'after' => '[/sub]', 'description' => $txt[448]),
'list' => array('code' => 'list', 'before' => '[list]\n[li]', 'after' => '[/li]\n[li][/li]\n[/list]', 'description' => $txt[261]),
);
// Here loop through the array, printing the images/rows/separators!
foreach ($context['bbc_tags'][0] as $image => $tag)
{
// Is there a "before" part for this bbc button? If not, it can't be a button!!
if (isset($tag['before']))
{
// Is this tag disabled?
if (!empty($context['disabled_tags'][$tag['code']]))
continue;
// If there's no after, we're just replacing the entire selection in the post box.
if (!isset($tag['after']))
echo '<a href="javascript:void(0);" onclick="replaceText(\'', $tag['before'], '\', document.forms.creator.default_options_about); return false;">';
// On the other hand, if there is one we are surrounding the selection ;).
else
echo '<a href="javascript:void(0);" onclick="surroundText(\'', $tag['before'], '\', \'', $tag['after'], '\', document.forms.creator.default_options_about); return false;">';
// Okay... we have the link. Now for the image and the closing </a>!
echo '<img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="', $settings['images_url'], '/bbc/', $image, '.gif" align="bottom" width="23" height="22" alt="', $tag['description'], '" title="', $tag['description'], '" style="background-image: url(', $settings['images_url'], '/bbc/bbc_bg.gif); margin: 1px 2px 1px 1px;" /></a>';
}
}
// Print a drop down list for all the colors we allow!
if (!isset($context['disabled_tags']['color']))
echo ' <select onchange="surroundText(\'[color=\' + this.options[this.selectedIndex].value.toLowerCase() + \']\', \'[/color]\', document.forms.creator.default_options_about); this.selectedIndex = 0; document.forms.creator.default_options_about.focus(document.forms.creator.default_options_about.caretPos);" style="margin-bottom: 1ex;">
<option value="" selected="selected">', $txt['change_color'], '</option>
<option value="Black">', $txt[262], '</option>
<option value="Red">', $txt[263], '</option>
<option value="Yellow">', $txt[264], '</option>
<option value="Pink">', $txt[265], '</option>
<option value="Green">', $txt[266], '</option>
<option value="Orange">', $txt[267], '</option>
<option value="Purple">', $txt[268], '</option>
<option value="Blue">', $txt[269], '</option>
<option value="Beige">', $txt[270], '</option>
<option value="Brown">', $txt[271], '</option>
<option value="Teal">', $txt[272], '</option>
<option value="Navy">', $txt[273], '</option>
<option value="Maroon">', $txt[274], '</option>
<option value="LimeGreen">', $txt[275], '</option>
</select>';
// Print a drop down list for all the fonts are aviable!
if (!isset($context['disabled_tags']['font']))
echo ' <select onchange="surroundText(\'[font=\' + this.options[this.selectedIndex].value.toLowerCase() + \']\', \'[/font]\', document.forms.creator.default_options_about); this.selectedIndex = 0; document.forms.creator.default_options_about.focus(document.forms.creator.default_options_about.caretPos);" style="margin-bottom: 1ex;">
<option value="" selected="selected">', $txt['font_face'], '</option>
<option value="Arial">', $txt['font_arial'], '</option>
<option value="Times New Roman">', $txt['font_times'], '</option>
<option value="Comic Sans MS">', $txt['font_comic'], '</option>
<option value="Verdana">', $txt['font_verd'], '</option>
<option value="Haettenschweiler">', $txt['font_heatt'], '</option>
<option value="Tahoma">', $txt['font_taho'], '</option>
</select>';
// Print a drop down list for all the fonts sizes are aviable!
if (!isset($context['disabled_tags']['size']))
echo ' <select onchange="surroundText(\'[size=\' + this.options[this.selectedIndex].value.toLowerCase() + \']\', \'[/size]\', document.forms.creator.default_options_about); this.selectedIndex = 0; document.forms.creator.default_options_about.focus(document.forms.creator.default_options_about.caretPos);" style="margin-bottom: 1ex;">
<option value="" selected="selected">', $txt['font_size'], '</option>
<option value="9pt">', $txt['size_9'], '</option>
<option value="10pt">', $txt['size_10'], '</option>
<option value="11pt">', $txt['size_11'], '</option>
<option value="12pt">', $txt['size_12'], '</option>
<option value="13pt">', $txt['size_13'], '</option>
<option value="14pt">', $txt['size_14'], '</option>
</select>';
echo '<br />';
$found_button = false;
// Print the buttom row of buttons!
foreach ($context['bbc_tags'][1] as $image => $tag)
{
if (isset($tag['before']))
{
// Is this tag disabled?
if (!empty($context['disabled_tags'][$tag['code']]))
continue;
$found_button = true;
// If there's no after, we're just replacing the entire selection in the post box.
if (!isset($tag['after']))
echo '<a href="javascript:void(0);" onclick="replaceText(\'', $tag['before'], '\', document.forms.creator.default_options_about); return false;">';
// On the other hand, if there is one we are surrounding the selection ;).
else
echo '<a href="javascript:void(0);" onclick="surroundText(\'', $tag['before'], '\', \'', $tag['after'], '\', document.forms.creator.default_options_about); return false;">';
// Okay... we have the link. Now for the image and the closing </a>!
echo '<img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="', $settings['images_url'], '/bbc/', $image, '.gif" align="bottom" width="23" height="22" alt="', $tag['description'], '" title="', $tag['description'], '" style="background-image: url(', $settings['images_url'], '/bbc/bbc_bg.gif); margin: 1px 2px 1px 1px;" /></a>';
}
}
echo '
<br> <textarea class="editor" name="default_options_about" rows="8" cols="65">', @$context['member']['options']['about'], '</textarea><br />';
Find
<textarea class="editor" name="default_options[interests]" rows="8" cols="65">', @$context['member']['options']['interests'], '</textarea><br />
Replace With
<script language="JavaScript" type="text/javascript">
function bbc_highlight(something, mode)
{
something.style.backgroundImage = "url(" + smf_images_url + (mode ? "/bbc/bbc_hoverbg.gif)" : "/bbc/bbc_bg.gif)");
}
</script>';
// load the post variables
loadLanguage('Post');
// The below array makes it dead easy to add images to this page. Add it to the array and everything else is done for you!
$context['bbc_tags'] = array();
$context['bbc_tags'][] = array(
'bold' => array('code' => 'b', 'before' => '[b]', 'after' => '[/b]', 'description' => $txt[253]),
'italicize' => array('code' => 'i', 'before' => '[i]', 'after' => '[/i]', 'description' => $txt[254]),
'underline' => array('code' => 'u', 'before' => '[u]', 'after' => '[/u]', 'description' => $txt[255]),
'strike' => array('code' => 's', 'before' => '[s]', 'after' => '[/s]', 'description' => $txt[441]),
'glow' => array('code' => 'glow', 'before' => '[glow=red,2,300]', 'after' => '[/glow]', 'description' => $txt[442]),
'shadow' => array('code' => 'shadow', 'before' => '[shadow=red,left]', 'after' => '[/shadow]', 'description' => $txt[443]),
'move' => array('code' => 'move', 'before' => '[move]', 'after' => '[/move]', 'description' => $txt[439]),
'pre' => array('code' => 'pre', 'before' => '[pre]', 'after' => '[/pre]', 'description' => $txt[444]),
'justify' => array('code' => 'justify', 'before' => '[justify]', 'after' => '[/justify]', 'description' => $txt['justify']),
'left' => array('code' => 'left', 'before' => '[left]', 'after' => '[/left]', 'description' => $txt[445]),
'center' => array('code' => 'center', 'before' => '[center]', 'after' => '[/center]', 'description' => $txt[256]),
'right' => array('code' => 'right', 'before' => '[right]', 'after' => '[/right]', 'description' => $txt[446]),
'flash' => array('code' => 'flash', 'before' => '[flash=200,200]', 'after' => '[/flash]', 'description' => $txt[433]),
'img' => array('code' => 'img', 'before' => '[img]', 'after' => '[/img]', 'description' => $txt[435]),
'url' => array('code' => 'url', 'before' => '[url]', 'after' => '[/url]', 'description' => $txt[257]),
'email' => array('code' => 'email', 'before' => '[email]', 'after' => '[/email]', 'description' => $txt[258]),
'sup' => array('code' => 'sup', 'before' => '[sup]', 'after' => '[/sup]', 'description' => $txt[447]),
'sub' => array('code' => 'sub', 'before' => '[sub]', 'after' => '[/sub]', 'description' => $txt[448]),
'list' => array('code' => 'list', 'before' => '[list]\n[li]', 'after' => '[/li]\n[li][/li]\n[/list]', 'description' => $txt[261]),
);
// Here loop through the array, printing the images/rows/separators!
foreach ($context['bbc_tags'][0] as $image => $tag)
{
// Is there a "before" part for this bbc button? If not, it can't be a button!!
if (isset($tag['before']))
{
// Is this tag disabled?
if (!empty($context['disabled_tags'][$tag['code']]))
continue;
// If there's no after, we're just replacing the entire selection in the post box.
if (!isset($tag['after']))
echo '<a href="javascript:void(0);" onclick="replaceText(\'', $tag['before'], '\', document.forms.creator.default_options_interests); return false;">';
// On the other hand, if there is one we are surrounding the selection ;).
else
echo '<a href="javascript:void(0);" onclick="surroundText(\'', $tag['before'], '\', \'', $tag['after'], '\', document.forms.creator.default_options_interests); return false;">';
// Okay... we have the link. Now for the image and the closing </a>!
echo '<img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="', $settings['images_url'], '/bbc/', $image, '.gif" align="bottom" width="23" height="22" alt="', $tag['description'], '" title="', $tag['description'], '" style="background-image: url(', $settings['images_url'], '/bbc/bbc_bg.gif); margin: 1px 2px 1px 1px;" /></a>';
}
}
// Print a drop down list for all the colors we allow!
if (!isset($context['disabled_tags']['color']))
echo ' <select onchange="surroundText(\'[color=\' + this.options[this.selectedIndex].value.toLowerCase() + \']\', \'[/color]\', document.forms.creator.default_options_interests); this.selectedIndex = 0; document.forms.creator.default_options_interests.focus(document.forms.creator.default_options_interests.caretPos);" style="margin-bottom: 1ex;">
<option value="" selected="selected">', $txt['change_color'], '</option>
<option value="Black">', $txt[262], '</option>
<option value="Red">', $txt[263], '</option>
<option value="Yellow">', $txt[264], '</option>
<option value="Pink">', $txt[265], '</option>
<option value="Green">', $txt[266], '</option>
<option value="Orange">', $txt[267], '</option>
<option value="Purple">', $txt[268], '</option>
<option value="Blue">', $txt[269], '</option>
<option value="Beige">', $txt[270], '</option>
<option value="Brown">', $txt[271], '</option>
<option value="Teal">', $txt[272], '</option>
<option value="Navy">', $txt[273], '</option>
<option value="Maroon">', $txt[274], '</option>
<option value="LimeGreen">', $txt[275], '</option>
</select>';
// Print a drop down list for all the fonts are aviable!
if (!isset($context['disabled_tags']['font']))
echo ' <select onchange="surroundText(\'[font=\' + this.options[this.selectedIndex].value.toLowerCase() + \']\', \'[/font]\', document.forms.creator.default_options_interests); this.selectedIndex = 0; document.forms.creator.default_options_interests.focus(document.forms.creator.default_options_interests.caretPos);" style="margin-bottom: 1ex;">
<option value="" selected="selected">', $txt['font_face'], '</option>
<option value="Arial">', $txt['font_arial'], '</option>
<option value="Times New Roman">', $txt['font_times'], '</option>
<option value="Comic Sans MS">', $txt['font_comic'], '</option>
<option value="Verdana">', $txt['font_verd'], '</option>
<option value="Haettenschweiler">', $txt['font_heatt'], '</option>
<option value="Tahoma">', $txt['font_taho'], '</option>
</select>';
// Print a drop down list for all the fonts sizes are aviable!
if (!isset($context['disabled_tags']['size']))
echo ' <select onchange="surroundText(\'[size=\' + this.options[this.selectedIndex].value.toLowerCase() + \']\', \'[/size]\', document.forms.creator.default_options_interests); this.selectedIndex = 0; document.forms.creator.default_options_interests.focus(document.forms.creator.default_options_interests.caretPos);" style="margin-bottom: 1ex;">
<option value="" selected="selected">', $txt['font_size'], '</option>
<option value="9pt">', $txt['size_9'], '</option>
<option value="10pt">', $txt['size_10'], '</option>
<option value="11pt">', $txt['size_11'], '</option>
<option value="12pt">', $txt['size_12'], '</option>
<option value="13pt">', $txt['size_13'], '</option>
<option value="14pt">', $txt['size_14'], '</option>
</select>';
echo '<br />';
$found_button = false;
// Print the buttom row of buttons!
foreach ($context['bbc_tags'][1] as $image => $tag)
{
if (isset($tag['before']))
{
// Is this tag disabled?
if (!empty($context['disabled_tags'][$tag['code']]))
continue;
$found_button = true;
// If there's no after, we're just replacing the entire selection in the post box.
if (!isset($tag['after']))
echo '<a href="javascript:void(0);" onclick="replaceText(\'', $tag['before'], '\', document.forms.creator.default_options_interests); return false;">';
// On the other hand, if there is one we are surrounding the selection ;).
else
echo '<a href="javascript:void(0);" onclick="surroundText(\'', $tag['before'], '\', \'', $tag['after'], '\', document.forms.creator.default_options_interests); return false;">';
// Okay... we have the link. Now for the image and the closing </a>!
echo '<img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="', $settings['images_url'], '/bbc/', $image, '.gif" align="bottom" width="23" height="22" alt="', $tag['description'], '" title="', $tag['description'], '" style="background-image: url(', $settings['images_url'], '/bbc/bbc_bg.gif); margin: 1px 2px 1px 1px;" /></a>';
}
}
echo '
<textarea class="editor" name="default_options_interests" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onchange="storeCaret(this);" rows="8" cols="65">', @$context['member']['options']['interests'], '</textarea><br />
Save and reupload the files making sure they overwrite the old ones and you should now have BBC buttons.
Gr8 Gr8.!!! Wicked..I was wondering to ask that question...!
I am not sure about getting the shop to show on profile but i will give it ago ;)
off topic but is there a way to reset all the karma as i have been adding to test it out and would like to clear them all now for a fresh start
UPDATE smf_members
SET karmaGood = 0, karmaBad = 0
WHERE ID_MEMBER > 0
Should do the trick if used in PhpMyAdmin and unless Ultimate Profile has some other system about karma.
Quote from: callteg4 on August 23, 2008, 06:41:54 PM
off topic but is there a way to reset all the karma as i have been adding to test it out and would like to clear them all now for a fresh start
You can probably go in that particular account as an admin and go in "Account Settings" and there at the base, turn the karma as 0 or whatever you want....
Quote from: F.L.A.M.E.R on August 23, 2008, 06:46:29 PM
Quote from: callteg4 on August 23, 2008, 06:41:54 PM
off topic but is there a way to reset all the karma as i have been adding to test it out and would like to clear them all now for a fresh start
You can probably go in that particular account as an admin and go in "Account Settings" and there at the base, turn the karma as 0 or whatever you want....
That worked thanks. did you say in an above post above that you have got how many credits have got showing in the ultimate profile now?
yep.. i have got it right..
i just added this code...
// Begin SMFShop MOD New version
echo '</tr><tr>
<td><b>Credits:</b></td>
<td>', $modSettings['shopCurrencyPrefix'], $context['member']['money'], $modSettings['shopCurrencySuffix'], '</td>';
// End SMFShop MOD
before this line..
// If the person looking is allowed, they can check the members IP address and hostname.
That did not work for me :(
see at the base.. just over the reps...
it should say Credits:
not on mine :(
Quote from: callteg4 on August 23, 2008, 03:09:11 PM
Show referals on ultimate profile ,
Please make a copy of your files before you do this
Open themes/default/ultimateprofile.template
Find
// If karma enabled show the members karma.
Add before
// Adds the referral/referred user information to the profile summary
echo '<tr><td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td></tr>
<tr>
<td><b>'.$txt['referrals_referrals'].'</b></td>
<td>'.$context['member']['referrals_no'] .' ';
// Show in dropdown usersname of those referred
if(!empty($context['member']['referredmembers']))
{
echo '<select onchange="location=options[selectedIndex].value;">
<option>'.$txt['referrals_membersreferred'].'</option>';
foreach($context['member']['referredmembers'] as $x)
echo $x;
// Tidy up
unset($x);
echo '</select>';
}
echo' </td>
</tr>
<tr>
<td><b>'.$txt['referrals_referrals_hits'].'</b></td>
<td>'.$context['member']['referrals_hits'].'</td>
</tr>';
if (!empty($context['member']['referred_by']))
{
echo' <tr>
<td><b>'.$txt['referrals_referred_by'].'</b></td>
<td>'.$context['member']['referred_bylink'].' '.$txt['referrals_on'].' '. date("jS M Y",$context['member']['referred_on']).'
</td>
</tr>';
}
echo '<tr>
<td colspan="2"><b>'.$txt['referrals_link'].'</b></td>
</tr>
<tr><td colspan="2" style="text-align:center;">
<script language="JavaScript" type="text/javascript"><!--//
function copy_referrallink()
{
// Create element (if does not exist)
if(!document.getElementById(\'clipboard\'))
{
var copydiv = document.createElement(\'div\');
copydiv.id = \'clipboard\';
document.body.appendChild(copydiv);
}
// Clear element
document.getElementById(\'clipboard\').innerHTML = \'\';
// Copy Referral Link
document.getElementById(\'clipboard\').innerHTML = \'<embed src="referrals_copytoclipboard.swf" FlashVars="clipboard=\'+encodeURIComponent(document.getElementById(\'referrallink\').value)+\'" width="0" height="0" type="application/x-shockwave-flash"></embed>\';
}
//--></script>
<input type="text" id="referrallink" value="'.$scripturl.'?referredby='. $context['member']['id'] .'" readonly="true" style="width:250px;" />
<a href="javascript:void(0);" rel="nofollow" onclick="javascript:copy_referrallink();return false;" title="'.$txt['referrallink_copy'].'">'.$txt['referrallink_copy'].'</a>
</td>
</tr>';
I hope you like this
Thanks paul aka callteg4
Updated the first one had no referal link showing
Just looked and i dont even have the shop credits in the standard profile it says credits but does not show how many strange
Ehm... Are you sure you have the shop mod installed on the 1st place ?
yes lol the credits are showing in the forums next to members posts, I have fot it showing on ultimate profile now but no credits next to it
This looks really nice :-)
Any idea if this'll be ported over to work with 2.0?
Quote from: geo32101 on August 18, 2008, 12:23:36 PM
Hello, I have not posted here in quite sometime but I need help with this mod.
I recently installed the mod and I keep getting this problem
Unknown column 'com.time' in 'field list'
File: /home/geolion1/public_html/forum/Sources/Profile.php
Line: 1353
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.5, while your database is at version 1.1.4. The above error might possibly go away if you execute the latest version of upgrade.php.
Does anyone know how to fix this, I started to look for the upgrade.php file but cant seem to find it anywhere, if anyone knows how to fix it,then please help me.
Thanks
Geolion1
Please help me out, I really want this mod to work but I dont know what to do with this?
Thanks
Not sure but probably it has a .php file that makes the db changes in the package. Upload it to your forum root directory and call with your browser. After you do this, delete the file from your site.
Quote from: [SiNaN] on August 25, 2008, 02:16:23 PM
Not sure but probably it has a .php file that makes the db changes in the package. Upload it to your forum root directory and call with your browser. After you do this, delete the file from your site.
I did that, but all I see is a blank page, unless I am supposed to do something else?
No, that's quite normal. Can you check now if the mod is working or not?
Quote from: [SiNaN] on August 25, 2008, 04:36:15 PM
No, that's quite normal. Can you check now if the mod is working or not?
I tried that the other day, but it still says the same thing.
Can you try running this query through PhpMyAdmin?
ALTER TABLE smf_profile_comments
ADD time int(11) NOT NULL default '0'
Quote from: [SiNaN] on August 25, 2008, 05:02:15 PM
Can you try running this query through PhpMyAdmin?
ALTER TABLE smf_profile_comments
ADD time int(11) NOT NULL default '0'
Alright, I did that...and it works, thank you.
Now I am going to read around this thread to put somethings in.
I'm trying to make the custom looks for the profile pages more user friendly for the non CSS knowing profile users...
One of these attempt will include to make the options to have the profile more "myspace code friendly"
I'm adding checkboxes where users more easily can choose some pre-defined (hidden) CSS code ..
At profile.template.php I added this
<tr>
<td width="40%" valign="top">
<b>Make profile body transparent</b>
</td>
<td>
<input type="hidden" name="default_options[hidden_body]" value="0" /><input type="checkbox" name="default_options[hidden_body]"', (@$context['member']['options']['hidden_body]'] == 1) ? ' checked="checked"' : '', ' value="1" class="check" />
</td>
</tr>
The ide is that if the user choose this option, I'll apply some CSS code at UltimateProfile.template for them
if ($context['member']['options']['hidden_body'] == 1) {
echo '
<style>
/* the CSS code that hides the templates body, makes it transparent*/
</style>
';
}
Now, this works excellent... If a user chooses this checkbox, it makes my current template hide a lot of the body (background:transparent;), and makes Myspace profile code look a LOT better, for those who use....
BUT, here is the problem...
When they return to the profile setting page, the checkbox for "Hide profile body" does not stay checked, even if they did so, and saved the profile settings.
How do I make the check box stay checked, for those who use it?
Thanx...
In your codes:
Find:
['hidden_body]']
Replace:
['hidden_body']
THANKS :D :D
Damn, thats why PHP is such a pain in the...... Didnt see the context error..
Thanx for spotting it.. :D
By the way, when I get a little time, I'll attempt to rewrite the tables and CSS classes/ids in UltimateProfile.template to make it as close to 100% compatible with MySpace profile codes as possible...
I'll share it here, if I have success in doing so :)
That is interesting idea and I'm sure it will help a lot.
But, when coding Ultimate Profile, I choosed opposite aproach. I got sick of that awful MySpace HTML so I tried to make my code easily customised, as much as possible. That's why you can find ID for most of the important elements.
So, I think that it will be much usefull if you could make some kind of a CSS generator for Ultimate Profile.
Quote from: JovanT on August 26, 2008, 01:01:59 PM
So, I think that it will be much usefull if you could make some kind of a CSS generator for Ultimate Profile.
I agree. MySpace layouts look AWFUL. Make a custom CSS generator, and on top of that you could "convert" myspace layouts, but not actually allow myspace layouts.
Quote from: JovanT on August 26, 2008, 01:01:59 PM
So, I think that it will be much usefull if you could make some kind of a CSS generator for Ultimate Profile.
Yes, agree... ideally that is what i would want too...
But the main problem is that most users expect the Ultimate profile to be compatible with MySpace codes, and put the code there regardless... Reason is that 99% of the users, know NOTHING about CSS.... So even if Ultimate Profile is easy to customize (it is), most users have no idea about how...
So either I gotta figure out some sort of convert the myspace code on the fly, to suit Ultimate profile (And strip of the ugly parts), or make Ultimate Profile more compatible with Myspace codes :)
And yes, most myspace codes are ugly...
And EVEN MORE UGLY when applied into a profile system (Ultimate Profile), that does NOT support myspace codes.. So not having Ultimate Profile support myspace code, is from an ideal view all good (one hates myspace codes), BUT, that kinda only makes them look even worse, when the code is applied :P
But thats the beauty of rewriting Ultimate Profile CSS and so on.. One can control HOW MUCH one would allow myspace codes to change the profile pages...
But ideally, a Ultimate Profile CSS generator would be awesome :D
Here is something I'v applied TEMPORARY to make it easier for users to customize their profile, and I also added some of my own CSS code, to make Myspace codes work better...
Quote from: runebergen on August 26, 2008, 04:34:58 PM
Here is something I'v applied TEMPORARY to make it easier for users to customize their profile, and I also added some of my own CSS code, to make Myspace codes work better...
I need that, is there a way you can share it with the rest of us and why temporary?
Thanks
Yeah, it migth just be permanent, the users loved it :D
I only need to sort out the mess with myspace codes a few add.. but gettting close..
Sure I can share the stuff in the image above, but it isnt meant as a general use for any template of SMF, since (I guess) each template has its own CSS parts, so its pretty hard to make it work generally for all templates..
But I'll share the way to do it, and hopefully you'll know a little CSS and change to what you need for your own template... :)
In Profile.template.php I've added the extra choces for the users (Background image, color codes etc).
You add this anywhere within the function template_customized() (find this part)
// CSS CUSTOM CHECK BOXES
echo ' <tr>
<td width="40%" valign="top">
<b>Make profile body transparent</b><br><div class="smalltext">(recommended if you use myspace codes, but can also give a nice look if you are not using myspace codes)</div>
</td>
<td>
<input type="hidden" name="default_options[hidden_body]" value="0" /><input type="checkbox" name="default_options[hidden_body]"', (@$context['member']['options']['hidden_body'] == 1) ? ' checked="checked"' : '', ' value="1" class="check" />
</td>
</tr>';
//general color code info
echo ' <tr><td colspan="2"><br><div class="smalltext">GENERAL INFO ABOUT HTML COLOR CODES<br>You can see some HTML color codes
<a href="http://www.webmastercourse.com/articles/html-color-codes-part2/color-chart.gif" target="_blank">here</a>
<br>You can also use standard color words, such as RED, GREEN, BLUE etc in the boxes below.<br>
You can also use the word TRANSPARENT, to hide or show no color
</div></td></tr>';
echo ' <tr>
<td width="40%" valign="top">
<b>Body color or image</b>
<div class="smalltext">Choose a HTML color code or image<br>
(This is the area outside of the webpage)
</div><br />
<br />
</td>
<td>
<textarea class="editor" name="default_options[bodycolor]" rows="1" cols="1">', @$context['member']['options']['bodycolor'], '</textarea><br />
</td>
</tr>';
echo ' <tr>
<td width="40%" valign="top">
<b>Page border color</b>
<div class="smalltext">Choose a HTML color code<br>
(This is the outer color of the page, and will make a border around the page if you also set inner color)
</div><br />
<br />
</td>
<td>
<textarea class="editor" name="default_options[pagecolor]" rows="1" cols="1">', @$context['member']['options']['pagecolor'], '</textarea><br />
</td>
</tr>';
echo ' <tr>
<td width="40%" valign="top">
<b>Page inner color or image</b>
<div class="smalltext">Choose a HTML color code or image<br>
(Leave blank if you use myspace codes, or want transparent body, or same color as border around page)
</div><br />
<br />
</td>
<td>
<textarea class="editor" name="default_options[innercolor]" rows="1" cols="1">', @$context['member']['options']['innercolor'], '</textarea><br />
</td>
</tr>';
// THE BOXES
echo ' <tr>
<td width="40%" valign="top">
<b>The boxes, color or image</b>
<div class="smalltext">Choose a HTML color code or image<br>
(All the content boxes on profile)
</div><br />
<br />
</td>
<td>
<textarea class="editor" name="default_options[boxes]" rows="1" cols="1">', @$context['member']['options']['boxes'], '</textarea><br />
</td>
</tr>';
echo ' <tr>
<td width="40%" valign="top">
<b>The box titles, color or image</b>
<div class="smalltext">Choose a HTML color code or image<br>
(The title area of the boxes)
</div><br />
<br />
</td>
<td>
<textarea class="editor" name="default_options[boxtitle]" rows="1" cols="1">', @$context['member']['options']['boxtitle'], '</textarea><br />
</td>
</tr>';
echo ' <tr>
<td width="40%" valign="top">
<b>The box borders</b>
<div class="smalltext">Choose a HTML color code<br>
(The border around the content boxes)
</div><br />
<br />
</td>
<td>
<textarea class="editor" name="default_options[boxborder]" rows="1" cols="1">', @$context['member']['options']['boxborder'], '</textarea><br />
</td>
</tr>';
echo ' <tr>
<td width="40%" valign="top">
<b>Text color</b>
<div class="smalltext">Choose a HTML color code<br>
(Color of all the text on the profile)
</div><br />
<br />
</td>
<td>
<textarea class="editor" name="default_options[text]" rows="1" cols="1">', @$context['member']['options']['text'], '</textarea><br />
</td>
</tr>';
// END OF CSS CUSTOM CHECK BOXES
At UltimateProfile.template.php I've added the CSS code to apply for each setting the users chooses...
This part is totally dependent on your template, so you might need to change stuff to work for your template
Add this just above // Output user's customization code.
// IF THE USER HAS CUSTOMIZATONS - DO SOME MYSPACE HACKS TO MAKE PRETTIER
if ($context['member']['options']['css'] != NULL) {
echo '<!--
<style>
.windowbg {
background:transparent;
color:#CCCCCC;
}
.bordercolor {
background:transparent none repeat scroll 0% 0%;
}
</style> -->
';
}
if ($context['member']['options']['hidden_body'] == 1) {
echo '
<style>
/* Transparent simpler top menu */
#menu {background:none;}
#page_bg {background:none;}
div.seperator {background:none;}
.maintab_active_back a {background:none;}
/* Set website body color */
#wrapper {background:none;}
#content {background:none;}
/* Top Meny Link Colors */
.maintab_back a, .maintab_back a:visited {
color:black;
}
.maintab_active_back a, .maintab_active_back a:visited {
color:black;
}
.maintab_back a:hover{
color:white;
background:none;
}
</style>
';
}
if ($context['member']['options']['bodycolor'] != NULL) {
$colorcode = $context['member']['options']['bodycolor'];
echo '<style>';
if(strstr($colorcode,'http')) {
echo 'body {background:url('.$colorcode.');}';
}
else { echo 'body {background:'.$colorcode.';}'; }
echo'</style>';
}
if ($context['member']['options']['pagecolor'] != NULL) {
$colorcode = $context['member']['options']['pagecolor'];
echo '<style>
/* Set website border color */
#wrapper {background:'.$colorcode ;
echo';}
</style>
';
}
if ($context['member']['options']['innercolor'] != NULL) {
$colorcode = $context['member']['options']['innercolor'];
echo '<style>';
if(strstr($colorcode,'http')) {
echo '#content {background:url('.$colorcode.');}';
}
else { echo '#content {background:'.$colorcode.';}'; }
echo'</style>';
}
if ($context['member']['options']['boxes'] != NULL) {
$colorcode = $context['member']['options']['boxes'];
echo '<style>';
if(strstr($colorcode,'http')) {
echo '.windowbg {background:url('.$colorcode.');}';
}
else { echo '.windowbg {background:'.$colorcode.';}'; }
echo'</style>';
}
if ($context['member']['options']['boxtitle'] != NULL) {
$colorcode = $context['member']['options']['boxtitle'];
echo '<style>';
if(strstr($colorcode,'http')) {
echo '.titlebg {background:url('.$colorcode.');}';
}
else { echo '.titlebg {background:'.$colorcode.';}'; }
echo'</style>';
}
if ($context['member']['options']['boxborder'] != NULL) {
$colorcode = $context['member']['options']['boxborder'];
echo '<style>';
if(strstr($colorcode,'http')) {
echo '.bordercolor {background:url('.$colorcode.');}';
}
else { echo '.bordercolor {background:'.$colorcode.';}'; }
echo'</style>';
}
if ($context['member']['options']['text'] != NULL) {
$colorcode = $context['member']['options']['text'];
echo '<style>';
echo 'h1 {color:'.$colorcode.';}';
echo '.titlebg, .titlebg a:link, .titlebg a:visited {color:'.$colorcode.';}';
echo 'td {color:'.$colorcode.';}';
echo '.windowbg {color:'.$colorcode.';}';
echo 'a:link, a:visited {color:'.$colorcode.';}';
echo 'body {color:'.$colorcode.';}';
echo '.maintab_back a, .maintab_back a:visited {color:'.$colorcode.';}';
echo '.maintab_active_back a, .maintab_active_back a:visited {color:'.$colorcode.';}';
echo'</style>';
}
If you got a little CSS skills, its a good thing to add..
I'll try make it more general use (for any template) later... but might be mission impossible, as each template has a bit of own CSS code
:)
I dont know how to code much, but simple things, so I will try it.
Can you tell me where the files are found, I found the profile.template and the UltimateProfile.template.php in the themes/default, but cant find the function template_customized()
You should be able to find the code template_customized inside of the Profile.template.php. It will then look like something like this:
function template_customized()
{
...code here...
Just add the code anywhere in between the beginning bracket of template_customized and before the last one and you should be good geo. ;)
If you aren't sure where to put it, you can put it exactly where I have it
In Profile.template.php
if ($modSettings['profile_allow_customize'] == 1)
echo '
<tr>
<td colspan="2">
<br />
<hr class="hrcolor" />
</td>
</tr>
<tr>
<td colspan="2">
<br />
<h2>Custom looks for profile</h2>
</td>
</tr>';
Add the code just AFTER that
Quote from: runebergen on August 26, 2008, 07:13:17 PM
If you aren't sure where to put it, you can put it exactly where I have it
In Profile.template.php
It cant find that, Im going to try brianjw now to see if that works out.
if ($modSettings['profile_allow_customize'] == 1)
echo '
<tr>
<td colspan="2">
<br />
<hr class="hrcolor" />
</td>
</tr>
<tr>
<td colspan="2">
<br />
<h2>Custom looks for profile</h2>
</td>
</tr>';
Add the code just AFTER that
Nevermind, it might be there its just that I have an old file and need to download my forum to my PC so I can make edits, I have an old version before I installed the mod.
It worked, thanks, it doesnt fit in so well but its pretty good, I just have a problem that I always seem to have, and that is bandwidth, so I have some questions.
Does putting in myspace layouts use up my bandwidth, or putting html codes of videos from youtube in the media box use up bandwidth?
Edit:
In the costumize profile when I click it it shows all those things you have in the image, but when I click the button after I fill in all those things and go to profile, it doesnt change anything.
Why is that?
Thanks again.
Pulling videos and graphics from OTHER sites (used in profile or forum posts) does not take bandwidth from you, but it might slow down the loading of the profile, since it "needs" to grab all the external graphics and videos.. to show.
Regarding it not showing in your profile, the changes you have done, did you ALSO add the code part to UltimateProfile.template.php ? (the CSS code part, I posted)
this is the tricky part.. First of all you need to add it, secondly it might not be all correct for your current SMF template, but you should see changes for sure.. . as some parts are common for ALL SMF templates (windowbg, titlebg etc)
And lastly, you need to enable "allow customization" in Admin (this might be turned off, if you dont see changes)
Another neat trick some might like : Auto select to use HTML code or BB code at comments'
This way users can add fun images, etc at comment posts, and both HTML code and BB-code is allowed.
The script will auto detect is the user uses BB Code (aka [ tags ) or not...
In UltimateProfile.template.php search for $comment['time']
Select the row start (<tr> tag ) , and extend the selection to include next row as well...
Then add this instead :
<tr>
<td><span class="smalltext">', $comment['time'] ,'</span><hr /></td>
</tr>
<tr>
<td>';
// auto select comment HTML or BCC
if(strstr($comment['body'],'[')) {
echo parse_bbc ($comment['body']);
}
else {
echo (un_htmlspecialchars ($comment['body'])); }
echo '</td>
</tr>
Added two attatchments, so that one can see how images at comments are being used at my forums..
And also added a profile that has used MySpace codes... not sure if that as ugly as some say ;) when made a little control over how much it can change :P
Quote from: runebergen on August 26, 2008, 07:42:44 PM
Pulling videos and graphics from OTHER sites (used in profile or forum posts) does not take bandwidth from you, but it might slow down the loading of the profile, since it "needs" to grab all the external graphics and videos.. to show.
Regarding it not showing in your profile, the changes you have done, did you ALSO add the code part to UltimateProfile.template.php ? (the CSS code part, I posted)
this is the tricky part.. First of all you need to add it, secondly it might not be all correct for your current SMF template, but you should see changes for sure.. . as some parts are common for ALL SMF templates (windowbg, titlebg etc)
And lastly, you need to enable "allow customization" in Admin (this might be turned off, if you dont see changes)
Yeah, I did all that but still nothing, Im going to do what you did in the post above me right now to see if it works with that.
Ok, the BB Code (aka [ tags ) work, but for some reason everytime I comment it makes the comment show up twice with everything I said repeated.
Check it out right here-
http://talkmarvel.com/forum/index.php?action=profile;u=2
Quote from: geo32101 on August 26, 2008, 08:55:09 PM
Ok, the BB Code (aka [ tags ) work, but for some reason everytime I comment it makes the comment show up twice with everything I said repeated.
Check it out right here-
http://talkmarvel.com/forum/index.php?action=profile;u=2
Really nice site :)
If the comments show up TWICE , you have to have $comment['body'] in there twice too....
My code is supposed to REPLACE the $comment['body'] you had from before...
// auto select of comment HTML or BCC
if(strstr($comment['body'],'[')) {
echo parse_bbc ($comment['body']);
}
else {
echo (un_htmlspecialchars ($comment['body'])); }
This IF , ELSE statement will only show the comment ONCE...
in your file, it seems you have the $comment['body'] even one more time...
If you attach the file here I'll fix it, if you dont figure it out :)
Quote from: geo32101
Yeah, I did all that but still nothing, Im going to do what you did in the post above me right now to see if it works with that.
And I checked your page, and I see NO output of the CSS profile thing...
Do you have UltimateProfile.template.php in more than one place?
Both Default template folder, and your current template folder?
If so, you need to edit the file inside your CURRENT used template folder :)
Quote from: runebergen on August 26, 2008, 10:14:00 PM
Quote from: geo32101 on August 26, 2008, 08:55:09 PM
Ok, the BB Code (aka [ tags ) work, but for some reason everytime I comment it makes the comment show up twice with everything I said repeated.
Check it out right here-
http://talkmarvel.com/forum/index.php?action=profile;u=2
Really nice site :)
If the comments show up TWICE , you have to have $comment['body'] in there twice too....
My code is supposed to REPLACE the $comment['body'] you had from before...
// auto select of comment HTML or BCC
if(strstr($comment['body'],'[')) {
echo parse_bbc ($comment['body']);
}
else {
echo (un_htmlspecialchars ($comment['body'])); }
This IF , ELSE statement will only show the comment ONCE...
in your file, it seems you have the $comment['body'] even one more time...
If you attach the file here I'll fix it, if you dont figure it out :)
Quote from: geo32101
Yeah, I did all that but still nothing, Im going to do what you did in the post above me right now to see if it works with that.
And I checked your page, and I see NO output of the CSS profile thing...
Do you have UltimateProfile.template.php in more than one place?
Both Default template folder, and your current template folder?
If so, you need to edit the file inside your CURRENT used template folder :)
Thanks
Its only in the default folder, and this is what I have in the file
// auto select comment HTML or BCC
if(strstr($comment['body'],'[')) {
echo parse_bbc ($comment['body']);
}
else {
echo (un_htmlspecialchars ($comment['body'])); }
echo '</td>
</tr>
<tr>
<td>', $comment['body'] ,'</td>
</tr>
I tried it again, is this it?
// auto select comment HTML or BCC
if(strstr($comment['body'],'[')) {
echo parse_bbc ($comment['body']);
}
else {
echo (un_htmlspecialchars ($comment['body'])); }
echo '</td>
</tr>
Hum... the code is correct... Not sure why you got that twice
Search within the file, and see if you got $comment['body'] 3 times ? (should only be 2, part of the code above)
ADD DELETE OWN COMMENTS AT OTHER PROFILES
A thing thats a bit strange at Ultimate Profiles, is that you can not delete your OWN comments at others profiles..
It can be useful to add this possibility, for example if you post something wrong.. and want to repost correct .. etc
Here is how...
In UltimateProfile.template.php
*EDIT - need a fix... will post later --- sorry
Quote from: runebergen on August 26, 2008, 11:20:16 PM
Hum... the code is correct... Not sure why you got that twice
Search within the file, and see if you got $comment['body'] 3 times ? (should only be 2, part of the code above)
There is 3 but I dont know which to get rid of and what else to get rid of.
Here is the code again, it was also in my previous post.
Quote
// auto select comment HTML or BCC
if(strstr($comment['body'],'[')) {
echo parse_bbc ($comment['body']);
}
else {
echo (un_htmlspecialchars ($comment['body'])); }
echo '</td>
</tr>
<tr>
I bolded them to make it easier for you, Im also going to make that other change that you posted above me as soon as I fix this one
Thanks
Quote from: runebergen on August 26, 2008, 11:22:34 PM
ADD DELETE OWN COMMENTS AT OTHER PROFILES
A thing thats a bit strange at Ultimate Profiles, is that you can not delete your OWN comments at others profiles..
It can be useful to add this possibility, for example if you post something wrong.. and want to repost correct .. etc
Here is how...
In UltimateProfile.template.php
if ($context['can_delete'])
echo '
<a href="', $comment['delete'], '">', $txt['profile_comment_delete'] ,'</a>';
replace with this code
if (($comment['author']['ID_MEMBER'] == $context['user']['id']) or ($context['can_delete']))
echo '
<a href="', $comment['delete'], '">', $txt['profile_comment_delete'] ,'</a>';
This shows the delete but when u press delete it does nothing
Thanks Nice Mod. ;)
Türkish Translations
Quote from: callteg4 on August 27, 2008, 06:02:49 PM
This shows the delete but when u press delete it does nothing
Yeah, bummer... sorry about that... will try fix it ...
Hum
Quote from: runebergen on August 27, 2008, 06:50:08 PM
Quote from: callteg4 on August 27, 2008, 06:02:49 PM
This shows the delete but when u press delete it does nothing
So do you know which of the 3 $comment['body'] am I supposed to delete?
Yeah, bummer... sorry about that... will try fix it ...
Hum
Ok thanks, but can I just say its a bit of a pian really as once they comment on your profile a pm is sent,so then if they delete it that will just confuse people
Quote from: callteg4 on August 27, 2008, 07:10:59 PM
Ok thanks, but can I just say its a bit of a pian really as once they comment on your profile a pm is sent,so then if they delete it that will just confuse people
True, nothing to do about notifier, but I think the possibility to delete own comments weights more than the user getting a notifier about it .. :)
And this goes for any Social Network site.. If you make a comment at Facebook, and delete it (and there you can), the user will get a notifier regardless :)
Anyways, here is the fully working code, if others want to add the feature
ADD DELETE OWN COMMENTS AT OTHER PROFILES
A thing thats a bit strange at Ultimate Profiles, is that you can not delete your OWN comments at others profiles..
It can be useful to add this possibility, for example if you post something wrong.. and want to repost correct .. etc
FULLY WORKING CODE NOW :)
Here is how...
In UltimateProfile.template.php
if ($context['can_delete'])
echo '
<a href="', $comment['delete'], '">', $txt['profile_comment_delete'] ,'</a>';
replace with this code
if (($comment['author']['ID_MEMBER'] == $context['user']['id']) or ($context['can_delete']))
echo '
<a href="', $comment['delete'], '">', $txt['profile_comment_delete'] ,'</a>';
In addition you need to set up the PERMISSION to delete posts...
In Profile.php (find this in sources directory)
// Are you deleting comment that is on your own profile?
$request = db_query ('SELECT COMMENT_MEMBER_ID FROM ' . $db_prefix . 'profile_comments WHERE ID_COMMENT = "' . (int)$_GET['delete'] . '"', __FILE__, __LINE__);
list ($user_id) = mysql_fetch_row ($request);
if ($context['user']['id'] == $user_id)
$allowed = true;
}
Add the following AFTER the above
// Are you deleting comments that are your own?
$request = db_query ('SELECT ID_MEMBER FROM ' . $db_prefix . 'profile_comments WHERE ID_COMMENT = "' . (int)$_GET['delete'] . '"', __FILE__, __LINE__);
list ($user_id) = mysql_fetch_row ($request);
if ($context['user']['id'] == $user_id)
$allowed = true;
Now it works :)
@ geo32101
Can you attatch your UltimateProfile.template.php at your post...
Or search your file, for $comment['body']
and see if you have $comment['body'] placed MORE that in the code below (a total of 3, you're right.. but NO more than these 3)
// auto select of comment HTML or BBC
if(strstr($comment['body'],'[')) {
echo parse_bbc ($comment['body']);
}
else {
echo ( un_htmlspecialchars ($comment['body'])); }
the code works great, I got 3000 forum users posting very day with this , and working :)
Ok, here is the file.
file is fine ... cant see why you get double output...
You have exactly same code as me...
weird...
Maybe it has something to do with the Profile.template file?
Can that be the problem?
And the whole CSS and MySpace thing wont work either I fill in the things and click to costumize, but nothing changes in the profile.
Quote from: runebergen on August 27, 2008, 08:39:22 PM
// auto select of comment HTML or BBC
if(strstr($comment['body'],'[')) {
echo parse_bbc ($comment['body']);
}
else {
echo ( un_htmlspecialchars ($comment['body'])); }
the code works great, I got 3000 forum users posting very day with this , and working :)
I think that this
if is unnecessary. You can accomplish the same thing using
parse_bbc(un_htmlspecialchars ($comment['body']))
Quote from: runebergen on August 27, 2008, 08:20:21 PM
Quote from: callteg4 on August 27, 2008, 07:10:59 PM
Ok thanks, but can I just say its a bit of a pian really as once they comment on your profile a pm is sent,so then if they delete it that will just confuse people
True, nothing to do about notifier, but I think the possibility to delete own comments weights more than the user getting a notifier about it .. :)
And this goes for any Social Network site.. If you make a comment at Facebook, and delete it (and there you can), the user will get a notifier regardless :)
I am not knocking you,It is a great addition and i will be using it thanks
mirror anyone?
The way you have done a delete can you do a edit?
I'm getting an error and it isn't the same as that on page 62. Any advice?
Unknown column 'com.time' in 'field list'
File: /home/bfeo/public_html/forum/Sources/Profile.php
Line: 1369
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.5, while your database is at version 1.1.4. The above error might possibly go away if you execute the latest version of upgrade.php.
try this fix
where do I put? both of em in root?
nvm. you fixed it, ty.
Two things. How can I put in a table for referrals, and one for custom profile fields, and how do I widen the left side some?
And move the Profile Info and Modify and other menu tabs to the top of the page?
Nvm. I thought it looked cool, but doesn't go well with my stuff, :'(
I really just want the personal galleries and the profile comments with avatar now.
Quote from: JovanT on August 28, 2008, 01:24:11 AM
Quote from: runebergen on August 27, 2008, 08:39:22 PM
// auto select of comment HTML or BBC
if(strstr($comment['body'],'[')) {
echo parse_bbc ($comment['body']);
}
else {
echo ( un_htmlspecialchars ($comment['body'])); }
the code works great, I got 3000 forum users posting very day with this , and working :)
I think that this if is unnecessary. You can accomplish the same thing using parse_bbc(un_htmlspecialchars ($comment['body']))
So should I try that?
Hey, I have these to mods installed but I'm having trouble getting them to show up on the Ultimate Profile. When I add the code that would be added to the profile.template.php to ultimateprofile.template.php I get an error page. Can anyone help me out?
http://custom.simplemachines.org/mods/index.php?mod=540
http://custom.simplemachines.org/mods/index.php?mod=620
Quote from: Damian1221 on August 28, 2008, 05:52:39 PM
Hey, I have these to mods installed but I'm having trouble getting them to show up on the Ultimate Profile. When I add the code that would be added to the profile.template.php to ultimateprofile.template.php I get an error page. Can anyone help me out?
http://custom.simplemachines.org/mods/index.php?mod=540
http://custom.simplemachines.org/mods/index.php?mod=620
Whats the error you are facing ?
Well for example for the profile user action, I open Ultimateprofile.template.php
find
<tr>
<td><b>', $txt['lastLoggedIn'], ': </b></td>
<td>', $context['member']['last_login'], '</td>
and add this after it
//-Profile User Action MOD- Start
if (!empty($context['user_action']))
echo '
<tr>
<td><b>', $txt['who_action'], ': </b></td>
<td><span', $context['user_action']['is_hidden'] ? ' style="font-style: italic;"' : '', '>', $context['user_action']['action'],' <span style="white-space: nowrap">(', $context['user_action']['time'], ')</span></span></td>
</tr>';
//-Profile User Action MOD- End
but when I view a profie I get
Template Parse Error!
There was a problem loading the /Themes/default/UltimateProfile.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in .../Themes/default/UltimateProfile.template.php on line 107
98: <td>', $context['member']['location'], '</td>
99: </tr>
100: <tr>
101: <td><b>', $txt[233], ': </b></td>
102: <td>', $context['member']['registered'], '</td>
103: </tr>
104: <tr>
105: <td><b>', $txt['lastLoggedIn'], ': </b></td>
106: <td>', $context['member']['last_login'], '</td>//-Profile User Action MOD- Start
107: if (!empty($context['user_action']))
108: echo '
109: <tr>
110: <td><b>', $txt['who_action'], ': </b></td>
111: <td><span', $context['user_action']['is_hidden'] ? ' style="font-style: italic;"' : '', '>', $context['user_action']['action'],' <span style="white-space: nowrap">(', $context['user_action']['time'], ')</span></span></td>
Any way to change permissions per member group on amount of images that can be posted in personal galleries?
And are admins or gmods exempt from picture limit?
@Damian1221
Find:-
<tr>
<td><b>', $txt['lastLoggedIn'], ': </b></td>
<td>', $context['member']['last_login'], '</td>
Add After:-
</tr>
<tr>
<td><b>', $txt['who_action'], ': </b></td>
<td>', $context['user_action']['is_hidden'], $context['user_action']['action'], $context['user_action']['time'], '</td>
Dont know if it is 100% right, but the results show up perfectly.
thanks man, worked perfect
can you help me out with the additional member groups mod
I have to find this
<tr>
<td><b>', $txt[87], ': </b></td>
<td>', (!empty($context['member']['group']) ? $context['member']['group'] : $context['member']['post_group']), '</td>
</tr>
and add before
// Begin modification - Additional membergroups on profile
$x = 1;
// Loop through each additional group
foreach ($context['member']['additionalGroups2'] as $additionalGroup)
{
// Add one to our counter
$x++;
// Output this membergroup
echo '
<tr>
<td><b>', $txt[87], ' ', $x, ': </b></td>
<td>', $additionalGroup, '</td>
</tr>';
}
// End modification
but i get the same error as before
sorry, i tested some stuff in there but i didnt get it right.. someone more experienced or some staff member would help out soon.
Can you try adding this instead?
';
// Begin modification - Additional membergroups on profile
$x = 1;
// Loop through each additional group
foreach ($context['member']['additionalGroups2'] as $additionalGroup)
{
// Add one to our counter
$x++;
// Output this membergroup
echo '
<tr>
<td><b>', $txt[87], ' ', $x, ': </b></td>
<td>', $additionalGroup, '</td>
</tr>';
}
// End modification
echo '
^^ That works... :)
Is there any way to make the gallery settings more advanced? I'd like to be able to limit galleries by size, not image count. And if there is a way to change the amount each member group can upload, that'd be excellent.
Also, how can I hide the Customized profile link in the profile? I don't want people to be able to edit that, but I still want them to have access to my pictures.
Hmm. I'd like to try and get the comments onto old profile as well, for those who don't want to use the new one.
And shorten the width the the avatar area in profile comments. It's like 40/60% atm.
Quote from: bfeo on August 29, 2008, 12:23:21 PM
Also, how can I hide the Customized profile link in the profile? I don't want people to be able to edit that, but I still want them to have access to my pictures.
Disable Customized profile in Admin...
Or do you want everything hidden (about me, my media etc), and ONLY have "my photos" ?
Its easy to edit the UltimateProfile.template
Comment out or delete all you dont want :)
(back up a copy of the original though.. so u got that, in case you do something wrong :)
well, I'd like to put the control panel above everything.
Will this work whit 2.x?
And if not, will it do in the future?
Quote from: Nascar on August 30, 2008, 05:07:56 AM
Will this work whit 2.x?
No
QuoteAnd if not, will it do in the future?
Probably.
JovanT has said that he won't update it to 2.0 until the first release candidate comes out.
Quote from: geo32101 on August 28, 2008, 04:20:16 PM
So should I try that?
yes ;) I've tried his solution, and it works fine too :)
Quote from: GQCritic on August 30, 2008, 11:31:04 AM
Quote from: Nascar on August 30, 2008, 05:07:56 AM
Will this work whit 2.x?
No
QuoteAnd if not, will it do in the future?
Probably.
JovanT has said that he won't update it to 2.0 until the first release candidate comes out.
I see..
It's the same whit many mods.
Does anyone know how long it will take before the final release of 2.0 is here?
Quote from: geo32101 on August 28, 2008, 04:20:16 PM
Quote from: JovanT on August 28, 2008, 01:24:11 AM
Quote from: runebergen on August 27, 2008, 08:39:22 PM
// auto select of comment HTML or BBC
if(strstr($comment['body'],'[')) {
echo parse_bbc ($comment['body']);
}
else {
echo ( un_htmlspecialchars ($comment['body'])); }
the code works great, I got 3000 forum users posting very day with this , and working :)
I think that this if is unnecessary. You can accomplish the same thing using parse_bbc(un_htmlspecialchars ($comment['body']))
So should I try that?
So what am I exactly supposed to replace or delete?
Sorry I know this is in here somewhere, but after going through the 70 pages twice and using the search I am giving up. Does someone know off hand where the discussion starts about how to change the text where it now says My Buddies and My Pictures?
Thank you!
Go into UltimateProfile.<language>.php which should be in ./Themes/default/languages/ and you will find those two language strings. Just change them to how you want them. :)
Thank you!
Hi, Thanks for this beautiful mod.
I found a little bug.
Could you add a horizontal scrollbar to the users' pictures.
Because when a user upload a huge image, "edit" and "delete" links are disappearing.
Any help would be great.
Thanks..
I put that two links below picture
Quote from: DonGiovanni on August 31, 2008, 08:10:53 AM
I put that two links below picture
Ohh you mean centered them.
Alright :D
Why couldn't i thinkin it anyway ? (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fe.deviantart.com%2Femoticons%2Fb%2Fboo.gif&hash=6f7e326da17225db702e1b0b927c813a541f93a5)
(hcm)Thanks @DonGiovanni
Quote from: geo32101 on August 30, 2008, 06:54:16 PM
So what am I exactly supposed to replace or delete?
Since you already edited, here is an easy way of change it to the other way...
Remove the code you have there, and replace with this
// auto select of comment HTML or BBC
echo parse_bbc(un_htmlspecialchars ($comment['body']));
Thanks, but one more question.
How could i stop users to not uploading a huge image?
Could we add a limit like gallery mode?
What did you think?
Huge as file size, or width and height?
I would believe he means huge as file size. ;) The size of the picture won't affect the page because it resizes it anyway.
Quote from: DonGiovanni on August 31, 2008, 05:56:00 PM
What did you think?
Huge as file size, or width and height?
I mean width and height
Like smf gallery mod. (Max width and height of image.)
All profile pictures are resized after uploading. You can set width in admin center. Default is 640px.
Quote from: JovanT on September 01, 2008, 04:54:53 AM
All profile pictures are resized after uploading. You can set width in admin center. Default is 640px.
Yep I found it, thanks for this beautiful mod @JovanT
ur a legend... i was after exactly what u have doen here ty ty ty
Could you add a "latest photos of users" feature at the bottom of forum?
Like this site. (http://turkrock.com/index.html) (see at the bottom)
Any help would be great.
Thanks..
Quote from: Hoochie Coochie Man on September 01, 2008, 10:05:55 AM
Could you add a "latest photos of users" feature at the bottom of forum?
Like this site. (http://turkrock.com/index.html) (see at the bottom)
Any help would be great.
Thanks..
Yes you are right.
Any help here.
Quote from: Hoochie Coochie Man on September 01, 2008, 10:05:55 AM
Could you add a "latest photos of users" feature at the bottom of forum?
Like this site. (http://turkrock.com/index.html) (see at the bottom)
Any help would be great.
Thanks..
I solved my problem..
Thanks to @Yağız (http://www.simplemachines.org/community/index.php?topic=258788.msg1686816#msg1686816)
Quote from: Hoochie Coochie Man on September 02, 2008, 05:12:34 AM
I solved my problem..
Thanks to @Yağız (http://www.simplemachines.org/community/index.php?topic=258788.msg1686816#msg1686816)
Hi HCM,
Kindly help me to, the board you are discussing is an language which i dont know.
Quote from: asudhakar on September 02, 2008, 08:37:31 AM
Quote from: Hoochie Coochie Man on September 02, 2008, 05:12:34 AM
I solved my problem..
Thanks to @Yağız (http://www.simplemachines.org/community/index.php?topic=258788.msg1686816#msg1686816)
Hi HCM,
Kindly help me to, the board you are discussing is an language which i dont know.
Wait a while, i found a bug.
When it's fixed I'll share the codes in here..
Ok. There you go..
BoardIndex.php
Find:
$context['page_title'] = $txt[18];
Add after:
// Profile pictures.
if ($modSettings['profile_enable_pictures'] == 1) {
$request = db_query("SELECT ID_PICTURE, time, title, filename, ID_MEMBER
FROM {$db_prefix}profile_pictures
ORDER BY time DESC
LIMIT 10", __FILE__, __LINE__);
while ($picture = mysql_fetch_assoc ($request)) {
$context['pictures'][] = array (
'ID_PICTURE' => $picture['ID_PICTURE'],
'title' => $picture['title'],
'url' => $scripturl . '?action=profile;u=' . $picture['ID_MEMBER'] . ';sa=pictures;view=' . $picture['ID_PICTURE'],
'thumb' => $modSettings['profile_pictures_url'] . '/' . $picture['ID_MEMBER'] . '_' . $picture['time'] . '_thumb.' . get_extension ($picture['filename']),
'time' => timeformat ($picture['time']),
);
}
if (@$context['member']['options']['pictures_budd_only'] == 1 && @$modSettings['enable_buddylist'] == 1) {
if ($context['member']['is_reverse_buddy'] || allowedTo ('profile_extra_any') || $context['user']['is_owner'])
$context['can_view_pics'] = true;
else
$context['can_view_pics'] = false;
} else
$context['can_view_pics'] = true;
}
Find:
?>
Add before:
function get_extension ($filename)
{
return substr (strrchr ($filename, '.'), 1);
}
BoardIndex.template.php
Find:
}
?>
Add before:
if ($modSettings['profile_enable_pictures'] == 1 && $context['can_view_pics'])
{
echo '<br />
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%">
<tr>
<td class="titlebg" height="26" align="center">Son Eklenen Resimler</td>
</tr>
<tr>
<td class="windowbg" width="%100">
<table width="%100">';
if (!empty($context['pictures']))
{
echo '
<tr>
<td align="center" valign="top" style="clear: both;"><marquee behavior="scroll" direction="left" height="140" width="100%" scrollamount="5" scrolldelay="1" onmouseover="this.stop()" onmouseout="this.start()">';
foreach ($context['pictures'] as $picture)
{
echo '
<a href="', $picture['url'] ,'"><img src="', $picture['thumb'] ,'" alt="" title="', $picture['title'], '" border="0" /></a>';
}
echo '
</marquee></td>
</tr>';
}
else
echo '
<tr>
<td>', $txt['profile_pictures_no'] ,'</td>
</tr>';
echo '
</table>
</td>
</tr>
</table><br />';
}
HCM i got it working perfectly.
Check out at http://forum.itacumens.com/index.php?action=forum
Have to say , you rock HCM.
Let me know what is the English translation for "Son Eklenen Resimler"
-----------------
Update :
-----------------
I will update the limit to 25 using the limit you have mentioned as 10.
I have logged out and checked the code and it does shows in mozilla.
And if i logout or logged in ie6, it does not shows rather shows only the boxes in it.
Quote from: asudhakar on September 02, 2008, 10:53:55 AM
HCM i got it working perfectly.
Check out at http://forum.itacumens.com/index.php?action=forum
Have to say , you rock HCM.
Let me know what is the English translation for "Son Eklenen Resimler"
I think, Yağız (http://www.simplemachines.org/community/index.php?action=profile;u=102749) Rock :P Because he made this, not me :)
"Son Eklenen Resimler" = "Lates Profile Photos"
Also, you can change marquee settings with this code
scrollamount="2"
so fast is yours
Thanks to Yağız for creating this code. And thanks to HCM for informing me.
I made the Scroll adjustment. And i think the height too length. Check the site.
Quote from: asudhakar on September 02, 2008, 11:24:36 AM
Thanks to Yağız for creating this code. And thanks to HCM for informing me.
I made the Scroll adjustment. And i think the height too length. Check the site.
Nope, it looks fine for me.
If you want do edit it, you know the way
height="140"
Profile visits number
Anyone know a smart way to add some code to get profile visits number at the profile ?
Thinkin of making a +1 feature each time in SQL, but maybe someone got a smart code to use ;)
EDIT : Master Sinan have made such a mod :P :P :P :D :D :D
http://www.simplemachines.org/community/index.php?topic=233298.0
Hello, I installed this yesterday and the option for "customized profile" only shows up on my admin account. Any way to fix this or am I missing something? Thanks!
[edit] I tried doing a search on my problem to no avail. Going to start reading this 70 page thread.. :P
The customization section is for changing the background in the profile right ?
Customization:
Here you can add some HTML and CSS to customize look & feel of your profile.
That forum??
I added this image and it just appeared on the top... or have I done something wrong.. sorry i am n00b in these things...
Is there any way to set different gallery hosting amounts per membergroup? Like, the more advanced they get, the more they can put into their galleries?
Also, what are the excepted file types for the profile galleries?
I had done the previous edits of adding bb code icons for the customized profile and also about the comments.
After doing that, i have been getting errors in my error log whenever I go to customize it. It filled up 19 pages. Soooo what maybe the prob ??
2: Invalid argument supplied for foreach()
File: /home/goldysun/public_html/Themes/default/languages/Post.english.php (customized sub template - eval?)
Line: 2373
8: Undefined offset: 1
File: /home/goldysun/public_html/Themes/default/languages/Post.english.php (customized sub template - eval?)
Line: 2373
8: Undefined index: size_14
File: /home/goldysun/public_html/Themes/default/languages/Post.english.php (customized sub template - eval?)
Line: 2367
8: Undefined index: size_13
File: /home/goldysun/public_html/Themes/default/languages/Post.english.php (customized sub template - eval?)
Line: 2366
8: Undefined index: size_12
File: /home/goldysun/public_html/Themes/default/languages/Post.english.php (customized sub template - eval?)
Line: 2365
8: Undefined index: size_11
File: /home/goldysun/public_html/Themes/default/languages/Post.english.php (customized sub template - eval?)
Line: 2364
8: Undefined index: size_10
File: /home/goldysun/public_html/Themes/default/languages/Post.english.php (customized sub template - eval?)
Line: 2363
8: Undefined index: size_9
File: /home/goldysun/public_html/Themes/default/languages/Post.english.php (customized sub template - eval?)
Line: 2362
and it goes on and on and on..... Shall i remove the edits ? or is there a solution ?
I think there is something wrong over here.. as i remove the bb code edits.. it became all right...
http://www.simplemachines.org/community/index.php?topic=183574.msg1673715#msg1673715
Quote from: F.L.A.M.E.R on September 02, 2008, 04:25:53 PM
The customization section is for changing the background in the profile right ?
Customization:
Here you can add some HTML and CSS to customize look & feel of your profile.
That forum??
I added this image and it just appeared on the top... or have I done something wrong.. sorry i am n00b in these things...
If you but HTML code there, it will appear at TOP of your profile page yes...
If you write CSS code, it will change profile looks..
For example try this and see what happens :
<style>
body {background:red;}
</style>
Put that in your customization box, and see how your profile page gets a red background ;)
Quote from: runebergen on September 02, 2008, 06:16:26 PM
Quote from: F.L.A.M.E.R on September 02, 2008, 04:25:53 PM
The customization section is for changing the background in the profile right ?
Customization:
Here you can add some HTML and CSS to customize look & feel of your profile.
That forum??
I added this image and it just appeared on the top... or have I done something wrong.. sorry i am n00b in these things...
If you but HTML code there, it will appear at TOP of your profile page yes...
If you write CSS code, it will change profile looks..
For example try this and see what happens :
<style>
body {background:red;}
</style>
Put that in your customization box, and see how your profile page gets a red background ;)
Boo haa..!! Yes it did but not the profile background.. the forum background got changed.. :(
Ok after doing this background effect.. i got some good backgrounds..but they dont look good until they appear on the profile instead of the background of the forum....
If anyone want some kiddo backgrounds which i like, have a look here:-
http://www.radprofile.com/category/disney-layouts/
As admin, I can see customizable profile as an option for everyone, but they can't see it in their own. Can anyone please tell me how to set permission for members to see it and customize it themselves? Thanks!
Quote from: bfeo on September 02, 2008, 06:13:27 PM
Is there any way to set different gallery hosting amounts per membergroup? Like, the more advanced they get, the more they can put into their galleries?
Also, what are the excepted file types for the profile galleries?
Quote from: bfeo on September 02, 2008, 09:45:10 PM
Quote from: bfeo on September 02, 2008, 06:13:27 PM
Is there any way to set different gallery hosting amounts per membergroup? Like, the more advanced they get, the more they can put into their galleries?
Also, what are the excepted file types for the profile galleries?
You posted this only a few hours ago. Give it 24 hours and then you may bump this topic. I am sure someone will help you when they "know how" to do it. I recommend visiting Jovant's Site. You will receive his active support their. The link is in the first post of this thread.
Probably a bug here.. I as an admin went to add picture in another users ID but i cannot add the picture.. It ads up into my own profile...Check it please.. Or let me have the solution...
Thank you.
Okay i am getting lot's of errors after installing this package:
Quote
Fatal error: Cannot redeclare customized() (previously declared in /home/content/c/h/a/chackan/html/Sources/Profile.php:2939) in /home/content/c/h/a/chackan/html/Sources/Profile.php on line 3155
Not only in the Profile section but also even in Adminstrator sections!
Quote
Fatal error: Cannot redeclare modifyultprofilesettings() (previously declared in /home/content/c/h/a/chackan/html/Sources/ModSettings.php:317) in /home/content/c/h/a/chackan/html/Sources/ModSettings.php on line 349
Any help?
Quote from: Takeelah on September 02, 2008, 06:31:05 PM
As admin, I can see customizable profile as an option for everyone, but they can't see it in their own. Can anyone please tell me how to set permission for members to see it and customize it themselves? Thanks!
i too am having the same problem, is this a bug? as admin i can change everyones profile (incl. my own), but even when i set it so that have i have "ultimate profile available to all member" checked, it does still not provide an option for them to change their profile??? So basically non admin are unableto change their profile :(
Quote from: Takeelah on September 02, 2008, 02:16:30 PM
Hello, I installed this yesterday and the option for "customized profile" only shows up on my admin account. Any way to fix this or am I missing something? Thanks!
[edit] I tried doing a search on my problem to no avail. Going to start reading this 70 page thread.. :P
Ithink ive figured this out its been driving me nuts, but where in features - options/ ultimate profile wheer it says "all users can customise profile" Leave this box UNCHECKED. your users should now be able to use it!!!!!
sometimes its the simple things
Where are you finding that? Do you have a special tab for Ultimate profiles under Features & Options?
If you are using a theme different than default, make sure your language file inside that theme, has the TXT parts for Ultimate Profile.
When so, you'll see an admin section (features and options) for Ultimate Profile, where one can set Custom Profile allowed for everyone :)
hope that helps :)
I had to switch from English UTF to English, when I changed themes..you think that's why I am having trouble?
[edit: Nevermind, figured it out. Permissions to customize profile needed to be set for regular members! :P]
Quote from: ChackanPT on September 03, 2008, 10:23:23 AM
Okay i am getting lot's of errors after installing this package:
Quote
Fatal error: Cannot redeclare customized() (previously declared in /home/content/c/h/a/chackan/html/Sources/Profile.php:2939) in /home/content/c/h/a/chackan/html/Sources/Profile.php on line 3155
Not only in the Profile section but also even in Adminstrator sections!
Quote
Fatal error: Cannot redeclare modifyultprofilesettings() (previously declared in /home/content/c/h/a/chackan/html/Sources/ModSettings.php:317) in /home/content/c/h/a/chackan/html/Sources/ModSettings.php on line 349
Any help?
Help, please! :(
You've installed the mod twice. Use the manual installation instructions to remove the codes added twice. You can use this tool get the manual installtion instructions:
http://sleepycode.com/PackageParser/index.php
Quote
Fatal error: Cannot redeclare template_customized() (previously declared in /home/content/c/h/a/chackan/html/Sources/Load.php(1738) : eval()'d code:1857) in /home/content/c/h/a/chackan/html/Sources/Load.php(1738) : eval()'d code on line 2118
Still getting this error but there is nothing in the manuals refering to load.php :|
It's in Profile.template.php. template_customized() function is added twice.
Quote from: [SiNaN] on September 04, 2008, 04:55:08 AM
It's in Profile.template.php. template_customized() function is added twice.
I can't find that file anywhere!
../Themes/default/Profile.template.php
Look for this:
function template_customized()
Anyway, a diferent error. Everytime i try to update my custom profile i get this error:
Quote
An Error Has Occurred!
The user whose profile you are trying to view does not exist.
i want to change the number of columns of pictures that show up in the profile. For example, right now, my profiles are set to show 12 pics, in 3 columns and 4 rows. I would like to make this 4 columns and three rows. Does anyone know what I need to change to accomplish this?
I have been trying for several months to find code that will change profile backgrounds using Leviathan theme. I finally found one by accident that does work fairly well in IE but viewing in Firefox the profile doesn't look any different. Can anyone tell by this code why that would be?
<style type="text/css">
table, tr, td { background-color:transparent; border:none; border-width:0;}
body {
background-image:url('http://www.wonderbackgrounds.com/retro/backgrounds/retro_background_01.gif
');
background-attachment:fixed;
background-repeat:repeat;
}
}</style><b style=position:absolute;left:0;top:100;font-family:verdana;font-size:8pt></i>
Just another thought. This thread is getting so huge that it is hard to sift through everything. This mod has earned it's own category I think.
Quote from: ChackanPT on September 04, 2008, 06:01:20 AM
Anyway, a diferent error. Everytime i try to update my custom profile i get this error:
Quote
An Error Has Occurred!
The user whose profile you are trying to view does not exist.
Indeed, topics with 72 pages deserve their own category lol
Any help please?
Quote from: tangerine on September 04, 2008, 10:54:00 AM
I have been trying for several months to find code that will change profile backgrounds using Leviathan theme. I finally found one by accident that does work fairly well in IE but viewing in Firefox the profile doesn't look any different. Can anyone tell by this code why that would be?
<style type="text/css">
table, tr, td { background-color:transparent; border:none; border-width:0;}
body {
background-image:url('http://www.wonderbackgrounds.com/retro/backgrounds/retro_background_01.gif
');
background-attachment:fixed;
background-repeat:repeat;
}
}</style><b style=position:absolute;left:0;top:100;font-family:verdana;font-size:8pt></i>
that totally depends on what theme you are using
Try this one for example
<style>
#content {
background:green;
}
</style>
A good way to find out what CSS classes and ID's are at your theme, is to use Firefox and install the free Firebug plugin.
This plugin will let you rightclick on any part of your page, and show you what CSS code is in use at that spot
:)
Quote from: Takeelah on September 03, 2008, 04:04:13 PM
I had to switch from English UTF to English, when I changed themes..you think that's why I am having trouble?
[edit: Nevermind, figured it out. Permissions to customize profile needed to be set for regular members! :P]
yeah, forgot about that part :D glad you figured it out ;)
Quote from: runebergen on August 31, 2008, 11:06:39 AM
Quote from: geo32101 on August 30, 2008, 06:54:16 PM
So what am I exactly supposed to replace or delete?
Since you already edited, here is an easy way of change it to the other way...
Remove the code you have there, and replace with this
// auto select of comment HTML or BBC
echo parse_bbc(un_htmlspecialchars ($comment['body']));
Now when I click on the profile it sais this-
Template Parse Error!
There was a problem loading the /Themes/default/UltimateProfile.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
syntax error, unexpected '<'
Im putting back the old file in the meantime.
Quote from: geo32101 on September 04, 2008, 09:36:42 PM
Quote from: runebergen on August 31, 2008, 11:06:39 AM
Quote from: geo32101 on August 30, 2008, 06:54:16 PM
So what am I exactly supposed to replace or delete?
Since you already edited, here is an easy way of change it to the other way...
Remove the code you have there, and replace with this
// auto select of comment HTML or BBC
echo parse_bbc(un_htmlspecialchars ($comment['body']));
Now when I click on the profile it sais this-
Template Parse Error!
There was a problem loading the /Themes/default/UltimateProfile.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
syntax error, unexpected '<'
Im putting back the old file in the meantime.
I clicked to use the default theme and still same problem, but now I cant change back to my old theme.
Go to JovanT's site for support guys. You get faster support from him. He doesn't come on very often to SMF so his site is better.
/me wishes he could lock this topic. :P
Quote from: brianjw on September 04, 2008, 10:19:58 PM
Go to JovanT's site for support guys. You get faster support from him. He doesn't come on very often to SMF so his site is better.
/me wishes he could lock this topic. :P
Where is his site at?
http://jovant.guruserve.com/test-forum/index.php (http://jovant.guruserve.com/test-forum/index.php)
Quote from: geo32101 on September 04, 2008, 09:56:41 PM
Now when I click on the profile it sais this-
Template Parse Error!
You may want to try to refresh this page or use the default theme.
syntax error, unexpected '<'
Im putting back the old file in the meantime.
yes, start fresh ... The error you've written can be anywhere... a simple wrong ' is enough :) PHP is sensitive to small errors
Copy the original UltimateProfile.tempalte.php into DEFAULT template...
(And also your currently used theme template, if there is such a file there, if its not there, it will use it from default template)
Then simply search for
$comment['body']
replace with this
parse_bbc(un_htmlspecialchars($comment['body']))
if you can't get it to work, I'll post a file here, with the change :)
Quote from: runebergen on September 05, 2008, 05:28:58 AM
Quote from: geo32101 on September 04, 2008, 09:56:41 PM
Now when I click on the profile it sais this-
Template Parse Error!
You may want to try to refresh this page or use the default theme.
syntax error, unexpected '<'
Im putting back the old file in the meantime.
yes, start fresh ... The error you've written can be anywhere... a simple wrong ' is enough :) PHP is sensitive to small errors
Copy the original UltimateProfile.tempalte.php into DEFAULT template...
(And also your currently used theme template, if there is such a file there, if its not there, it will use it from default template)
Then simply search for
$comment['body']
replace with this
parse_bbc(un_htmlspecialchars($comment['body']))
if you can't get it to work, I'll post a file here, with the change :)
Ill try that in a while but right now it changed to this error.
Template Parse Error!
There was a problem loading the /Themes/default/UltimateProfile.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
Parse error: syntax error, unexpected '<' in .../Themes/default/UltimateProfile.template.php on line 1173
1164: <tr>
1165: <td>';
1166:
1167: // auto select of comment HTML or BBC
1168:
1169: echo parse_bbc(un_htmlspecialchars ($comment['body']));
1170:
1171:
1172:
1173: <td align="right" valign="bottom" class="smalltext">';
1174:
1175: if ($context['user']['is_owner'])
1176:
1177: echo '
is there a way to make the URL's like the myspace urls, as in www.mysite.com/profilename ????
geo32101:
Find:
<td align="right" valign="bottom" class="smalltext">';
Replace:
echo '<td align="right" valign="bottom" class="smalltext">';
speshul:
You can try Pretty URLs (http://custom.simplemachines.org/mods/index.php?mod=636) mod.
Thanks, but everytime I leave a comment it makes it be 2 comments instead of one.
Quote from: F.L.A.M.E.R on September 03, 2008, 07:42:24 AM
Probably a bug here.. I as an admin went to add picture in another users ID but i cannot add the picture.. It ads up into my own profile...Check it please.. Or let me have the solution...
Thank you.
Quote from: speshul on September 05, 2008, 06:44:37 PM
is there a way to make the URL's like the myspace urls, as in www.mysite.com/profilename ????
Yes, http://jovant.guruserve.com/test-forum/index.php?topic=14.0
NOTE: We have done some testing and it will NOT allow you to do the url to profiles like www.mysite.com/profilename. It will have to be like this: www.mysite.com/members/profilename
If you try to do it without a directory in between, you can risk losing your forum. ;)
Quote from: brianjw on September 04, 2008, 10:19:58 PM
Go to JovanT's site for support guys. You get faster support from him. He doesn't come on very often to SMF so his site is better.
/me wishes he could lock this topic. :P
He hasn't been on his site in 4 days, and hasn't posted for 8.
Yeah, but still support is better on his site. ;)
Quote from: geo32101 on September 05, 2008, 08:09:09 PM
Thanks, but everytime I leave a comment it makes it be 2 comments instead of one.
Did you get this fixed? Im having this problem as well.
Quote from: BlueDevil on September 06, 2008, 12:29:57 AM
Quote from: geo32101 on September 05, 2008, 08:09:09 PM
Thanks, but everytime I leave a comment it makes it be 2 comments instead of one.
Did you get this fixed? Im having this problem as well.
No not yet.
its super strange.. i can see no logic in why it gives two replies..
sorry.
hopefully one of the hero's here know why
Is there any way to set different gallery hosting amounts per membergroup? Like, the more advanced they get, the more they can put into their galleries?
Also, what are the excepted file types for the profile galleries?
Another question. How can I make more albums?
Quote from: bfeo on September 07, 2008, 04:32:03 PM
Another question. How can I make more albums?
Go to your profile, click on my pictures. Find the little picture that is to the right of add picture and click it.
Direct Link: index.php?action=profile;sa=pictures;addalb=0
Quote from: ChackanPT on September 04, 2008, 06:01:20 AM
Anyway, a diferent error. Everytime i try to update my custom profile i get this error:
Quote
An Error Has Occurred!
The user whose profile you are trying to view does not exist.
Bump. Help please!
Quote from: F.L.A.M.E.R on September 05, 2008, 08:33:43 PM
Quote from: F.L.A.M.E.R on September 03, 2008, 07:42:24 AM
Probably a bug here.. I as an admin went to add picture in another users ID but i cannot add the picture.. It ads up into my own profile...Check it please.. Or let me have the solution...
Thank you.
Quote from: ChackanPT on September 08, 2008, 09:57:52 AM
Quote from: ChackanPT on September 04, 2008, 06:01:20 AM
Anyway, a diferent error. Everytime i try to update my custom profile i get this error:
Quote
An Error Has Occurred!
The user whose profile you are trying to view does not exist.
Bump. Help please!
Do you have Pretty URLs installed? If so, run a maintainance inside the Pretty URLs to update the filters.
Should work after that :)
Quote from: runebergen on September 08, 2008, 02:24:03 PM
Do you have Pretty URLs installed? If so, run a maintainance inside the Pretty URLs to update the filters.
Should work after that :)
I think i installed it, but already unistalled after i tried it.
When i update i am redirect to this webpage:
http://www.otherworld-portal.com/index.php?action=profile2
Is it right? The button address?
How can I set different maximum picture upload amounts per membergroup? I don't want new members to be able to host as many pictures as my older members or staff.
Also, what file extensions does the personal gallery allow?
Quote from: ChackanPT on September 09, 2008, 05:23:42 AM
http://www.otherworld-portal.com/index.php?action=profile2
Is it right? The button address?
doenst look right
without Pretty URLS the profile link should be something like this
forum/index.php?action=profile;u=2
Hummm, should i change it manually?
Quote from: runebergen on September 09, 2008, 05:25:52 PM
Quote from: ChackanPT on September 09, 2008, 05:23:42 AM
http://www.otherworld-portal.com/index.php?action=profile2
Is it right? The button address?
doenst look right
without Pretty URLS the profile link should be something like this
forum/index.php?action=profile;u=2
This is not correct. Without pretty urls it is: http://www.otherworld-portal.com/index.php?action=profile2
With pretty urls it should be this: http://www.otherworld-portal.com/profile2
I would know, I got it installed on my site. :)
Yet it works?
Quote from: bfeo on September 09, 2008, 03:17:53 PM
How can I set different maximum picture upload amounts per membergroup? I don't want new members to be able to host as many pictures as my older members or staff.
Also, what file extensions does the personal gallery allow?
Also, where can I find layouts to customize the basic setup for the custom profile? I don't mean letting members customize their background and etc, I'm talking about changing the default theme.
I seen these examples, and I want to kinda emulate them.
http://www.avidsound.com/profile/?u=1
http://www.gamerzgarage.com/profile/admin/
Links to where I can find help or some guides would be appreciated, thanks.
My site (gamerzgarage.com) is using the Pretty URLs mod available on the SMF Modsite. It makes your profile links like that as well as actions, so the admin panel on my site would be http://www.gamerzgarage.com/admin/
For avidsound.com, he is just using .htaccess to make only SOME of his site work like that. ;)
I didn't ask about the URLs. I already know how to do that. :/
I was linking to your profile as an example of a default template.
QuoteFor avidsound.com, he is just using .htaccess to make only SOME of his site work like that. ;)
I honestly cannot say that helps me, especially when .htaccess isn't related to css, but to access permissions and a few misc. extras also not related. To be honest, I don't even know what you are talking about.
Quote from: brianjw on September 09, 2008, 08:35:16 PM
Quote from: runebergen on September 09, 2008, 05:25:52 PM
Quote from: ChackanPT on September 09, 2008, 05:23:42 AM
http://www.otherworld-portal.com/index.php?action=profile2
Is it right? The button address?
doenst look right
without Pretty URLS the profile link should be something like this
forum/index.php?action=profile;u=2
This is not correct. Without pretty urls it is: http://www.otherworld-portal.com/index.php?action=profile2
With pretty urls it should be this: http://www.otherworld-portal.com/profile2
I would know, I got it installed on my site. :)
You sure?
At my site its forum/index.php?action=profile;u=XXX
where XXX is the number of the user (user ID)
Cant see how action=username can work
I'd be willing to send you the whole layout of the UltimateProfile.template.php, but there would be a cost. I would probably charge $60 USD for the whole layout together.
No thank you. That's half of a year's cost of my hosting plan, and I'd still have to edit your file a great deal. Thanks for the offer though.
So....what's wrong with my config? lol
bfeo,
The amount of money covers getting it completely set up for your website and modified for how you want it. (light modifications, not heavy modifications)
Would you be able to more or less recreate some of this? http://www.avidsound.com/profile/?u=1
Like the recent visitors, and have the different content clickable to appear? And another one for comments?
And would you be able to assist in figuring out how I can change amount of images a person can upload to their galleries based on usergroup?
I'd consider it then.
Oh, and would the resulting code be only between you and me for use?
I am not quite sure hwat you are asking about this part:
Quote from: bfeo on September 11, 2008, 07:44:23 PM
Like the recent visitors, and have the different content clickable to appear? And another one for comments?
Quote from: bfeo on September 11, 2008, 07:44:23 PM
And would you be able to assist in figuring out how I can change amount of images a person can upload to their galleries based on usergroup?
Oh, and would the resulting code be only between you and me for use?
No, that is beyond my knowledge of PHP.
The resulting code would be between you and me.
I'll consider it if I manage to get the pictures situation worked out. Thanks.
how do i post videos in my profile?
Forget about it, fixed
Quote from: bfeo on September 06, 2008, 03:31:39 PM
Is there any way to set different gallery hosting amounts per membergroup? Like, the more advanced they get, the more they can put into their galleries?
http://jovant.guruserve.com/test-forum/index.php?topic=107.msg471#msg471
QuoteAlso, what are the excepted file types for the profile galleries?
Anything that PHP GD can handle.
Thanks Jovan!
Blogging Community:
Quote from: Charles Hill on September 14, 2008, 12:54:12 AM
Open up Themes/default/Profile.template.php and find:
if (!empty($modSettings['blogMode'])) {
if ($modSettings['blogMode'] == 3) {
if (isset($context['blog_href']) && empty($context['blog_href']))
echo '
<a href="'. $scripturl .'?action=profile;u='. $context['member']['id'] .';sa=showBlogs">'. $txt['view_blogs_of_user'] .'</a><br />';
elseif (!empty($context['blog_href']))
echo '
<a href="'. $context['blog_href'] .'">'. $txt['view_blog_of_user'] .'</a><br />';
}
}
This is the line of template you'll need to add... You'll also need to add something from Sources/Profile.php to the sources file for ultimate profile...
Find in Sources/Profile:
if (!empty($modSettings['blogMode'])) {
if ($modSettings['blogMode'] == 3) {
global $db_prefix, $scripturl;
// let's see if this user has a blog board already
$request = db_query("
SELECT ID_BOARD
FROM {$db_prefix}boards
WHERE blog_board = 1
AND blog_owner = $memID
LIMIT 2", __FILE__, __LINE__);
if (mysql_num_rows($request) > 0) {
$row = mysql_fetch_assoc($request);
$context['blog_href'] = mysql_num_rows($request) > 1 ? '' : $scripturl . '?blog='. $row['ID_BOARD'];
$context['blog_is_initialized'] = true;
} else
$context['blog_is_initialized'] = false;
mysql_free_result($request);
}
}
The variables might be different... I've never looked at the code of ultimate profile.
And glad you like the mod :)
Gif problem. Animation gif don't animate after uploading in my picture album.
I could've sworn when I first installed this mod that the menu with all the links was at the top instead of the middle. Is this how it's supposed to look or did something get screwed up? If it's not supposed to look like this, how do I fix it? I've tried reinstalling but I see no difference.
Ok i Dont get it, im using the latest version of the mod, and have it set for all users in the admin panel... However.. when I login as a normal user I can't see any place to edit ultimate profile.. I mean, the place where the link was as an admin is missing :/
edit: Sorry sorted it, needed 2 change permissions for regular members.. guess I should have searched a bit more before posting :P
hi,
i have a question.. how can i enable that a moderator can always see a profile, regardless if a profile is set to show to buddy's only?
Geez...why bother developing a modification if you cannot support it. I've made two attempts at contacting the guy, and he's still active, but he's ignoring me.
It's fine, I'll just uninstall it and give you a negative modder reputation so my friends don't download any of your modifications. :/
Nope, it was always below. I had to ask JovanT how to put at top.
I have a question. How can I limit what is viewed on the profile summary in terms of a person's personal gallery. Some of my members have made adult albums, with disclaimers, but that seems to be almost pointless when anyone going into the profile could see some.
At the current time, I've requested them to hide their image galleries from all but buddies. Is there any way I can do this? And also, is there a way to give members the options to hide only single albums?
Quote from: DonGiovanni on September 17, 2008, 05:23:24 PM
Gif problem. Animation gif don't animate after uploading in my picture album.
Since all images are resized, if your gif image is larger than xxx, it will lose all frames except first. Sorry, it is SMF's resize function limitation.
Quote from: Lafemme on September 22, 2008, 06:04:08 PM
i have a question.. how can i enable that a moderator can always see a profile, regardless if a profile is set to show to buddy's only?
You can edit Sources/Profile.php to allow certain groups always can view the customized profile. Find:
if ((isset ($context['member']['options']['customized']) && $context['member']['options']['customized'] == 1) || $modSettings['profile_enable_all'] == 1) {
add, before:
if (in_array(GROUP_ID, $user_info['groups'])) $view_customized = true;
where GROUP_ID is actual id of desired group.
Quote from: bfeo on September 24, 2008, 09:53:02 AM
I have a question. How can I limit what is viewed on the profile summary in terms of a person's personal gallery. Some of my members have made adult albums, with disclaimers, but that seems to be almost pointless when anyone going into the profile could see some.
At the current time, I've requested them to hide their image galleries from all but buddies. Is there any way I can do this? And also, is there a way to give members the options to hide only single albums?
This would require changing some database tables and a few files.
I see... very well. I'll simply amend the registration agreement.
Hey Jovan, do you know any guides or layouts for default arrangement of the custom profile? I'm not talking about CSS customizing by members, but how the summary looks without any CSS added.
I've been trying to replicate either
http://www.avidsound.com/profile/?u=791 (which is really cool),
or something along these lines
http://www.gamerzgarage.com/profile/admin/
Without paying 60 dollars for it, as Brian so generously offered. Having gotten the pictures settings amended, I would have considered it, but this semester's text books were ridiculously expensive. 80 bucks for a freaking lab manual. So I'm kinda tight on cash atm.
So JovanT, how can I place the links at the top?
Quote from: bfeo on September 24, 2008, 02:25:55 PM
I see... very well. I'll simply amend the registration agreement.
Hey Jovan, do you know any guides or layouts for default arrangement of the custom profile? I'm not talking about CSS customizing by members, but how the summary looks without any CSS added.
I've been trying to replicate either
http://www.avidsound.com/profile/?u=791 (which is really cool),
or something along these lines
http://www.gamerzgarage.com/profile/admin/
Without paying 60 dollars for it, as Brian so generously offered. Having gotten the pictures settings amended, I would have considered it, but this semester's text books were ridiculously expensive. 80 bucks for a freaking lab manual. So I'm kinda tight on cash atm.
@Joe_Dean
http://jovant.guruserve.com/test-forum/index.php?topic=16.0
@bfeo
Noone request this before. However, if you know basics of PHP and HTML it should be easy to modify Themes/default/UltimateProfile.template.php.
bfeo,
If you want something like what my site and avidsound has as a design, you will have to code it because I am sure avidsound doesn't want to give away its work either.
All you really need to know is HTML. PHP throughout the file is the start and the end and the
'; of end html echos and the start of echo ' which allows html to be displayed within.
That's all you need to know. Maybe start playing around with the design view in Dreamweaver or your program and design it (not in code view) but in the view where you can see what it looks like. Design the layout and then add everything where it goes.
That's basically what I did. ;)
I have a few questions...... The avatar image appears to be missing. It shows a red "X". I chmod the avatar folder but no go. What gives?
also.....anyone have tried implementing the "stars & badges" and "custom profile" mods to the ultimate profile mod?
Thanx,Mick.
Quote from: JovanT on September 27, 2008, 11:52:36 AM
@Joe_Dean
http://jovant.guruserve.com/test-forum/index.php?topic=16.0
QuoteUnable to load the 'summary2' template.
oke..thank you very much! how can i add more membergroups? just place in a comma?
if (in_array(1, 2, $user_info['groups'])) $view_customized = true;
Cool mod. Just a few questions before I use it.
Will it work with custom profile mod?
http://custom.simplemachines.org/mods/index.php?mod=319
and advance Xfire field?
http://custom.simplemachines.org/mods/index.php?mod=1161
@Encore127:
Yes, it will work with the custom profile mod and the Xfire field mod but you will have to do some manual edits to get it hooked up.
All you basically have to do is do the same edits on your UltimateProfile.template.php that the mods did on Profile.template.php (but find the best location for it)
i cant download the mod can someone please provide another link!
When will support for SMF 2.x be added?
http://jovant.guruserve.com/projekti/smf/ultimate_profile/ultimate_profile_0-8-5.zip should work fine as the download link
Quote from: brianjw on October 06, 2008, 04:28:32 PM
http://jovant.guruserve.com/projekti/smf/ultimate_profile/ultimate_profile_0-8-5.zip should work fine as the download link
Maybe my ISP is blocked i cant browse the site but when i use a proxy it fine! Thanks
HI,
I have the following mods installed, will i need to uninstall any for this to work?
Mod Name Version
1. RSS Feed Icon 1.1 [ Uninstall ]
2. Stars to Profile 1.0.1 [ Uninstall ]
3. Display Age and Location next to posts 1.0 [ Uninstall ]
4. Advanced Login Form 1.0 [ Uninstall ]
5. AddThis Social Bookmarks 1.0 [ Uninstall ]
6. Add IP2Location to Track IP 1.1 [ Uninstall ]
7. Reflection Avatar 1.0 [ Uninstall ]
8. Registered Links 1.0 [ Uninstall ]
9. Custom Action Mod 2.04 [ Uninstall ]
10. Custom Profile Field Mod 3.19 [ Uninstall ]
11. Treasury 2.30 [ Uninstall ]
12. Ad Managment 2.3 [ Uninstall ]
13. Profile User Action 1.1 [ Uninstall ]
14. Profile Comments 1.4 [ Uninstall ]
15. SMF Ajax Registration Feedback 1.0.0 [ Uninstall ]
16. Date_Registerd on post 1.0 [ Uninstall ]
17. User Control Panel By Alan S 2.0 [ Uninstall ]
18. Skype Integration 1.0 [ Uninstall ]
19. Twitter Field 1.0 [ Uninstall ]
20. Drafts (for 1.1.x) 1.08 [ Uninstall ]
21. SMF Staff Page 1.6 [ Uninstall ]
Thank you,
Mathew
I have a few others installed aswell but only minor stuff.
Has anyone tested this with 1.1.6?
works fine with 1.1.6
The download link doesnt work for me
Can anyone shoot me a copy
Quote from: InternetMafia on October 09, 2008, 10:58:03 PM
The download link doesnt work for me
Can anyone shoot me a copy
try this
Quotehttp://aed.6te.net/fbt.php?url=jovant.guruserve.com/projekti/smf/ultimate_profile/ultimate_profile_0-8-5.zip
When I go to put a YouTube URL in the media section I dont see the video just the addy?
Is there a manual mod I need to make?
Just the url? You need to change the media box for BB code then (auto embed)
By default, the media box accepts HTML, so you need to use the whole embed code from YouTube... then it works fine ;)
Did someone say you can change the background?
Can you throw up an example code to do this?
Just for experimental sake, just change the backgroung to a red colour.
Yes I searched the thread, but nothing showing how to do this is written
Thank you in advance for your time :)
How do I add buddies? Looked but I cant find it anywhere.
Quote from: Sabre™ on October 11, 2008, 10:46:39 PM
Did someone say you can change the background?
Can you throw up an example code to do this?
Just for experimental sake, just change the backgroung to a red colour.
Yes I searched the thread, but nothing showing how to do this is written
Thank you in advance for your time :)
How to edit it all can be found here:
http://voguefm.co.uk/forum/index.php/topic,6127.0.html
As for buddies, just click "add buddy" under their contact details on the left colum.
Hi,
I installed this mod and it failed on profile.php file so i added everything manually and everything was fine, why it failed i do not know as when i done manual find it found everything.
Anyway i am getting this error when trying to view a profile
QuoteParse error: syntax error, unexpected $end in /home/sites/foreverlastingfriends.co.cc/public_html/Sources/Profile.php on line 3673
I do have the profile comments mod and after seeing error i downloaded and run the fix but as it seems it did not fix the above error.
What is wrong ???
Mathew
Well unexpected $end usually means that there is a: } code but there is nothing that is starting it that looks like: if {
My suggestion is to open up Profile.php and go to line 3673 and find the closest } and delete it.
brianjw
Hi,
I just had a look now and it only goes upto line 3672 which contains the closing bracket thingy which is ?>
before that closing bracket i do have this:
);
}
}
Shall i remove the last } ? reason why i ask is i have th drafts mod installed and that drafts mod codes appear rite above it so concerned it i remove a bracket it may effect that mod
The below is from line 3658 to 3672
// build the drafts array
$context['drafts'][] = array(
'id' => $row['draftID'],
'body' => un_htmlspecialchars(parse_bbc(stripslashes($row['body']))),
'subject' => stripslashes($row['subject']),
'last_saved' => '<span style="font-weight:normal;">'. $txt['last_saved'] . ' ' . $txt[30] . '</span> ' . timeformat($row['timestamp']),
'boardID' => $row['boardID'],
'edit_link' => $scripturl . '?action=post;board='. $row['boardID'] .';'. $topicString .'draft='. $row['draftID'],
'delete_link' => $scripturl . '?action=profile;sa=showDrafts;u='. $memID .';sesc='. $context['session_id'] .';deleteDraft='. $row['draftID'],
'post_link' => $scripturl . '?action=profile;sa=showDrafts;u='. $memID .';sesc='. $context['session_id'] .';postDraft='. $row['draftID'],
);
}
}
?>
From that can you tell me if it the problem? and what i should do unless what you say is correct of course first time around without me explaining.
Thank you
Mathew
Well we're going to try some trial and error.
Try removing the } and if it works, then keep it if not. Then remove the second } above it so now you've removed 2. If it works, keep it, if not put it back the way it was and I will see what I can do.
Hi, sorry to take so long had to rush out.
I tried what you said in your last reply and still same problem.
Thank you,
Mathew
bump,
if anyone could help please reply. Please read above few posts for my problem.
Thank you,
Mathew
I'm having an odd problem and am wondering if it could be related to the Ultimate Profile mod....
(it happened after installing this and other mods so I am not sure)
In my normal profile pages when viewing the summaries, I no longer see the user names in the page title.
Is anyone else having that problem?
Thanks in advance.
genieuk, I don't know what to do next. :-\
digit, It removes it and I am not sure why...
Quote from: brianjw on October 16, 2008, 06:22:49 PM
digit, It removes it and I am not sure why...
Well, that's good to know - let me know when we figure it out - it can't be good for my SEO!
Thanks in advance!
in ultimate profile i see six friends in the friend window.
can i changes this to see more friends?
regards
horseman
Quote from: genieuk on October 15, 2008, 10:48:40 AM
Hi,
I installed this mod and it failed on profile.php file so i added everything manually and everything was fine, why it failed i do not know as when i done manual find it found everything.
Anyway i am getting this error when trying to view a profile
QuoteParse error: syntax error, unexpected $end in /home/sites/foreverlastingfriends.co.cc/public_html/Sources/Profile.php on line 3673
I do have the profile comments mod and after seeing error i downloaded and run the fix but as it seems it did not fix the above error.
What is wrong ???
Mathew
anyone have any ideas, still cant solve problem ???
Thank you,
Mathew
genieuk:
Can you attach the file here?
Quote from: [SiNaN] on October 20, 2008, 06:00:01 AM
genieuk:
Can you attach the file here?
Hi Thanks for replying.
Here is the file:
UPDATE: File contains mod code,
Which part have you edited recently?
Hi,
I have not edited. Firstly i uploaded the file without the mod code in the profile file. I have just replaced the file with the mod code in it as the first one did not have the ultimate profile mod code in it.
sorry my mistake.
Mathew
File uploaded with this post contains the mod code
Have you managed to see what the problem maybe?
Thank you,
Mathew
Is this ever going to be created for 2x???
Would love to put it on my site..
Greg
----------------
Greg is currently listening to: Pink Floyd - Speak to Me (http://www.foxytunes.com/artist/pink+floyd/track/speak+to+me)
via FoxyTunes (http://www.foxytunes.com/signatunes/)
Quote from: genieuk on October 20, 2008, 03:53:26 PM
Have you managed to see what the problem maybe?
Thank you,
Mathew
Bump, please help, really want this mod.
I need assistance installing the following mods into my ultimate profile:
Profile Music
http://mods.simplemachines.org/index.php?mod=344 (I've tried very hard, but for some reason I cannot get the thing to show)
Member Notepad
http://custom.simplemachines.org/mods/index.php?mod=788
Thanks in advance.
@bfeo:
Thing of it this way...
Take the whole UltimateProfile.template.php and put it into an HTML Design Viewer so you can see what the tables look like. The file is pure HTML with php appearing here and there. This is actually a great strategy if you're not very good with PHP yet. Taking the source and viewing it as HTML. It is how I learned and how I developed my profile design. ;) Then find where you want to insert these codes and put them in the actual PHP file.
another bump. Hope someone can solve this problem i am having ???
Please see above posts.
Where is the mod creator? if he can reply that would be great
Thanks
Mathew
Not to sound like a jerk...well, ok, yeah..(j/k) but I do believe the 'rules' state you bump the topic after several days.. NOT every day. From what I have seen, the people posting in here seem to be the people that would know how to fix it if there is a fix...
Anyways, just a thought. I hate rushing here to see a new post when I get an alert, hoping it will say a version for 2.x is released....just to keep finding bumps...
If this post is out of line, a mod can certainly remove it... but I know what the rules state... I actually read them...(yeah, I have no life..hehe)
Greg
----------------
Greg is currently listening to: Tears For Fears - Everybody Wants To Rule The World (http://www.foxytunes.com/artist/tears+for+fears/track/everybody+wants+to+rule+the+world)
via FoxyTunes (http://www.foxytunes.com/signatunes/)
Quote from: brianjw on October 06, 2008, 04:28:32 PM
http://jovant.guruserve.com/projekti/smf/ultimate_profile/ultimate_profile_0-8-5.zip should work fine as the download link
when i click on that link it says that the server cant be found? is there any other links please
thanks
Quote from: SpectroPro on October 22, 2008, 04:23:54 AM
Not to sound like a jerk...well, ok, yeah..(j/k) but I do believe the 'rules' state you bump the topic after several days.. NOT every day. From what I have seen, the people posting in here seem to be the people that would know how to fix it if there is a fix...
Anyways, just a thought. I hate rushing here to see a new post when I get an alert, hoping it will say a version for 2.x is released....just to keep finding bumps...
If this post is out of line, a mod can certainly remove it... but I know what the rules state... I actually read them...(yeah, I have no life..hehe)
Greg
----------------
Greg is currently listening to: Tears For Fears - Everybody Wants To Rule The World (http://www.foxytunes.com/artist/tears+for+fears/track/everybody+wants+to+rule+the+world)
via FoxyTunes (http://www.foxytunes.com/signatunes/)
mmm, now i have been told by mods in the past that you wait 24 hours then you can bump.
Brian, that doesn't help me. I've been coding in html a pretty long time, and I can pretty much read what it looks like. Sure, without a viewer the php makes it pretty difficult, but that's not the issue. The isue is that I've tried multiple times to add the code for the profile music mod, and it has not once worked properly. Unfortunately it is due to the php in the code, which I don't know how to adjust to get it to work. That's why I asked for help.
This wasn't another request to help me customize the design of the profile. I'm fine with adding them to the end of the code.
Hi,
I managed to solve error but have another problem.
I have profile comments mod. And the custom fields which i made with profile comments such as name, biography etc does not display on the profile page with Ultimate Profile installed. Yes i have installed the fix.
anyone have any idea on why it is not showing profile comments fields on profile page when using ultimate profile ???
Thank you,
Mathew
I read a couple days..but either way.. I guess it gets me when people do it when the topic is at the top of the list only a couple hours before they bump it.. Example..
This topic was posted in, thus, top of the list
Yesterday at 22:27:10
You bumped it:
Today at 04:13:12
Almost 6 hours... IMO that is a bit much.. But, as you were not getting any help, I am not getting any answer to my question either....so I will just unsubscribe and figure this will NOT be 2.x compatible anytime soon...
Good luck on your new problem.. :)
Greg
----------------
Greg is currently listening to: Ludacris - What's Your Fantasy (http://www.foxytunes.com/artist/ludacris/track/whats+your+fantasy)
via FoxyTunes (http://www.foxytunes.com/signatunes/)
Has the mod creator been online? i am still waiting to try and solve this problem now for several days.
Please help, read above posts.
Thanks
Mathew
I want to change "My Pictures" section to "My Awards" and add awards to members profile manually, for example add image under "My Pictures". Instead of using awards mod I want to show awards on the first page of member's profile.
Where do I need to go to change "my pictures" to "My Awards" guys and what do I need to change to add pictures there as awards so it can show pictures?
Thank you.
Quote from: alex30 on October 26, 2008, 10:37:16 AM
I want to change "My Pictures" section to "My Awards" and add awards to members profile manually, for example add image under "My Pictures". Instead of using awards mod I want to show awards on the first page of member's profile.
Where do I need to go to change "my pictures" to "My Awards" guys and what do I need to change to add pictures there as awards so it can show pictures?
Thank you.
Line 51 - in UltimateProfile.english.php
Thank you. I have a few more questions.
1 I would like to remove "Customization" (here you can add html...blah blah) section in profile ?
2 How to disable upload "My Pictures" in only member's profile , because I will add awards to member's profile, so that option can only be able for me ?
Thank you again.
alex30,
1.) Just go to 'Admin >> Features and Options >> Ultimate Profile' and turn customization off which will turn it off.
Thanks, didn't know that. What about 2, could you?
2 How to disable upload "My Pictures" in only member's profile , because there I will add awards to member's profile, so that option can only be able for me ?
Quote from: genieuk on October 22, 2008, 09:38:51 AM
Hi,
I have profile comments mod. And the custom fields mod, i made with the custom fields mod things such as name, biography etc but it does not display on the profile page with Ultimate Profile installed. Yes i have installed the fix.
anyone have any idea on why it is not showing custom fields on profile page when using ultimate profile ???
Thank you,
Mathew
Anyone ???, been waiting a hell of a long time now.
sorted it out myself
thanks
@ genieuk
Might be an idea to upload your ultimateprofile.template, so someone can see where the conflict is.
Since you havent mentioned the version of smf, Im guessing its 1.1.6...
There mustnt be any errors in your log, as you havent stated so...
Im also guessing that youve asked for assistance at JovanTs site...
Also asking for the author of the custom fields mod(or other users with it) to look at your template may help too. But Im sure youve already done that :)
Using all resources available to you will usually get you moving in the right direction.
Good Luck :)
Quote from: Sabre™ on October 27, 2008, 03:28:20 PM
@ genieuk
Might be an idea to upload your ultimateprofile.template, so someone can see where the conflict is.
Since you havent mentioned the version of smf, Im guessing its 1.1.6...
There mustnt be any errors in your log, as you havent stated so...
Im also guessing that youve asked for assistance at JovanTs site...
Also asking for the author of the custom fields mod(or other users with it) to look at your template may help too. But Im sure youve already done that :)
Using all resources available to you will usually get you moving in the right direction.
Good Luck :)
Thanks for the advice,
I have decided not to use it now, i have a few profile mods installed that displays extra things on a members profile i also notice these no longer show aswell. I will keep to the standard profile interface.
Thank you,
Mathew
Yeah, I know what you mean mate :)
I too am trying to find a solution for a few addons that wont display in this template for some reason ??
A couple addons I made display on a screen when the profile is set to Private, but theyre my own little tweaks.
Nice site btw :)
Quote from: Sabre™ on October 27, 2008, 04:32:42 PM
Yeah, I know what you mean mate :)
I too am trying to find a solution for a few addons that wont display in this template for some reason ??
A couple addons I made display on a screen when the profile is set to Private, but theyre my own little tweaks.
Nice site btw :)
Thanks, glad you like it,
is there anyway i can get the custom profile field mod to work with this please? if not how can i add additional fields for people to fill it in, and then ill take it off the registration?
thanks
The best practice is to use search before asking questions. This question is answered several times until now.
Quote from: JovanT on October 31, 2008, 02:50:09 PM
The best practice is to use search before asking questions. This question is answered several times until now.
i have and there is no where in the thread that stats "custom profile fields"
Quote from: Horseman on October 17, 2008, 03:18:52 PM
in ultimate profile i see six friends in the friend window.
can i changes this to see more friends?
regards
horseman
What he said! Also for pictures please.
How would you resize the avatar ONLY in the comments section?
It is set to my forum default of 90x90, which is too large for that area.
I tried limiting the area it sits in by adding a percentage
<td class="windowbg" align="center" valign="top" width="20%">
<b><a href="', $scripturl ,'?action=profile;u=', $comment['author']['ID_MEMBER'] ,'">', $comment['author']['realName'] ,'</a></b>
But that didnt work.
Any advice would be appreciated :)
is this available for smf 2.0 b4 version?
Quote from: funcouldron on November 09, 2008, 08:37:26 AM
is this available for smf 2.0 b4 version?
Jovant :
Ultimate Profile for SMF 2.0 won't be available until SMF2 becomes stable. Since it is still a Beta, big changes in code are possible so I can't mantain it properly.
Don't expect SMF 2.0 version until it reaches at least RC status.
Hello,
I have smf 1.1.7 and added this mod, but when i want to see a profile i get this message:
Unknown column 'com.time' in 'field list'
Bestand: /forum/Sources/Profile.php
Regel: 1312
At a test forum (1.1.7) it works. But i want it on my generalforum.
Thanks
Wow. I just installed this on SMF 1.1.17, and I'm impressed! Good job!
Maybe for My Pictures, you could add an integration feature with SMF Gallery Lite?
Quote from: McCaine on November 09, 2008, 04:14:41 PM
Hello,
I have smf 1.1.7 and added this mod, but when i want to see a profile i get this message:
Unknown column 'com.time' in 'field list'
Bestand: /forum/Sources/Profile.php
Regel: 1312
At a test forum (1.1.7) it works. But i want it on my generalforum.
Thanks
goto your database manager and edit the structure of date int(11) NOT NULL default 0, to time int(11) NOT NULL default 0, in the table `smf_profile_comments`
Is this mod can integrated with Gallery 2?
I currently bridged my smf with this gallery and would like to show user album (i.e. latest picture) to their profile.
Thanks
Quote from: aED on November 11, 2008, 04:40:19 AM
Quote from: McCaine on November 09, 2008, 04:14:41 PM
Hello,
I have smf 1.1.7 and added this mod, but when i want to see a profile i get this message:
Unknown column 'com.time' in 'field list'
Bestand: /forum/Sources/Profile.php
Regel: 1312
At a test forum (1.1.7) it works. But i want it on my generalforum.
Thanks
goto your database manager and edit the structure of date int(11) NOT NULL default 0, to time int(11) NOT NULL default 0, in the table `smf_profile_comments`
Thanks it works now
Ive added this mod on 1.1.5 version of SMF and it works fine for me but my members cant add anything to there customized profile e.g. they cant add pictures or media, the options arent in the menu on the customized profile page
I have selected in ACP for pictures/media etc to be allowed but still the option isnt there other than for admin... any ideas?
You have to modify the permissions for other membergroups...which brings up the question:
How come Registered Members and Administrators are the only ones that can add buddies?
Cheers, didnt know it had to have permissions set for each membergroup beings it has an enable for all members option in the ACP...
I can't add buddy's :(
It just says i have no buddy's in my list,but i can't find a link to add buddy's.
They have to approve it like MySpace...
Quote from: Lord Anubis on November 14, 2008, 09:30:26 PM
They have to approve it like MySpace...
But there is no link to approve/invite them :(
Oh,srry i'ts fixed.
Ive gotten recent errors for avatar_width and height in Sources/Profile.Pictures (line 494) of late.. SMF 1.1.7
Hi. Great mod. I'm using it in my soon to be up forum/social networking site.
One thing though, and I don't know if this has been addressed yet but visitors can view a private profile. I took the liberty of modifying the code. Here's what I did
Line 1302 of Profile.php
if ($context['member']['is_reverse_buddy'] || allowedTo ('profile_extra_any') || $context['user']['is_owner'])
if (($context['member']['is_reverse_buddy'] || allowedTo ('profile_extra_any') || $context['user']['is_owner']) && $context['user']['is_logged'])
I don't know if this is the best method, but it seems to work. If this has been addressed then please disregard this post :D
Sounds like a great mod. I installed it fine but when I clicked on my profile I got this error:
Unknown column 'com.time' in 'field list'
File: /home/runws/public_html/forum/Sources/Profile.php
Line: 1347
this question has been ask a lot of times.. however.. look at this message
http://www.simplemachines.org/community/index.php?topic=183574.msg1795707#msg1795707
good luck!
Is this mod safe to use? Is it secure just as good as the default profile?
Quote from: BlueDevil on November 26, 2008, 04:42:17 PM
Is this mod safe to use? Is it secure just as good like the default profile?
I've been using it for quite some time now and haven't experienced any problems. So from my experience, yes, it is safe. ;)
Quote from: BlueDevil on November 26, 2008, 04:42:17 PM
Is this mod safe to use? Is it secure just as good as the default profile?
Same as hugodiaz, never had a problem on my end...you will love it ;)
So, if I can ask.. who is using 1.1.7 and having 'no errors'?
Quote from: HR on November 26, 2008, 10:05:43 PM
So, if I can ask.. who is using 1.1.7 and having 'no errors'?
I'm currently using 1.1.7 and ultimate profiles 0.8.5 without any errors that I am aware of.
I just uploaded it. Seems to be working just fine on 1.1.7
Ok i added the google map mod and the custom profile fields mod just fine.
Does anyone knows where abouts in 79 pages is the code for the "stars & Badges" mod code?
I tried modifying it but it comes up crooked. Im hoping someone posted how?
Hello
Please, help me.
I have error like this http://www.simplemachines.org/community/index.php?topic=183574.msg1689546#msg1689546
i search
Код: [Выделить]
function template_customized() in ../Themes/default/Profile.template.php
but i have only one function template_customized()
When i go to profile i saw this error:
Fatal error: Cannot redeclare customized() (previously declared in /var/www/some.domain/httpdocs/forum/Sources/Profile.php:2736) in /var/www/some.domain/httpdocs/forum/Sources/Profile.php on line 2986
PS SMF 1.1.7
default Theme
Is this mod even being supported anymore or upgraded ???
Seems it has not been updated since may?
- VeeDubbinMKIV -
Is there any manual install instructions for this?
Quote from: KrazyZeldaFan on November 28, 2008, 02:05:06 PM
Is there any manual install instructions for this?
Use this:
http://modparser.dev.dansoftaustralia.net/index.php
Quote from: VeeDubbinMKIV on November 28, 2008, 01:56:22 PM
Is this mod even being supported anymore or upgraded ???
Seems it has not been updated since may?
- VeeDubbinMKIV -
It's certainly still being supported. As for upgrades, maybe there are no new ideas to implement putting upgrades at a current halt. I'm sure if enough users wanted to see some new features with this mod JovanT (the mod author) would oblige. ;)
I just followed the SMF Tutorial for adding additional profile fields to my forum, and am very pleased with the results. I'm not looking to add any more mods to undo all the work I did today, but would really like someone to help me with additional photo aploads and displays on the profile page (perhaps even with 'lytebox' support to enlarge the thumbnails. Does anyone know if this is possible? I think I could probably nut out the lytebox thing myself, but the upload and display fields are the things I really need.
Thanks
Paul
Hey guys can you please tell me how and where I change it so I see more than just six friends in the friend window and more than just 6 pictures.
Also, some kind of a integration with smf gallery pro would be fantastic. So you can have your gallery pics on your profile.
Quote from: HR on November 26, 2008, 10:05:43 PM
So, if I can ask.. who is using 1.1.7 and having 'no errors'?
i love this mod very much. so far there is no problem with my SMF 1.1.7.
i just to show/share with u guys some changes that i've made to my profile using this mod.
check it out here http://kmperlis.jukaka.com/index.php?action=profile;u=1
login with
usernm : visitor
pass : visitor123
most recommended mod to all SMF users and owner of community portal
*
foot note: i am a malay boy from malaysia..so, some texts/words in my profile are using malay language..*
if u need some help then just PM me or email me at jukaka[at]jukaka.com.
thanks for mod
Quote from: jukaka on December 01, 2008, 03:57:20 AM
Quote from: HR on November 26, 2008, 10:05:43 PM
So, if I can ask.. who is using 1.1.7 and having 'no errors'?
check it out here http://kmperlis.jukaka.com/index.php?action=profile;u=1
login with
usernm : visitor
pass : visitor123
most recommended mod to all SMF users and owner of community portal
*foot note: i am a malay boy from malaysia..so, some texts/words in my profile are using malay language..
* if u need some help then just PM me or email me at jukaka[at]jukaka.com.
Thank you for sharing this, you did a great job. One of the things that bother me about mine, is that my members cannot have custom backgrounds because of the theme I am using.
I have just installed this mod and all went well until I tried to upload profile pictures, they simply aren't uploading? I have checked the path etc and it says they are in the folder /forum/profile_pictures but there is nothing in that folder. If I click Profile on my forum, then My Pictures, the only thing that appears here are the image titles and folders.
I am using version 0.8.5 and have also installed SMF Gallery Pro 1.3.14, could there be a conflict between these two or am I missing something else?
CHMOD the folder called /profile_pictures/ to 777 if your host allows it. If your host does not allow it, CHMOD it to 755.
CHMOD by using an FTP Program such as Smart FTP (http://www.smartftp.com) and by right clicking on the folder (remotely on the internet, not locally) and finding the permissions and changing them to 777/755.
Can anyone tell me whether it is possible to just add the additional photo upoad section of this module to an already improved profile page, without installing the whole thing? I already have the profile layout I want, but want to allow members to add thumbnailed images to their profile, which can be clicked on to enlarge. Manual modification will suit me fine, if you can tell me what to do.
Paul
Quote from: tangerine on December 01, 2008, 10:52:47 AM
Thank you for sharing this, you did a great job. One of the things that bother me about mine, is that my members cannot have custom backgrounds because of the theme I am using.
Thanks for visit my website..
What theme that u're using right now? I simply copy and edit my theme's 'style.css' then put them in Customization box.. It works great!
I'm in my way to create a layout generator for ultimate profile. I'll share with u guys once it's done.. :)
I am using Leviathan and so far can't find a code that works.
Still wondering if anyone knows how to edit how many buddies show at a time. Anyone? Bueller?
I use to get the:
Unknown column 'com.time' in 'field list'
error on my profile page but I edited the date to time database table and it worked, now at the bottom of the profile under Add Comment ( I have the Profile comments mod installed which i cant uninstall cause it fails the Modifications.english.php, Subs.php and ManagePermissions.php files)I get:
Database Error
Unknown column 'p.date' in 'field list'
File: /home/username/public_html/mysite/Sources/Load.php(1779) : eval()'d code
Line: 429
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.7, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.
What can I do?
Thanks
I suggest all of you that have questions about this mod, seek help at JovanT's support forum, or use the search here and on JovanT's support site, as pretty much all of these questions have been answered in some sort or fashion
Ultimate Profile Support Forum (http://jovant.guruserve.com/test-forum/)
Hope this helps ppl
Hello I need help installing this mod i installed it on 1.1.7 its just not taking no effect Please help
Are you using the default theme?
Yes
And you're installing through the Package Manager (http://docs.simplemachines.org/index.php?board=49.0;sort=subject)? Do you get any errors during the install?
Yeah im installing it through packages and there are no errors
Just a note that I helped andy12108 install this mod successfully privately. :)
Thanks very much for your help
Please, search this topic and my support forum before asking new questions. Here are the answers to the most common ones:
- How to change the number of displayed buddies on profile page (http://jovant.guruserve.com/test-forum/index.php?topic=72.0)
- How to set uploaded pictures quota based on membergroups (http://jovant.guruserve.com/test-forum/index.php?topic=107.0)
- How to solve "Unknown column com.time" error (http://jovant.guruserve.com/test-forum/index.php?topic=13.msg41#msg41)
OK, one repeating error.. ProfilePictures line 494
@'avatar' => $row['avatar'] == '' ? ($row['ID_ATTACH'] > 0 ? '<img src="' . (empty($row['attachmentType']) ? $scripturl . '?action=dlattach;attach=' . $row['ID_ATTACH'] . ';type=avatar' : $modSettings['custom_avatar_url'] . '/' . $row['filename']) . '" alt="" class="avatar" border="0" />' : '') : (stristr($row['avatar'], 'http://') ? '<img src="' . $row['avatar'] . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />' : '<img src="' . $modSettings['avatar_url'] . '/' . htmlspecialchars($row['avatar']) . '" alt="" class="avatar" border="0" />'),
[/code]
error is: Undefined variable: avatar_height
&
Undefined variable: avatar_width
I noticed the line should be supressed in terms of errors (if I am correct about the '@') so I cant specualte why its throwing it in the log.
Does anyone have this working with 2.0 Beta 4?
@HR
This is a known bug. Opeg Sources/ProfilePictures.php. Find:
$context['can_delete'] = allowedTo('edit_ultimate_profile_any') || ($context['user']['is_owner'] && allowedTo('edit_ultimate_profile_own'));
after, add:
// For avatars: if we're always html resizing, assume it's too large.
if ($modSettings['avatar_action_too_large'] == 'option_html_resize' || $modSettings['avatar_action_too_large'] == 'option_js_resize') {
$avatar_width = !empty($modSettings['avatar_max_width_external']) ? ' width="' . $modSettings['avatar_max_width_external'] . '"' : '';
$avatar_height = !empty($modSettings['avatar_max_height_external']) ? ' height="' . $modSettings['avatar_max_height_external'] . '"' : '';
} else {
$avatar_width = '';
$avatar_height = '';
}
JovanT, I know this seems to be a popular question but:
Will you support this through SMF 2.0?
Are you waiting for the RC's?
Quote from: JovanT on March 26, 2008, 03:10:45 PM
Quote from: Alpay on March 25, 2008, 04:33:45 PM
do you thinkin adaptation for modification on smf version 2.0 beta 3 ?
SMF 2.0 version is planned but it is not a priority since it is still a beta and not widely used. Also, it will take some time for me to get used to the new database system that SMF 2.0 introduced.
Seems to answer the question.
Quote from: JovanT on December 12, 2008, 06:05:43 PM
@HR
This is a know bug. Opeg Sources/ProfilePictures.php. Find:
$context['can_delete'] = allowedTo('edit_ultimate_profile_any') || ($context['user']['is_owner'] && allowedTo('edit_ultimate_profile_own'));
Thanks for the support, worked out wonderfully!
after, add:
// For avatars: if we're always html resizing, assume it's too large.
if ($modSettings['avatar_action_too_large'] == 'option_html_resize' || $modSettings['avatar_action_too_large'] == 'option_js_resize') {
$avatar_width = !empty($modSettings['avatar_max_width_external']) ? ' width="' . $modSettings['avatar_max_width_external'] . '"' : '';
$avatar_height = !empty($modSettings['avatar_max_height_external']) ? ' height="' . $modSettings['avatar_max_height_external'] . '"' : '';
} else {
$avatar_width = '';
$avatar_height = '';
}
works in SMF 1.1.7 without problems?
I installed without problems but... when I upload an image in the profile... I don't see the image. I working in a fresh install SMF 1.1.7 I am not sure about why because works perfect that function in SMF 1.1.4
Quote from: Succubus Evaligan on December 14, 2008, 05:33:07 AM
works in SMF 1.1.7 without problems?
I installed without problems but... when I upload an image in the profile... I don't see the image. I working in a fresh install SMF 1.1.7 I am not sure about why because works perfect that function in SMF 1.1.4
Change permissions in the "profile pictures" folder to 777 and submit images again.
I was thinking of making my own profile also.
This is a great looking mod, too bad it's not for 2.0 :(
Yeah, it shouldn't be too long until smf2 is ripe enough for most authors to upgrade their mods.
I'll be looking to JovanTs new features.
It should be worth the wait :)
Quote from: moonlightkisu on December 20, 2008, 12:48:45 AM
This is a great looking mod, too bad it's not for 2.0 :(
It still hasn't been converted, eh?
Well, it can always be done manually then, as I did. (I've been running this on my SMF2 site for over a year now.)
BTW, too bad the picture albums can't be disabled through an option or something. I had to strip the stuff out from the mod, now that I'm using SMF Media Gallery on profiles... I would have hoped for a more honorable death for the feature.
Quickest way to do it: remove Pictures from the menu items first, then go to ProfilePictures.php and remove or comment out the second occurrence of this block:
$allowed_add = true;
$allowed_album_modify = true;
This is the problem that i have...
As admin, i have allowed every user can, actually must, have ultimate profile, and i did by configurnig permissions...but only i, admin, can modify my ultimate profil, neither can even access to their ultimate profile...preciselier only, hope it's only, problem is uploading the pictures where they cant upload the picture, i cant find, as normal user, that href that is used for uploading wizard, what i can as admin...
Или по нашки, пријатељу земљаче...
Само админ може приступити ултимате профилу, као обичан члан не могу уопште уплодовати слику...исто као што и не могу додавати пријатље... Шта да радим...?
Срдачни поздрави из Републике Српске...
Ive been trying to get the full member awards to display in it.. for the moment all I have is an indicator.
Suggestions?
Quote from: Don Pepito on December 22, 2008, 05:32:51 PM
This is the problem that i have...
As admin, i have allowed every user can, actually must, have ultimate profile, and i did by configurnig permissions...but only i, admin, can modify my ultimate profil, neither can even access to their ultimate profile...preciselier only, hope it's only, problem is uploading the pictures where they cant upload the picture, i cant find, as normal user, that href that is used for uploading wizard, what i can as admin...
Или по нашки, пријатељу земљаче...
Само админ може приступити ултимате профилу, као обичан члан не могу уопште уплодовати слику...исто као што и не могу додавати пријатље... Шта да радим...?
Срдачни поздрави из Републике Српске...
Hmm, so you mean you went to Admin - Permissions - "specific member group" and checked "Own" under Help Edit ultimate profile? ???
If you did that, and it's still not working I'm not sure what the problem is. :(
I hasve set permissions wrong....tnx a lot..
One more question, how can i edit the template of ultimate profile summary when normal user is visiting profile of normal user...??
Tnx a lot.....
Quote from: Don Pepito on December 23, 2008, 06:13:29 AM
I hasve set permissions wrong....tnx a lot..
One more question, how can i edit the template of ultimate profile summary when normal user is visiting profile of normal user...??
Tnx a lot.....
Sorry, but I don't fully understand what you would like to achieve. ;)
Quote from: Don Pepito on December 23, 2008, 06:13:29 AM
I hasve set permissions wrong....tnx a lot..
One more question, how can i edit the template of ultimate profile summary when normal user is visiting profile of normal user...??
Tnx a lot.....
Здраво земљаче! :)
All HTML for Ultimate Profile is located in Themes/default/UltimateProfile.template.php. You can do desired edits there as you would in Profile.templates.php. I hope that's what you wanted to know.
Ајој тебе, што латиница, погобу...
Који је то темплејт, у смислу темплејта кад обичан корисник посјећа профил обичног корисника...
Ако не смијеш писати нашки, само измјени претходни пост...
Захваљујем унапријед, Бог с тобом...!!
Ма могу и српским да пишем него рекох, можда ће још неком требати исто то па да може да прочита. Нисам сигуран шта желиш тачно. Отвори нову тему на мом форуму (http://jovant.guruserve.com/test-forum/) па да слободно причамо на српском, да се не буне странци :).
I have just replied on your forum...
Is there a way to activate "customized Profile" automaticly to all members instead of members doing it themselves?
Of course, there is such setting on UP's admin page.
Quote from: JovanT on December 25, 2008, 04:10:26 PM
Of course, there is such setting on UP's admin page.
I checked the box in admin....... but when i look in members profile,yeah i see the the ultimate profile enabled to me but when i go to their settings,the box isnt checked.
Quote from: BlueDevil on December 25, 2008, 05:56:41 PM
Quote from: JovanT on December 25, 2008, 04:10:26 PM
Of course, there is such setting on UP's admin page.
I checked the box in admin....... but when i look in members profile,yeah i see the the ultimate profile enabled to me but when i go to their settings,the box isnt checked.
maybe it doesn't need to be, because you enabling it, will overwrite there option. Have you checked it with a test account to see if there profile is enabled? I removed that option from the profile screen. Because it was confusing for the members.
Quote from: Lafemme on December 25, 2008, 08:12:50 PM
Quote from: BlueDevil on December 25, 2008, 05:56:41 PM
Quote from: JovanT on December 25, 2008, 04:10:26 PM
Of course, there is such setting on UP's admin page.
I checked the box in admin....... but when i look in members profile,yeah i see the the ultimate profile enabled to me but when i go to their settings,the box isnt checked.
maybe it doesn't need to be, because you enabling it, will overwrite there option. Have you checked it with a test account to see if there profile is enabled? I removed that option from the profile screen. Because it was confusing for the members.
LOL....Never crossed my mind. I'll check with my reg member account. Thanx.
Solved.
I logged in as a reg member and the other ultimate profiles sure are activated.
Now you can kick me. LOL
Is this mod compatible with 1.1.7?
Quote from: Picobrain on December 27, 2008, 09:07:06 AM
Is this mod compatible with 1.1.7?
Yes, there are many members running it with 1.1.7 without any problems. ;)
Quote from: Picobrain on December 27, 2008, 09:07:06 AM
Is this mod compatible with 1.1.7?
Yep. I use it on TP9.8 and SMF 1.1.7
If you use "Gallery Pro" mod from www.smfhacks.com , this adds a link "View Gallery" in your ultimate profile to your gallery albums.
In UltimateProfile.template.php find:
<td><b>', $txt[231], ': </b></td>
<td>', $context['member']['gender']['image'] ,' ', $context['member']['gender']['name'], '</td>
</tr>
<tr>
and add before:
<td><b>', $txt['smfgallery_profile_title'], ': </b></td>
<td><a href="' . $scripturl . '?action=gallery;su=user;u=',$context['member']['id'], '">', $txt['smfgallery_profilelink'], '</td>
</tr>
<tr>
Per request I'll link to a post I made on Member Awards and the Ultimate Profile..
http://www.simplemachines.org/community/index.php?topic=114701.msg1849790#msg1849790
Simply adds a profile field with the award cound (if any) where ever placed that acts as a link to the awards are.
i was making changes in my profile and i get an error everytime i click on "customize profile".
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 19235911 bytes) in /home/dcha3838/public_html/customjustice/forums/Sources/InputFilter.php on line 52
is there a way to fix this? it's only happening with my profile because of a code i put into the customized code box.
Typically its a server issue.. your server isnt giving your site the resources it needs to complete a page/process. Id recommend contacting your host about the issue.
thats the thing. my server allows this stuff.
i was doing fine with my profile until i left a code in the box by accident and then couldnt get back to to take it out. i logged in under my test user name and everything works fine and so far none of my members have problems.
i just need to go in my personal profile and eliminate the code, but dont know where to start.
Well, since most of the code is commented '// Yadda Yadda' Id start by downloading the page and hitting your admin area to see what your actually using.. then just go through and take out what your not. worst case you can take the ultimate offline and the system will/should default to using the regular profile template.
Quote from: BlueDevil on December 25, 2008, 10:53:52 PM
Solved.
I logged in as a reg member and the other ultimate profiles sure are activated.
Now you can kick me. LOL
LOL... i do not use violence :D
It's very important to log in as certain membergroups sometimes to see what they are seeing. In that way i sometimes may have made an adjustment, because it wasn't what it suppose to be...
i contacted my host and he said to create a "php.ini" file and place "memory_limit 40M" into it. my question is, what folder should i place it in? i placed it into the main folder and apparently it did something because the error changed to a different line. i also placed it into the sources folder with the same result.
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 19112008 bytes) in /home/dcha3838/public_html/customjustice/forums/Sources/InputFilter.php on line 82
instead of my previously posted 52
It is a good idea to make regular backups of your forum buddy, then if something happens like what youve stated on the previous page, you can fix it in a matter of minutes.
If right before this happened you added a mod, you can use that backup to get back.
SMF always makes a little backup before you add a mod.
You will find it in your packages directory, in the backups folder.
It will return your forum back to before this occured, losing any template changes made after that mod was installed.
That is only a suggestion to look at :)
Good luck buddy :)
i do make backups. the only problem is if i back up to before this happened, i will lose the data of posts during and after this occurred. i dont see doing that if this is only happening to my profile and no one else.
OK, so.. if a function is called (for layout purposes) in profile.template.php how does one call it in UP?
Quote from: djstew on December 31, 2008, 05:50:26 PM
i do make backups. the only problem is if i back up to before this happened, i will lose the data of posts during and after this occurred. i dont see doing that if this is only happening to my profile and no one else.
Posts are stored in your SQL, not your templates.
So you could restore from a previous backup, then drop/modify only this mods tables.
Either way, someone will have another option for you, and since it is only your profile this happens to, there will surely be something else you can try.
Good luck
P.S.
Dont forget to ask [HERE] (http://jovant.guruserve.com/test-forum/) also
this mod is probably the BEST mod i've seen this year (i just bumped into it :P)
questions for clarification....
Quote from: BlueDevil on December 28, 2008, 05:23:55 PM
If you use "Gallery Pro" mod from www.smfhacks.com , this adds a link "View Gallery" in your ultimate profile to your gallery albums.
In UltimateProfile.template.php find:
<td><b>', $txt[231], ': </b></td>
<td>', $context['member']['gender']['image'] ,' ', $context['member']['gender']['name'], '</td>
</tr>
<tr>
and add before:
<td><b>', $txt['smfgallery_profile_title'], ': </b></td>
<td><a href="' . $scripturl . '?action=gallery;su=user;u=',$context['member']['id'], '">', $txt['smfgallery_profilelink'], '</td>
</tr>
<tr>
do i really need to install the GalleryPro mod so that we can use the "view my gallery" option?
meaning, for users to have more than one pic on their profile is to add this mod?
thanks again :)
Quote from: pinoypetfinder on December 31, 2008, 09:37:03 PM
do i really need to install the GalleryPro mod so that we can use the "view my gallery" option?
meaning, for users to have more than one pic on their profile is to add this mod?
thanks again :)
The "gallery pro" lets you make your own public & private folders. This code is just a direct link to it. It has nothing to do with the images in your profile.
The images in your profile and the images in the gallery Pro,are 2 different things. SMF Gallery mod,doesnt have a user album. Only Gallery pro.
If you have the gallery PRO mod and you click "View My Gallery" in my profile,it will take you here:
http://www.chevyavalancheclub.com/index.php?action=gallery;su=user;u=1
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi120.photobucket.com%2Falbums%2Fo170%2FBlueDevil_photo%2FFireShotcapture1-ChevyAvalancheClub.png%3Ft%3D1230779431&hash=71c974bb987df0fe99b8d9edaf1d1d6f44a57aad)
thanks for that info. it is highly appreciated :)
one last thing, what files should i modify on sources/profile.php?
because i'm having error on installing it
1. Execute Modification ./Sources/Profile.php Test failed
on the previous post, someone said to uninstall the "profile comments mod" i used to have that, and uninstalled it just now because i want this mod. but i still got the same errors. here my my mods (dunno if it will help)
1. Change_Poster_Of_Topic_And_Message 1.0 [ Uninstall ] [ List Files ] [ Delete ]
2. Last Topics of Person 1.0 [ Uninstall ] [ List Files ] [ Delete ]
3. AJAX Instant Quick Reply 1.0.1 [ Uninstall ] [ List Files ] [ Delete ]
4. Default Avatar 1.1.1 [ Uninstall ] [ List Files ] [ Delete ]
5. Custom Copyright 1.1.5 [ Uninstall ] [ List Files ] [ Delete ]
6. SMF 1.0.14 / 1.1.6 Update 1.0 [ List Files ] [ Delete ]
7. Member Specific Permissions 1.32 [ Uninstall ] [ List Files ] [ Delete ]
8. SMF 1.0.11 / 1.1.3 Update 1.1 [ List Files ] [ Delete ]
9. SMF Staff Page 1.6 [ Apply Mod ] [ List Files ] [ Delete ]
10. Ad Managment 2.3 [ Uninstall ] [ List Files ] [ Delete ]
11. Add PM Info To header (v1.2) 1.1 [ Uninstall ] [ List Files ] [ Delete ]
12. Auto Embed Video/Audio Clips 3.1.2 [ Uninstall ] [ List Files ] [ Delete ]
13. BBC [you] 1.0 [ Uninstall ] [ List Files ] [ Delete ]
14. Posting_Announcement 1.1.2 [ Uninstall ] [ List Files ] [ Delete ]
15. Spoiler Show And Hide 1.0.3 [ Uninstall ] [ List Files ] [ Delete ]
16. Signature Settings Mod 1.1 [ Uninstall ] [ List Files ] [ Delete ]
17. Merge Double Posts 1.0.8 [ Apply Mod ] [ List Files ] [ Delete ]
18. AllCaps Notifier 1.0 [ Apply Mod ] [ List Files ] [ Delete ]
19. RemoveQuotedImages 1.0 [ Apply Mod ] [ List Files ] [ Delete ]
20. Global Headers Footers 1.3 [ Uninstall ] [ List Files ] [ Delete ]
21. SMF 1.0.15 / 1.1.7 Update 1.0 [ Uninstall ] [ List Files ] [ Delete ]
22. Custom Edit Times 1.1 [ Uninstall ] [ List Files ] [ Delete ]
23. Super Admin 1.3 [ Uninstall ] [ List Files ] [ Delete ]
24. Googlebot & Spiders Mod 2.0.3 [ Uninstall ] [ List Files ] [ Delete ]
25. Reason For Editing Mod 1.14 [ Uninstall ] [ List Files ] [ Delete ]
26. Welcome Back 1.0 [ Uninstall ] [ List Files ] [ Delete ]
27. Simple ImageShack 2.0.3 [ Uninstall ] [ List Files ] [ Delete ]
28. Users Online Today Mod 1.4.0 [ Uninstall ] [ List Files ] [ Delete ]
29. Limit A Guests Daily PageViews Mod 1.0 [ Uninstall ] [ List Files ] [ Delete ]
30. AllCaps Notifier 1.0 [ Apply Mod ] [ List Files ] [ Delete ]
31. Ultimate Profile 0.8.5 [ Apply Mod ] [ List Files ] [ Delete ]
32. Disable shouting 1.0 [ Apply Mod ] [ List Files ] [ Delete ]
33. SMFShop 3.0 [ Apply Mod ] [ List Files ] [ Delete ]
34. Contact Page 1.1 [ Uninstall ] [ List Files ] [ Delete ]
35. SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update 1.0 [ List Files ] [ Delete ]
36. Attachments Mod 1.1 [ Apply Mod ] [ List Files ] [ Delete ]
37. Display Age and Location next to posts 1.0 [ Apply Mod ] [ List Files ] [ Delete ]
38. PM On Registration 1.0.2 [ Uninstall ] [ List Files ] [ Delete ]
You can always try to manualy edit your Profile.php. Package Parser (http://modparser.dev.dansoftaustralia.net/) can help you a lot. Also, since you had Profile Comments installed previously, you should apply this patch (http://jovant.guruserve.com/test-forum/index.php?topic=13.msg41#msg41).
Jovan, I noticed on your forum you mentioned additions where redeclaration is an issue (I site this as example). That Additions should be mate to the Ultimate template rather than the profile.template. I have 2 puzzles before me you might be able to help with.. 1. Is new th other is an older headache.
1. Could a conditional switch be added in profile template.. for example:
if $view_customized = false
So that is U.P. is disabled it would default to running the addition in profile.template.php? In this way (yes I know my syntax is wrong) the code can be in both locations and function if the U.P is active or not to display the profile modifications.
2. Here is the older question, building on th statement above.. Simple Awards.. it has one area added to profile.template
function template_awards()
{
global $context, $settings, $options, $scripturl, $boardurl, $modSettings, $txt, $user_info, $ID_MEMBER;
echo '
<table border="0" width="85%" cellspacing="1" cellpadding="4" class="bordercolor" align="center">
<tr class="titlebg">
<td colspan="8" height="26">
<img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" align="top" /> Awards
</td>
</tr>
<tr class="catbg3">
<td width="5%" align="center" style="font-size:90%">Icon</td>
<td><a href="', $scripturl,'?action=profile;u='.$_GET['u'].';sa=awards;sort=title', (!isset($_GET['desc']) && isset($_GET['sort']) && $_GET['sort'] == 'title' ? ';desc' : ''), '">Title', (isset($_GET['sort']) && $_GET['sort'] == 'title' ? ' <img src="'.$settings['images_url'].'/'.(!isset($_GET['desc']) ? 'sort_down.gif' : 'sort_up.gif').'">' : ''), '</a></td>
<td><a href="', $scripturl,'?action=profile;u='.$_GET['u'].';sa=awards;sort=givenDate', (!isset($_GET['desc']) && (isset($_GET['sort']) && $_GET['sort'] == 'givenDate' || !isset($_GET['sort'])) ? ';desc' : ''), '">Given Date', (isset($_GET['sort']) && $_GET['sort'] == 'givenDate' || !isset($_GET['sort']) ? ' <img src="'.$settings['images_url'].'/'.(!isset($_GET['desc']) ? 'sort_down.gif' : 'sort_up.gif').'">' : ''), '</a></td>
<td><a href="', $scripturl,'?action=profile;u='.$_GET['u'].';sa=awards;sort=givenBy', (!isset($_GET['desc']) && isset($_GET['sort']) && $_GET['sort'] == 'givenBy' ? ';desc' : ''), '">Given By', (isset($_GET['sort']) && $_GET['sort'] == 'givenBy' ? ' <img src="'.$settings['images_url'].'/'.(!isset($_GET['desc']) ? 'sort_down.gif' : 'sort_up.gif').'">' : ''), '</a></td>
'.(allowedTo('give_awards') ? '<td align="center"></td>' : '').'
</tr>';
// If they don't have any awards don't list them!
if (empty($context['awards']))
echo '
<tr class="windowbg">
<td colspan="8" align="center"><b>', $txt['no_awards'], '</b></td>
</tr>';
// Now loop through each award showing info on each.
$alternate = false;
foreach ($context['awards'] as $award)
{
echo '
<tr class="', $alternate ? 'windowbg' : 'windowbg2', '">
<td align="center"><img align="middle" src="', $boardurl, '/awards/', stripslashes($award['fileName']), '" alt="', stripslashes($award['title']), '" title="', stripslashes($award['title']), '"/></td>
<td align="center">', stripslashes($award['title']), '</td>
<td align="center">', date("M j, Y, H:i a", $award['givenDate'] + $user_info['time_offset'] * 3600), '</td>
<td align="center"><a href="' . $scripturl . '?action=profile;u='.$award['ID_MEMBER'].'">'.(empty($award['realName']) ? $award['backupName'] : $award['realName']).'</a></td>
', (allowedTo('give_awards') ? '<td align="center"><a href="' . $scripturl . '?action=profile;u=' . $_GET['u'] . ';sa=awards;remove=' . $award['ID_AWARD'] . '"><img src="' . $settings['images_url'] . '/buttons/delete.gif" alt="Delete"/></a></td>' : ''), '
</tr>';
$alternate = !$alternate;
}
echo '
</table>';
if(allowedTo('give_awards'))
// Add a new Award?
echo '
<br />
<form enctype="multipart/form-data" action="', $scripturl, '?action=profile;u=', $context['member']['id'], ';sa=awards" method="post" accept-charset="', $context['character_set'], '">
<table width="65%" cellpadding="4" cellspacing="0" class="tborder" align="center">
<tr class="titlebg">
<td colspan="2">', $txt['award_add'], '</td>
</tr>
<tr class="windowbg">
<td width="45%">
<b>', $txt['award_title'], ':</b>
</td>
<td width="55%">
<input type="text" name="new_award_title" id="new_award_title" size="25" />
</td>
</tr>
<tr class="windowbg">
<td width="45%">
<b>', $txt['award_image'], ':</b>
</td>
<td width="55%">
<input type="file" name="attachment" id="new_award_image" size="25" />
</td>
</tr>
<tr class="windowbg">
<td colspan="2" align="right">
<input type="submit" value="', $txt['award_add_button'], '" />
</td>
</tr>
</table>
</form>';
}
Using the above statement from your other forum I removed the profile.template addition and added it to U.P. Ironically no display at all with regard to the modification. Suggestions?
thanks jovan, i tried to modify the profile.php file manually since it's the only file that i'm getting a failed error.
but after modifying and uploading the file, i got this error -
Parse error: syntax error, unexpected $end in /home/mysite/public_html/forum/Sources/Profile.php on line 3586
that line is only this : ?>
that's the very last line of my profile.php ; any idea what should i do with this? :/
sounds like you might be missing a closing bracket on a function '}'
thanks! :) i tried to remodifying the profile.php file and the error was gone.
but also noticed this :
Modify Profile
Account Related Settings
Forum Profile Information
Look and Layout Preferences
Notifications and Email
Personal Message Options
2 links appears to be blank? :/
Quote from: pinoypetfinder on January 02, 2009, 01:27:15 AM
thanks! :) i tried to remodifying the profile.php file and the error was gone.
but also noticed this :
Modify Profile
Account Related Settings
Forum Profile Information
Look and Layout Preferences
Notifications and Email
Personal Message Options
2 links appears to be blank? :/
Validate your language file entries..
you mean In file $languagedir/Modifications.english.php ? (i'm using english)
everything according to package parser seems to be there
which other files should i check?
Quote from: pinoypetfinder on January 02, 2009, 01:38:06 AM
you mean In file $languagedir/Modifications.english.php ? (i'm using english)
everything according to package parser seems to be there
which other files should i check?
Silly as this sounds are you using UTF8 support? And if so, did you look there?
no, been using .english.php since the very beginning afaik. but i looked into it too and added the codes for english.php, but it is still the same, 2 lines are still blank (i believe that's where user should modify their profile right?)
thanks for helping, i really appreciate it :)
Those 2 are "Customized Profile' and 'Pictures'
aah i see. do you know where else should i look into? i mean, which other files? :(
Quote from: pinoypetfinder on January 02, 2009, 02:11:23 AM
aah i see. do you know where else should i look into? i mean, which other files? :(
They should show up if you enable those features in ultimate profile config.
Do you have UltimateProfile.english.php in the language folder of you current theme? If not,copy it from your default language folder to your current theme's language folder.
hello, thanks bluedevil. i have it already on my default/current theme (i'm using smf's default theme : http://www.pinoypetfinder.com/forum/ - i replaced the default theme's images that's why it looks like that. and i still get the 2 blank lines :(
Nice site. I've been fooled before with good looking default themes.
Is the ultimateprofile.english.php chmoded @ 777?
Make sure these are in it:
$txt['pictures'] = 'Profile pictures';
$txt['customized'] = 'Customized profile';
They should be in the top.
thank you! :)
i just made the ultimateprofile.english.php file to 777 , but stil have that 2 blank lines
The language strings are missing.
Look for these..... if theyre not there,add them.
$txt['pictures'] = 'Profile pictures';
$txt['customized'] = 'Customized profile';
No offense BD.. second check is always a good thing but I asked about that earlier and he claimed to have verified.
Quote from: HR on January 02, 2009, 09:13:23 AM
No offense BD.. second check is always a good thing but I asked about that earlier and he claimed to have verified.
Non taken. Im thinking his profile.php is incomplete.
are you referring to profile.php or the ultimateprofile.english.php?
it was included on the ultimateprofile.english.php but not on the profile.php
if it should be on the profile.php file, how come it didn't showed up when i used the package parser?
Quote from: pinoypetfinder on January 02, 2009, 09:38:25 AM
are you referring to profile.php or the ultimateprofile.english.php?
it was included on the ultimateprofile.english.php but not on the profile.php
if it should be on the profile.php file, how come it didn't showed up when i used the package parser?
No,i meant the language strings in the ultimateprofile.english.php
but,....if you still dont see the links,i think your profile.php is incomplete. You should use the package parser again and verify everything is in order in profile.php.
i want another website (imageshack) upload my pictures in this mod.. but how is do it? (and video??)
so my server is insufficient bandwitch
oops yeah something;s missing on the package parser, but everything is okay now ;D
thank you jovan for this very cool mod ;)
and thanks to HR and BlueDevil for helping me install this mod! ;)
Quote from: pinoypetfinder on January 02, 2009, 10:18:27 AM
oops yeah something;s missing on the package parser, but everything is okay now ;D
thank you jovan for this very cool mod ;)
and thanks to HR and BlueDevil for helping me install this mod! ;)
Cool! What was missing?
Just want to make sure i've downloaded the latest version "0-8-5" from top of topic ?
^yup that's the version that i downloaded too.
Quote from: BlueDevil on January 02, 2009, 10:35:53 AM
Cool! What was missing?
it's quite embarrassing..... the very first modification for profile.php lol
i dont know what happened, but i remember modifying that part earlier. i might have accidentally deleted it or something. but all is okay now :)
i also just realized that gallery pro doesn't come for free hehe. is there any alternative smf gallery mod you can recommend? :)
and oh, i'm a girl :P hehe
Quote from: pinoypetfinder on January 02, 2009, 11:06:08 AM
^yup that's the version that i downloaded too.
Quote from: BlueDevil on January 02, 2009, 10:35:53 AM
Cool! What was missing?
it's quite embarrassing..... the very first modification for profile.php lol
i dont know what happened, but i remember modifying that part earlier. i might have accidentally deleted it or something. but all is okay now :)
i also just realized that gallery pro doesn't come for free hehe. is there any alternative smf gallery mod you can recommend? :)
and oh, i'm a girl :P hehe
Cool. Thats what i thought when i looked at my own profile.php.
Gallery Pro is not free but it lets you make your own folder. SMF gallery doesnt.
You might want to check out "SMF Gallery Media" in the dload section but i dont know anything about it as i dont use it.
cool.
and i run smf media gallery, and it's great(lets you have personel albums as well as it handels audio, video and still shots ) but i also recamend geting AEVA by Nao as well to go with it.
Quote from: ke4obt on January 02, 2009, 11:18:31 AM
cool.
and i run smf media gallery, and it's great(lets you have personel albums as well as it handels audio, video and still shots ) but i also recamend geting AEVA by Nao as well to go with it.
Thanks... I was gonna recommend SMG myself, but that might have sounded like a shameless plug ;)
I do use successfully Ultimate Profile along with SMG at Noisen.com. The "latest pictures" uses the SSI-like external function to retrieve random SMG items. Works just fine.
PS: link to SMG is in my sig...
with my error from the other day, i solved it by piecing my tables back together and erase my profile by replacing it with the smf_themes table from a backup.
my next isnt really a problem but a how to. i am unable to see any buddies in my ultimate profile. (i just tested this out with a test user)
does anyone know how to get that working correctly? i can see them in my list but the box isnt showing the name/avatars of my buddies.
the one good thing about getting this back up for use is i was able to apply the smf trader feedback mod to the ultimate profile template. :)
^I tried adding buddies too and found out that, like friendster/myspace, you have to wait for their approval before you see them on your list ;D (I think)
and thanks everyone for the suggestion about the SMG and AEVA. I'll look into it right after posting this message ;D
I really appreciate everyone's help, thanks again! :D
thats the thing. i tested it out with my test username to add to my buddy list and then approved it and it never showed up.
Quote from: minnik on January 02, 2009, 09:52:00 AM
i want another website (imageshack) upload my pictures in this mod.. but how is do it? (and video??)
so my server is insufficient bandwitch
hey what happened my ask..pls help me
Another question! :) is it possible to have the "Admin" on your buddylist for this mod as a default? like on myspace, when you create an account, Tom (the owner) is already there on your friends list?
and how do i link my SMG to user's profile?
Quote from: pinoypetfinder on January 03, 2009, 07:04:14 AM
Another question! :) is it possible to have the "Admin" on your buddylist for this mod as a default? like on myspace, when you create an account, Tom (the owner) is already there on your friends list?
Everything is possible, you just need to spit out some code for it ;)
Heck, on my website I'm rewriting the UP buddy system to actually allow anyone to create personal membergroups so they can have different friend types etc...
Quoteand how do i link my SMG to user's profile?
It's done automatically...? Through the profile menu...
If you're talking about the thumbnails in a corner of the ultimate profile page, you need to rewrite that section. Do you want my code for it? I can go and fetch it.
i want add with manuel ? how is it?
but i'm not good with codes and strings and stuff like that hehe.
i usually just follow instructions and thats it. hehe
Quote from: Nao 尚 on January 03, 2009, 07:19:07 AM
It's done automatically...? Through the profile menu...
If you're talking about the thumbnails in a corner of the ultimate profile page, you need to rewrite that section. Do you want my code for it? I can go and fetch it.
Yes, please :) Thank you in advance :D
and oh, i tried installing the "AEVA" on my forum, and realized i already have it installed :) the earlier version than the one up now, i think.
Aeva > Yes, good idea to update! ;)
SMG>
Open Profile-View.php
Search for:
// Profile pictures.
There's a code block just below... It fills the pictures array with picture links.
Below that {} block, add this: (or replace the block with.......)
require_once($sourcedir . '/Subs-MGallery.php');
loadLanguage('MGallery');
$boxpic = getMediaItems(0, 6, 'RAND()', true, array(), 'm.id_member = ' . (int) $memID);
if (!empty($boxpic))
{
$context['pictures'] = array();
foreach ($boxpic as $i)
$context['pictures'][] = array('url' => $scripturl . '?action=mgallery;sa=item;id=' . $i['id'], 'thumb' => $scripturl . '?action=mgallery;sa=media;id=' . $i['id'] . ';thumb', 'title' => $i['title']);
}
I don't think 'id_picture' and 'time' are used in that array... It's not in my version of Ultimate Profile at least... If they're used, just replace the array line with:
$context['pictures'][] = array('url' => $scripturl . '?action=mgallery;sa=item;id=' . $i['id'], 'thumb' => $scripturl . '?action=mgallery;sa=media;id=' . $i['id'] . ';thumb', 'title' => $i['title'], 'id' => $i['id'], 'time' => $i['time_added']);
This will replace the pictures array with a custom SMG array.
Now, in UltimateProfile.template.php... Replace:
sa=pictures
With:
sa=mgallery
I think it should be the bare minimum for everything to work...
Now, if you disable profile pictures from UltimateProfile, it will work, but you will need to disable the "$modSettings['profile_enable_pictures'] == 1 && " test in UltimateProfile.template.php. I think ;)
It's untested BTW. I made many more changes in my version, but this is the bare minimum that should make it work on a SMF 1.1.7 + regular Ultimate Profile install.
thank you! :D will try that out and let you guys know how'd it goes :)
Hey Nao,
What all have you done to your version of U.P. .
since I have not seen your copy of U.P. (hee-hee-hee-hee, very bad joke from the blind ham).
All kidding aside, Nao as normal I might need some help with the above mod.
Thanks Lots
Flip - KE4OBT
The Blind Ham
i've tried searching but i cant seem to locate how to make an additional box like the "about me" box. i found an older post thats outdated and wont work. i would like to create a header box to sit on top, like having a banner placed on top and centered.
anyone? thanks in advance. :)
Quote from: ke4obt on January 03, 2009, 10:40:50 AM
What all have you done to your version of U.P. .
Oh nothing much... Apart from the necessary code conversion for SMF2, I mainly added support for some of my stuff (Google Map, Profile Visitors...), and cleaned up the code because I thought it kinda needed that. (I've seen much worse, though.)
I also modified cellpaddings, cellspacings, etc... Little things here and there, but in the end, when I compared Jovan's version with mine, I was a bit lost with all of the differences. Which is why I'm not sure my code edits will work out of the box for everyone.
QuoteAll kidding aside, Nao as normal I might need some help with the above mod.
To edit your profiles and see SMG pics on it, you mean? Yes I probably still have your ftp details so I should be able to help, but I don't have much time for myself these days... :(
Quote from: Alan S on August 23, 2008, 05:53:08 PM
Here is a quick guide on how to add BBC buttons to the editor section of the about me and my interests sections
The result will look like this.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fxs230.xs.to%2Fxs230%2F08346%2Fscreen449.gif&hash=4dd166f79e9afc01d9da14a8323202ea72eaab63)
Backup Files First
Profile.php
Find
// Execute the modifications!
function ModifyProfile2()
{
global $txt, $modSettings;
global $cookiename, $context;
global $sourcedir, $scripturl, $db_prefix;
global $ID_MEMBER, $user_info;
global $context, $newpassemail, $user_profile, $validationCode;
loadLanguage('Profile');
Add after
if (isset($_POST['default_options_about'])) $_POST['default_options']['about'] = $_POST['default_options_about'];
if (isset($_POST['default_options_interests'])) $_POST['default_options']['interests'] = $_POST['default_options_interests'];
Thanks for JovanT for helping me with that bit ^^
Profile.template.php
Find
<textarea class="editor" name="default_options[about]" rows="8" cols="65">', @$context['member']['options']['about'], '</textarea><br />';
Replace With
<script language="JavaScript" type="text/javascript">
function bbc_highlight(something, mode)
{
something.style.backgroundImage = "url(" + smf_images_url + (mode ? "/bbc/bbc_hoverbg.gif)" : "/bbc/bbc_bg.gif)");
}
</script>';
// load the post variables
loadLanguage('Post');
// The below array makes it dead easy to add images to this page. Add it to the array and everything else is done for you!
$context['bbc_tags'] = array();
$context['bbc_tags'][] = array(
'bold' => array('code' => 'b', 'before' => '[b]', 'after' => '[/b]', 'description' => $txt[253]),
'italicize' => array('code' => 'i', 'before' => '[i]', 'after' => '[/i]', 'description' => $txt[254]),
'underline' => array('code' => 'u', 'before' => '[u]', 'after' => '[/u]', 'description' => $txt[255]),
'strike' => array('code' => 's', 'before' => '[s]', 'after' => '[/s]', 'description' => $txt[441]),
'glow' => array('code' => 'glow', 'before' => '[glow=red,2,300]', 'after' => '[/glow]', 'description' => $txt[442]),
'shadow' => array('code' => 'shadow', 'before' => '[shadow=red,left]', 'after' => '[/shadow]', 'description' => $txt[443]),
'move' => array('code' => 'move', 'before' => '[move]', 'after' => '[/move]', 'description' => $txt[439]),
'pre' => array('code' => 'pre', 'before' => '[pre]', 'after' => '[/pre]', 'description' => $txt[444]),
'justify' => array('code' => 'justify', 'before' => '[justify]', 'after' => '[/justify]', 'description' => $txt['justify']),
'left' => array('code' => 'left', 'before' => '[left]', 'after' => '[/left]', 'description' => $txt[445]),
'center' => array('code' => 'center', 'before' => '[center]', 'after' => '[/center]', 'description' => $txt[256]),
'right' => array('code' => 'right', 'before' => '[right]', 'after' => '[/right]', 'description' => $txt[446]),
'flash' => array('code' => 'flash', 'before' => '[flash=200,200]', 'after' => '[/flash]', 'description' => $txt[433]),
'img' => array('code' => 'img', 'before' => '[img]', 'after' => '[/img]', 'description' => $txt[435]),
'url' => array('code' => 'url', 'before' => '[url]', 'after' => '[/url]', 'description' => $txt[257]),
'email' => array('code' => 'email', 'before' => '[email]', 'after' => '[/email]', 'description' => $txt[258]),
'sup' => array('code' => 'sup', 'before' => '[sup]', 'after' => '[/sup]', 'description' => $txt[447]),
'sub' => array('code' => 'sub', 'before' => '[sub]', 'after' => '[/sub]', 'description' => $txt[448]),
'list' => array('code' => 'list', 'before' => '[list]\n[li]', 'after' => '[/li]\n[li][/li]\n[/list]', 'description' => $txt[261]),
);
// Here loop through the array, printing the images/rows/separators!
foreach ($context['bbc_tags'][0] as $image => $tag)
{
// Is there a "before" part for this bbc button? If not, it can't be a button!!
if (isset($tag['before']))
{
// Is this tag disabled?
if (!empty($context['disabled_tags'][$tag['code']]))
continue;
// If there's no after, we're just replacing the entire selection in the post box.
if (!isset($tag['after']))
echo '<a href="javascript:void(0);" onclick="replaceText(\'', $tag['before'], '\', document.forms.creator.default_options_about); return false;">';
// On the other hand, if there is one we are surrounding the selection ;).
else
echo '<a href="javascript:void(0);" onclick="surroundText(\'', $tag['before'], '\', \'', $tag['after'], '\', document.forms.creator.default_options_about); return false;">';
// Okay... we have the link. Now for the image and the closing </a>!
echo '<img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="', $settings['images_url'], '/bbc/', $image, '.gif" align="bottom" width="23" height="22" alt="', $tag['description'], '" title="', $tag['description'], '" style="background-image: url(', $settings['images_url'], '/bbc/bbc_bg.gif); margin: 1px 2px 1px 1px;" /></a>';
}
}
// Print a drop down list for all the colors we allow!
if (!isset($context['disabled_tags']['color']))
echo ' <select onchange="surroundText(\'[color=\' + this.options[this.selectedIndex].value.toLowerCase() + \']\', \'[/color]\', document.forms.creator.default_options_about); this.selectedIndex = 0; document.forms.creator.default_options_about.focus(document.forms.creator.default_options_about.caretPos);" style="margin-bottom: 1ex;">
<option value="" selected="selected">', $txt['change_color'], '</option>
<option value="Black">', $txt[262], '</option>
<option value="Red">', $txt[263], '</option>
<option value="Yellow">', $txt[264], '</option>
<option value="Pink">', $txt[265], '</option>
<option value="Green">', $txt[266], '</option>
<option value="Orange">', $txt[267], '</option>
<option value="Purple">', $txt[268], '</option>
<option value="Blue">', $txt[269], '</option>
<option value="Beige">', $txt[270], '</option>
<option value="Brown">', $txt[271], '</option>
<option value="Teal">', $txt[272], '</option>
<option value="Navy">', $txt[273], '</option>
<option value="Maroon">', $txt[274], '</option>
<option value="LimeGreen">', $txt[275], '</option>
</select>';
// Print a drop down list for all the fonts are aviable!
if (!isset($context['disabled_tags']['font']))
echo ' <select onchange="surroundText(\'[font=\' + this.options[this.selectedIndex].value.toLowerCase() + \']\', \'[/font]\', document.forms.creator.default_options_about); this.selectedIndex = 0; document.forms.creator.default_options_about.focus(document.forms.creator.default_options_about.caretPos);" style="margin-bottom: 1ex;">
<option value="" selected="selected">', $txt['font_face'], '</option>
<option value="Arial">', $txt['font_arial'], '</option>
<option value="Times New Roman">', $txt['font_times'], '</option>
<option value="Comic Sans MS">', $txt['font_comic'], '</option>
<option value="Verdana">', $txt['font_verd'], '</option>
<option value="Haettenschweiler">', $txt['font_heatt'], '</option>
<option value="Tahoma">', $txt['font_taho'], '</option>
</select>';
// Print a drop down list for all the fonts sizes are aviable!
if (!isset($context['disabled_tags']['size']))
echo ' <select onchange="surroundText(\'[size=\' + this.options[this.selectedIndex].value.toLowerCase() + \']\', \'[/size]\', document.forms.creator.default_options_about); this.selectedIndex = 0; document.forms.creator.default_options_about.focus(document.forms.creator.default_options_about.caretPos);" style="margin-bottom: 1ex;">
<option value="" selected="selected">', $txt['font_size'], '</option>
<option value="9pt">', $txt['size_9'], '</option>
<option value="10pt">', $txt['size_10'], '</option>
<option value="11pt">', $txt['size_11'], '</option>
<option value="12pt">', $txt['size_12'], '</option>
<option value="13pt">', $txt['size_13'], '</option>
<option value="14pt">', $txt['size_14'], '</option>
</select>';
echo '<br />';
$found_button = false;
// Print the buttom row of buttons!
foreach ($context['bbc_tags'][1] as $image => $tag)
{
if (isset($tag['before']))
{
// Is this tag disabled?
if (!empty($context['disabled_tags'][$tag['code']]))
continue;
$found_button = true;
// If there's no after, we're just replacing the entire selection in the post box.
if (!isset($tag['after']))
echo '<a href="javascript:void(0);" onclick="replaceText(\'', $tag['before'], '\', document.forms.creator.default_options_about); return false;">';
// On the other hand, if there is one we are surrounding the selection ;).
else
echo '<a href="javascript:void(0);" onclick="surroundText(\'', $tag['before'], '\', \'', $tag['after'], '\', document.forms.creator.default_options_about); return false;">';
// Okay... we have the link. Now for the image and the closing </a>!
echo '<img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="', $settings['images_url'], '/bbc/', $image, '.gif" align="bottom" width="23" height="22" alt="', $tag['description'], '" title="', $tag['description'], '" style="background-image: url(', $settings['images_url'], '/bbc/bbc_bg.gif); margin: 1px 2px 1px 1px;" /></a>';
}
}
echo '
<br> <textarea class="editor" name="default_options_about" rows="8" cols="65">', @$context['member']['options']['about'], '</textarea><br />';
Find
<textarea class="editor" name="default_options[interests]" rows="8" cols="65">', @$context['member']['options']['interests'], '</textarea><br />
Replace With
<script language="JavaScript" type="text/javascript">
function bbc_highlight(something, mode)
{
something.style.backgroundImage = "url(" + smf_images_url + (mode ? "/bbc/bbc_hoverbg.gif)" : "/bbc/bbc_bg.gif)");
}
</script>';
// load the post variables
loadLanguage('Post');
// The below array makes it dead easy to add images to this page. Add it to the array and everything else is done for you!
$context['bbc_tags'] = array();
$context['bbc_tags'][] = array(
'bold' => array('code' => 'b', 'before' => '[b]', 'after' => '[/b]', 'description' => $txt[253]),
'italicize' => array('code' => 'i', 'before' => '[i]', 'after' => '[/i]', 'description' => $txt[254]),
'underline' => array('code' => 'u', 'before' => '[u]', 'after' => '[/u]', 'description' => $txt[255]),
'strike' => array('code' => 's', 'before' => '[s]', 'after' => '[/s]', 'description' => $txt[441]),
'glow' => array('code' => 'glow', 'before' => '[glow=red,2,300]', 'after' => '[/glow]', 'description' => $txt[442]),
'shadow' => array('code' => 'shadow', 'before' => '[shadow=red,left]', 'after' => '[/shadow]', 'description' => $txt[443]),
'move' => array('code' => 'move', 'before' => '[move]', 'after' => '[/move]', 'description' => $txt[439]),
'pre' => array('code' => 'pre', 'before' => '[pre]', 'after' => '[/pre]', 'description' => $txt[444]),
'justify' => array('code' => 'justify', 'before' => '[justify]', 'after' => '[/justify]', 'description' => $txt['justify']),
'left' => array('code' => 'left', 'before' => '[left]', 'after' => '[/left]', 'description' => $txt[445]),
'center' => array('code' => 'center', 'before' => '[center]', 'after' => '[/center]', 'description' => $txt[256]),
'right' => array('code' => 'right', 'before' => '[right]', 'after' => '[/right]', 'description' => $txt[446]),
'flash' => array('code' => 'flash', 'before' => '[flash=200,200]', 'after' => '[/flash]', 'description' => $txt[433]),
'img' => array('code' => 'img', 'before' => '[img]', 'after' => '[/img]', 'description' => $txt[435]),
'url' => array('code' => 'url', 'before' => '[url]', 'after' => '[/url]', 'description' => $txt[257]),
'email' => array('code' => 'email', 'before' => '[email]', 'after' => '[/email]', 'description' => $txt[258]),
'sup' => array('code' => 'sup', 'before' => '[sup]', 'after' => '[/sup]', 'description' => $txt[447]),
'sub' => array('code' => 'sub', 'before' => '[sub]', 'after' => '[/sub]', 'description' => $txt[448]),
'list' => array('code' => 'list', 'before' => '[list]\n[li]', 'after' => '[/li]\n[li][/li]\n[/list]', 'description' => $txt[261]),
);
// Here loop through the array, printing the images/rows/separators!
foreach ($context['bbc_tags'][0] as $image => $tag)
{
// Is there a "before" part for this bbc button? If not, it can't be a button!!
if (isset($tag['before']))
{
// Is this tag disabled?
if (!empty($context['disabled_tags'][$tag['code']]))
continue;
// If there's no after, we're just replacing the entire selection in the post box.
if (!isset($tag['after']))
echo '<a href="javascript:void(0);" onclick="replaceText(\'', $tag['before'], '\', document.forms.creator.default_options_interests); return false;">';
// On the other hand, if there is one we are surrounding the selection ;).
else
echo '<a href="javascript:void(0);" onclick="surroundText(\'', $tag['before'], '\', \'', $tag['after'], '\', document.forms.creator.default_options_interests); return false;">';
// Okay... we have the link. Now for the image and the closing </a>!
echo '<img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="', $settings['images_url'], '/bbc/', $image, '.gif" align="bottom" width="23" height="22" alt="', $tag['description'], '" title="', $tag['description'], '" style="background-image: url(', $settings['images_url'], '/bbc/bbc_bg.gif); margin: 1px 2px 1px 1px;" /></a>';
}
}
// Print a drop down list for all the colors we allow!
if (!isset($context['disabled_tags']['color']))
echo ' <select onchange="surroundText(\'[color=\' + this.options[this.selectedIndex].value.toLowerCase() + \']\', \'[/color]\', document.forms.creator.default_options_interests); this.selectedIndex = 0; document.forms.creator.default_options_interests.focus(document.forms.creator.default_options_interests.caretPos);" style="margin-bottom: 1ex;">
<option value="" selected="selected">', $txt['change_color'], '</option>
<option value="Black">', $txt[262], '</option>
<option value="Red">', $txt[263], '</option>
<option value="Yellow">', $txt[264], '</option>
<option value="Pink">', $txt[265], '</option>
<option value="Green">', $txt[266], '</option>
<option value="Orange">', $txt[267], '</option>
<option value="Purple">', $txt[268], '</option>
<option value="Blue">', $txt[269], '</option>
<option value="Beige">', $txt[270], '</option>
<option value="Brown">', $txt[271], '</option>
<option value="Teal">', $txt[272], '</option>
<option value="Navy">', $txt[273], '</option>
<option value="Maroon">', $txt[274], '</option>
<option value="LimeGreen">', $txt[275], '</option>
</select>';
// Print a drop down list for all the fonts are aviable!
if (!isset($context['disabled_tags']['font']))
echo ' <select onchange="surroundText(\'[font=\' + this.options[this.selectedIndex].value.toLowerCase() + \']\', \'[/font]\', document.forms.creator.default_options_interests); this.selectedIndex = 0; document.forms.creator.default_options_interests.focus(document.forms.creator.default_options_interests.caretPos);" style="margin-bottom: 1ex;">
<option value="" selected="selected">', $txt['font_face'], '</option>
<option value="Arial">', $txt['font_arial'], '</option>
<option value="Times New Roman">', $txt['font_times'], '</option>
<option value="Comic Sans MS">', $txt['font_comic'], '</option>
<option value="Verdana">', $txt['font_verd'], '</option>
<option value="Haettenschweiler">', $txt['font_heatt'], '</option>
<option value="Tahoma">', $txt['font_taho'], '</option>
</select>';
// Print a drop down list for all the fonts sizes are aviable!
if (!isset($context['disabled_tags']['size']))
echo ' <select onchange="surroundText(\'[size=\' + this.options[this.selectedIndex].value.toLowerCase() + \']\', \'[/size]\', document.forms.creator.default_options_interests); this.selectedIndex = 0; document.forms.creator.default_options_interests.focus(document.forms.creator.default_options_interests.caretPos);" style="margin-bottom: 1ex;">
<option value="" selected="selected">', $txt['font_size'], '</option>
<option value="9pt">', $txt['size_9'], '</option>
<option value="10pt">', $txt['size_10'], '</option>
<option value="11pt">', $txt['size_11'], '</option>
<option value="12pt">', $txt['size_12'], '</option>
<option value="13pt">', $txt['size_13'], '</option>
<option value="14pt">', $txt['size_14'], '</option>
</select>';
echo '<br />';
$found_button = false;
// Print the buttom row of buttons!
foreach ($context['bbc_tags'][1] as $image => $tag)
{
if (isset($tag['before']))
{
// Is this tag disabled?
if (!empty($context['disabled_tags'][$tag['code']]))
continue;
$found_button = true;
// If there's no after, we're just replacing the entire selection in the post box.
if (!isset($tag['after']))
echo '<a href="javascript:void(0);" onclick="replaceText(\'', $tag['before'], '\', document.forms.creator.default_options_interests); return false;">';
// On the other hand, if there is one we are surrounding the selection ;).
else
echo '<a href="javascript:void(0);" onclick="surroundText(\'', $tag['before'], '\', \'', $tag['after'], '\', document.forms.creator.default_options_interests); return false;">';
// Okay... we have the link. Now for the image and the closing </a>!
echo '<img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="', $settings['images_url'], '/bbc/', $image, '.gif" align="bottom" width="23" height="22" alt="', $tag['description'], '" title="', $tag['description'], '" style="background-image: url(', $settings['images_url'], '/bbc/bbc_bg.gif); margin: 1px 2px 1px 1px;" /></a>';
}
}
echo '
<textarea class="editor" name="default_options_interests" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onchange="storeCaret(this);" rows="8" cols="65">', @$context['member']['options']['interests'], '</textarea><br />
Save and reupload the files making sure they overwrite the old ones and you should now have BBC buttons.
i attempted to make this mod work but seems like i'm unsuccessful with it. i backed up the 2 files and made the changes. i got this error when i got to my profile.
Fatal error: Cannot redeclare template_customized() (previously declared in /home/dcha3838/public_html/customjustice/forums/Sources/Load.php(1740) : eval()'d code:1718) in /home/dcha3838/public_html/customjustice/forums/Sources/Load.php(1740) : eval()'d code on line 2148
i replaced them back with the 2 i backed up and now still get this. is there another file i need to fix?
In /Sources/Load.php
You have the code in it twice or more...
i cant seem to find a duplicate code??? :-X
Quote from: djstew on January 03, 2009, 08:29:04 PM
i cant seem to find a duplicate code??? :-X
I looked too but seems fine.
Are you 100% sure you replace the correct files?
Quote from: BlueDevil on January 03, 2009, 08:38:14 PM
Quote from: djstew on January 03, 2009, 08:29:04 PM
i cant seem to find a duplicate code??? :-X
I looked too but seems fine.
Are you 100% sure you replace the correct files?
got it. i grabbed the profile template from another theme and seems to be fine now.
is there a way to make that bbc button code work with this 8.5 version of Ultimate Profile? i have members that dont really know codes and relies on the quick clicks. lol
Quote from: djstew on January 03, 2009, 09:01:05 PM
Quote from: BlueDevil on January 03, 2009, 08:38:14 PM
Quote from: djstew on January 03, 2009, 08:29:04 PM
i cant seem to find a duplicate code??? :-X
I looked too but seems fine.
Are you 100% sure you replace the correct files?
got it. i grabbed the profile template from another theme and seems to be fine now.
is there a way to make that bbc button code work with this 8.5 version of Ultimate Profile? i have members that dont really know codes and relies on the quick clicks. lol
Sorry,but i have not tried the BBC codes yet.
I'd say try again but this time load the right files,.....hehehehe.
The BBC codes should work. I just installed this.
The profile.php is in the "Sources" folder and Profile.template.php is in your default theme.
it did work. thanks again. i still have one unanswered and i think i'm done. lol..
Quote from: djstew on January 03, 2009, 07:29:39 PM
i've tried searching but i cant seem to locate how to make an additional box like the "about me" box. i found an older post thats outdated and wont work. i would like to create a header box to sit on top, like having a banner placed on top and centered.
anyone? thanks in advance. :)
Quote from: djstew on January 03, 2009, 11:45:19 PM
it did work. thanks again. i still have one unanswered and i think i'm done. lol..
Quote from: djstew on January 03, 2009, 07:29:39 PM
i've tried searching but i cant seem to locate how to make an additional box like the "about me" box. i found an older post thats outdated and wont work. i would like to create a header box to sit on top, like having a banner placed on top and centered.
anyone? thanks in advance. :)
I wouldnt know how to do that one.
I want to be everyones friend!
Is this done yet?
....or how dificult would be to edit so when new members register,automaticly adds admin as friend with a automatic PM?
Quote from: BlueDevil on January 03, 2009, 11:49:47 PM
....or how dificult would be to edit so when new members register,automaticly adds admin as friend with a automatic PM?
[Here's] (http://www.simplemachines.org/community/index.php?topic=253689.msg1669412#msg1669412) an old hack that does something similar.
I suggest reading the first 2 pages, there's only 3.
It only works for this mod.
Have fun :)
Here's the tutorial to adding a new box like the "About Me" box.
http://www.simplemachines.org/community/index.php?topic=183574.msg1355087#msg1355087
That's the one I use. ;)
Thanx Sabre & Brian. Adding the extra box worked.
Im looking into the automatic friend how to.
Not quite... i get this parse error:
Fatal error: Call to undefined function clean_html() in /home/midwes15/public_html/Themes/urbantp09/UltimateProfile.template.php on line 518
This is line 518:
', clean_html (un_htmlspecialchars ($context['member']['options']['ride']));
This is the code:
/*--------------------------------------------------------------------------
Begin Profile Ride Info
---------------------------------------------------------------------------*/
echo '
<br>
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="ride">
<tr class="titlebg">
<td height="26" align="center">
', $txt['profile_my_ride'] ,'
</td>
</tr>
<tr>
<td class="windowbg">';
if (!empty($context['member']['options']['ride']))
echo '
', clean_html (un_htmlspecialchars ($context['member']['options']['ride']));
else
echo '
no ride
', $txt['profile_ride_no'];
echo '
</td>
</tr>
</table>';
/*--------------------------------------------------------------------------
End Profile Ride Info
---------------------------------------------------------------------------*/
So, thanks to the thank-o-matic guys & a bit of tweaking from the awards guys contribution as a reference we have an additional conditional statement for the UP :) This one simply displays the # of thanks the member has received (I dont think anybody really cares if they say it). If a number is returned it is a likn to the thank you posts for the member. If there is no number simply say "This member has no thank-Yous"
<tr>
<td width="40%">
<b>', $txt['thank_you_post_thx_display'], ':</b></td>
<td>
', (!empty($context['member']['thank_you_post']['became'])) ? '<img src="' . $settings['images_url'] . '/buttons/thank_you_b.gif" alt="' . $txt['thank_you_post_post_b'] . '"><a href="' . $scripturl . '?action=profile;sa=showThankYouPosts;u=' . $context['member']['id'] . '">' . $context['member']['thank_you_post']['became'] . '</a>.' : 'This member has no Thank-Yous.', '
</td>
</tr>';
Of course if I were working to the common letter of the law I would have used a txt variable for the "has none" response. But since all I use is english... So, another tweak for my lil ultimate profile :)
So, for point of reference in my UP template just above:
</table>
</td>
</tr>
</table>
<br />
';
// Messenger type information
we have
// Awards display field
echo ' <tr>
<td width="40%">
<b>', $txt['pa_view_album'], ': </b>
</td><td>
', (!empty($context['countAwards'])) ? '<img src="' . $settings['default_theme_url'] . '/images/award.gif" alt="' . $txt['awards'] . '">This member has <a href="' . $scripturl . '?action=profile;sa=awards;u=' . $context['member']['id'] . '">' . $context['countAwards'] . ' ' . $txt['awards'] . '</a>.' : 'This member has no awards.', '
</td>
</tr>';
// End Awards Display
// Thank You Display
//
// <tr>
// <td><b>', $txt['thank_you_post_thx_display'], ' ' , $txt['thank_you_post_made_display'] , ':</b></td>
// <td>', $context['member']['thank_you_post']['made'], '</td>
// </tr>
echo '
<tr>
<td width="40%">
<b>', $txt['thank_you_post_thx_display'], ':</b></td>
<td>
', (!empty($context['member']['thank_you_post']['became'])) ? '<img src="' . $settings['images_url'] . '/buttons/thank_you_b.gif" alt="' . $txt['thank_you_post_post_b'] . '"><a href="' . $scripturl . '?action=profile;sa=showThankYouPosts;u=' . $context['member']['id'] . '">' . $context['member']['thank_you_post']['became'] . '</a>.' : 'This member has no Thank-Yous.', '
</td>
</tr>';
// End Thank You Display
echo '
To get the awards to register we have to add a snippit in profile.php
Find:
// Attempt to load the member's profile data.
if (!loadMemberContext($memID) || !isset($memberContext[$memID]))
fatal_error($txt[453] . ' - ' . $memID, false);
And add after:
// Adding for Awards tweaks
// Count the number of items in the database for create index
$request = db_query("
SELECT COUNT(*)
FROM {$db_prefix}awards_members
WHERE ID_MEMBER = $memID", __FILE__, __LINE__);
list ($countAM) = mysql_fetch_row($request);
mysql_free_result($request);
// The count of awards per member
$context['countAwards'] = $countAM;
// End Awards Tweak Addition
HR u are awesome. I'm gonna try this on my ultimate profile mod as soon as possible. thank u so much man ;)
Ok...I've seen the first page of this topic but its last edited on 2007... It seems an amazing mod... I noticed it is not in the modificacions seciton...but why beta? its secure to install this?
Quote from: D3N1553 on January 04, 2009, 07:15:47 PM
Ok...I've seen the first page of this topic but its last edited on 2007... It seems an amazing mod... I noticed it is not in the modificacions seciton...but why beta? its secure to install this?
Yep. Im using it on 1.1.7
Quote from: BlueDevil on January 03, 2009, 11:49:47 PM
I want to be everyones friend!
Is this done yet?
....or how dificult would be to edit so when new members register,automaticly adds admin as friend with a automatic PM?
i'm all for this too.
anyone wanna help us again? :D
Quote from: Sabre™ on January 04, 2009, 02:49:12 PM
[Here's] (http://www.simplemachines.org/community/index.php?topic=253689.msg1669412#msg1669412) an old hack that does something similar.
I suggest reading the first 2 pages, there's only 3.
It only works for this mod.
Have fun :)
have u tried this one, bluedevil?
Quote from: pinoypetfinder on January 04, 2009, 10:00:30 PM
Quote from: BlueDevil on January 03, 2009, 11:49:47 PM
I want to be everyones friend!
Is this done yet?
....or how dificult would be to edit so when new members register,automaticly adds admin as friend with a automatic PM?
i'm all for this too.
anyone wanna help us again? :D
Quote from: Sabre™ on January 04, 2009, 02:49:12 PM
[Here's] (http://www.simplemachines.org/community/index.php?topic=253689.msg1669412#msg1669412) an old hack that does something similar.
I suggest reading the first 2 pages, there's only 3.
It only works for this mod.
Have fun :)
have u tried this one, bluedevil?
Nope,not yet. Ive been piddleing with other mods at the moment.
ive been messing with this one. i have it 99% complete but i cant seem to get it to work yet. still working on it. i got a header in my ultimateprofile and the editing box in the customized profile with the bbc buttons. i even added 2 stings in the modifications.english temp. it looks like it should work but doesnt post for some reason.
Quote from: djstew on January 04, 2009, 10:15:21 PM
ive been messing with this one. i have it 99% complete but i cant seem to get it to work yet. still working on it. i got a header in my ultimateprofile and the editing box in the customized profile with the bbc buttons. i even added 2 stings in the modifications.english temp. it looks like it should work but doesnt post for some reason.
I installed the bbc buttons too but remove it. I got 30 pages of errors in 2 minutes. I thought it wasnt nessesary so i removed it.
got it! i'll post the codes in a little while.
heres the extra profile block. this code will only work if you have placed the codes in for the bbc buttons mod. i made this as a centered left to right header for my ultimate profile.
in the sources/profile.php
find
// Execute the modifications!
function ModifyProfile2()
{
global $txt, $modSettings;
global $cookiename, $context;
global $sourcedir, $scripturl, $db_prefix;
global $ID_MEMBER, $user_info;
global $context, $newpassemail, $user_profile, $validationCode;
loadLanguage('Profile');
if (isset($_POST['default_options_about'])) $_POST['default_options']['about'] = $_POST['default_options_about'];
if (isset($_POST['default_options_interests'])) $_POST['default_options']['interests'] = $_POST['default_options_interests'];
after, add
if (isset($_POST['default_options_header'])) $_POST['default_options']['header'] = $_POST['default_options_header'];
in the ultimateprofile.english.php, add somewhere
$txt['profile_header_desc'] = 'Image and/or text...';
$txt['profile_header'] = 'Header';
in the profile.template.php, find
// Okay... we have the link. Now for the image and the closing </a>!
echo '<img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="', $settings['images_url'], '/bbc/', $image, '.gif" align="bottom" width="23" height="22" alt="', $tag['description'], '" title="', $tag['description'], '" style="background-image: url(', $settings['images_url'], '/bbc/bbc_bg.gif); margin: 1px 2px 1px 1px;" /></a>';
}
}
echo '
<br> <textarea class="editor" name="default_options_about" rows="8" cols="65">', @$context['member']['options']['about'], '</textarea><br />';
after, add
// Load the spell checker?
if ($context['show_spellchecking'])
echo '
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/spellcheck.js"></script>';
echo ' </td>
</tr>';
echo '
<tr>
<td width="40%" valign="top">
<b>', $txt['profile_header'], ':</b>
<div class="smalltext">', $txt['profile_header_desc'], '</div><br />
<br />';
if ($context['show_spellchecking'])
echo '
<input type="button" value="', $txt['spell_check'], '" onclick="spellCheck(\'creator\', \'default_options[header]\');" />';
echo '
</td>
<td>
<script language="JavaScript" type="text/javascript">
function bbc_highlight(something, mode)
{
something.style.backgroundImage = "url(" + smf_images_url + (mode ? "/bbc/bbc_hoverbg.gif)" : "/bbc/bbc_bg.gif)");
}
</script>';
// load the post variables
loadLanguage('Post');
// The below array makes it dead easy to add images to this page. Add it to the array and everything else is done for you!
$context['bbc_tags'] = array();
$context['bbc_tags'][] = array(
'bold' => array('code' => 'b', 'before' => '[b]', 'after' => '[/b]', 'description' => $txt[253]),
'italicize' => array('code' => 'i', 'before' => '[i]', 'after' => '[/i]', 'description' => $txt[254]),
'underline' => array('code' => 'u', 'before' => '[u]', 'after' => '[/u]', 'description' => $txt[255]),
'strike' => array('code' => 's', 'before' => '[s]', 'after' => '[/s]', 'description' => $txt[441]),
'glow' => array('code' => 'glow', 'before' => '[glow=red,2,300]', 'after' => '[/glow]', 'description' => $txt[442]),
'shadow' => array('code' => 'shadow', 'before' => '[shadow=red,left]', 'after' => '[/shadow]', 'description' => $txt[443]),
'move' => array('code' => 'move', 'before' => '[move]', 'after' => '[/move]', 'description' => $txt[439]),
'pre' => array('code' => 'pre', 'before' => '[pre]', 'after' => '[/pre]', 'description' => $txt[444]),
'justify' => array('code' => 'justify', 'before' => '[justify]', 'after' => '[/justify]', 'description' => $txt['justify']),
'left' => array('code' => 'left', 'before' => '[left]', 'after' => '[/left]', 'description' => $txt[445]),
'center' => array('code' => 'center', 'before' => '[center]', 'after' => '[/center]', 'description' => $txt[256]),
'right' => array('code' => 'right', 'before' => '[right]', 'after' => '[/right]', 'description' => $txt[446]),
'flash' => array('code' => 'flash', 'before' => '[flash=200,200]', 'after' => '[/flash]', 'description' => $txt[433]),
'img' => array('code' => 'img', 'before' => '[img]', 'after' => '[/img]', 'description' => $txt[435]),
'url' => array('code' => 'url', 'before' => '[url]', 'after' => '[/url]', 'description' => $txt[257]),
'email' => array('code' => 'email', 'before' => '[email]', 'after' => '[/email]', 'description' => $txt[258]),
'sup' => array('code' => 'sup', 'before' => '[sup]', 'after' => '[/sup]', 'description' => $txt[447]),
'sub' => array('code' => 'sub', 'before' => '[sub]', 'after' => '[/sub]', 'description' => $txt[448]),
'list' => array('code' => 'list', 'before' => '[list]\n[li]', 'after' => '[/li]\n[li][/li]\n[/list]', 'description' => $txt[261]),
);
// Here loop through the array, printing the images/rows/separators!
foreach ($context['bbc_tags'][0] as $image => $tag)
{
// Is there a "before" part for this bbc button? If not, it can't be a button!!
if (isset($tag['before']))
{
// Is this tag disabled?
if (!empty($context['disabled_tags'][$tag['code']]))
continue;
// If there's no after, we're just replacing the entire selection in the post box.
if (!isset($tag['after']))
echo '<a href="javascript:void(0);" onclick="replaceText(\'', $tag['before'], '\', document.forms.creator.default_options_header); return false;">';
// On the other hand, if there is one we are surrounding the selection ;).
else
echo '<a href="javascript:void(0);" onclick="surroundText(\'', $tag['before'], '\', \'', $tag['after'], '\', document.forms.creator.default_options_header); return false;">';
// Okay... we have the link. Now for the image and the closing </a>!
echo '<img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="', $settings['images_url'], '/bbc/', $image, '.gif" align="bottom" width="23" height="22" alt="', $tag['description'], '" title="', $tag['description'], '" style="background-image: url(', $settings['images_url'], '/bbc/bbc_bg.gif); margin: 1px 2px 1px 1px;" /></a>';
}
}
// Print a drop down list for all the colors we allow!
if (!isset($context['disabled_tags']['color']))
echo ' <select onchange="surroundText(\'[color=\' + this.options[this.selectedIndex].value.toLowerCase() + \']\', \'[/color]\', document.forms.creator.default_options_header); this.selectedIndex = 0; document.forms.creator.default_options_header.focus(document.forms.creator.default_options_header.caretPos);" style="margin-bottom: 1ex;">
<option value="" selected="selected">', $txt['change_color'], '</option>
<option value="Black">', $txt[262], '</option>
<option value="Red">', $txt[263], '</option>
<option value="Yellow">', $txt[264], '</option>
<option value="Pink">', $txt[265], '</option>
<option value="Green">', $txt[266], '</option>
<option value="Orange">', $txt[267], '</option>
<option value="Purple">', $txt[268], '</option>
<option value="Blue">', $txt[269], '</option>
<option value="Beige">', $txt[270], '</option>
<option value="Brown">', $txt[271], '</option>
<option value="Teal">', $txt[272], '</option>
<option value="Navy">', $txt[273], '</option>
<option value="Maroon">', $txt[274], '</option>
<option value="LimeGreen">', $txt[275], '</option>
</select>';
// Print a drop down list for all the fonts are aviable!
if (!isset($context['disabled_tags']['font']))
echo ' <select onchange="surroundText(\'[font=\' + this.options[this.selectedIndex].value.toLowerCase() + \']\', \'[/font]\', document.forms.creator.default_options_header); this.selectedIndex = 0; document.forms.creator.default_options_header.focus(document.forms.creator.default_options_header.caretPos);" style="margin-bottom: 1ex;">
<option value="" selected="selected">', $txt['font_face'], '</option>
<option value="Arial">', $txt['font_arial'], '</option>
<option value="Times New Roman">', $txt['font_times'], '</option>
<option value="Comic Sans MS">', $txt['font_comic'], '</option>
<option value="Verdana">', $txt['font_verd'], '</option>
<option value="Haettenschweiler">', $txt['font_heatt'], '</option>
<option value="Tahoma">', $txt['font_taho'], '</option>
</select>';
// Print a drop down list for all the fonts sizes are aviable!
if (!isset($context['disabled_tags']['size']))
echo ' <select onchange="surroundText(\'[size=\' + this.options[this.selectedIndex].value.toLowerCase() + \']\', \'[/size]\', document.forms.creator.default_options_header); this.selectedIndex = 0; document.forms.creator.default_options_header.focus(document.forms.creator.default_options_header.caretPos);" style="margin-bottom: 1ex;">
<option value="" selected="selected">', $txt['font_size'], '</option>
<option value="9pt">', $txt['size_9'], '</option>
<option value="10pt">', $txt['size_10'], '</option>
<option value="11pt">', $txt['size_11'], '</option>
<option value="12pt">', $txt['size_12'], '</option>
<option value="13pt">', $txt['size_13'], '</option>
<option value="14pt">', $txt['size_14'], '</option>
</select>';
echo '<br />';
$found_button = false;
// Print the buttom row of buttons!
foreach ($context['bbc_tags'][1] as $image => $tag)
{
if (isset($tag['before']))
{
// Is this tag disabled?
if (!empty($context['disabled_tags'][$tag['code']]))
continue;
$found_button = true;
// If there's no after, we're just replacing the entire selection in the post box.
if (!isset($tag['after']))
echo '<a href="javascript:void(0);" onclick="replaceText(\'', $tag['before'], '\', document.forms.creator.default_options_header); return false;">';
// On the other hand, if there is one we are surrounding the selection ;).
else
echo '<a href="javascript:void(0);" onclick="surroundText(\'', $tag['before'], '\', \'', $tag['after'], '\', document.forms.creator.default_options_header); return false;">';
// Okay... we have the link. Now for the image and the closing </a>!
echo '<img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="', $settings['images_url'], '/bbc/', $image, '.gif" align="bottom" width="23" height="22" alt="', $tag['description'], '" title="', $tag['description'], '" style="background-image: url(', $settings['images_url'], '/bbc/bbc_bg.gif); margin: 1px 2px 1px 1px;" /></a>';
}
}
echo '
<textarea class="editor" name="default_options_header" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onchange="storeCaret(this);" rows="8" cols="65">', @$context['member']['options']['header'], '</textarea><br />
</td>
</tr>';
in the ultimateprofile.template.php, near the top, find
global $context, $settings, $options, $scripturl, $modSettings, $txt, $db_prefix,$ID_MEMBER;
// Output user's customization code.
if ($modSettings['profile_allow_customize'] == 1)
echo '
<!-- start of user\'s customization code -->
',
un_htmlspecialchars (@$context['member']['options']['css'])
, '
<!-- end of user\'s customization code -->
';
add after
echo '
<td width="50%" id="profile_left" valign="center">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['profile_header'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
', parse_bbc ($context['member']['options']['header']) ,'
</td>
</tr>';
i hope this helps you. it definitely solved the addition i wanted. :) i guess not too bad for my first time actually trying to figure one out on my own. lol
^djstew, can i add as many block as i want? like on myspace, they have each for "about me" / "who I want to meet" / interest, fave music, fave movies.. stuff like that.
i made i slight change to the post, its not the modifications. english. it is the ultimate profile.english. lol
anyway, i guess you can use it there, i have no idea. if you want to have different category names, just change the word "header" that you see in all codes to what ever you want it to say as long as they all say the same exact thing.
Quote from: pinoypetfinder on January 03, 2009, 09:43:59 AM
thank you! :D will try that out and let you guys know how'd it goes :)
So... How did it go? (Re: integrating SMG thumbnails into ultimate profiles.)
Quote from: Nao 尚 on January 05, 2009, 05:33:00 AM
Quote from: pinoypetfinder on January 03, 2009, 09:43:59 AM
thank you! :D will try that out and let you guys know how'd it goes :)
So... How did it go? (Re: integrating SMG thumbnails into ultimate profiles.)
Indeed, curiosity has me all a buzz
Quote from: Nao 尚 on January 03, 2009, 09:27:42 AM
Now, if you disable profile pictures from UltimateProfile, it will work, but you will need to disable the "$modSettings['profile_enable_pictures'] == 1 && " test in UltimateProfile.template.php. I think ;)
Just replace that line with:
if (allowedTo('mgallery_access') && allowedTo('mgallery_viewprofile'))
(This is how I wrote it, anyway.)
hi nao, i'm just about to try it now :) i'll be back after few mins and let u guys know how was it :)
where can i find this?
Open Profile-View.php < can't find it on my default theme folder and sources?
im using smf 1.1.7 btw
Uh... Yeah. I'm using SMF2 so that figures.
Just look for Profile.php, I think it's a single file in SMF1. Shouldn't be too hard.
Does this mod work with SMF 2 beta 4?
If not, is there anything similar to this mod for SMF2?
Thanks!
nao, can u check if i just did the right thing on profile.php? hehe
// Profile pictures.
if ($modSettings['profile_enable_pictures'] == 1) {
$request = db_query ('SELECT ID_PICTURE, time, title, filename
FROM ' . $db_prefix . 'profile_pictures
WHERE ID_MEMBER = ' . $memID . '
ORDER BY RAND() LIMIT 6', __FILE__, __LINE__);
while ($picture = mysql_fetch_assoc ($request)) {
$context['pictures'][] = array (
'ID_PICTURE' => $picture['ID_PICTURE'],
'title' => $picture['title'],
'url' => $scripturl . '?action=profile;u=' . $memID . ';sa=pictures;view=' . $picture['ID_PICTURE'],
'thumb' => $modSettings['profile_pictures_url'] . '/' . $memID . '_' . $picture['time'] . '_thumb.' . get_extension ($picture['filename']),
'time' => timeformat ($picture['time']),
);
}
if (@$context['member']['options']['pictures_budd_only'] == 1 && @$modSettings['enable_buddylist'] == 1) {
if ($context['member']['is_reverse_buddy'] || allowedTo ('profile_extra_any') || $context['user']['is_owner'])
$context['can_view_pics'] = true;
else
$context['can_view_pics'] = false;
} else
$context['can_view_pics'] = true;
}
require_once($sourcedir . '/Subs-MGallery.php');
loadLanguage('MGallery');
$boxpic = getMediaItems(0, 6, 'RAND()', true, array(), 'm.id_member = ' . (int) $memID);
if (!empty($boxpic))
{
$context['pictures'] = array();
foreach ($boxpic as $i)
$context['pictures'][] = array('url' => $scripturl . '?action=mgallery;sa=item;id=' . $i['id'], 'thumb' => $scripturl . '?action=mgallery;sa=media;id=' . $i['id'] . ';thumb', 'title' => $i['title'], 'id' => $i['id'], 'time' => $i['time_added']);
}
i added the codes, instead of replacing them. incase i decided to use the ultimateprofile's picture settings. uhm, i think i did it wrong because i can't see it anything on my profile :/
Quote from: codebirth on January 05, 2009, 06:56:31 PM
Does this mod work with SMF 2 beta 4?
If not, is there anything similar to this mod for SMF2?
Thanks!
Nao has it working for smf 2.0. But jovant will release it when the rc is public and he has learned how the rc works vs 1.1
@codebirth> I'd love to do a similar mod with all of the improvements I'm working on (because, well, to me, Ultimate Profile = MySpace chaos, while I'm more of a "Facebook design" guy), but... Well, it's not like I've got a lot of free time under my hand. :(
@pinoy> your Sources.php look okay to me, but what about the UP template? Also, is the resulting page completely blank, or were you just talking about the pictures box in the second column?
wait, isn't this supposed to give my profile a link to my gallery? with thumbnails of some of the photos too? i didn't see any links or thumbnail on my page after modifying the files (and uploading theme).
*also, i thought it'll be nicer too if there'll be a link to "view all buddies" ; i know i'm asking too much stuff now. hehe
@Nao> I'm also more friend of the facebook design style :) I don't need something as complex as Ultimate Profile but was looking to something similar for SMF2 to learn from its code. I just want to add an extra option in the sidebar menu and allow my members to enter some extra data. Custom Profile fields is not an option because each member must be able to add unlimited rows of data, so I have created a custom table in the database.
As far as I have seen I have to "play" with (at least) these files
Sources/Profile.php
Sources/Profile-Modify.php
Themes/default/Profile.template.php
Themes/default/languages/index.english.php
Is that right? I'd let you know if I'm stuck somewhere and see if you can give me a hand, if you don't mind.
Thanks!
P.S: Sorry @everybody for the little hijack.
@pinoy> SMG links in the menu only appear if you have the menu in the first place. Before SMF2 RC1, it seems that it only appears on your own profile. Starting with RC1 (which I've been using for long ago to have completely forgotten how it worked before), menus are everywhere, so the links show up everywhere as well.
Basically, what you want to do is add the links yourself manually... It's really easy-peasy.
Anyway -- what I gave you *does* add the link to anyone's SMG profile! Just click on "My pictures" where the new thumbnails are.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fpics.noisen.com%2Fthere_uprof.jpg&hash=9acb3f80fd0c8e44338258c99087d5435db7b89e)
@codebirth> Can't Custom Profile Fields allow for a large-size textarea? I thought it could... (I don't use it but I did check it out at one point...)
Also, don't forget about the Profile-View.php file... This is where you want to put the code to modify the profile summary.
the screenshot you posted is exactly what i want. i added the codes you gave me but doesn't seem to work ;( will try it out again though and see if i missed something. will let you knoww again :)
@Nao> Yes, I believe Custom Profiles allows for large-size textareas but is not an option in my case. I'm making the website for my running club and each member will have the chance to add their marks on an unlimited number of races. With all that info I will ellaborate rankings and charts so it will be easier to query over if I have each mark on a different row.
Thanks for letting me know about the Profile-View.php ;)
@pinoy> Post your modified UltimateProfile.template.php file here, so I can check it out...
@codebirth> Well if it's a very specific change, then I guess it'd still be easier to modify the Custom Fields mod, than reworking Ultimate Profile for your tastes...?
@Nao> Finally I'm doing it from scratch, it doesn't seem too hard to do. I can already show and delete rows, and now I'm in the part of inserting them. What I'm doing is pretty similar to the "edit buddies" area of the profile, but with my custom tables.
Will this work with 1.1.7?
Can I have a link to this mod's listing on the mod site so I can get the manual install instructions so that I can properly incorporate this mod into my current theme and/or be able to uninstall if $hit hits the fan?
i kind of deleted my modified ultimateprofile file already. attached is a original one.
In my search for a manual install for this mod, I found this parser. But it only supports up to 1.1.3. Is 1.1.7 that similar to 1.1.3?
http://modparser.dev.dansoftaustralia.net/
Quote from: LinK187 on January 06, 2009, 09:07:54 PM
In my search for a manual install for this mod, I found this parser. But it only supports up to 1.1.3. Is 1.1.7 that similar to 1.1.3?
http://modparser.dev.dansoftaustralia.net/
ultimateprofile should work with that parser even if only supports up to 1.1.3
@pinoy> I only changed two lines... Here's the modified file. It should work out of the box...
Quote from: Package Manager1. Execute Modification ./Sources/Profile.php Test successful
2. Execute Modification ./Themes/default/Profile.template.php Test successful
3. Execute Modification ./Sources/ModSettings.php Test failed
4. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
5. Execute Modification ./Themes/default/languages/Modifications.serbian-utf8.php Skipping file
6. Execute Modification ./index.php Test successful
7. Execute Modification ./Sources/ManagePermissions.php Test successful
8. Execute Modification ./Sources/Subs-Members.php Test successful
9. Extract Tree ./Sources
10. Extract Tree ./Themes
11. Extract Tree ./profile_pictures
12. Execute Code database.php
Do I procede? Not procede? Procede manually?
Proceed, and then manually implement the ModSettings.php changes. (That's the idea for all mods really.)
Bumping an old message asking why the user names no longer appear in the page titles! Has this been resolved?
http://www.simplemachines.org/community/index.php?topic=183574.msg1755035#msg1755035
Quote from: digit on October 16, 2008, 07:39:56 PM
Quote from: brianjw on October 16, 2008, 06:22:49 PM
digit, It removes it and I am not sure why...
Well, that's good to know - let me know when we figure it out - it can't be good for my SEO!
Thanks in advance!
nao, the gallery on my forum/ultimateprofile is now working correctly. thank you! :)
I did a manual install cuz the package manager just times out.
this is the error log:
gord0 Today at 09:09:41 PM
**** dba783401bd76603b03058e8ed44f90a
http://*****/forumtest/index.php?action=viewErrorLog;desc=
Unable to load the 'MGallery.english-utf8' language file.
gord0 Today at 09:09:34 PM
**** dba783401bd76603b03058e8ed44f90a
http://****forumtest/index.php?action=viewErrorLog;desc
Unable to load the 'MGallery.english-utf8' language file.
gord0 Today at 09:07:59 PM
**** dba783401bd76603b03058e8ed44f90a
http://****/forumtest/index.php?action=packages;sa=options
Unable to load the 'MGallery.english-utf8' language file.
gord0 Today at 09:07:42 PM
**** dba783401bd76603b03058e8ed44f90a
http://****/forumtest/index.php?action=packages;sa=options
Unable to load the 'MGallery.english-utf8' language file.
gord0 Today at 09:07:39 PM
**** dba783401bd76603b03058e8ed44f90a
http://****/forumtest/index.php?action=packages
Unable to load the 'MGallery.english-utf8' language file.
gord0 Today at 09:07:35 PM
**** dba783401bd76603b03058e8ed44f90a
http://****/forumtest/index.php?action=admin
Unable to load the 'MGallery.english-utf8' language file.
gord0 Today at 08:16:11 PM
**** dba783401bd76603b03058e8ed44f90a
http://****/forumtest/index.php?action=packages;sa=install2;package=ultimate_profile_0-8-5.zip
Unable to load the 'MGallery.english-utf8' language file.
gord0 Today at 08:16:06 PM
**** dba783401bd76603b03058e8ed44f90a
http://****/forumtest/index.php?action=packages;sa=install;package=ultimate_profile_0-8-5.zip;sesc
Unable to load the 'MGallery.english-utf8' language file.
gord0 Today at 08:16:01 PM
**** dba783401bd76603b03058e8ed44f90a
http://****/forumtest/index.php?action=packages;sa=browse
Unable to load the 'MGallery.english-utf8' language file.
gord0 Today at 08:15:40 PM
**** dba783401bd76603b03058e8ed44f90a
http://****/forumtest/index.php?action=packages;sa=options
Unable to load the 'MGallery.english-utf8' language file.
gord0 Today at 08:15:18 PM
**** dba783401bd76603b03058e8ed44f90a
http://****/forumtest/index.php?action=packages;sa=options
Unable to load the 'MGallery.english-utf8' language file.
gord0 Today at 08:14:54 PM
**** dba783401bd76603b03058e8ed44f90a
http://****/forumtest/index.php?action=packages;sa=install;package=ultimate_profile_0-8-5.zip;sesc
Unable to load the 'MGallery.english-utf8' language file.
gord0 Today at 08:14:50 PM
**** dba783401bd76603b03058e8ed44f90a
http://****/forumtest/index.php?action=packages;sa=install2;package=ultimate_profile_0-8-5.zip
2: fread(): supplied argument is not a valid stream resource
File: /home/****/public_html/forumtest/Sources/Subs-Package.php
Line: 2098
gord0 Today at 08:14:50 PM
**** dba783401bd76603b03058e8ed44f90a
http://****/forumtest/index.php?action=packages;sa=install2;package=ultimate_profile_0-8-5.zip
2: feof(): supplied argument is not a valid stream resource
File: /home/****/public_html/forumtest/Sources/Subs-Package.php
Line: 2097
gord0 Today at 08:14:50 PM
**** dba783401bd76603b03058e8ed44f90a
http://****/forumtest/index.php?action=packages;sa=install2;package=ultimate_profile_0-8-5.zip
2: fread(): supplied argument is not a valid stream resource
File: /home/****/public_html/forumtest/Sources/Subs-Package.php
Line: 2098
When i click on profile i get this error:
Parse error: syntax error, unexpected $end in /home/****/public_html/forumtest/Sources/Profile.php on line 2941
Any help is much appreciated.
Quote from: pinoypetfinder on January 08, 2009, 06:21:10 PM
nao, the gallery on my forum/ultimateprofile is now working correctly. thank you! :)
Yay! Good for you :)
if this has the last visitors will be great
@digit
I'm not aware of that problem. Here, take a look by yourself: http://jovant.guruserve.com/test-forum/index.php?action=profile;u=1. It says: "View the profile of JovanT".
@HuNTeR@sm
No, it doesn't have by default. But, this mod (http://custom.simplemachines.org/mods/index.php?mod=1150) has support for Ultimate Profile.
yes i know doesn't have by default and i say this to if you can add this future to have a complete ultimate profile mod :D
I've just restored my original files. Does this mod require any database additions/modifications? or can i just modify the files and upload? I used that parser above, seeing as I was told it would still work even tho i have 1.1.7 and the parser was set for 1.1.3 max.
Also is there anyway I can get a downgraded version with just the buddy system? That's all I really need. I already have smg for gallery stuff...
I've contacted my host to see if php safe mode is on, and if it is, requested to have it turned off. That may allow me to use the package manager...
Any help is much appreciated.
Quote from: LinK187 on January 09, 2009, 06:45:57 PM
I've just restored my original files. Does this mod require any database additions/modifications?
Yeah, the profile_comments and everything...
QuoteAlso is there anyway I can get a downgraded version with just the buddy system? That's all I really need. I already have smg for gallery stuff...
:D
Just edit the code to prevent enabling profile pictures. And then apply the changes I posted a couple of pages ago. Then you can use SMG inside UP.
If you only need a buddy system -- why not use SMF's?
Quote from: Nao 尚 on January 10, 2009, 05:23:30 AM
Quote from: LinK187 on January 09, 2009, 06:45:57 PM
I've just restored my original files. Does this mod require any database additions/modifications?
Yeah, the profile_comments and everything...
QuoteAlso is there anyway I can get a downgraded version with just the buddy system? That's all I really need. I already have smg for gallery stuff...
:D
Just edit the code to prevent enabling profile pictures. And then apply the changes I posted a couple of pages ago. Then you can use SMG inside UP.
If you only need a buddy system -- why not use SMF's?
I've never seen any buddy ops? Unless when you say "use SMF's" you're not refering to simple machines forums :P
But yes I only want to add a budy system.. what's the point of having smg and then the damn profile is like a mini smg lol...
Of course there's a friends system in SMF...! lol
Quote from: Nao 尚 on January 10, 2009, 07:37:09 AM
Of course there's a friends system in SMF...! lol
LOL, i'll look through the menu's when I get home from work.
Quote from: Miles Marshall on July 21, 2007, 08:53:23 PM
16. Profile Comments 1.2.1 [ Uninstall ]
when i install this mode is gives a database error, and i dont know what is causing it :-[ :-[
i up my pictures another website but i will show that website in my website but what can i do?how is that cod?help me..
RC1 preview is now out for Charter members... anyone have this mod running on it yet?
Is there any mod like this for SMF 2.0 Beta 4?
Quote from: Paul Cull on January 18, 2009, 08:58:00 PM
RC1 preview is now out for Charter members... anyone have this mod running on it yet?
Quote from: aED on January 19, 2009, 03:17:13 AM
Is there any mod like this for SMF 2.0 Beta 4?
Not and No :)
I believe that Jovan said he will only start once 2.0 became stable.
Quote from: Lafemme on January 19, 2009, 11:16:40 AM
Quote from: Paul Cull on January 18, 2009, 08:58:00 PM
RC1 preview is now out for Charter members... anyone have this mod running on it yet?
Quote from: aED on January 19, 2009, 03:17:13 AM
Is there any mod like this for SMF 2.0 Beta 4?
Not and No :)
I believe that Jovan said he will only start once 2.0 became stable.
Stable? Stable smf is 2.1.x ?
Quote from: Özgür | ЯocKayseri on January 19, 2009, 11:39:53 AM
Quote from: Lafemme on January 19, 2009, 11:16:40 AM
Quote from: Paul Cull on January 18, 2009, 08:58:00 PM
RC1 preview is now out for Charter members... anyone have this mod running on it yet?
Quote from: aED on January 19, 2009, 03:17:13 AM
Is there any mod like this for SMF 2.0 Beta 4?
Not and No :)
I believe that Jovan said he will only start once 2.0 became stable.
Stable? Stable smf is 2.1.x ?
Stable = not beta
Stable = Release Candidate (RC) 2.0
Stable = 2.0.0 final, no ifs, ands or buts.
Quote from: Eliana Tamerin on January 19, 2009, 08:12:40 PM
Stable = 2.0.0 final, no ifs, ands or buts.
touche old chap, touche :P
I guess "Stable" = a version anyone can switch to because automatic update packages will be released for subsequent versions.
Oh God, I miss these good old days when I didn't have to update developer revisions for my website every other day... Of course I didn't get the fixes and additions immediately, either. You get what you pay for ;)
If JovanT wants a version of Ultimate Profile that works on SMF 2 RC1, I can send him my files... They're not properly "built for SMF2" (i.e. I used a function to gather the usual db_query calls and rewrite them to the SMF2 format), but it can be helpful for a first working draft.
I love this mod but all the pictures and comments are doubled?
how do I fix it?
Quote from: Eliana Tamerin on January 19, 2009, 08:12:40 PM
Stable = 2.0.0 final, no ifs, ands or buts.
Lol, well then I should reword all my mods to say "when 2.0 RC1 comes out, instead of stable 2.0"
My guess 2.0 Final won't be out until maybe October this year, if not 2010.
Quote from: Syele on January 20, 2009, 08:55:43 PM
I love this mod but all the pictures and comments are doubled?
how do I fix it?
I guess if you uninstall, they still stay there? O:)
Quote from: brianjw on January 20, 2009, 10:28:21 PM
Lol, well then I should reword all my mods to say "when 2.0 RC1 comes out, instead of stable 2.0"
My guess 2.0 Final won't be out until maybe October this year, if not 2010.
You can't guess... Not even the team knows ;)
Although my own guess would probably be: around this summer. Maybe earlier. I think that RC2, if any, should be coming soon after RC1. The team wants Final out. We all want it out. They're, we're, working hard on it.
Yeah, I know I can't guess. ;)
But that's my prediction. lol :)
is the Beta version still not stable?
Quote from: Nao 尚 on January 20, 2009, 02:21:19 AM
If JovanT wants a version of Ultimate Profile that works on SMF 2 RC1, I can send him my files... They're not properly "built for SMF2" (i.e. I used a function to gather the usual db_query calls and rewrite them to the SMF2 format), but it can be helpful for a first working draft.
Is it okay if i can also get that draft because im planning to upgrade to 2.0 beta 4 but this mod is not available to 2.0 yet but i think i can manage if i have something to start on. thanks!
Sorry, I'm only sharing with the author (if he's interested of course).
Quote from: brianjw on January 04, 2009, 03:42:04 PM
Here's the tutorial to adding a new box like the "About Me" box.
http://www.simplemachines.org/community/index.php?topic=183574.msg1355087#msg1355087
That's the one I use. ;)
Very nice..... it works just fine.
I wish the "box" uses a scroller instead of showing an entire page.
Hello on my forums www.akaelite.net i have added custom profile entries to users profiles. such as fav weapon their computer specs ventrilo steam combatarms etc. I was wondering if anyone knew which file do i edit to show those on the custom profile. Any advice would be great this is an awesome mod btw. also i cannot get it to not show the frame from custom themes even though the theme does not use its own profile.template.php it uses the default one you can view my profile here .http://www.akaelite.net/forums/index.php?action=profile;u=682 And i have attached my profile.template.php below thanks again.
And a regular profile with the addons i made for it here. http://www.akaelite.net/forums/index.php?action=profile;u=827
Anyone cracked on how to add a "total of buddies" on the buddy list? Say,i have only showing 12 buddies but i have 20 total.
I want to add two mods into the ultimate profile but don't know how.
I want to add Twitter Field Mod (http://custom.simplemachines.org/mods/index.php?mod=1351) and MySpace field (http://custom.simplemachines.org/mods/index.php?mod=259) AFTER yahoo in ultimate profile.. What's the codes for these two mods to add after YIM?
waiting to see when this is gonna be updated, it will most likly be the one thing holding me back from updating my live site to 2
Fix for integration of Aeva embedding into Ultimate Profile comments
(Haven't considered the media box etc. yet -- does anyone use these?)
The problem: since version 4.0, Aeva goes through an elaborate process of modifying URLs from video-sharing sites *before* posting them. Ultimate Profile's profile comments do not call this feature, and thus, videos will stay as raw links when they could be turned into full embeds.
The solution: open Profile.php, search for:
if (!$_POST['comment'])
fatal_error($txt['profile_comment_field'], false);
Replace with:
if (empty($_POST['comment']))
fatal_error($txt['profile_comment_field'], false);
global $modSettings, $sourcedir;
if (isset($modSettings['aeva_enable']) && file_exists($sourcedir . '/Subs-Aeva.php'))
{
@include_once($sourcedir . '/Subs-Aeva.php');
if (function_exists('aeva_onposting'))
$_POST['comment'] = aeva_onposting($_POST['comment']);
}
(I took the opportunity to fix a minor bug in UP, sorry :D)
This should work with all versions of Aeva from 5.0 onwards.
JovanT, it would be nice if you could integrate this code into your next version, if you ever release one. It doesn't have any catch -- if the user doesn't have Aeva installed, the block will be ignored. You may also want to put the global variables into the global line at the top of the function, of course. I just put them down here for clarity.
Tested and working on my Ultimate Profile ;)
Thanks for the video auto embed, giving HD youtube :P
Alright so there is absolutely no chance of this being released in a compatible version with SMF 2.0 beta 4 in the foreseeable future. If so, all I can say is "damn" because this seems like an absolutely essential component for community building and makes we want to do the almost impossible and downgrade to SMF 1.1x
Please excuse my ignorance on the matter but can someone explain to me what exactly is the problem of creating the compatible version? Several developers have given that reasoning on different projects.
It's been answered constantly! Do a search, you'll find the answer.
JovanT, the creater, said he'd put one out once RC is public and he has time to learn how the RC works.
am I missing something? I cannot access this mod? Sorry if i missed it.
I recently downgraded from SMF 2.0 back down to 1.7. I like this mod so far, but does the Buddies function work?
Thanks!
I guess it wasnt working yesterday for a while but the link worked for me today. Thanks.
Yeah, my server went down for a few hours yesterday. Sorry for the inconvenience. You should be able to download my mod now.
@Nao 尚
OK, I will include support for Aeva mod in the next release.
Ultimate Profile 0.9 should finally come out of beta and probably will be submited to Mod site. Features will probably be the same and some minor bugs I've found will be corrected.
Quote from: JovanT on February 03, 2009, 06:51:21 AM
Yeah, my server went down for a few hours yesterday. Sorry for the inconvenience. You should be able to download my mod now.
tHANKS :) after I took a deep breath and sat on my hands I thought that might be the issue so when i tried again and it worked i was 101% stoked about it ! :)
AWESOME MOD I LOVE IT and look forward to its 'coming out' party :)
Quote from: JovanT on February 03, 2009, 06:51:21 AM
Ultimate Profile 0.9 should finally come out of beta and probably will be submited to Mod site. Features will probably be the same and some minor bugs I've found will be corrected.
Sounds good. =)
This Mod looks GREAT Just what I'm looking for!
Can I be notifyed when 0.9 comes out?
I'm using SMF2.0 beta4
Lon
Can anybody please tell me why my Buddies don't show up? I have several added, but Ultimate Profile doesn't see them, and I don't see anyplace to add Buddies either.
Please help!
Thank you!
Quote from: Senkusha on February 03, 2009, 06:23:03 PM
Can anybody please tell me why my Buddies don't show up? I have several added, but Ultimate Profile doesn't see them, and I don't see anyplace to add Buddies either.
Please help!
Thank you!
http://jovant.guruserve.com/test-forum/index.php?topic=15.0
I got a question please.
Is about the buddy system.
Users are complaining that the buddies they already had are not showing in their profiles and cannot add them either.
Meaning, the people they added as buddies before I incorporated the Ultimate Profile are not showing as buddies and they cant add them.
Anyone got a solution for this?
Thank you for your time.
Have you read the FAQ? (Link is in the first message of this topic).
Also, you could read the link posted before your message.
I was just about to ask if this was going to be RC 1 compatible...but my question was answered!
Quote from: JovanT on February 03, 2009, 06:51:21 AM
@Nao 尚
OK, I will include support for Aeva mod in the next release.
Thanks, nice to hear! :)
Thanks for a nice mod.
Now only if i can get the smf trader system to work with this.
I have been working on this for the past few days. I can get it to work, but it displays the trader section in contact me section.
Hi jovanT, nice to hear about 0.9 if you dont mind I would like to know if you already have the exact date when this mod will be available for download? Thanks
Quote from: aED on February 07, 2009, 07:45:08 PM
Hi jovanT, nice to hear about 0.9 if you dont mind I would like to know if you already have the exact date when this mod will be available for download? Thanks
Or any idea........
Will this mod work w/ the Custom Profile Field Mod? I'd hate to lose all that info and try to get people to fill it back out.
Have anyone figured out how to replace the uploaded profile images for the SMF gallery images yet?
QuoteHello on my forums www.akaelite.net i have added custom profile entries to users profiles. such as fav weapon their computer specs ventrilo steam combatarms etc. I was wondering if anyone knew which file do i edit to show those on the custom profile. Any advice would be great this is an awesome mod btw. also i cannot get it to not show the frame from custom themes even though the theme does not use its own profile.template.php it uses the default one you can view my profile here .http://www.akaelite.net/forums/index.php?action=profile;u=682 And i have attached my profile.template.php below thanks again.
And a regular profile with the addons i made for it here. http://www.akaelite.net/forums/index.php?action=profile;u=827
Quote from: BlueDevil on February 10, 2009, 09:30:02 PM
Have anyone figured out how to replace profile images with the SMF gallery images instead yet?
anyone?
Will there be a mod update for SMF 2.0?
Quote from: BlueDevil on February 11, 2009, 02:21:27 PM
Quote from: BlueDevil on February 10, 2009, 09:30:02 PM
Have anyone figured out how to replace profile images with the SMF gallery images instead yet?
anyone?
This seems like an interesting idea, but what gallery are you using?
Quote from: tyty1993 on February 14, 2009, 04:33:50 PM
Will there be a mod update for SMF 2.0?
Quote from: BlueDevil on February 11, 2009, 02:21:27 PM
Quote from: BlueDevil on February 10, 2009, 09:30:02 PM
Have anyone figured out how to replace profile images with the SMF gallery images instead yet?
anyone?
This seems like an interesting idea, but what gallery are you using?
SMF Gallery Pro
Quote from: BlueDevil on February 15, 2009, 12:14:46 AM
SMF Gallery Pro
....sorry, I can't help you there... :(
But I'm still wondering if there will be a mod update for SMF 2.0
Certainly, I'll try to port this mod to work with 2.0RC1. But, it will take some time. I can't tell you the exact date.
Quote from: JovanT on February 15, 2009, 04:08:50 PM
Certainly, I'll try to port this mod to work with 2.0RC1.
i hope sooner rather than later, its a great mod thats missed now on my forum after upgrading to RC1 - this should, IMO be a standard feature of smf
Quote from: bullbreedluverz on February 15, 2009, 08:28:10 PM
Quote from: JovanT on February 15, 2009, 04:08:50 PM
Certainly, I'll try to port this mod to work with 2.0RC1.
i hope sooner rather than later, its a great mod thats missed now on my forum after upgrading to RC1 - this should, IMO be a standard feature of smf
I agree with you it would be great if it would be added on the Final release of SMF 2.0
It wont be. SMF 2 is locked for features.
Quote from: Antechinus on February 16, 2009, 06:07:15 AM
It wont be. SMF 2 is locked for features.
Ok were still lucky that JovanT will port it to RC1.
Another question.
Why isn't this mod on the mod site?
This mod is still beta.
Quote from: JovanT on February 15, 2009, 04:08:50 PM
Certainly, I'll try to port this mod to work with 2.0RC1. But, it will take some time. I can't tell you the exact date.
Thanks for your hard and dedicated work on the Ultimate profile mod! We are using SMF 2.0 RC1 and will wait for how ever long it takes, knowing that it will be worth the wait.
I'll just keep checking back. :D
hello sir i'm getting this error please help me :(
Unknown column 'com.time' in 'field list'
File: /home/vishal/public_html/****/Sources/Profile.php
Line: 1337
please help
thank u :)
Lol, Line 1337 xD
Sorry, yeah, I had this same problem. Did you previously have the Profile Comments mod installed? If so, you have to fix your database. Go to the smf_profile_comments table and rename "date" to "time". Your old comments should also be retained, coincidentally.
is this mod compatible with smf 1.1.8?
Is there some manually instructions for it?
btw, great mod, hope there will be final version of mod.. :)
I did the 1.1.8 upgrade and it still works just fine
Quote from: Dzonny on February 17, 2009, 04:51:01 PM
is this mod compatible with smf 1.1.8?
Is there some manually instructions for it?
btw, great mod, hope there will be final version of mod.. :)
It should be compatible with 1.1.8. My end is running fine.
Quote from: heavyccasey on February 17, 2009, 03:20:35 PM
Lol, Line 1337 xD
Sorry, yeah, I had this same problem. Did you previously have the Profile Comments mod installed? If so, you have to fix your database. Go to the smf_profile_comments table and rename "date" to "time". Your old comments should also be retained, coincidentally.
thanx bro all set now :D :D :D god bless u :)
Quote from: Dzonny on February 17, 2009, 04:51:01 PM
is this mod compatible with smf 1.1.8?
Is there some manually instructions for it?
btw, great mod, hope there will be final version of mod.. :)
You can use one of the package parser tools re manual instructions.
is there a way to add the custom profile fields mod to this so there is extra information?
thanks
It's explained somewhere in this topic.
I love this mod! I thought I'd stop by and show what I've done with it: http://www.animalcrossingbay.com/community/index.php?action=profile;u=1
Does anyone know of a mod to place the member search on the forum search page?
I am extremely new to this and want to know how to install this. When I click on the link on page 1, nothing shows up.
im assuming you are using 1.1.x
click this link and the download box should pop up (it does for me)
Download: http://jovant.guruserve.com/projekti/smf/ultimate_profile/ultimate_profile_0-8-5.zip
Quote from: bullbreedluverz on February 23, 2009, 09:21:58 PM
im assuming you are using 1.1.x
click this link and the download box should pop up (it does for me)
Download: http://jovant.guruserve.com/projekti/smf/ultimate_profile/ultimate_profile_0-8-5.zip
Perfect. Ive DL it. How do I install it? Man I feel stupid.
Go to your package manager and click on download.
Quote from: tyty1234 on February 23, 2009, 11:08:47 PM
Go to your package manager and click on download.
Ok downloaded. How do I make it work?
you have to set permissions for user groups if i remember right from when i had this mod installed
Quote from: bullbreedluverz on February 25, 2009, 02:17:01 PM
you have to set permissions for user groups if i remember right from when i had this mod installed
I went into permissions and so far, I still do not know what to do from here. Oh thanks again bullbreed. My forum is looking good right now. www.vcitysports.com/forums
Go to Admin -> Features and Options -> Ultimate Profile
Then check "Enable ultimate profile for all members".
I would like to know how to make my buddy list show across the entire bottom centered or have the comments come up to fill the empty right side from my buddy list?
Also how do I get my profile page to show more than just 6 buddies?
Is it possible to put a gallery slideshow in the MY PICTURES section?
Quote from: tyty1234 on February 25, 2009, 11:52:35 PM
Go to Admin -> Features and Options -> Ultimate Profile
Then check "Enable ultimate profile for all members".
For some reason, I dont see the Ultimate Profile. In packages it shows under mod packages. Its installed I believe because there is an uninstall button. What am I doing wrong?
I tried uninstalling it and installing it again but this is what pops up:
Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Installing this package will perform the following actions: Type Action Description
1. Execute Modification ./Sources/Profile.php Test failed
2. Execute Modification ./Themes/default/Profile.template.php Test failed
3. Execute Modification ./Sources/ModSettings.php Test successful
4. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
5. Execute Modification ./Themes/default/languages/Modifications.serbian-utf8.php Skipping file
6. Execute Modification ./index.php Test successful
7. Execute Modification ./Sources/ManagePermissions.php Test successful
8. Execute Modification ./Sources/Subs-Members.php Test successful
9. Extract Tree ./Sources
10. Extract Tree ./Themes
11. Extract Tree ./profile_pictures
12. Execute Code database.php
Now I am getting this error when I go to features and options.
"Fatal error: Cannot redeclare modifyultprofilesettings() (previously declared in /home/slvcs/public_html/forums/Sources/ModSettings.php:315) in /home/slvcs/public_html/forums/Sources/ModSettings.php on line 377"
1. It could've been a language error. (the $txt variable)
2. You are getting these errors because you didn't properly uninstall Ultimate Profile.
I am having a problem downloading from the site
Does anyone have a copy they can shoot me?
Quote from: InternetMafia on February 27, 2009, 08:31:56 PM
I am having a problem downloading from the site
Does anyone have a copy they can shoot me?
Here you go...
Ok I had to do alot of things to get my smf back to normal but anyways its good. Now back to ultimate profile
Hey Jovan,(or whoever can help.)
I need help with your package. I downloaded your package and installed it. Everything looks good but for some reason I do not see anything for ultimate profiles in the permissions not a tab in the feature and option section. What do you think could be wrong.
Here is what I did.
1. Downloaded UProfile and uploaded in packages.
2. Installed package.
Thats it. am I doing something wrong?
I am looking inside features and options and there is nothing there.
Quote from: mrconfident on March 04, 2009, 08:08:05 PM
Ok I had to do alot of things to get my smf back to normal but anyways its good. Now back to ultimate profile
Hey Jovan,(or whoever can help.)
I need help with your package. I downloaded your package and installed it. Everything looks good but for some reason I do not see anything for ultimate profiles in the permissions not a tab in the feature and option section. What do you think could be wrong.
Here is what I did.
1. Downloaded UProfile and uploaded in packages.
2. Installed package.
Thats it. am I doing something wrong?
I am looking inside features and options and there is nothing there.
Have you gone into the installation parser and manually trying to place the new code into the admin.php file?
Also how is the work on the RC1/ beta 4 version coming?
Quote from: chris345 on March 04, 2009, 10:09:53 PM
Quote from: mrconfident on March 04, 2009, 08:08:05 PM
Ok I had to do alot of things to get my smf back to normal but anyways its good. Now back to ultimate profile
Hey Jovan,(or whoever can help.)
I need help with your package. I downloaded your package and installed it. Everything looks good but for some reason I do not see anything for ultimate profiles in the permissions not a tab in the feature and option section. What do you think could be wrong.
Here is what I did.
1. Downloaded UProfile and uploaded in packages.
2. Installed package.
Thats it. am I doing something wrong?
I am looking inside features and options and there is nothing there.
Have you gone into the installation parser and manually trying to place the new code into the admin.php file?
Also how is the work on the RC1/ beta 4 version coming?
I dont think so. How and what do I need to do? If you write out the steps, that will help alot. Im kinda new to this code thing.
Is it possible to make it work on RC1? It would be great :)
He is still working on it let's just wait for it to be released on public...
Oeh, ok. 0_o"
Well there be new functions in the update for smf RC1?
Now, you can find Ultimate Profile on SMF's mod site (http://custom.simplemachines.org/mods/index.php?mod=1675). For all your questions, take a look at this topic (http://www.simplemachines.org/community/index.php?topic=298641.0).