Shane wrote:

>
> On Jul 28, 2005, at 5:44 AM, Blair Steenerson wrote:
>
>> BTW, one more quick question if y'all don't mind – I’ve added IMG
>> (and IMG SRC) to approvedtags but people still cannot post images,
>> which I’d like to allow. Any idea what the problem might be?
>
> Did you setup the var "approvedtags_attr"?
>
> Did you restart httpd after you changed the var's?
>
> You can try turning approveTag_debug on. I poked through
> Slash::Utility::Data looking at sub approveTag, seemed like once you
> set the 2 var's up it should work. But that was just a quick glance
> so maybe someone else can give you a more definitive answer.
>
> Shane
>
>
>
> ------------------------------------------------------- SF.Net email
> is Sponsored by the Better Software Conference & EXPO September
> 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing
> & QA Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> _______________________________________________ Slashcode-general
> mailing list Slashcode-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/slashcode-general
>
>

Hi again guys.  I've been on vacation for a while, but now that its over I'm back to trying to figure this out.  Still no luck getting users to be able to post images in their comments.

I've added approvedtags_attr thusly

INSERT INTO vars (name, value, description) VALUES ('approvedtags_attr', 'a:href_RU img:src_RU,alt,width,height,longdesc_U', 'definition of approvedtags attributes in the following format a:href_RU img:src_RU,alt,width,height,longdesc_U see Slash::Utility::Data.pm for more details');

Of course I always restart httpd and slashd when I make changes.   I just found these vars on the net at Koders, there appears to be very limited info reading through Data.pm or the related Utility perldocs.  I see no mention at all of approvedtags_attr, so I'm really unsure of the syntax and if the above should work or even what functions use it.  I'm assuming  approveTag_debug is just 0 or 1 so I guess I'll give that a try and see what, if anything, it does.  I did see a mention of lonetags in Data.pm, so I also tried adding that, but it did not help.

INSERT INTO vars (name, value, description) VALUES ('lonetags','P|LI|BR|IMG','Tags that don\'t need to be closed');

Is any of this documented anywhere?  Using Slash 2.2.6 btw - maybe some of this has been deprecated?.

As always, any thoughts are appreciated.

Cheers

Blair