Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 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
 



 
MartinSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: How To Use Images On Other Forums 
 
any help on the rewrite issues?
 



 
MartinSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Use Images On Other Forums 
 
It should be enough if you add the rewrite rules on HTACCESS.

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

 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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: [Download] [Hide] [Select]
RewriteRule ^.+-at([0-9]*) album_thumbnail.php?%{QUERY_STRING}&pic_id=>RewriteRule ^.+-at([0-9]*) album_thumbnail.php?%{QUERY_STRING}&pic_id=$1 [L] < [L]
RewriteRule ^.+-apic([0-9]*) album_pic.php?%{QUERY_STRING}&pic_id=> RewriteRule ^.+-apic([0-9]*) album_pic.php?%{QUERY_STRING}&pic_id=$1 [L] < [L]
RewriteRule ^.+-apm([0-9]*) album_picm.php?%{QUERY_STRING}&pic_id=> RewriteRule ^.+-apm([0-9]*) album_picm.php?%{QUERY_STRING}&pic_id=$1 [L]< [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?
 



 
MartinSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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 ?
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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=> #########RewriteRule ^pic_([0-9]*).jpg forum/album_pic.php?pic_id=$1 [L,NC] < [L,NC]

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



 
MartinSend private message  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron