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

Izzie

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: hxxp:www.myspace.com/_________)'; [nonactive]

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

fecu2008

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

fecu2008


snork13

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

fecu2008

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.

fecu2008


kemp_l

Works great...Thanks Man.

denzil69

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

perplexed

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

illfiend

having the same problem....


can someone help?

Tuplad

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 ?

Tuplad

Oh, nevermind :) Manual instruction does wonders! :D

illfiend

how did you do it Tuplad?

i am having the same problem but the package parser is giving me errors for a manual install....

illfiend

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

Tuplad

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

Coroner

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!

Coroner

oops! Found it towards the beginning of the thread.

Nice work.....

swagg

does this work with SMF 1.1.5 ?

Coroner

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.

MikeVertx

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!

Advertisement: