Search found 3 matches

by Tim_Myth
Sat Mar 01, 2008 1:56 pm
Forum: Joombie Coding Q/A
Topic: Joomla 1.0.xx mambot to insert watermarked image...help?
Replies: 4
Views: 707

Re: Joomla 1.0.xx mambot to insert watermarked image...help?

I suppose it would be very easy to create a mambot that automated this stuff by combining the functions of addphp and rokaccess. The problem is that you need the image src to output the content-type as an image, so a simple text replacement doesn't work (becausse the page content type is text/html)....
by Tim_Myth
Wed Feb 27, 2008 12:53 am
Forum: Joombie Coding Q/A
Topic: Joomla 1.0.xx mambot to insert watermarked image...help?
Replies: 4
Views: 707

Re: Joomla 1.0.xx mambot to insert watermarked image...help?

I gave up on creating a mambot to do this. I ended up using the addphp and rokaccess plugins to start a session when a user is logged in. My image.php script then checks for a session variable and watermarks the image if it is not set. The content item looks something like this: {rokaccess !guest} {...
by Tim_Myth
Sat Feb 09, 2008 12:34 am
Forum: Joombie Coding Q/A
Topic: Joomla 1.0.xx mambot to insert watermarked image...help?
Replies: 4
Views: 707

Joomla 1.0.xx mambot to insert watermarked image...help?

I'm trying to code a mambot for my Joomla! 1.0.13 install that will display a watermarked image for guests and a non-watermarkedd image for registered users. This is my code: function botSecureWM( $published, &$row, &$params, $page=0 ) { // simple performance check to determine whether bot should pr...