MySpace Field

Started by snork13, January 29, 2006, 07:34:59 PM

Previous topic - Next topic

Krysia

The mod installed without any problems for me, however, when I checked the Memberlist, it shows text, and not the MySpace icon...



snork13

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
Mods
Please DO NOT PM me with requests for individual support, but post your questions and concerns in the appropriate section of the forum where other users can benefit from them as well. Thank you.
I have been super busy as of late. Working on updates to all my modifications for 2.0.1

littlefeather

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

snork13

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

Mods
Please DO NOT PM me with requests for individual support, but post your questions and concerns in the appropriate section of the forum where other users can benefit from them as well. Thank you.
I have been super busy as of late. Working on updates to all my modifications for 2.0.1

Krysia

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!



littlefeather

 ;) Thank you very much...works perfectly now..  ;)

Chmura

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


and after the profile is edited


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.
FaceTheMusik.net [nofollow]

porcelainprincess

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!

snork13

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
Mods
Please DO NOT PM me with requests for individual support, but post your questions and concerns in the appropriate section of the forum where other users can benefit from them as well. Thank you.
I have been super busy as of late. Working on updates to all my modifications for 2.0.1

porcelainprincess


Chmura

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


and after the profile is edited


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?
FaceTheMusik.net [nofollow]

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


and after the profile is edited


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.

Mods
Please DO NOT PM me with requests for individual support, but post your questions and concerns in the appropriate section of the forum where other users can benefit from them as well. Thank you.
I have been super busy as of late. Working on updates to all my modifications for 2.0.1

Chmura

#32
Thank you, I have the country flags mod installed I will try again
FaceTheMusik.net [nofollow]

milord

My default language is spanish, which file do i have to edit to show the field?

isht4r

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?????

snork13

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
Mods
Please DO NOT PM me with requests for individual support, but post your questions and concerns in the appropriate section of the forum where other users can benefit from them as well. Thank you.
I have been super busy as of late. Working on updates to all my modifications for 2.0.1

isht4r

kewl thanks that worked

Thanks for all the help

Dupli

#37
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.



heres a link to the forum, look it out if you have anny time

hxxp:www.klubistika.com/smf/index.php [nonactive]
Please help

snork13

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';
      

      
Mods
Please DO NOT PM me with requests for individual support, but post your questions and concerns in the appropriate section of the forum where other users can benefit from them as well. Thank you.
I have been super busy as of late. Working on updates to all my modifications for 2.0.1

choloman05

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.

Advertisement: