Description: This modification will place a box and link along with the rest of the ubbt_instantcode where a user's photos from photopost will be listed when clicked and they can be inserted into the post with the ubbcode image tag formatted.
Working Under: UBB.Threads 6.3-6.4
Mod Status: Beta
Any pre-requisites:
Author(s): Photopost ( Michael Pierce )
Date: 01/29/04
Credits:
Files Altered: ubbt_instant_ubbcode.tmpl,showflat.tmpl and showthreaded.tmpl
New Files: pppanel.php
Database Altered: None
Info/Instructions: Mod assumes PhotoPost and Threads are installed into same database. If you have them in seperate databases, you will need to use a mysql_select_db() to switch to PP and then back to threads in the pppanel.php file.
Something like this
// configure your database settings $host = "localhost"; // Server Name $user= ""; // Username $password= ""; // Password $database=""; // Photopost database name or forum database name
// Connecting, selecting database $link = mysql_connect ("$host", "$user", "$password") or die ('I cannot connect to the database.'); mysql_select_db ("$database")or die("Could not select database");
and then after the queries etc bottom of file something like this
mysql_select_db ("UBBTHREADSDATABASE")or die("Could not select database");
Disclaimer: Please backup every file that you intend to modify. If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.