Welcome to Geeklog, Anonymous Wednesday, December 25 2024 @ 07:43 pm EST
Geeklog Forums
Full HTML
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.
<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
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
10
8
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
$_CONF['admin_html'] = array (
'img' => array('class' => 1, 'id' => 1, 'align' => 1),
'a' => array('class' => 1, 'id' => 1, 'align' => 1),
Tks
John
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
9
11
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
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
12
8
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:
<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?
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?
8
6
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.
So, if you are using the Linkshare system, here is what you need to add to your config.php:
'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.
- Lex
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.
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.
- Lex
7
10
Quote
All times are EST. The time is now 07:43 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