We’re excited to have you join us! By registering, you’ll gain access to exclusive content, including leaked files and nulled software. Engage with our community, share your insights, and stay updated on the latest releases.

Get ready to explore and enjoy all the benefits of being a member, and feel free to connect with others through discussions and private messages.

Warning: Please do not create multiple accounts. We have a system in place that detects multiple account registrations, and any violations may result in a permanent ban.

Sign Up Now and Start Exploring!
  • License distribution for the
    Ibo 3.9 app+ panel with 17 themes to choose
    is now available for free, we are decrypting it now
    Only for VIP memberships

XenForo PhotoPost 8.0 URL Redirect Script

El Bana

Active member
Registered
Joined
Jul 25, 2024
Messages
142
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:
Please, Log in or Register to view codes content!

Copy the pp_photos table from your photopost/vbulletin database into the XenForo one (if you want to save space, you can remove all the the columns except for id, cat and bigimage).

This is needed so that direct data folder links will work, as there is no id in the PP filenames.

And that's it :)
 
Back
Top