Author Topic: problem with writing URL  (Read 5841 times)

0 Members and 1 Guest are viewing this topic.

Offline colorssky

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • http://www.nnjj.net
problem with writing URL
« on: May 31, 2006, 09:45:45 PM »
hi,

even I allow HTML the URL coms like the link below
http://www.jenanart.com/gallery/details.php?image_id=174


Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: problem with writing URL
« Reply #1 on: May 31, 2006, 11:56:23 PM »
I dont know should ask "and what is the problem?" or should I just say "ok" and move this post to chit-chat? :roll:
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline colorssky

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • http://www.nnjj.net
Re: problem with writing URL
« Reply #2 on: June 01, 2006, 10:13:23 PM »
no Mr. V@no

take a good look to the URL add under the picture, its like this
<a href="http://www.usefilm.com/image/1119936.html">Usefilm المشاركة بالعمل في</a>

it does'nt understand the HTML URL command
hope I am clear now!

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: problem with writing URL
« Reply #3 on: June 02, 2006, 12:35:40 AM »
Then use bbcode instead....
Code: [Select]
[url=http://www.usefilm.com/image/1119936.html]Usefilm المشاركة بالعمل في[/url]
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline colorssky

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • http://www.nnjj.net
Re: problem with writing URL
« Reply #4 on: June 02, 2006, 07:11:00 PM »
I tried that too, not working!

but why it comes like this
is it something from my template or from the 4images version it self!

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: problem with writing URL
« Reply #5 on: June 03, 2006, 01:37:36 AM »
Yes, you are right, its v1.7.2 that is quiet strict because of the security...

In includes/functions.php find:
Code: [Select]
  $description = (!empty($image_row['image_description'])) ? format_text($image_row['image_description'], 0) : REPLACE_EMPTY;
replace with:
Code: [Select]
  $description = (!empty($image_row['image_description'])) ? format_text($image_row['image_description'], 0, 0, 1, 1) : REPLACE_EMPTY;
This will allow BBCode in the image description (no HTML)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline colorssky

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • http://www.nnjj.net
Re: problem with writing URL
« Reply #6 on: June 03, 2006, 07:24:11 PM »
ok working great, what about HTML?
is there is a way to let it work as well, because I am the only one who is using this gallery so no harm can be done

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: problem with writing URL
« Reply #7 on: June 03, 2006, 09:43:45 PM »
replace first 0 with 1
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline colorssky

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • http://www.nnjj.net
Re: problem with writing URL
« Reply #8 on: June 05, 2006, 07:27:59 PM »
Dear V@no
thanx thanx thanx thanx thanx thanx a million :mrgreen: