![]() |
Had a look at the database. I fear, the per category setting is too complex to handle it within the limitated structures of this mod. That's the downside of supporting more than one product - it's not flexible enough to support everything for every product. The problem is: Though it would probably be possible to add an additional query to the config that detects whether there are original images or not - as soon as the user clicks on "show all my images", there will be problems.
Sorry, this mod will have to handle it either as allow it or disable it... |
Quote:
|
Quote:
|
One other suggestion I have for this mod is that in the instance where the user has no photos uploaded in the Vbulletin Albums not only should it say no photos found, but it should also have a link to:
http://www.yourwebsitehere.net/album.php?do=addalbum So the user could go "oh that's where I can upload a photo to insert into this message" otherwise if they aren't familiar with where the photo albums are they have to hunt around or ask, why not give them some pointers. Likewise for vbulletin there should be the message that no photos are found but then also a link such as: http://www.yoursitehere.net/gallery/upload.php?&c= So the user can be taken to the vbgallery and start uploading to some category they choose. As for the CND garage if they have no photos uploaded the link would depend on whether they had a car in the garage yet or not, so in that instance I would probably just suggest a link to the garage: http://www.yoursitehere.net/garage.php and let it go at that. I suppose if you wanted to be more flexible you could make these links both optional and customizeable through your admincp options for this mod, let the admin decide whether or not to display "helper links" and if so what link they want for each (I would provide defaults which they could then change as needed). I hope all that makes sense. Last, but not least in the standard reply box rather than just the text that says My Pictures, there ought to be some sort of picture graphic above that text. |
Quote:
Quote:
I'll see whether I can get this fixed. |
Quote:
Quote:
Quote:
|
hi to all
sorry for my english i'm newbie i had just installed this product and made the modification. no problem i work with vb 3.8.1 and photopost but when click on icona ,the message is this "You have set the product "photopost" to use a different database than your forums. However, the script cannot connect to this other database. Please check your database settings.! in photo_popup_config_photopost.php , i have this "The values for the following settings can be found in Photopost Administration // Center // Full URL path to Gallery: http://www.yoursite/path/to/gallery/ // $url_path = "http://news.tecnocomputer.it/forums/photopost/"; // // Full URL path to Data Dir: http://www.yoursite/path/to/gallery/data/ // Look for this in PP-Administration->Global Options->URL to PhotoPost data directory // $data_dir = "http://news.tecnocomputer.it/forums/photopost/data/"; // // Table prefix. pp_ is the default setting. // You may have changed this on installation of Photopost Pro. // Look for this in PP-Administration->Edit Config->PhotoPost Database Prefix // $db_prefix = "pp_"; // // If you do not save medium sized images with Photopost Pro or want to disable // medium image insertion for this product only, set this to TRUE; // $medium_override = FALSE; // // If you do allow albums selection in popup, but want to disable it for this // product, set this to TRUE; // $album_override = FALSE;" is it correct? thanks to all |
It's probably not correct - else there would not be this error ;)
All the settings you pasted have nothing to do with database setup, tho. But that's where the error probably is. The database settings come right after the part you copied. Do the following:
|
thanks
now i have put FALSE like this $medium_override = FALSE; // // If you do allow albums selection in popup, but want to disable it for this // product, set this to TRUE; // $album_override = FALSE; // // ### If your vB and Photopost run from the same Database, ### // ### skip the following. To use different database, set ### // ### $pp_other_db to TRUE and fill in the variables ### // // Set to TRUE if using different database for vB and PP $other_db = FALSE; // Database Name $db_name = "photopost"; // Database Host $db_host = "localhost"; // Database Username $db_user = "root"; // Database Password $db_pass = ""; this is the error now Database error in vBulletin 3.8.1: Invalid SQL: SELECT id, catname FROM pp_categories WHERE cattype = 'a' AND parent = 1418 ORDER BY catname; MySQL Error : Table 'tcportal.pp_categories' doesn't exist Error Number : 1146 Request Date : Thursday, April 16th 2009 @ 11:23:42 AM Error Date : Thursday, April 16th 2009 @ 11:23:42 AM Script : http://news.tecnocomputer.it/forums/...e=vB_Editor_QR Referrer : http://news.tecnocomputer.it/forums/...ad.php?t=20763 IP Address : XXXXXXX Username : XXX Classname : vB_Database MySQL Version : 5.0.45 |
Quote:
I'm sorry, but I cannot say what your database setup looks like - that's something you'll have to know ;). Is the prefix "pp_" correct? Are you sure you installed Photopost into the same database as vBulletin (the one called "tcportal") - it does not seem to be there? |
All times are GMT. The time now is 04:58 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|