News:

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

Main Menu

MySpace Field

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

Previous topic - Next topic

samames

sorry :) no, I installed it via the package manager and i still have no idea how i managed to mess it up :P
Firefox 3 user. Mac user. Pc user.

snork13

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

jrstark

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?


wizzard308

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

snork13

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

- danny

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?

snork13

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

wizzard308

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

jrstark

Quote from: jrstark on April 04, 2007, 12:07:05 AM
Help please.&nbsp; I installed the myspace field and it worked fine.&nbsp; 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?

Iomega0318

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

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
UOFreeshards.net
UOFreeshards.net 2.1 Aplha Test Site
"I believe in Christianity as I believe in the sun...
not because I see it but because by it I see everything else."
C.S. Lewis

Heed what I say, for it shall be mentioned only once.

snork13

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

Bluebomber4evr

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.

snork13

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

SMdot™

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

Bluebomber4evr

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

SMdot™

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

Bluebomber4evr

Okay I copied the display template over into my custom theme's folder and it works now! Thanks guys!  :D

purplegold

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?

snork13

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

purplegold

I'm sorry i'm new to SMF i'm not sure what you meant by checking the language file.

Advertisement: