Link to Mod (http://mods.simplemachines.org/index.php?mod=259)
This mod will add a MySpace Icon on the Posts screen once entered it in your profile. Your MySpace profile name will also be displayed in your profile. Mod to allow the user NOT to have to enter "http://www.myspace.com/" as part of their MySpace Username, as that is entered automtically.
Tested on 1.1RC2
Example:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg485.imageshack.us%2Fimg485%2F5284%2Fmyspaceexample7yl.gif&hash=61a1049ea636699e8f87b22de3e1291fb2f14b58)
Thanks goes to [Unknown] for his tutorial & AwwLilMaggie (Gmail mod), and my board members for the idea!
-snork13
Very useful mod. I installed it on my forum. Maybe for next version add the button to Memberlist.template.php :)
Great Mods, Can you do one for Friendster Mods for SMF 1.0.5? Thanks :)
I actually already had an unpublished version of this mod make a while back, but that's OK :).
http://www.simplemachines.org/community/index.php?topic=43997.msg324602#msg324602
Glad to see that you liked my Gmail Field mod. :)
-AwwLilMaggie
My installation failed when I tried to install on three different forums I have:
1. Execute Modification ./Themes/default/Profile.template.php Test successful
2. Execute Modification ./Themes/default/Display.template.php Test failed
3. Extract Tree ./Themes/default/images
These are the mods I currently have:
1. SMF 1.0.7 / 1.1 RC2 Update 1.0 [ Uninstall ] [ List Files ] [ Delete ]
2. SMF Arcade 1.3.0-MOD [ Uninstall ] [ List Files ] [ Delete ]
3. TinyPortal 0.86 [ Uninstall ] [ List Files ] [ Delete ]
What code should I be looking at for Display.template.php for my SMF 1.1 RC2-1 forums?
Thanks,
RoarinRow
SMF 1.1 RC2 here and the mod didn't seem to have any actual functionality.
Sure, after installation, there was a text field in which to enter something for MySpace so I typed in just my folder (leaving out "http://www.myspace.com/" ) but when viewing my profile, it didn't actually become a URL even though the instructions suggested it would.
Also, there was no hint associated with the MySpace field. For the users' sakes, where it says:
MySpace: [_____________________]
It should probably read:
MySpace: http://www.myspace.com/[____________________]
With the hint "This is your MySpace nickname." below MySpace: just as it does for AIM, ICQ, etc.
As others have suggested, a column should be added to the member list for something like this. Lastly, since ICQ, AIM, MSN, YIM are all about meeting or chatting with people, MySpace should probably be grouped in that "social interaction" category rather than with the user's own personal website (especially since MySpace isn't a part of one's own private website).
I'll keep an eye out here for a more complete version. It's a good idea, just needs some more work before it's of any utility.
I couldn't wait for the fix so I just installed this mod for the MySpace field in the user's profile - http://www.simplemachines.org/community/index.php?topic=79004.0
Heh, I just finished installing that mod and posting a comment there when a notification arrived in my e-mail that someone had replied to this thread. ;)
Thanks for the tip just the same, it's appreciated. :)
Quote from: Larathiel on July 22, 2006, 12:35:31 AM
Heh, I just finished installing that mod and posting a comment there when a notification arrived in my e-mail that someone had replied to this thread. ;)
Thanks for the tip just the same, it's appreciated. :)
I noticed that. No problemo. 8)
I have added several fields for members at my forum (including MySpace) using a technique similar to Skype and Ventrilo. It shows up pretty much everywhere the MSN, ICQ, etc, icons are. Still cool to see someone make a mod for it though.
I have completely changed the myspace mod, while nothings wrong with the old one...I just wanted to get the info into the database so I could appove more in the future. So in version 2.? I added myspace to the memberlist with sort option and added myspace to your buddy list. The user will still ONLY need to enter their myspace name in the space provided in their profile, and not the full url!
I added 2 sql files, one installs the column, and the other removes the column via the package manager.
I'm not completely done, I would like to get some feedback if your brave :P. File attached. As always I tested on a fresh mod free default forum...so if you have many mods installed you may have issues and you may need to install manually.
FOR 1.1RC2 only!
make sure to un-install the old version first and always make backups :-X
-Snork13
Worked fine for me, after I realized I had used the older version first (can you get them to delete that from the download page? *LOL*) and after I moved the graphic into my custom template folder.
Can you make one to make a field for YouTube users too?? I tried to modify this one to work to make another field for YouTube, but I didn't do it right and can't get it to work. Pretty please???? *LOL*
Thanks!
Lesli in SWFL.
When trying to install the MySpace field mod onto RC3, I received the following error:
Installations actions for "MySpace Field":
Installing this package will perform the following actions:
Type Action Description
1. Execute Modification ./Sources/Load.php Test failed
Any suggestions ?
Any way to get this for 1.0.8?
Thanks for this mod. It works so much better than the other one. 8)
Quote from: Kinesthesia on September 08, 2006, 04:00:05 PM
When trying to install the MySpace field mod onto RC3, I received the following error:
Installations actions for "MySpace Field":
Installing this package will perform the following actions:
Type Action Description
1. Execute Modification ./Sources/Load.php Test failed
Any suggestions ?
I get the same error as above...
The modification(s) XML-file also has some errors, there are lines commented, but some sentences misses the required space after <!-- ;)
When I fixed that, I was hoping that the install would work... But it didn't... :(
Help would be appreciated!
Quote from: GJ-tje on October 29, 2006, 04:34:03 PM
Quote from: Kinesthesia on September 08, 2006, 04:00:05 PM
When trying to install the MySpace field mod onto RC3, I received the following error:
Installations actions for "MySpace Field":
Installing this package will perform the following actions:
Type Action Description
1. Execute Modification ./Sources/Load.php Test failed
Any suggestions ?
I get the same error as above...
The modification(s) XML-file also has some errors, there are lines commented, but some sentences misses the required space after <!-- ;)
When I fixed that, I was hoping that the install would work... But it didn't... :(
Help would be appreciated!
the modification file is fine, the commented out stuff is also fine, will be part of the memberlist. however your error has to do with the load file. I suspect you have another mod installed that is conflicting with my mod. What other mods are you running?
Quote from: snork13 on October 30, 2006, 08:38:57 AM
Quote from: GJ-tje on October 29, 2006, 04:34:03 PM
Quote from: Kinesthesia on September 08, 2006, 04:00:05 PM
When trying to install the MySpace field mod onto RC3, I received the following error:
Installations actions for "MySpace Field":
Installing this package will perform the following actions:
Type Action Description
1. Execute Modification ./Sources/Load.php Test failed
Any suggestions ?
I get the same error as above...
The modification(s) XML-file also has some errors, there are lines commented, but some sentences misses the required space after <!-- ;)
When I fixed that, I was hoping that the install would work... But it didn't... :(
Help would be appreciated!
the modification file is fine, the commented out stuff is also fine, will be part of the memberlist. however your error has to do with the load file. I suspect you have another mod installed that is conflicting with my mod. What other mods are you running?
- Member Color Link
- Custom Profile Field
- Skype mod
Those are the mods I can currently think of
I'm getting the same error.
Mods installed:
1. SMFShop 2.0
2. Ultimate Shoutbox 1.33
3. TinyPortal 0.86
4. SMFShop 1.31 to 2.0 Update 2.0
5. Shop Item: Change Display Name CSS 0.1
6. Ignore user 1.2
7. SMFShop 2.0 to 2.1 Update 2.1
8. SMFShop 2.1 to 2.2 Update 2.2
9. Shop Item: Profile Image
10. LiveJournal Mod 1.0
11. Skype Name Mod
The mod installed without any problems for me, however, when I checked the Memberlist, it shows text, and not the MySpace icon...
Quote from: Krysia on November 30, 2006, 12:11:24 PM
The mod installed without any problems for me, however, when I checked the Memberlist, it shows text, and not the MySpace icon...
can you verify that the myspace image is place in the themes' image folder? If not, check the default theme. If it's not there just ftp to the themes image folder.
-Snork13
Hey Snork...
I would love to get this mod working ( a lot of future members have myspace pages), I got the same error for load.php. All other files successful.
I have a few mods installed... :P
1. Global Headers Footers 1.1
2. Streaming 3 4.2.2a
3. nwsw.nwswAdminAttachAnything 1.1 RC3
4. SMF Arcade 1.2.4b
5. Google Member Map 0.55
6. EmailFlash 1.0
7. Custom Profile Field Mod 3.15
8. TinyPortal 0.97
9. Youtube Video Embed by Alan S 1.0
10. Youtube Profile Link Field by Alan S 1.0
11. MySpace Field 2.2 [ Apply Mod ] [ List Files ] [ Delete ]
12. Profile Music 1.0
13. Inline Attachments 1.0.3.1
14. Coppermine Userpics
Everything else works fine, I just haven't applied this mod because of the error...
Where would I put the modifications in the load.php or if you could point me in the right direction that would be super...(hopefully not too dumb of a question...)
Thanks
Quote from: littlefeather on December 02, 2006, 02:53:19 AM
Hey Snork...
I would love to get this mod working ( a lot of future members have myspace pages), I got the same error for load.php. All other files successful.
I have a few mods installed... :P
1. Global Headers Footers 1.1
2. Streaming 3 4.2.2a
3. nwsw.nwswAdminAttachAnything 1.1 RC3
4. SMF Arcade 1.2.4b
5. Google Member Map 0.55
6. EmailFlash 1.0
7. Custom Profile Field Mod 3.15
8. TinyPortal 0.97
9. Youtube Video Embed by Alan S 1.0
10. Youtube Profile Link Field by Alan S 1.0
11. MySpace Field 2.2 [ Apply Mod ] [ List Files ] [ Delete ]
12. Profile Music 1.0
13. Inline Attachments 1.0.3.1
14. Coppermine Userpics
Everything else works fine, I just haven't applied this mod because of the error...
Where would I put the modifications in the load.php or if you could point me in the right direction that would be super...(hopefully not too dumb of a question...)
Thanks
In Load.php...
find:
'msn' => $profile['MSN'] !='' && (empty($modSettings['guest_hideContacts']) || !$user_info['is_guest']) ? array(
'name' => &$profile['MSN'],
'href' => 'http://members.msn.com/' . $profile['MSN'],
'link' => '<a href="http://members.msn.com/' . $profile['MSN'] . '" target="_blank"><img src="' . $settings['images_url'] . '/msntalk.gif" alt="' . $profile['MSN'] . '" border="0" /></a>',
'link_text' => '<a href="http://members.msn.com/' . $profile['MSN'] . '" target="_blank">' . $profile['MSN'] . '</a>'
) : array('name' => '', 'href' => '', 'link' => '', 'link_text' => ''),
add after:
'myspace' => $profile['MYSPACE'] !='' && (empty($modSettings['guest_hideContacts']) || !$user_info['is_guest']) ? array(
'name' => &$profile['MYSPACE'],
'href' => 'http://www.myspace.com/' . $profile['MYSPACE'],
'link' => '<a href="http://www.myspace.com/' . $profile['MYSPACE'] . '" target="_blank"><img src="' . $settings['images_url'] . '/myspace.gif" alt="' . $profile['MYSPACE'] . '" border="0" /></a>',
'link_text' => '<a href="http://www.myspace.com/' . $profile['MYSPACE'] . '" target="_blank">' . $profile['MYSPACE'] . '</a>'
) : array('name' => '', 'href' => '', 'link' => '', 'link_text' => ''),
find:
mem.birthdate, mem.memberIP, mem.memberIP2, mem.ICQ, mem.AIM, mem.YIM, mem.MSN, mem.posts, mem.lastLogin,
replace:
mem.birthdate, mem.memberIP, mem.memberIP2, mem.ICQ, mem.AIM, mem.YIM, mem.MSN, mem.posts, mem.lastLogin, mem.MYSPACE,
find:
mem.birthdate, mem.ICQ, mem.AIM, mem.YIM, mem.MSN, mem.posts, mem.lastLogin, mem.karmaGood,
replace:
mem.birthdate, mem.ICQ, mem.AIM, mem.YIM, mem.MSN, mem.posts, mem.lastLogin, mem.karmaGood, mem.MYSPACE,
-Snork13
Quote from: snork13 on November 30, 2006, 09:33:15 PM
Quote from: Krysia on November 30, 2006, 12:11:24 PM
The mod installed without any problems for me, however, when I checked the Memberlist, it shows text, and not the MySpace icon...
can you verify that the myspace image is place in the themes' image folder? If not, check the default theme. If it's not there just ftp to the themes image folder.
-Snork13
That was it. :)
Thank you!
;) Thank you very much...works perfectly now.. ;)
I just installed this mod manually, but I have a small problem.
My yahoo box moved by the myspace box in the profile, here is how it looks when editing profile
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg285.imageshack.us%2Fimg285%2F4703%2Funtitled2oh4.png&hash=ac4d7e2289d849de196f9eb80dc2994d40e3ea5c)
and after the profile is edited
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg277.imageshack.us%2Fimg277%2F9783%2Funtitledhp9.jpg&hash=725ecca6926a5e5526048f5ae376a72fb97c1a10)
Please help me
I would also like to edit the text under MYSPACE but since there are so many MYSPACE words I had no clue which one it was.
I feel stupid, I accidently uploaded a old version of the display.template. The MySpace mod was working wonderfully and I would love to put it back on the display page. I was going to use the package and do it manually but I can't get the files to read right. Can you please tell me what I need to change on the display page? Thanks!
Quote from: porcelainprincess on December 13, 2006, 10:19:44 PM
I feel stupid, I accidently uploaded a old version of the display.template. The MySpace mod was working wonderfully and I would love to put it back on the display page. I was going to use the package and do it manually but I can't get the files to read right. Can you please tell me what I need to change on the display page? Thanks!
in display.template.php find:
', $message['member']['yim']['link'], '<br />';
replace with:
', $message['member']['yim']['link'], '
',$message['member']['myspace']['link'],'<br />';
-Snork13
Thank you very much.
Quote from: Chmura on December 13, 2006, 03:15:53 PM
I just installed this mod manually, but I have a small problem.
My yahoo box moved by the myspace box in the profile, here is how it looks when editing profile
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg285.imageshack.us%2Fimg285%2F4703%2Funtitled2oh4.png&hash=ac4d7e2289d849de196f9eb80dc2994d40e3ea5c)
and after the profile is edited
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg277.imageshack.us%2Fimg277%2F9783%2Funtitledhp9.jpg&hash=725ecca6926a5e5526048f5ae376a72fb97c1a10)
Please help me
I would also like to edit the text under MYSPACE but since there are so many MYSPACE words I had no clue which one it was.
anyone?
Quote from: Chmura on December 15, 2006, 05:16:23 PM
Quote from: Chmura on December 13, 2006, 03:15:53 PM
I just installed this mod manually, but I have a small problem.
My yahoo box moved by the myspace box in the profile, here is how it looks when editing profile
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg285.imageshack.us%2Fimg285%2F4703%2Funtitled2oh4.png&hash=ac4d7e2289d849de196f9eb80dc2994d40e3ea5c)
and after the profile is edited
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg277.imageshack.us%2Fimg277%2F9783%2Funtitledhp9.jpg&hash=725ecca6926a5e5526048f5ae376a72fb97c1a10)
Please help me
I would also like to edit the text under MYSPACE but since there are so many MYSPACE words I had no clue which one it was.
anyone?
i would start over with a clean profile page. If you have other mods installed then remove the myspace code. get the files cleaned up and try again. I would make backups along the way as well.
as far as the txt you wish to change: you'll need to edit the txt strings, or add a custom string.
Thank you, I have the country flags mod installed I will try again
My default language is spanish, which file do i have to edit to show the field?
I need some help.. I updated to 1.1.1 a few weeks ago and when i redid the myspace mod i get this
Duplicate column name 'MYSPACE'
File: /homepages/***/****/htdocs/forums/Packages/temp/myspace_settings.php
Line: 29
Is there away to get this fix?????
Quote from: isht4r on January 10, 2007, 09:55:23 AM
I need some help.. I updated to 1.1.1 a few weeks ago and when i redid the myspace mod i get this
Duplicate column name 'MYSPACE'
File: /homepages/***/****/htdocs/forums/Packages/temp/myspace_settings.php
Line: 29
Is there away to get this fix?????
yes, using phpMyAdmin you will need to delete the myspace column in smf_members table. If the mod had been un-installed before the upgrade it would have deleted the column. In the next release, I'll add a check for the column's existance
-Snork13
kewl thanks that worked
Thanks for all the help
WRD....just to tell u. I use 1,1,1 version, and after installing the field is show'n but not the name of the field, heres a pic.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.klubistika.com%2Fimages%2Fmyspace.jpg&hash=ffed7f886b5f3bb2b576182f92a8b811d7f6703d)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.klubistika.com%2Fimages%2Fmyspace2.jpg&hash=4ae9ca718aa3cd6dd8025952b86ad721e0f695e0)
heres a link to the forum, look it out if you have anny time
KLUBISTIKA (http://www.klubistika.com/smf/index.php)
Please help
it seems the langauge strings are missing. If your using the default theme, check the file below.
<file name="$themedir/languages/index.english.php">
find:
$txt['MSN'] = 'MSN';
add after:
$txt['MYSPACE'] = 'MYSPACE';
Thanks for the mod.
I get this when trying to install via package manager:
/Themes/default/Memberlist.template.php Test failed
Do you have any advice? Thanks.
THANK YOU VERY MUCH....IT HELP'D.... U DA MAN.
JUST TELL IS THE SAME PROCEDURE FOR ALL OTHER THEMES?
Quote from: choloman05 on January 23, 2007, 10:57:56 PM
Thanks for the mod.
I get this when trying to install via package manager:
/Themes/default/Memberlist.template.php Test failed
Do you have any advice? Thanks.
If you have other mods installed it may be conflicting. You could install manually if needed.
Thanks snork13. I do have a few other mods. So is that a good rule to follow - that when receiving certain errors via the package manager, manual installation will prevent problems?
Quote from: choloman05 on January 24, 2007, 03:10:30 PM
Thanks snork13. I do have a few other mods. So is that a good rule to follow - that when receiving certain errors via the package manager, manual installation will prevent problems?
Yes, to a point. The errors normally come because the modification file can't find the code to change, this happens because another mod changed the default code, which all mods are written for default. You could apply the mod, but then finish the failed file manually. Be sure to make backups of your source and theme files before applying the mod. The myspace also alters the database, if you unzip the mod you will find all the answers, I hope. Feel free to ask for help if needed :D
Thanks a lot Snork13 :)
hi im new to SMF, transfer from phpBB. loving this, i installed this mod and it works good on most of my themes, but not on a few, the profile field is missing, what can i add to the php and where is it needed? thanks in advance
Quote from: anD on January 29, 2007, 03:54:47 PM
hi im new to SMF, transfer from phpBB. loving this, i installed this mod and it works good on most of my themes, but not on a few, the profile field is missing, what can i add to the php and where is it needed? thanks in advance
Welcome to smf :D Modification only install for the default theme. However, you can manually edit any theme to make a mod work. Check out this link.
http://docs.simplemachines.org/index.php?topic=402 (http://docs.simplemachines.org/index.php?topic=402)
-Snork13
something went wrong after I installed this mod and now in profiles email addresses are displayed but there is no email field to enter it or a header.
It looks like this now:
ICQ:
AIM:
MSN:
YIM:
MYSPACE:
[email protected] <---- there is no field name for email and no way to edit email.
Website:
any ideas how to fix?
Quote from: perplexed on February 14, 2007, 11:02:02 AM
something went wrong after I installed this mod and now in profiles email addresses are displayed but there is no email field to enter it or a header.
It looks like this now:
ICQ:
AIM:
MSN:
YIM:
MYSPACE:
[email protected] <---- there is no field name for email and no way to edit email.
Website:
any ideas how to fix?
if can check the profile.template file. Is it just when entering data, or just when looking at the profile?
both, above is what you see when looking at profile. The email address is in that exact position instead of having 'Email:' before it.
When you go to the editing screen there is no option for editing the email at all :(
hey sorry for being a pain but I've kinda managed to get not 1 but 4 myspace entry options which just repeat them selves, I find this slightly odd and highly undesirable it would be great if you could help me fix it. Thanks in adv.
Quote from: samames on February 16, 2007, 10:05:05 AM
hey sorry for being a pain but I've kinda managed to get not 1 but 4 myspace entry options which just repeat them selves, I find this slightly odd and highly undesirable it would be great if you could help me fix it. Thanks in adv.
look for the extra:
<td width="40%"><b>', $txt['MYSPACE'], ': </b><div class="smalltext">', $txt['MYSPACE'], '</div></td>
<td><input type="text" name="MYSPACE" maxlength="32" size="24" value="', $context['member']['myspace']['name'], '" /></td>
in Profile.template.php and remove them. make a backup of the file before editing.
-Snork13
Quote from: Chmura on December 15, 2006, 05:16:23 PM
Quote from: Chmura on December 13, 2006, 03:15:53 PM
I just installed this mod manually, but I have a small problem.
My yahoo box moved by the myspace box in the profile, here is how it looks when editing profile
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg285.imageshack.us%2Fimg285%2F4703%2Funtitled2oh4.png&hash=ac4d7e2289d849de196f9eb80dc2994d40e3ea5c)
and after the profile is edited
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg277.imageshack.us%2Fimg277%2F9783%2Funtitledhp9.jpg&hash=725ecca6926a5e5526048f5ae376a72fb97c1a10)
Please help me
I would also like to edit the text under MYSPACE but since there are so many MYSPACE words I had no clue which one it was.
anyone?
I figured it out :
okay in profile.template.php
you need to change :
Quote<td width="40%"><b>', $txt['MYSPACE'], ': </b><div class="smalltext">', $txt['MYSPACE'], '</div></td>
<td><input type="text" name="MYSPACE" maxlength="32" size="24" value="', $context['member']['myspace']['name'], '" /></td>
</tr>
TO:
Quote<td width="40%"><b>', $txt['MYSPACE'], ': </b><div class="smalltext">', $txt['750'], '</div></td>
<td><input type="text" name="MYSPACE" maxlength="32" size="24" value="', $context['member']['myspace']['name'], '" /></td>
Then in Profile.english.php
find:
Quote$txt[749] = 'The \'number of posts\' box can only contain digits.';
Immediately after put:
Quote$txt[750] = 'www.myspace.com/_________';
you can change "www.myspace.com/_______" to whatever you want in the field there
you might add like fill in the blank or something
that has been bugging me since i installed this mod lol .. so there is the fix!
i just see a text link, how can i change it to the myspace icon?
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.
I get that when i go to apply the mod...?
I'm on smf 1.1.1
Quote from: Crimson on March 07, 2007, 12:28:00 AM
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.
I get that when i go to apply the mod...?
I'm on smf 1.1.1
do you have other mods installed, if so that could be the problem.
yes we do.. so we have to uninstall mods to add new ones...? how do u get the other mods back or you dont?
Also if you know anything that can help me with this issue, just see the webby you'll know what i mean I'd sure like help..
www.mommybreaktime.com
We've got wierd codes on top of the shoutbox and the site all becuase i downloaded country flags mod. The maker of it has yet to reply to my plee for help. I really really dont want that code there anymore!! lol
Quote from: snork13 on February 16, 2007, 11:09:43 AM
Quote from: samames on February 16, 2007, 10:05:05 AM
hey sorry for being a pain but I've kinda managed to get not 1 but 4 myspace entry options which just repeat them selves, I find this slightly odd and highly undesirable it would be great if you could help me fix it. Thanks in adv.
look for the extra:
<td width="40%"><b>', $txt['MYSPACE'], ': </b><div class="smalltext">', $txt['MYSPACE'], '</div></td>
<td><input type="text" name="MYSPACE" maxlength="32" size="24" value="', $context['member']['myspace']['name'], '" /></td>
in Profile.template.php and remove them. make a backup of the file before editing.
-Snork13
I've done what you suggested but have had no joy http://www.liveonfire.net/forums/index.php?action=profile;u=2;sa=account
Please help me :)
just double checked that I've done what you said correctly and it seems i have, here is the necessary parts of my profile.template.php:
<?php
// Version: 1.1 RC3; Profile
...........................................
// Messenger type information.
echo '
<tr>
<td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr><tr>
<td><b>', $txt[513], ':</b></td>
<td>', $context['member']['icq']['link_text'], '</td>
</tr><tr>
<td><b>', $txt[603], ': </b></td>
<td>', $context['member']['aim']['link_text'], '</td>
</tr><tr>
<td><b>', $txt['MSN'], ': </b></td>
<td>', $context['member']['msn']['link_text'], '</td>
</tr><tr>
<td><b>', $txt[604], ': </b></td>
<td>', $context['member']['yim']['link_text'], '</td></tr><tr><td><b>', $txt['MYSPACE'], ': </b></td><td>', $context['member']['myspace']['link_text'], '</td>
</tr><tr>
<td><b>', $txt[69], ': </b></td>
<td>';
now that profile temp is okay what else do i need to change?
All hep is greatly appreciated :)
I am a little confused? Did you install the mod via the package manager? Or are you trying to install manually?
-Snork13
sorry :) no, I installed it via the package manager and i still have no idea how i managed to mess it up :P
ok, if you look at the modification xml it will tell you the code changes. look at each file and check the code from the xml...see if the code is there, or if you have extra
Help please. I installed the myspace field and it worked fine. I just moved my forum to another host, and now I'm getting error messages in my log:
8: Undefined index: myspace
File: /.../smf/Themes/BTW11/Display.template.php (eval?)
Line: 341
I uploaded the working Display.template.php from the old host up to the new host (yes I made sure overwrite was manual) and it is still showing the error.
Line 341 is:
', $message['member']['myspace']['link'], '<br />';
Where does the index get defined?
Does anyone know why this mod does not work on the softdark template? I installed it but no myspace link is present. Its there on all other templates. Does anyone have a fix? I dont wanna use another template, my whole site is based on softdark theme. You can emmail me
[email protected] if you like
Quote from: wizzard308 on April 16, 2007, 10:53:56 PM
Does anyone know why this mod does not work on the softdark template? I installed it but no myspace link is present. Its there on all other templates. Does anyone have a fix? I dont wanna use another template, my whole site is based on softdark theme. You can emmail me [email protected] if you like
Sure, modifications only install for the default theme
I'm using SMF 1.1.2 with TP v0.9.8 on the Dilber theme.
The mod was working fine on the Default theme.
Can you advise on how to correct this?
Quote from: ~Alex on April 19, 2007, 09:58:17 PM
I'm using SMF 1.1.2 with TP v0.9.8 on the Dilber theme.
The mod was working fine on the Default theme.
Can you advise on how to correct this?
you will need to make the code changes to your custom theme manually.
Quote from: snork13 on April 23, 2007, 09:47:30 AM
Quote from: ~Alex on April 19, 2007, 09:58:17 PM
I'm using SMF 1.1.2 with TP v0.9.8 on the Dilber theme.
The mod was working fine on the Default theme.
Can you advise on how to correct this?
you will need to make the code changes to your custom theme manually.
eeeek, some of us arent so code savvy, surely there is someone who has adapted these mods to certain themes? help ill have my forums all screwed up lol
Quote from: jrstark on April 04, 2007, 12:07:05 AM
Help please. I installed the myspace field and it worked fine. I just moved my forum to another host, and now I'm getting error messages in my log:
8: Undefined index: myspace
File: /.../smf/Themes/BTW11/Display.template.php (eval?)
Line: 341
I uploaded the working Display.template.php from the old host up to the new host (yes I made sure overwrite was manual) and it is still showing the error.
Line 341 is:
', $message['member']['myspace']['link'], '<br />';
Where does the index get defined?
Any ideas? My old host was PHP5 the new one is PHP4, do I need to modify something because of that?
Quote from: wizzard308 on April 29, 2007, 02:23:37 PM
Quote from: snork13 on April 23, 2007, 09:47:30 AM
Quote from: ~Alex on April 19, 2007, 09:58:17 PM
I'm using SMF 1.1.2 with TP v0.9.8 on the Dilber theme.
The mod was working fine on the Default theme.
Can you advise on how to correct this?
you will need to make the code changes to your custom theme manually.
eeeek, some of us arent so code savvy, surely there is someone who has adapted these mods to certain themes? help ill have my forums all screwed up lol
I have just been playing with these forums installing tons of mods and experimenting with them lol, and so far I love these forums the fact that you have to code the mods into each theme is still a pain for me (hopefully will be gone when 2.0 comes out!) but since it's pretty basic HTML it's easy for me lol, I used phpBB and editing the themes was a pain, I have also used smarty coding.. UGH! But anyways to the point lol, give me a link to your theme since I only use the default ;) and I will take a look at it for you.. I am bored and don't have anything better to do :P
Also with your permission snork I have a moded package that changes the
"MYSPACE" description
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg285.imageshack.us%2Fimg285%2F4703%2Funtitled2oh4.png&hash=ac4d7e2289d849de196f9eb80dc2994d40e3ea5c)
SAMPLE PICTURE TAKEN FROM PREVIOUS POST
To show:
All you need to put here is the end of your MySpace address (ex: http://www.myspace.com/_________)
All I did was add a little piece of code into the install to locate the file and add in the extra info, and changed one piece of code in your original package.. I know I am new lol, but I got bored and didn't like how it didn't show a description :P if you would like just the edited install I can give that to you or just upload the package lol
"All you need to put here is the end of your MySpace address (ex: http://www.myspace.com/_________) " is too much text IMHO. I have updated the mod to reflect "(ex: http://www.myspace.com/_________)"
package has been updated
-snork13
Okay I'm having a minor issue here. I was able to get the MySpace icon to show up when viewing the memberlist and who's online, but it doesn't show up on the member's information in their posts like the MSN and AIM icons do.
I'm using a custom theme so I realize I'll have to do some manual editing, but I'm a total n00b so I just need to know exactly what I'm looking for in the XML document and where I need to put it.
Quote from: Bluebomber4evr on May 06, 2007, 09:30:12 PM
Okay I'm having a minor issue here. I was able to get the MySpace icon to show up when viewing the memberlist and who's online, but it doesn't show up on the member's information in their posts like the MSN and AIM icons do.
I'm using a custom theme so I realize I'll have to do some manual editing, but I'm a total n00b so I just need to know exactly what I'm looking for in the XML document and where I need to put it.
ok, check the modification on the display template
Quote from: snork13 on May 07, 2007, 10:48:57 PM
Quote from: Bluebomber4evr on May 06, 2007, 09:30:12 PM
Okay I'm having a minor issue here. I was able to get the MySpace icon to show up when viewing the memberlist and who's online, but it doesn't show up on the member's information in their posts like the MSN and AIM icons do.
I'm using a custom theme so I realize I'll have to do some manual editing, but I'm a total n00b so I just need to know exactly what I'm looking for in the XML document and where I need to put it.
ok, check the modification on the display template
in general most themes use the same setup as far as files go... so for MessageIndex.template.php you can probably just copy the default/MessageIndex.template.php file over to currenttheme/ and just replace the existing MessageIndex.template.php
I recommend renaming it to MessageIndex.template.php~ or .php2 something that way you will know it's the original.
You can do the same for other files as well such as default/languages/Modifications.english.php to currenttheme/languages/Modifications.english.php
If thats not the problem. You probably just need to add myspace.gif to currenttheme/images/bbc
Alright, I can see where it's added in the default display template, but when I check my custom theme, there's no display template listed...now, some of the modifications to the display are showing up...do I just copy the display template over to my custom theme's folder? Will that conflict with any of the custom theme's setup (colors, etc.)?
display.template.php shouldn't alter your sites colors since you have something called style.css
What I did when I first learned this little trick was I went to my current theme directory and looked at what files it used .... php files
Then I went to my default category and copied all similar files (if index.template.php in current theme then copy index.template.php from default theme) to my local harddrive.
I went back (oh this is by ftp by the way) to the current theme directory and renamed all the files I was going to "replace" (index.template.php~)
Then I copied the files, from default that I had saved on my harddrive, over to the current theme directory.
Hence if any problems occured all I had to do was delete the new index.template.php file and rename the index.template.php~ file back to index.template.php =P
Okay I copied the display template over into my custom theme's folder and it works now! Thanks guys! :D
I have the latest version which is 1.1.2 of course, i can't seem to understand why the myspace text wouldn't show up.
it looks like this
ICQ:
AIM:
MSN:
YIM:
:
What is wrong? why can't i see the text, should i just copy something or?
Quote from: purplegold on May 20, 2007, 08:50:12 PM
I have the latest version which is 1.1.2 of course, i can't seem to understand why the myspace text wouldn't show up.
it looks like this
ICQ:
AIM:
MSN:
YIM:
:
What is wrong? why can't i see the text, should i just copy something or?
check your language file, your missing the additions
I'm sorry i'm new to SMF i'm not sure what you meant by checking the language file.
Quote from: purplegold on May 22, 2007, 01:15:37 PM
I'm sorry i'm new to SMF i'm not sure what you meant by checking the language file.
sure, if you unzip the mod and view the modification file you will see the language strings that need to be added and to which file. if you switch to the default theme you should see it working
Actually thats not true. I've done that before, switched to the default theme and it still show the same. I looked into the language modification file and i have the myspace language in there. It is written the same as YIM.AIM, MSN and so forth.
Quote from: purplegold on May 23, 2007, 10:11:23 AM
Actually thats not true. I've done that before, switched to the default theme and it still show the same. I looked into the language modification file and i have the myspace language in there. It is written the same as YIM.AIM, MSN and so forth.
ok, then your missing the changes in the profile.template. check the modification file for the changes. Did you apply the mod manual or via the package manager?
I've installed it via the packages manager. When I open the profile template, I already found myspace in it. expect i put it on a new line. So far nothing seems to be working. Should i uninstall it and upload it into my ftp instead of using the packages manager?
Quote from: purplegold on May 23, 2007, 12:23:22 PM
I've installed it via the packages manager. When I open the profile template, I already found myspace in it. expect i put it on a new line. So far nothing seems to be working. Should i uninstall it and upload it into my ftp instead of using the packages manager?
that might do the trick. give it a try. it shouldn't matter though.
There is no such luck. Although i uninstall the myspace mod, i can't seem to get rid of the section where myspace was to show up. since all it showes is
:
I'm assuming i'm missing some kind of language file.
Quote from: purplegold on May 25, 2007, 09:34:32 AM
There is no such luck. Although i uninstall the myspace mod, i can't seem to get rid of the section where myspace was to show up. since all it showes is
:
I'm assuming i'm missing some kind of language file.
can you send me your profile template, i'll take a look
I sent an email since the code was rather long
Quote from: purplegold on May 25, 2007, 02:57:00 PM
I sent an email since the code was rather long
ok, got it. I took a look at the profile.template.
the text string is there, so your missing this modification in /languages/index.english.php.
<file name="$themedir/languages/index.english.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation>
<!-- Search for this text before the code we add. You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[$txt['MSN'] = 'MSN';]]></search>
<!-- Add this text when we find it. Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[$txt['MYSPACE'] = 'MYSPACE';
$txt['myspaceInput'] = '(ex: http://www.myspace.com/_________)';]]></add>
</operation>
</file>
Ok, what do i do with that code? do i put it into profile.template or?
Quote from: purplegold on May 26, 2007, 11:40:45 AM
Ok, what do i do with that code? do i put it into profile.template or?
in your theme folder, you will find another folder languages. In the languages folder you will find a file named index.english.php. You need to check if the txt string is defined. IF your missing it just add...
$txt['MYSPACE'] = 'MYSPACE';
$txt['myspaceInput'] = '(ex: http://www.myspace.com/_________)';
before the closing of the php.
FINALLY, it works perfectly! Thank you so much for taking the time to help.
Quote from: purplegold on May 26, 2007, 11:57:05 AM
FINALLY, it works perfectly! Thank you so much for taking the time to help.
No problem, glad it is working :)
I forgot to mention the problem i was having befoe i saw : but not the text. now i see MYSPACE and the mod isn't installed since it was showing up more then once for i have uninstalled and installed in the beginning. Now i try to reinstall and the text shows up 2 other times how can i take the first text off and try again and install the mod? IF i try to input my myspace url it gives me an error and the page doesn't display. How do i take it off?
Sorry but this is just getting worst and worst lol.
Quote from: purplegold on May 26, 2007, 12:24:33 PM
I forgot to mention the problem i was having befoe i saw : but not the text. now i see MYSPACE and the mod isn't installed since it was showing up more then once for i have uninstalled and installed in the beginning. Now i try to reinstall and the text shows up 2 other times how can i take the first text off and try again and install the mod? IF i try to input my myspace url it gives me an error and the page doesn't display. How do i take it off?
zip me up all the file modified in the mod and email them to me, just grab them using ftp. I'll take a look at them.
Sorry but this is just getting worst and worst lol.
I made the mistake of deleting my themes/sources. But i was able to back up the database. however i reinstalled the whole site and used the back up and i had myspace blank : section left. I input the code you mentioned in the themes index.english and myspace showed up. Of course it cannot work without the mod right? so i tried installing the mod and i discovered the problem.
. Execute Modification ./Themes/default/Profile.template.php Test failed
the test is always failing, even before that it was told it installed properly and then i uninstalled only to be told the file doesn't uninstall properly and i think thats why i get things stucked.
I'm not sure about which files since i mention i've reinstalled SMF and i back it up and i write over it.
Quote from: purplegold on May 27, 2007, 08:57:19 AM
I made the mistake of deleting my themes/sources. But i was able to back up the database. however i reinstalled the whole site and used the back up and i had myspace blank : section left. I input the code you mentioned in the themes index.english and myspace showed up. Of course it cannot work without the mod right? so i tried installing the mod and i discovered the problem.
. Execute Modification ./Themes/default/Profile.template.php Test failed
the test is always failing, even before that it was told it installed properly and then i uninstalled only to be told the file doesn't uninstall properly and i think thats why i get things stucked.
I'm not sure about which files since i mention i've reinstalled SMF and i back it up and i write over it.
can you send me that file. it may be the code is there already. if you have no other mods installed, then you can uninstall all mods, download a fresh copy of the forum software, and upload the files in question. then re-apply any mod using a default fresh forum.
this doesn't work on 1.1.2 when will it work?
Hello i have one question because i have problem with this mod i read all the comments about this mod i try to fix it but i dont succeed
the question is - i see twice this mod mod in my profile summary i already unninstall the mod but i still have this in my profile how can i remove
MYSPACE:
MYSPACE:
(this is in my profile summary what i see)
i have other mods installed also
I'm not a coder but since if you read up you'd notice i have the same problem. The first time you installed the hack it is stuck in your load.php file i assume. Did you make a back up befoe you installed this mod?
@ snork13, I sent you an email and i keep getting that your mail box is full. I just want to know if there is some way to delete the myspace field since i've mention above its stuck even if the mod isn't installed.
i have one backup from week ago im newbie in SMF and i dont know how to uss the back up i have some changes which i make but they are not fatal i may dune them agen can somebody help how to remove the mod please
ok , I had the myspace mod, and it was working correctly as was my other mods, until i installed and tried to use the Seo4SMF mod, which ultimately crashed my forum.
After having to overwrite all the SMF files, upon doing so i found the myspace mod stayed, not only that but it made 2 instances. It doesnt show up in my mod list in package manager, however, in the profile was 2 entries boxes, on the post-profile were two links/images for it.....
here's the problem, i have been able to find and bring the count of instances down to 1, in the profile field, and the post profiles, however, I havent been able to get it listed in the mod listing in package manager or I havent found where to find the string to remedy the problem in the following link*
http://www.aids2hiv.com/online.html
(2 instances of it shows when viewing who's online*
Quote from: a2h on June 30, 2007, 07:33:33 PM
ok , I had the myspace mod, and it was working correctly as was my other mods, until i installed and tried to use the Seo4SMF mod, which ultimately crashed my forum.
After having to overwrite all the SMF files, upon doing so i found the myspace mod stayed, not only that but it made 2 instances. It doesnt show up in my mod list in package manager, however, in the profile was 2 entries boxes, on the post-profile were two links/images for it.....
here's the problem, i have been able to find and bring the count of instances down to 1, in the profile field, and the post profiles, however, I havent been able to get it listed in the mod listing in package manager or I havent found where to find the string to remedy the problem in the following link*
http://www.aids2hiv.com/online.html
(2 instances of it shows when viewing who's online*
in the $themedir/Who.template.php, find this. You should only have one.
',$member['myspace']['link'], '
you can also fix the package manager list by going into your package folder, find the file installed.list and add this line...
MySpace Field|^|myspace.zip|^|snork13:MySpace|^|2.4
save the file and upload over the old installed.list
be sure to make a backup of the files when editing manually.
-snork13
thank you snork ;D
Thanks allot mate for the mod ;) .....
I installed it on a fresh 1.1.3 v and worked fine .....
i cant find the admin for this mod, or it doesnt exist at all?
Quote from: tonzi on July 15, 2007, 05:27:28 AM
i cant find the admin for this mod, or it doesnt exist at all?
no admin. it in the profile area
Just out of curiosity, I also installed the autosig mod which I'd noticed ads fields called 'myspace' onto it. Does this mod conflict with the autosig mod?
Since the latest version of the forum has been implemented 1.1.4 several modifications are not yet updated.
Please update the MySpace field mod as our users do use it and love it.
http://www.thethriftshopper.com/forums/shopper/index.php
1.1.4 :) pretty please!
i really need this .. i have my old display.template and because of that i get errors all the time for every profile view. .becuause the forum thinks it should be there
updated for 1.1.4 :)
Hi!
I got a problem with my memberlist.template ... I alter this php file manually by the way because this is the only file with test failed.I realised that there is a gray box situated at the right side of the alphabetical member search area on the memberlist page.It's because I do not know which colspan to alter and I've installed other mods as well .....
Attached is my Memberlist.template.php,Kindly advise which parameters should I alter to make sure that the gray box on the right side of the alphabetical member search(ABCDEFGHI...Z) is removed and the alphabetical search is shifted to extreme right.
Hello Snork13. Thank you for a great mod. I'm trying to follow your code to see how I can add a custom profile (the only other mod I'm using) field (company) to my memberslist as you have added myspace. I've been looking through the files that your mod modifies (all 13 of them), but I'm not sure how/where to add the information for the new 'company' field. Your expertise is greatly appreciated. Thanks.
Database Error
Duplicate column name 'MYSPACE'
File: d:\mrpitiful.com\mrpitiful.com\sic\Packages\temp\myspace_settings.php
Line: 29
This is my database error when I try to install this mod
Quote from: rhazckal on December 17, 2007, 05:56:13 AM
Database Error
Duplicate column name 'MYSPACE'
File: d:\mrpitiful.com\mrpitiful.com\sic\Packages\temp\myspace_settings.php
Line: 29
This is my database error when I try to install this mod
you already have the col in the database, you will need to remove it first. do you know phpmyadmin, or have access to the database to delete the col?
Edit:Okay, I had used this mod, and then when I upgraded it was no longer supported, so I just uninstalled it and didn't delete it. Eventually I found a different similar mod and installed it. That ended up causing 2 myspace fields in the profiles. So I uninstalled and deleted them both; and those two feilds are still there.
Quote8: Undefined index: myspace
File: /home/theresus/public_html/forums/Themes/default/languages/Who.english.php (eval?)
Line: 222
Can you help with that? I'm sorry if this is the wrong place to post this or something.
I'm having a problem with this mod. I install it and checked to see if it worked and it doesn't.
I have SMF version 1.1.4
Ill show u how it comes up.
Instead of being:
Myspace: blah blah
It shows up likes this
:
the text isn't showing up
does anyone know how to fix this ?
The string is missing in Modifications.language.php
Quote from: Gazmanafc on January 11, 2008, 05:01:14 AM
The string is missing in Modifications.language.php
so how do I fix it ?
sorry I'm not too good at this
Quote from: snork13 on May 26, 2007, 11:48:58 AM
Quote from: purplegold on May 26, 2007, 11:40:45 AM
Ok, what do i do with that code? do i put it into profile.template or?
in your theme folder, you will find another folder languages. In the languages folder you will find a file named index.english.php. You need to check if the txt string is defined. IF your missing it just add...
$txt['MYSPACE'] = 'MYSPACE';
$txt['myspaceInput'] = '(ex: http://www.myspace.com/_________)';
before the closing of the php.
what if u don't have an index.english.php
all i have in the language folder is:
Modifications.english-utf8.php
Modifications.english.php
Settings.english-utf8.php
Settings.english.php
index.english.php
1.1.4
Getting error here:
6. Execute Modification ./Themes/default/Display.template.php Test failed
threw this package in package parser, but its giving me errors. Can someone show me what to edit in display.template.php so I can get this up and running??
anyone?
Quote from: fecu2008 on March 05, 2008, 09:19:03 AM<br />1.1.4<br /><br />Getting error here:<br /><br />6. Execute Modification ./Themes/default/Display.template.php Test failed <br /><br />threw this package in package parser, but its giving me errors. Can someone show me what to edit in display.template.php so I can get this up and running??<br />
find:
', $message['member']['yim']['link'], '<br />';
replace with:
', $message['member']['yim']['link'], '
',$message['member']['myspace']['link'],'<br />';
-snork13
i gave that a whirl, but i dont see
', $message['member']['yim']['link'], '<br />'; ill play around with it. Thanks for the reply, I appreciate it.
thanks got it going.
Works great...Thanks Man.
getting same error as previous poster:
Themes\default/Display.template.php Test failed
do i install the package then manually change display.template to insert the code as listed for the previous post?
all other files test ok
cheers
yes, remember to back up your database and sources files before installing any mod, and then install this one and then use the package parser to edit the file that failed manually
having the same problem....
can someone help?
Oh crap! I've installed it, but my forum is Dutch, so now in the profile field I just see ":" and that's it. Can I somehow add a translation or something ?
Oh, nevermind :) Manual instruction does wonders! :D
how did you do it Tuplad?
i am having the same problem but the package parser is giving me errors for a manual install....
can someone please send me the instructions to manually install this as ive downloaded and redonloaded but every parser i use gives me errors:
Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: Entity: line 93: parser error : Comment not terminated <!--<operation> <! in /home/sleepy1/public_html/PackageParser/index.php on line 472
Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: <!--<search position="before"><![CDATA[// Search for websites. in /home/sleepy1/public_html/PackageParser/index.php on line 472
Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: ^ in /home/sleepy1/public_html/PackageParser/index.php on line 472
Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/sleepy1/public_html/PackageParser/index.php:472 Stack trace: #0 /home/sleepy1/public_html/PackageParser/index.php(472): SimpleXMLElement->__construct('<?xml version="...') #1 /home/sleepy1/public_html/PackageParser/index.php(441): parseModificationXML('/home/sleepy1/b...', Object(SimpleXMLElement), 'all') #2 /home/sleepy1/public_html/PackageParser/index.php(96): parsePackageInfoXML('/home/sleepy1/b...', 'install', 'all') #3 /home/sleepy1/public_html/PackageParser/index.php(784): parseArchive('/tmp/phpThXaLb', 'install', 'all') #4 {main} thrown in /home/sleepy1/public_html/PackageParser/index.php on line 472
Quote from: illfiend on April 21, 2008, 07:29:09 PM
how did you do it Tuplad?
i am having the same problem but the package parser is giving me errors for a manual install....
I checked out the manual installing, saw that it modifies the English file, I just did the same with the Dutch files and fixed :)
WOW! Nice mod. I opened the package-info.xml file, chamge 1.1.4 to 1.1.5 and it installed and works great.
Only one small issue, don't see an image in the view topic page? Should I manually ad it somewhere or is there a setting. Other wise it works great!
oops! Found it towards the beginning of the thread.
Nice work.....
does this work with SMF 1.1.5 ?
Quote from: swagg on June 30, 2008, 11:55:53 PM
does this work with SMF 1.1.5 ?
Yes! I'm using 1.1.5. If your using a template other then default you might need some manual edits. If so, look near the beginning of this thread and follow the edit instructions.
QuoteInstall Actions
Installations actions for "MySpace Field":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
very convenient mod, was wondering if anyone might beable to update and make a version compatible with the newest stable version of smf? :)
much thanks!
Can someone update this mod for 1.1.7? I'd really like to use it for my forums as many just use the website field to put their myspace address. Thanks. :)
Is this coming to 1.1.7 soon ??
If not, how would i mod it to work as it worked fine on 1.1.4 but for some reason it does not any more even tho i modded it to work on 1.1.5 it worked also fine. I did something or switched them that it is not showing correct in the mail next to the persons profile inside the mail post or in the thread post like over there
<<--------
Its showing on the profile and the members list though on custom theme and default.
I switched to default and it shows correct there but not on my custom theme. Cargo. I made it work once but forgot what i did or manually changed / added. I must of changed or added something else and it messed this up. Not sure.
here is an attach of my display.template.php My section where it says
// This shows the popular messaging icons.
Never mind "some of the above". But still, is a 1.1.7 version coming out soon or can we edit to make work with it totally ???
I unattached the file above as i think i got it. Or at least so far for the post body over there
<<-------
Do not really care if its in the messages or not i dont think.
I will post below the simple version of the changes i did to make sure it showed right over there
<<--------
If you noticed the code is different in this custom theme compared to the manual edits codes snork gave to add/change in the display.template.php ( and most likely more than just this one ) so this could help others also maybe. And again. This is 1.1.5 using it on for the time being per this post.
I will post again if i get the mail body icons to work and if i get it to work on a test 1.1.7
in: your-theme / display.template.php
Old way it was - (with "my" custom theme)
find
<div class="windowbg4">', $message['member']['msn']['link'];
if ($message['member']['icq']['href'])
echo '
<a href="', $message['member']['icq']['href'], '" target="_blank"><img src="' . $settings['images_url'] . '/icq.gif" border="0" /></a>';
if ($message['member']['yim']['href'])
echo '
<a href="', $message['member']['yim']['href'], '" target="_blank"><img src="' . $settings['images_url'] . '/yim.gif" border="0" /></a>';
echo '
', $message['member']['aim']['link'];
replace
<div class="windowbg4">', $message['member']['msn']['link'];
if ($message['member']['icq']['href'])
echo '
<a href="', $message['member']['icq']['href'], '" target="_blank"><img src="' . $settings['images_url'] . '/icq.gif" border="0" /></a>';
if ($message['member']['yim']['href'])
echo '
<a href="', $message['member']['yim']['href'], '" target="_blank"><img src="' . $settings['images_url'] . '/yim.gif" border="0" /></a>';
echo '
', $message['member']['myspace']['link'];
echo '
', $message['member']['aim']['link'];
Pretty much same exact edit as about for the message post body for the icon to show.
in: your-theme/PersonalMessage.template.php
find
<div class="windowbg4">', $message['member']['msn']['link'];
if ($message['member']['icq']['href'])
echo '
<a href="', $message['member']['icq']['href'], '" target="_blank"><img src="' . $settings['images_url'] . '/icq.gif" border="0" /></a>';
if ($message['member']['yim']['href'])
echo '
<a href="', $message['member']['yim']['href'], '" target="_blank"><img src="' . $settings['images_url'] . '/yim.gif" border="0" /></a>';
echo '
', $message['member']['aim']['link'];
replace
<div class="windowbg4">', $message['member']['msn']['link'];
if ($message['member']['icq']['href'])
echo '
<a href="', $message['member']['icq']['href'], '" target="_blank"><img src="' . $settings['images_url'] . '/icq.gif" border="0" /></a>';
if ($message['member']['yim']['href'])
echo '
<a href="', $message['member']['yim']['href'], '" target="_blank"><img src="' . $settings['images_url'] . '/yim.gif" border="0" /></a>';
echo '
', $message['member']['myspace']['link'];
echo '
', $message['member']['aim']['link'];
Any chance we can get an update for this? I'm using 1.17 ;D
*Whoops didn't see the above posts, thanks.
I am working on a update. I hope to have it done very soon
-snork13
Will the update for the myspace field also work on 2.0.4 or is there a way to manually add the mod to work with 2.0.4?
Quote from: christinedlrp on February 01, 2009, 01:40:52 AM
Will the update for the myspace field also work on 2.0.4 or is there a way to manually add the mod to work with 2.0.4?
Yes, it will.
I'm use SMF 1.1.8.
I like your MySpace Field and it installed fine. I also installed it on a test site.
Then I looked for a Facebook profile mod and no one seems to have it.
I took your mod and modified the all the files to replace MySpace with Face Book. Added the www.facebook.com/people to the url list and the mod worked!. See attached Facebook.zip. I understand databases and I used XMLWrench but I'm in no way considered a programmer. I've only been using SMF since Dec 08.
But when I tried to load my facebook file while the myspace one was loaded, I received an error and vice versa. So I attempted to combine them (see attached file facebookmyspace.zip) I still had errors on the apply section.
So, I don't want to take any credit for the mod.
I want to know if you combine it with your MySpace mod to provide both functions.
Quote from: DeepBlueGXP on February 13, 2009, 03:25:24 PM
I'm use SMF 1.1.8.
I like your MySpace Field and it installed fine. I also installed it on a test site.
Then I looked for a Facebook profile mod and no one seems to have it.
I took your mod and modified the all the files to replace MySpace with Face Book. Added the www.facebook.com/people to the url list and the mod worked!. See attached Facebook.zip. I understand databases and I used XMLWrench but I'm in no way considered a programmer. I've only been using SMF since Dec 08.
But when I tried to load my facebook file while the myspace one was loaded, I received an error and vice versa. So I attempted to combine them (see attached file facebookmyspace.zip) I still had errors on the apply section.
So, I don't want to take any credit for the mod.
I want to know if you combine it with your MySpace mod to provide both functions.
I can make a separate mod for facebook if needed, i really don't like to combine mods
-snork13
I'd really appreciate it!!! TIA
Getting a couple errors after re-installing the mod after upgrading to 1.1.8
I tried the old version and same thing. Unfortunately i had to delete the other myspace mod as it did not even have an "apply" link. Plus at that time was having the issue with the package manager and could log in threw that way with FTP threw the package manager. So i had to delete the file with my FTP client instead.
anyways after that i just downloaded the new version of the mod and tryied it to install .. all tests passed but when click the finial install button it gives me this error. (and only allows me to have a "back" link to click)
Database Error
Duplicate column name 'MYSPACE'
File: BLAH SITE/forum/Packages/temp/myspace_settings_1_1_x.php
Line: 29
Any help or know what might be cause this now ??
Thanks
Quote from: B.SkiLLs on February 17, 2009, 07:01:31 PM
Getting a couple errors after re-installing the mod after upgrading to 1.1.8
I tried the old version and same thing. Unfortunately i had to delete the other myspace mod as it did not even have an "apply" link. Plus at that time was having the issue with the package manager and could log in threw that way with FTP threw the package manager. So i had to delete the file with my FTP client instead.
anyways after that i just downloaded the new version of the mod and tryied it to install .. all tests passed but when click the finial install button it gives me this error. (and only allows me to have a "back" link to click)
Database Error
Duplicate column name 'MYSPACE'
File: BLAH SITE/forum/Packages/temp/myspace_settings_1_1_x.php
Line: 29
Any help or know what might be cause this now ??
Thanks
Yes, you need to delete the myspace column out of the member table using something like phpmyadmin, or you can run the _drop_setting_1_1_x.php file which runs if you uninstalled from the package manager. You should be able to ftp the drop_setting file to the forum root, then run it via browser, and then delete the file.
Doesn't install to SMF 2.0 RC1
Errors when applying mod are -
* 8. Execute Modification ./Themes/default/Profile.template.php Test failed
1. Add After ./Themes/default/Profile.template.php Test failed
2. Replace ./Themes/default/Profile.template.php Test successful
3. Add Before ./Themes/default/Profile.template.php Test successful
4. Replace ./Themes/default/Profile.template.php Test failed
5. Add Before ./Themes/default/Profile.template.php Test successful
Everything else passes
Inspecting the RC1 Profile.template.php file, the relevant find line is very different to previous versions - it's changed from html tabling to html unordered list.
Look forward to updates on this for RC1
Gaz
Does it work ok on the SMF 2.0RC1?
I will build it manuell in my SMF2.0RC1 a modification it so that i become 14 Fields more incl. the MySpace Field.
Who can i make it that i became a dropdown field?
Was there an update now for 1.1.8 and also the facebook one that was posted you might do above here a couple posts, That would be great to ???
I would use both for sure.
Thanks
I just moved over the last week, just been super busy.
Quote from: snork13 on March 28, 2009, 09:47:25 PM
I just moved over the last week, just been super busy.
Meaning for the facebook one for the 1.1.8. ??
As i just noticed there was an update for the 1.1.8 myspace one. As if there wasnt yet i was going to try and mod this one for 1.1.8.. But not wanting to for facebook as like you said bout combining the two together not a good practice to do or try to do. but to keep them totally separate mods
Besides my post about 5 up from this one, I did some forum changes and kinda started fresh, well anyways so disregard what i posted 5 above this about that error as it is no longer as i started completekly over again.
well, the problem is now, i am not quite sure. I deleted my old version of this mod and well now tryined to install the 1.1.8 new upload and well, i get this during install / testing
Type Action Description
1. Execute Modification ./Sources/Load.php Test successful
2. Execute Modification ./Sources/Memberlist.php Test successful
3. Execute Modification ./Sources/News.php Test successful
4. Execute Modification ./Sources/Profile.php Test successful
5. Execute Modification ./Sources/Subs-Members.php Test successful
6. Execute Modification ./Themes/default/Display.template.php Test successful
7. Execute Modification ./Themes/default/PersonalMessage.template.php Test successful
8. Execute Modification ./Themes/default/Profile.template.php Test failed
9. Execute Modification ./Themes/default/Memberlist.template.php Test successful
10. Execute Modification ./Themes/default/Who.template.php Test successful
11. Execute Modification ./Themes/default/languages/index.english.php Test successful
12. Extract Tree ./Themes/default/images
13. Execute Code myspace_settings_1_1_x.php
___________________-
and it will not install. I didnt even try to go forward with it yet as i wanted to post this to see what i could maybe be or what the issue was.
Any and all help much appreciated.
Quote from: B.SkiLLs on April 02, 2009, 02:29:49 AM
Besides my post about 5 up from this one, I did some forum changes and kinda started fresh, well anyways so disregard what i posted 5 above this about that error as it is no longer as i started completekly over again.
well, the problem is now, i am not quite sure. I deleted my old version of this mod and well now tryined to install the 1.1.8 new upload and well, i get this during install / testing
Type Action Description
1. Execute Modification ./Sources/Load.php Test successful
2. Execute Modification ./Sources/Memberlist.php Test successful
3. Execute Modification ./Sources/News.php Test successful
4. Execute Modification ./Sources/Profile.php Test successful
5. Execute Modification ./Sources/Subs-Members.php Test successful
6. Execute Modification ./Themes/default/Display.template.php Test successful
7. Execute Modification ./Themes/default/PersonalMessage.template.php Test successful
8. Execute Modification ./Themes/default/Profile.template.php Test failed
9. Execute Modification ./Themes/default/Memberlist.template.php Test successful
10. Execute Modification ./Themes/default/Who.template.php Test successful
11. Execute Modification ./Themes/default/languages/index.english.php Test successful
12. Extract Tree ./Themes/default/images
13. Execute Code myspace_settings_1_1_x.php
___________________-
and it will not install. I didnt even try to go forward with it yet as i wanted to post this to see what i could maybe be or what the issue was.
Any and all help much appreciated.
what other mods are you using? Do any mods show installed that are not? Can you upload a clean set of files after removing all mods?
-snork13
Quote from: snork13 on April 02, 2009, 08:57:01 AM
Quote from: B.SkiLLs on April 02, 2009, 02:29:49 AM
Besides my post about 5 up from this one, I did some forum changes and kinda started fresh, well anyways so disregard what i posted 5 above this about that error as it is no longer as i started completekly over again.
well, the problem is now, i am not quite sure. I deleted my old version of this mod and well now tryined to install the 1.1.8 new upload and well, i get this during install / testing
Type Action Description
1. Execute Modification ./Sources/Load.php Test successful
2. Execute Modification ./Sources/Memberlist.php Test successful
3. Execute Modification ./Sources/News.php Test successful
4. Execute Modification ./Sources/Profile.php Test successful
5. Execute Modification ./Sources/Subs-Members.php Test successful
6. Execute Modification ./Themes/default/Display.template.php Test successful
7. Execute Modification ./Themes/default/PersonalMessage.template.php Test successful
8. Execute Modification ./Themes/default/Profile.template.php Test failed
9. Execute Modification ./Themes/default/Memberlist.template.php Test successful
10. Execute Modification ./Themes/default/Who.template.php Test successful
11. Execute Modification ./Themes/default/languages/index.english.php Test successful
12. Extract Tree ./Themes/default/images
13. Execute Code myspace_settings_1_1_x.php
___________________-
and it will not install. I didnt even try to go forward with it yet as i wanted to post this to see what i could maybe be or what the issue was.
Any and all help much appreciated.
what other mods are you using? Do any mods show installed that are not? Can you upload a clean set of files after removing all mods?
-snork13
1. delete inactive users 1.0.3 [ Uninstall ] [ List Files ] [ Delete ]
2. MySpace Field 2.5 [ Apply Mod ] [ List Files ] [ Delete ]
3. PM On Registration 1.0.2 [ Uninstall ] [ List Files ] [ Delete ]
4. Auto Embed Video/Audio Clips 3.0 [ Uninstall ] [ List Files ] [ Delete ]
5. SimplePortal 2.0.4 [ Apply Mod ] [ List Files ] [ Delete ]
6. Enhanced Profile 1.1.5 [ Uninstall ] [ List Files ] [ Delete ]
7. Change_Poster_Of_Topic_And_Message 1.0 [ Uninstall ] [ List Files ] [ Delete ]
8. Default Avatar 1.1.1 [ Apply Mod ] [ List Files ] [ Delete ]
9. Profile Comments 1.3.6 [ Uninstall ] [ List Files ] [ Delete ]
10. SMF Gallery Lite 1.8.3 [ Uninstall ] [ List Files ] [ Delete ]
11. Custom Profile Field Mod 3.19 [ Uninstall ] [ List Files ] [ Delete ]
12. Copy Topics 1.4 [ Apply Mod ] [ List Files ] [ Delete ]
All mods installed and applied are working. I plan on deleteing the ones that are not applied but havent yet as im having that issue with the package manager log in as many others are from the error from 1.1.7 and 1.1.8 where cant seems to log in or upload / delete threw the manager itself but...
Other then that all seem to work, I did have to Mod your older version to work with my theme Cargo tho for the icon to show up on the profile and in the forum post under the default pics along with the other icons.
But other then that, im not sure what you mean or what exactly your saying or asking.
Thxs for the reply and help so far :)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fforums.civfanatics.com%2Fimages%2Fsmilies%2Fbump.gif&hash=c4cf76883d6efe078cb384f19aa00bba8faac21f)
Any help or info in this problem yet ??
Thanks
Quote from: B.SkiLLs on April 10, 2009, 04:26:04 AM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fforums.civfanatics.com%2Fimages%2Fsmilies%2Fbump.gif&hash=c4cf76883d6efe078cb384f19aa00bba8faac21f)
Any help or info in this problem yet ??
Thanks
so it just has errors on one file? if so you can apply the mod and manually edit the other file, please make backups of the files first.
-snork13
Quote from: snork13 on April 10, 2009, 09:49:14 PM
Quote from: B.SkiLLs on April 10, 2009, 04:26:04 AM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fforums.civfanatics.com%2Fimages%2Fsmilies%2Fbump.gif&hash=c4cf76883d6efe078cb384f19aa00bba8faac21f)
Any help or info in this problem yet ??
Thanks
so it just has errors on one file? if so you can apply the mod and manually edit the other file, please make backups of the files first.
-snork13
what do you mean Snork ?
Like upload it it with out that one file ? but how as the xml does that doesnt it with this mod.
Plus i think it is doing that as in my DB tables and files i had already manually edited that file as for the icon to show right on my Cargo custom theme.
How can I display this field on the registration page and make it so that this filed musst be as I can make it this field an obligation field become?
OK Snork.
I got it to work by changing a few things and also changing the myspace_settings_1_1_x.php so it didnt try to add the extra column in the DB and a couple other things but anyways... Got most all working except for the myspace link showing the profile pages itself. The icon shows in all the places it is suppose to, with no errors any where but can not get it to show on profile.
I manual edited the profile.template file for just a few lines was missing and the rest was still there but still can not get it. It shows on the profile edit page, but not on the profile home page itself.
Im getting frustrated with it and cant think straight on it now. Can you please look at it and see what may be the problem. ??
I will attach my profile.template.php here if you can look over it real fast. Thanks
Im running 1.1.8
Quote from: B.SkiLLs on May 01, 2009, 03:16:51 AM
OK Snork.
I got it to work by changing a few things and also changing the myspace_settings_1_1_x.php so it didnt try to add the extra column in the DB and a couple other things but anyways... Got most all working except for the myspace link showing the profile pages itself. The icon shows in all the places it is suppose to, with no errors any where but can not get it to show on profile.
I manual edited the profile.template file for just a few lines was missing and the rest was still there but still can not get it. It shows on the profile edit page, but not on the profile home page itself.
Im getting frustrated with it and cant think straight on it now. Can you please look at it and see what may be the problem. ??
I will attach my profile.template.php here if you can look over it real fast. Thanks
Im running 1.1.8
try this
Quote from: snork13 on May 04, 2009, 10:17:29 AM
Quote from: B.SkiLLs on May 01, 2009, 03:16:51 AM
OK Snork.
I got it to work by changing a few things and also changing the myspace_settings_1_1_x.php so it didnt try to add the extra column in the DB and a couple other things but anyways... Got most all working except for the myspace link showing the profile pages itself. The icon shows in all the places it is suppose to, with no errors any where but can not get it to show on profile.
I manual edited the profile.template file for just a few lines was missing and the rest was still there but still can not get it. It shows on the profile edit page, but not on the profile home page itself.
Im getting frustrated with it and cant think straight on it now. Can you please look at it and see what may be the problem. ??
I will attach my profile.template.php here if you can look over it real fast. Thanks
Im running 1.1.8
try this
Looks like its working so far with no errors. Thxws. What did you add / change ??
Cause i added that line in the / Messenger type information. section and it still wasnt working. With a fast look thats all i can see you added. What all did you add / change ??
Thanks alot man. :)
No one how can help me?
How can i do this on the reg. page?
Quote from: Eclipse16V on May 29, 2009, 07:46:14 AM
No one how can help me?
How can i do this on the reg. page?
sorry, just been a little busy. I will look into it.
-snork13
Thanks :D
I have it on the reg. site.
Now I have the next problem:
How can I make it so that this field is a obligation field on the account site?
When a old user will be update her profil, he musst be complate all the obligation fields (mySpace Field).
I'm using 2 rc1.2 - mod says it's compatible but I get the dreaded
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Please advise. Thx
Can you come up with a "Facebook" Field like this?
Quote from: Mr_Lon on September 20, 2009, 10:55:54 AM
Can you come up with a "Facebook" Field like this?
might wanta try this
Profile Fields & Icons Mod (http://custom.simplemachines.org/mods/index.php?mod=1910)
and yes he can most likely. I might look at it and see if i can if he doesnt.