FAP SUPPORT - How To Use Images On Other Forums »  Show posts from    to     

Icy Phoenix


Archived phpBB Topics (Styles, Mods, Support) - FAP SUPPORT - How To Use Images On Other Forums



Martin [ Thu 01 Nov, 2007 21:39 ]
Post subject: FAP SUPPORT - How To Use Images On Other Forums
Hi

I really want to fix the 'rewrite' thing.

I had it working once... :(

but no more..

I want to be able to post my images on other sites. all my images are displayed as:

http://www.akvarieplanter.dk/forum/...d=343&user_id=2

for instance..

I'd like it to be shown as.. .jpg


Martin [ Wed 12 Dec, 2007 20:33 ]
Post subject: Re: How To Use Images On Other Forums
any help on the rewrite issues?


Mighty Gorgon [ Sun 16 Dec, 2007 01:40 ]
Post subject: Re: How To Use Images On Other Forums
It should be enough if you add the rewrite rules on HTACCESS.

Code: [Hide] [Select]
RewriteRule ^.+-at([0-9]*) album_thumbnail.php?%{QUERY_STRING}&pic_id=$1 [L]
RewriteRule ^.+-apic([0-9]*) album_pic.php?%{QUERY_STRING}&pic_id=$1 [L]
RewriteRule ^.+-apm([0-9]*) album_picm.php?%{QUERY_STRING}&pic_id=$1 [L]


Martin [ Wed 19 Dec, 2007 17:13 ]
Post subject: Re: How To Use Images On Other Forums
Mighty Gorgon wrote: [View Post]
It should be enough if you add the rewrite rules on HTACCESS.

Code: [Hide] [Select]
RewriteRule ^.+-at([0-9]*) album_thumbnail.php?%{QUERY_STRING}&pic_id=$1 [L]
RewriteRule ^.+-apic([0-9]*) album_pic.php?%{QUERY_STRING}&pic_id=$1 [L]
RewriteRule ^.+-apm([0-9]*) album_picm.php?%{QUERY_STRING}&pic_id=$1 [L]


Unfortuntely that didn't help...

I try posting in another forum, and just get a line of text instead of the image..like this: album_pic

I would've thought that the link needed to be rewritten to .jpg?


Artie [ Fri 21 Dec, 2007 00:38 ]
Post subject: Re: How To Use Images On Other Forums
Did you read the STICKY Rewrite Jpg Url-s In Album at the top of this forum ?


Martin [ Fri 21 Dec, 2007 17:29 ]
Post subject: Re: How To Use Images On Other Forums
Artie wrote: [View Post]
Did you read the STICKY Rewrite Jpg Url-s In Album at the top of this forum ?


yes I read it and tried..

what I want is to rewrite this:

album_pic.php?pic_id=993&user_id=2

to xxxxx.jpg

so I can use it as a jpg...

I tried both MG's and the sticky...

The htaccess in in my webroot, and forum is : /forum

htaccess looks like this:

##########album rewrite dims
RewriteEngine On
#######RewriteBase /
#########RewriteRule ^pic_([0-9]*).jpg forum/album_pic.php?pic_id=$1 [L,NC]

RewriteRule ^.+-at([0-9]*) forum/album_thumbnail.php?%{QUERY_STRING}&pic_id=$1 [L]
RewriteRule ^.+-apic([0-9]*) forum/album_pic.php?%{QUERY_STRING}&pic_id=$1 [L]
RewriteRule ^.+-apm([0-9]*) forum/album_picm.php?%{QUERY_STRING}&pic_id=$1 [L]




Powered by Icy Phoenix