Author Topic: Html in description  (Read 26959 times)

0 Members and 1 Guest are viewing this topic.

Offline kkmaths

  • Pre-Newbie
  • Posts: 9
    • View Profile
Html in description
« on: February 04, 2006, 07:49:19 AM »
Hi on new 4images 1.7.1 the html dont work in description can anyone tell me how can i make it work ???

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: Html in description
« Reply #1 on: February 04, 2006, 08:08:34 AM »
description of what?
image and category description support HTML by default.
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 kkmaths

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: Html in description
« Reply #2 on: February 07, 2006, 08:21:47 PM »
description of what?
image and category description support HTML by default.

well its doest seem to work on my side here check this http://pakilamer1.pa.funpic.org/details.php?image_id=155
« Last Edit: February 08, 2006, 12:23:29 AM by V@no »

Offline artpics

  • Full Member
  • ***
  • Posts: 173
    • View Profile
    • my site
Re: Html in description
« Reply #3 on: February 07, 2006, 09:17:30 PM »
have you enabled html in the ACP/settings/comments

RT

Offline artpics

  • Full Member
  • ***
  • Posts: 173
    • View Profile
    • my site
Re: Html in description
« Reply #4 on: February 07, 2006, 10:59:49 PM »
MODS please edit the link above the one with the session id  :roll: you probably no why

RT

i have posted a comment on you site it displays html, your problem is you are not pasting proper html

RT

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: Html in description
« Reply #5 on: February 08, 2006, 12:26:37 AM »
MODS please edit the link above the one with the session id  :roll: you probably no why
omg...hope I wasn't too late 8O

@kkmaths:
First of all, never give anyone url to your 4images with a sessionid attached to it! Otherwise dont be surprised if one day you find your gallery empty or destroyed.
Also, make sure you applyed all bug fixes from this forum.

Second, where did you enter the description? from members upload form / edit image page or from ACP?
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 artpics

  • Full Member
  • ***
  • Posts: 173
    • View Profile
    • my site
Re: Html in description
« Reply #6 on: February 08, 2006, 12:55:17 AM »
Hi on new 4images 1.7.1 the html dont work in description can anyone tell me how can i make it work ???


you need to write valid html in your comments box to show the description, see the comment i left on the picture above it works


RT

@v@no no you was not too late nothing has changed since i posted my post  :wink:

Offline Lunique

  • Full Member
  • ***
  • Posts: 109
  • V 1.7.7
    • View Profile
Re: Html in description
« Reply #7 on: February 11, 2006, 01:55:45 PM »
I have the same problem.
In APC I tried to add a link to an image in the image description, but I can only see the html not the link.
I paste the same code to the comment and there it works. What should I change that it works also in the image description?
http://music.onmygrave.de/barbyhistory/gallery/details.php?image_id=3

I have enabled html in the APC/settings at comments

Thanks for your help

Ich hab das gleiche Problem. Wenn ich in der Bildbeschreibung einen link mit html eingebe wird dieser nicht angezeigt. Bei den Kommentaren funktioniert es allerdings.
http://music.onmygrave.de/barbyhistory/gallery/details.php?image_id=3
Html ist aktiviert
Was muß ich ändern?

Danke, Lunique

Offline artpics

  • Full Member
  • ***
  • Posts: 173
    • View Profile
    • my site
Re: Html in description
« Reply #8 on: February 11, 2006, 02:43:58 PM »

Offline Lunique

  • Full Member
  • ***
  • Posts: 109
  • V 1.7.7
    • View Profile
Re: Html in description
« Reply #9 on: February 11, 2006, 02:49:27 PM »
I don't think this will help me. The link you've seen is just a sample
I need some links in the description of every image that will link to other images in my gallery or to a special category of my gallery

Offline artpics

  • Full Member
  • ***
  • Posts: 173
    • View Profile
    • my site
Re: Html in description
« Reply #10 on: February 11, 2006, 05:21:42 PM »
it does work on my gallery, you need to enter proper html it works try this edit a picture put this into description.

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html lang="en">

<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
</head>

<body>
<p><font size="+2" color="#663366">4 images</font> images <a href="http://www.4homepages.de/forum/index.php?topic=11464.new#new" target="_blank">click here</a></p>
</body>

</html>
i have also left a comment on the image link posted by you edit the comment copy the html

RT

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: Html in description
« Reply #11 on: February 11, 2006, 05:24:44 PM »
You should not have more then one set of <html></html><head></head> and <body></body> tags on one page.
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 Lunique

  • Full Member
  • ***
  • Posts: 109
  • V 1.7.7
    • View Profile
Re: Html in description
« Reply #12 on: February 11, 2006, 05:29:50 PM »

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: Html in description
« Reply #13 on: February 11, 2006, 05:35:47 PM »
In includes/functions.php search for $description there should be only two lines wit that:
Code: [Select]
  $description = (!empty($image_row['image_description'])) ? format_text($image_row['image_description'], 1) : REPLACE_EMPTY;and
Code: [Select]
    "image_description" => $description,Make sure there are not altered or there are no other lines.
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 artpics

  • Full Member
  • ***
  • Posts: 173
    • View Profile
    • my site
Re: Html in description
« Reply #14 on: February 11, 2006, 05:38:14 PM »
I tried both but it still don't work, wheres my mistake?
variante artpics: http://music.onmygrave.de/barbyhistory/gallery/details.php?image_id=3
variante v@no: http://music.onmygrave.de/barbyhistory/gallery/details.php?image_id=4


try this it works on my gallery, i just posted another comment

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html lang="en">

<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
</head>

<body>
<p><font size="+2" color="#663366">4 images</font> test 2 <a href="http://music.onmygrave.de/barbyhistory/gallery/data/thumbnails/5/blouse03_951222_dortmund_2.jpg" target="_blank">click here</a></p>
</body>

</html>

RT