The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
![]() |
||||||||||||||||||||||||||||||||||||||||||
Photo Popup - Insert pictures easily from vB Albums, Photopost, vBGallery, Photoplog
![]() Developer Last Online: Apr 2022 ![]() ![]()
Quote:
What does it do? When creating or editing a post, your users can open a popup window that will show them pictures in the chosen gallery or albums. Now also supports attachments: Reuse what you uploaded! A click on the picture inserts it into the editor. Works with
Detailed features list
Basic Configuration
Upgrade
Support and debugging Ill help whenever I find the time. Before asking, please activate debug mode and post the information given there (especially under "Code". Please try the two links given - do they look "normal" and do they work? Debug information is only shown to Administrators (usergroup 6). Always state the products you use, including the software versions. Also read the infromation in the second post of this thread. Hopes for the future World peace, happiness, health and lot's of money ![]() Version history
Development and bugfix releases for config files If the need arises, there will be development or bugfix releases of config files between official releases of this mod. The zip file attached to this post will always be up to date. At the moment, there are no development/bugfix-releases. Translations Deutsche ?bersetzung bei vbulletin-germany.org. Arabian translation, thanks to Subah. Russian translation, thanks to nohuhu. Screenshots AdminCP, Photopost settings, Photo Popup in action, quickreply ### Don't forget to click install! ### (No support if you don't) Download Now
Screenshots
Show Your Support
|
Благодарность от: | ||
vn88.com |
Comments |
#452
|
||||
|
||||
![]() Quote:
Yes, the file was passed on to me, and should work, but since I have not succeeded in installing the new version (the light version available for free), I am unable to test it. |
#453
|
|||
|
|||
![]()
Hi. We have private categories in Photoplog Pro for certain usergroups, but anyone can see all the categories in the photo popup, so I disabled temporaly. Any solution for this?
Thanks |
#454
|
||||
|
||||
![]()
I don't understand. Everyone can only see the photos he himself uploaded. You tell me your users can upload photos they then have no permission to see? Seems not to make much sense to me if I have understood you correctly...
|
#455
|
|||
|
|||
![]()
I mean that all users can see all the categories when there are categories restricted for certain usergroups.
|
#456
|
|||
|
|||
![]()
Can anyone confirm that this works with the CND Garage system?
I can't get it to bring up any pictures???? It shows the title of the Vehicle, but no pictures. Here is the actual file path: http://www.thetruckstop.us/forum/ima...2571871491.jpg Here is url the code is supplying: http://www.thetruckstop.us/forum/ima...2571871491.jpg |
#457
|
||||
|
||||
![]()
There's a different config file somewhere with the new version of the mod; I don't offer it here since I couldn't test it (couldn't get the new garage version installed).
|
#458
|
|||
|
|||
![]()
Ok, let me explain it again.
There is an option in your product that says "Show Albums list?" (Albums -> Categories on Photopost Pro, it's the same thing). If set to yes you can browse in a menu (drop down) all the categories (or albums..) in photo popup window, with or without your uploaded photos, you can see the categories, but in my forum there are categories with permissions, and these categories can see them any user (without permssion). Sorry, my english is basic, so I explain it as better as I can. |
#459
|
|||
|
|||
![]() Quote:
Code:
<?php if (!IN_SCRIPT == "photo_popup") {die();} /* ################################################################################## ## ## ## PHOTO POPUP 3.1 ## ## configuration for *** CND Garage *** ## ## ## ## This Mod is (c) 2009 by cellarius ## ## Contributions to this config file by wottech ## ################################################################################## */ // If you do allow albums selection in popup, but want to disable it for this // product, set this to TRUE; // $album_override = FALSE; // /*################################################################################ ####### Do not change anything beyond, except you know what you are doing! ###### ################################################################################*/ /* ###### Basics ###### */ $medium_possible = 0; if ($medium_override == TRUE) { $medium_possible = 1; } $albums_possible = 1; if ($album_override == TRUE) { $album_override = 1; } $db_prefix = TABLE_PREFIX . "garage_"; /* ###### Select statement for useralbums or categories ###### */ function albums_select () { global $db_prefix; global $userid; $albums_select .= " SELECT vehicle_id, CONCAT(made_year, \" \",make, \" \",model) AS vehicle FROM " . $db_prefix . "user_vehicle LEFT JOIN " . $db_prefix . "makes ON " . $db_prefix . "user_vehicle.make_id = " . $db_prefix . "makes.id LEFT JOIN " . $db_prefix . "models ON " . $db_prefix . "user_vehicle.model_id = " . $db_prefix . "models.id WHERE " . $db_prefix . "user_vehicle.user_id = $userid ORDER BY vehicle_id "; return $albums_select; } /* ###### Select statement for pagination ###### */ function count_select () { global $db_prefix; global $userid; global $where_add; $count_select = " SELECT COUNT('attach_id') AS fotos FROM " . $db_prefix . "images INNER JOIN " . $db_prefix . "user_vehicle ON " . $db_prefix . "images.vehicle_id = " . $db_prefix . "user_vehicle.vehicle_id WHERE user_id = $userid" . $where_add . " AND attach_is_image = 1 "; return $count_select; } /* ###### Main select stateement for images ###### */ function images_select() { global $db_prefix; global $userid; global $where_add; $images_select = " SELECT " . $db_prefix . "images.vehicle_id, attach_location, attach_thumb_location FROM " . $db_prefix . "images INNER JOIN " . $db_prefix . "user_vehicle ON " . $db_prefix . "images.vehicle_id = " . $db_prefix . "user_vehicle.vehicle_id WHERE user_id = $userid" . $where_add . " AND attach_is_image = 1 ORDER BY attach_date DESC "; return $images_select; } /* ###### Construct image bits ###### */ function imagebits () { global $array; global $data_dir; global $vb_url; global $userid; global $filedir; $filedir = $vb_url . "/images/garage/attach"; $path = implode('/', preg_split('//', $userid, -1, PREG_SPLIT_NO_EMPTY)); $filedir = $filedir . '/' . $path; $img['orig'] = $filedir . "/" . $array['attach_location']; $img['thumb'] = $filedir . "/" . $array['attach_thumb_location']; $img['med'] = ""; $img['gallery'] = $vb_url . "/garage_vehicle.php?do=view_vehicle&id=" . $array['vehicle_id']; return $img; } /* ###### Albums filter ###### */ function where_add () { global $which_album; global $db_prefix; $where_add = " AND " . $db_prefix . "user_vehicle.vehicle_id = $which_album"; return $where_add; } ?> |
#460
|
|||
|
|||
![]()
Thanks so much wottech!!
Works perfect! |
#461
|
||||
|
||||
![]() Quote:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|