Advertisement:

Author Topic: TrimUrl  (Read 50070 times)

Offline JayBachatero

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,630
  • Gender: Male
    • @jaycreations on Twitter
    • JayBachatero.com
Re: TrimUrl
« Reply #20 on: August 19, 2006, 10:59:17 PM »
What version did you install?  1.0?  There is a serious bug on that version and it has been fixed in 1.0.1.  To fix the url tag issue find
Code: [Select]
array(
'tag' => 'url',
'type' => 'unparsed_content',
'content' => '<a href="" target="_blank"></a>',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
),

replace with
Code: [Select]
array(
'tag' => 'url',
'type' => 'unparsed_content',
'content' => '<a href="$1" target="_blank"></a>',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
),
in Subs.php
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Offline K_4_kelly

  • Jr. Member
  • **
  • Posts: 155
  • Gender: Female
Re: TrimUrl
« Reply #21 on: August 20, 2006, 04:23:53 AM »
Ok here are the files and everything should be working.  The mod is installed now.

Jay,

only admin.template.php is available in the zip file...
so what should I do to the attached file?
replace it or?? ???

Offline ArkServer

  • SMF Hero
  • ******
  • Posts: 2,002
  • Owner of Javaforums.net /nl /be
    • Javaforums.net :: For those that need Java help and tutorials!
Re: TrimUrl
« Reply #22 on: August 20, 2006, 07:21:18 AM »
The mod works here :D

http://diablolivestream.com :: A diablo livestream community! It's my new pet project and i hope u all like it and join so it becomes a very nice and active community :)!

Offline JayBachatero

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,630
  • Gender: Male
    • @jaycreations on Twitter
    • JayBachatero.com
Re: TrimUrl
« Reply #23 on: August 20, 2006, 09:43:10 AM »
Umm all 5 files are in the archive K_4_Kelly.  Redownload it.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Offline Prasad007

  • SMF Hero
  • ******
  • Posts: 1,663
  • Gender: Male
  • JOOMLA AND SMF FAN!!
Re: TrimUrl
« Reply #24 on: August 21, 2006, 05:54:59 AM »
When uploading through package manager, i get an error message saying corrupt or invalid file.

smf version 1.1 rc2.

Online Gary

  • Lead Customizer
  • SMF Super Hero
  • *
  • Posts: 14,877
  • Gender: Male
  • So this is the luck of the draw...
    • @Gazmanafc on Twitter
    • The Bongo Comics Fan Forum
Re: TrimUrl
« Reply #25 on: August 21, 2006, 07:43:10 AM »
I uninstalled 1.0 and installed 1.0.1 and now URLs dont appear at all.
Gary M. Gadsdon
Lead Customiser
Do NOT PM me unless I say so
Look here are three little dreamers,
ready to impress everyone
Listen up, cos it's not over
Our time has just begun!

The War of the Simpsons
Bongo Comics Fan Forum


Offline JayBachatero

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,630
  • Gender: Male
    • @jaycreations on Twitter
    • JayBachatero.com
Re: TrimUrl
« Reply #26 on: August 21, 2006, 11:44:56 AM »
Meh you were not supposed to uninstall.  Damn mod is getting me mad.  Send me your Subs.php and Subs-Post.php
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Online Gary

  • Lead Customizer
  • SMF Super Hero
  • *
  • Posts: 14,877
  • Gender: Male
  • So this is the luck of the draw...
    • @Gazmanafc on Twitter
    • The Bongo Comics Fan Forum
Re: TrimUrl
« Reply #27 on: August 21, 2006, 11:53:34 AM »
[Captain McCallister]
Yaaar! I dont know what I'm doin'
[/Captain McCallister]

Attached.
Gary M. Gadsdon
Lead Customiser
Do NOT PM me unless I say so
Look here are three little dreamers,
ready to impress everyone
Listen up, cos it's not over
Our time has just begun!

The War of the Simpsons
Bongo Comics Fan Forum


Offline JayBachatero

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,630
  • Gender: Male
    • @jaycreations on Twitter
    • JayBachatero.com
Re: TrimUrl
« Reply #28 on: August 21, 2006, 12:45:06 PM »
Argggg.  IM me on MSN and send it though there.  Everytime I download gedit adds an extra line for each line and file is losing formating >_<.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Offline Harzem

  • SMF Hero
  • ******
  • Posts: 5,393
  • Gender: Male
  • I know, my avatar is nerve-wracking!
Re: TrimUrl
« Reply #29 on: August 21, 2006, 01:33:36 PM »
Argggg.  IM me on MSN and send it though there.  Everytime I download gedit adds an extra line for each line and file is losing formating >_<.

In these cases, I replace double lines with single lines without ignoring whitespace differences. I do this in dreamweaver.

Offline K_4_kelly

  • Jr. Member
  • **
  • Posts: 155
  • Gender: Female
Re: TrimUrl
« Reply #30 on: August 22, 2006, 01:30:38 PM »
Umm all 5 files are in the archive K_4_Kelly.  Redownload it.

Jay,
thanks, i just have time to look at it now since i donwloaded the file...
have a look, something wrong with the files




Offline JayBachatero

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,630
  • Gender: Male
    • @jaycreations on Twitter
    • JayBachatero.com
Re: TrimUrl
« Reply #31 on: August 22, 2006, 01:33:00 PM »
Umm seems like a problem with the archive tool.  Try another program.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Offline K_4_kelly

  • Jr. Member
  • **
  • Posts: 155
  • Gender: Female
Re: TrimUrl
« Reply #32 on: August 23, 2006, 03:58:27 PM »
Umm seems like a problem with the archive tool.  Try another program.

Hello Jay, the URL is working fine now, I can see the URL in the posts.
But the problem of the IMG still there...

when I click the insert Image button and insert the img link, it become like this after posted:


Offline JayBachatero

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,630
  • Gender: Male
    • @jaycreations on Twitter
    • JayBachatero.com
Re: TrimUrl
« Reply #33 on: August 23, 2006, 10:29:34 PM »
Umm send me your Subs-Post.php.  I know what's causing it.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Offline K_4_kelly

  • Jr. Member
  • **
  • Posts: 155
  • Gender: Female
Re: TrimUrl
« Reply #34 on: August 25, 2006, 03:18:59 AM »
have u got my PM jay?

Offline JayBachatero

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,630
  • Gender: Male
    • @jaycreations on Twitter
    • JayBachatero.com
Re: TrimUrl
« Reply #35 on: August 25, 2006, 02:25:50 PM »
Yea I got it.  Sorry for the delay. been busy.  Here is the file.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Offline K_4_kelly

  • Jr. Member
  • **
  • Posts: 155
  • Gender: Female
Re: TrimUrl
« Reply #36 on: August 26, 2006, 12:19:06 PM »
Yea I got it.  Sorry for the delay. been busy.  Here is the file.

thanks a lot jay!
everything is back to normal!!
cheers!!!!!! :)

Offline Skipdawg

  • Sr. Member
  • ****
  • Posts: 972
  • Gender: Male
  • SMF Über Fan!
    • Skipdawg Central
Re: TrimUrl
« Reply #37 on: August 31, 2006, 09:19:23 PM »
Dose this mod affect only the url in post or all urls on the forum? Any known conflict with the Links mod?
Skipdawg's Community

Powered by SMF 1.1.3

Offline JayBachatero

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,630
  • Gender: Male
    • @jaycreations on Twitter
    • JayBachatero.com
Re: TrimUrl
« Reply #38 on: August 31, 2006, 09:49:45 PM »
Umm all Urls that use the [url] bbc tag. 

Not sure about the second one.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Offline Skipdawg

  • Sr. Member
  • ****
  • Posts: 972
  • Gender: Male
  • SMF Über Fan!
    • Skipdawg Central
Re: TrimUrl
« Reply #39 on: August 31, 2006, 10:09:57 PM »
Umm all Urls that use the [url] bbc tag. 

Not sure about the second one.

Right on thanks  ;D
Skipdawg's Community

Powered by SMF 1.1.3