Closed Thread Icon

Topic awaiting preservation: phpBB and sig rotator (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=22297" title="Pages that link to Topic awaiting preservation: phpBB and sig rotator (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: phpBB and sig rotator <span class="small">(Page 1 of 1)</span>\

 
Boudga
Maniac (V) Mad Scientist

From: Jacks raging bile duct....
Insane since: Mar 2000

posted posted 06-23-2004 21:33

I am up and running with phpBB but when I try to use the sig rotator script the link is displayed instead of displaying the images in that directory...I can paste the link in the browser and view the image that way so I know the link works...is there something I have to tweak to use php instead of a static image with this board?

Tyberius Prime
Paranoid (IV) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 06-24-2004 13:05

so... you put [img] (or the equivalent on phpBB) around the link to the php?

Boudga
Maniac (V) Mad Scientist

From: Jacks raging bile duct....
Insane since: Mar 2000

posted posted 06-24-2004 14:58

yes but it didn't work...I turned on html and used the IMG tag and it works but I really would prefer using BBCode...is there some sort of tweak to be made to allow for php instead of a gif or jpg in phpbb2?

Tyberius Prime
Paranoid (IV) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 06-24-2004 22:10

I don't have the source handy, but the patch should be easy enough for anyone knowledgable in php.

(holler if you need help tracking this down - I could walk you through it via Q.)

Boudga
Maniac (V) Mad Scientist

From: Jacks raging bile duct....
Insane since: Mar 2000

posted posted 06-25-2004 14:24

I'm unfamiliar with any patch available...that's what I was looking for...and yes I'm familiar with PHP

bodhi23
Paranoid (IV) Inmate

From: Greensboro, NC USA
Insane since: Jun 2002

posted posted 06-25-2004 14:36

Master Suho had a really nice little rotator that we tinkered with, I thought we had uploaded the correct file to the FAQ, but here's a link to it on my site, see if it doesn't fix the problem:
rotator

edit: ok, I'm sure I've done something wrong. Can we have a MadSci to fix that link so that the file can be downloaded? Dunno what I've not done here...

(Edited by bodhi23 on 06-25-2004 14:41)

Tyberius Prime
Paranoid (IV) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 06-25-2004 15:29

bodhi: there's nothing we can do about the link - it's your webserver that interprets the php. Rename the file to .phps or something, and then tell us,so we can adjust the link.

Boudga: There's probably no premade patch available - you'll need to find the appropriate place in the source yourself, and adjust the list of allowed fileendings to include .php.

Boudga
Maniac (V) Mad Scientist

From: Jacks raging bile duct....
Insane since: Mar 2000

posted posted 06-25-2004 16:57

the code area for phpbb is located in the file named bbcode.php and the following line should look like this:

code:
// [img]image_url_here[/img] code..
$text = preg_replace("#\[img\]((ht|f)tp://)([^ \?&=\"\n\r\t<]*?(\.(php|jpg|jpeg|gif|png)))\[/img\]#sie", "'[img:$uid]\\1' . str_replace(' ', '%20', '\\3') . '[/img:$uid]'", $text);



« BackwardsOnwards »

Show Forum Drop Down Menu