Welcome to Geeklog, Anonymous Thursday, December 12 2024 @ 06:41 pm EST
Geeklog Forums
code in stories
Status: offline
Turias
Forum User
Full Member
Registered: 10/20/03
Posts: 807
I'm not exatly sure what you mean, but [ CODE ] blocks do work inside of stories...
[EDIT: Hmff... you edit your post to clarify things and make me look like a bumbling fool...
Anyway, to answer your question, you need to edit the allowable HTML codes in your config.php file. Add "img", and make sure to enable the attributes "src" and "alt". Be careful, though, allowing people to post images opens your site up to scripting attacks. It is probably best to only allow admins to post images instead of all users.]
[EDIT: Hmff... you edit your post to clarify things and make me look like a bumbling fool...
Anyway, to answer your question, you need to edit the allowable HTML codes in your config.php file. Add "img", and make sure to enable the attributes "src" and "alt". Be careful, though, allowing people to post images opens your site up to scripting attacks. It is probably best to only allow admins to post images instead of all users.]
12
17
Quote
Status: offline
ShdwRulr
Forum User
Regular Poster
Registered: 09/13/03
Posts: 78
So if I want to add the align code, I would do the following:
I see this. So should I do the above or just
inside of
Bla bla bla
Text Formatted Code
'img' => array('src' => 1, 'alt' => 1, 'align' => 1),I see this. So should I do the above or just
Text Formatted Code
<th>,<img>';Text Formatted Code
$_CONF['adminhtml'] = $_CONF['allowablehtml'] . ', <div>,<table>,<tr>,<td>,<th>';Bla bla bla
17
10
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
$_CONF['adminhtml'] isn't used any more, you should be looking for $_CONF['admin_html'] (note the underscore).
And if you don't have that, then you should be updating to 1.3.7sr3 or 1.3.8-1sr2 ASAP anyway.
bye, Dirk
And if you don't have that, then you should be updating to 1.3.7sr3 or 1.3.8-1sr2 ASAP anyway.
bye, Dirk
21
19
Quote
All times are EST. The time is now 06:41 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