News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

MySpace Field

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

Previous topic - Next topic

Kaotic_For_Kaos

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. :)

B.SkiLLs

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



VICKTORY THE UNDERDOG Documentary – Pitbulls the untold true story

This is a must read & watch. Then Buy your DVD today. You will not regret it. Totally AWESOME. Best i ever seen. --
 
____________________
Message approved by
: [B. SkiLLs]
 


B.SkiLLs

#142
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'];






VICKTORY THE UNDERDOG Documentary – Pitbulls the untold true story

This is a must read & watch. Then Buy your DVD today. You will not regret it. Totally AWESOME. Best i ever seen. --
 
____________________
Message approved by
: [B. SkiLLs]
 


B.SkiLLs

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

VICKTORY THE UNDERDOG Documentary – Pitbulls the untold true story

This is a must read & watch. Then Buy your DVD today. You will not regret it. Totally AWESOME. Best i ever seen. --
 
____________________
Message approved by
: [B. SkiLLs]
 


stingerman

#144
Any chance we can get an update for this?  I'm using 1.17  ;D

*Whoops didn't see the above posts, thanks.

snork13

I am working on a update. I hope to have it done very soon

-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

christinedlrp

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?

snork13

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

DeepBlueGXP

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. 

snork13

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


B.SkiLLs

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
VICKTORY THE UNDERDOG Documentary – Pitbulls the untold true story

This is a must read & watch. Then Buy your DVD today. You will not regret it. Totally AWESOME. Best i ever seen. --
 
____________________
Message approved by
: [B. SkiLLs]
 


snork13

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

GazOutEast

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
I have 20:20 vision - I can see anything bigger than 20" x 20"

Eclipse16V

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?
I worked with:
SMF 2 in German

Shop:
SID Giessen

B.SkiLLs

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
VICKTORY THE UNDERDOG Documentary – Pitbulls the untold true story

This is a must read & watch. Then Buy your DVD today. You will not regret it. Totally AWESOME. Best i ever seen. --
 
____________________
Message approved by
: [B. SkiLLs]
 


snork13

I just moved over the last week, just been super busy.
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

B.SkiLLs

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

VICKTORY THE UNDERDOG Documentary – Pitbulls the untold true story

This is a must read & watch. Then Buy your DVD today. You will not regret it. Totally AWESOME. Best i ever seen. --
 
____________________
Message approved by
: [B. SkiLLs]
 


B.SkiLLs

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.

VICKTORY THE UNDERDOG Documentary – Pitbulls the untold true story

This is a must read & watch. Then Buy your DVD today. You will not regret it. Totally AWESOME. Best i ever seen. --
 
____________________
Message approved by
: [B. SkiLLs]
 


snork13

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

Advertisement: