PhotoPost 8.0 URL Redirect Script

PhotoPost 8.0 URL Redirect Script 1

Vous n'avez pas l'autorisation de télécharger
Compatibilité XF
  1. 2.2.x
Short Description
Simple redirect script that catches any requests to sendphoto.php or directly to your old PhotoPost
Simple redirect script that catches any requests to sendphoto.php or directly to your old PhotoPost data folder and redirects to the new XFMG location.

showphoto.php redirects will go to the media overview page, direct data folder links it will go to the full image or thumbnail.

Installing

Put the attached photopost_redirect.php file in your XF root, then add the following entries to your .htaccess file above the "# Here is the Xenforo stuff" part (changing the data file path accordingly, mine was in the /gallery folder)

Code:
# Rewrite PhotoPost URLs
RewriteCond %{QUERY_STRING} photo=(\d+)
RewriteRule ^gallery/showphoto.php photopost_redirect.php?s=detail&id=%1 [NC,L]
RewriteRule ^gallery/data/(\d+)/((medium|thumbs|mini)/)?([a-z0-9\-_\.]+) photopost_redirect.php?c=$1&s=$3&f=$4 [NC,L]

And that's it
Auteur
axtona
Vues
508
Extension type
zip
File size
861 octets
Première publication
Dernière mise à jour
Évaluations 0.00 étoile(s) 0 évaluations
Link was Broken? Please Send Message to NP Team with direct message, You will get it very quickly!
Support Developer If you are satisfied with your test or project have earn money successfully, Maybe you can click more information button to support with buying.

Plus de ressources de axtona

Galerie Média XenForo / XFMG A
La galerie Media XenForo est une extension officielle de XenForo qui permet d'ajouter une galerie à votre XF2
Data Tables A
Data Tables 1.0.0
create stand-alone, fully customizable data tables within XenForo

Ressources similaires

Redirection Scripts for Invision IP Forums and Gallery A
All that is required is that you unzip these files and place them in the directory in which your IPB
Haut