Welcome to Geeklog, Anonymous Monday, May 06 2024 @ 09:18 pm EDT

Geeklog Forums

Full HTML


Status: offline

auspexian

Forum User
Newbie
Registered: 06/30/04
Posts: 4
awake
Is it possible to post Full HTML inside an article?

I am the admin of the site. and only I can post, so no security issue.

The sample HTML code below is what I need to post as articles. I can do it now as Static Pages. But I want to post as article.

Text Formatted Code


<a href="http://click.linksynergy.com/fs-bin/click?id=CuRS6erRFOc&offerid=12196.10000295&type=4&subid=0"><IMG width="468" height="60" alt="Season_1b_Baby_468x60.gif" border="0" src="http://www.babystyle.com/images/linkshare/autoupdate/Season_1b_Baby_468x60.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=CuRS6erRFOc&bids=12196.10000295&type=4&subid=0">


 


Tks,

John
 Quote

Status: offline

samstone

Forum User
Full Member
Registered: 09/29/02
Posts: 820
The setting is in the config.php.

Sam
 Quote

Status: offline

auspexian

Forum User
Newbie
Registered: 06/30/04
Posts: 4
I added the following. It still wont' accept IMG and A tags

Text Formatted Code


$_CONF['admin_html'] = array (
    'img'   => array('class' => 1, 'id' => 1, 'align' => 1),
    'a'   => array('class' => 1, 'id' => 1, 'align' => 1),



 


Tks

John
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
'img' needs to include the 'src' attribute and 'a' needs to include the 'href' attribute. From what you posted, it looks like these are missing.
 Quote

auspexian

Anonymous
I see, That what the parameters are.
Thank you for showing me. I have changed the attributes and I am able to post HTML IMG and A tags now.

Thank you very much all. I am testing Geeklog to replace myphpnuke for a number of nonprofit church websites.

Tks

John
 Quote

DJLex

Anonymous
I tried using the previous posted hack to get Linkshare links to work. Problem is, they're using a different system now. Here is a typical Linkshare URL:

Text Formatted Code

<a href="http://click.linksynergy.com/fs-bin/click?id=4IyiLjg9o08&offerid=78941.457117829&type=10&subid=" target="_new">Download Simple Minds songs from iTunes
</a><img alt="icon" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=4IyiLjg9o08&bids=78941.457117829&type=10&subid=">

 


I added code in the admin_html array for the following:

'a href'
'src'
'img'
'alt'

Still not working. Anyone have suggestions on which tags I need to add?


 Quote

DJLex

Anonymous
I just found the answer. When doing a search for FULL HTML I found this link about certain HTML tags being removed:
Why does Geeklog remove certain HTML tags?

It seems like they should be enabled by default, and can be removed if there happens to be a case of security issues. Seems backwards to me. Question

So, if you are using the Linkshare system, here is what you need to add to your config.php:
Text Formatted Code

    'img'   => array('src' => 1, 'width' => 1, 'height' => 1, 'alt' => 1),
    'a'     => array('href' => 1, 'target' => 1),

 


The Linkshare URLs might still work without doing the above hack, but no guarantee. My links were launching iTunes correctly, but since the code was being altered, I lost 8 months of affiliate credit. Crying or Very sad Wink

- Lex
 Quote

All times are EDT. The time is now 09:18 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content