Version: 3.00, by The Geek
Developer Last Online: Jan 2019
Version: 3.0.6
Rating:
Released: 12-17-2004
Last Update: 02-19-2005
Installs: 50
No support by the author.
IMPORTANT:
Please note that I can no longer support this project. Primarily as it is designed for vb3.0.x and I no longer use that version (im obviously on vb3.5x ). There is a version for vb3.5 over here . This project is left here for the community.
-----------------------
Inspired by mpdev's photopost popup modifcation.
I used photopost and had his modification installed. When I moved from photopost to vBadvanced Gallery, I needed the same type of hack - so here it is!
This lil doofer is designed to allow your users to open up a popup window while creating a post. The popup window will display all of the users images in thier gallery (vba or photopost) and allow them to click on an image to insert it into their post (inline). They can insert the image as a thumbnail, large image, or a clickable thumbnail that will open the large image in a seperate window. The real cool thing here is that all this works no matter which editor they are using.
Difficulty: Easy
File modifications: A few (only for phrases).
Time: About 5 minutes
Sign: Libra
Known issues:
Mozilla wysiwyg editor does not allow for html inserts which limits their options to thumbs or original pics only.
Change Log v. 3 Update 20/2/05
Rewrote most of file to include support for PhotoPost. You can now set up your installation to use either vBadvanced Gallery or PhotoPost 4 or 5. This is determined by the settings in your geek-gallery-popup.php file. Special thanks goes to MPdev for helping sort out the PP integration.
v.2.01 update 11/2/05
fixed mozilla support
v.2 update 3/1/05
Added a couple more insertion methods
Tidied up UI big time
Auto sized popup window
Finished the phrasing (found a hard coded phrase)
v.1.1 updated 21/12/04
Added phrasegroup additions to newreply, newthread and private as phrases were not appearing there (easy edits).
Made the $mediaext easier to edit (types of images allowed in popup)
Fixed typo in template that always showed the Next button (took me ages to find the stupid thing)
Fixed Back phrase as it was overwritten during the install
Fixed problem where in non wysiwyg editor, the clickable thumb was screwing up
To upgrade: Follow instructions in the Readme
Make sure you click the freaking Install button. Otherwise you will run the risk of being skipped over in my Christmas Card Mail Out.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Invalid SQL: SELECT
images.imageid, filename, thumbname, extension, images.title, categories.title AS cattitle,images.width, images.height
FROM myvb3_adv_gallery_images AS images
INNER JOIN myvb3_adv_gallery_categories AS categories USING (catid)
WHERE images.userid=22610 and extension in ('jpg','gif','png') ORDER BY dateline DESC LIMIT 0 ,13
mysql error: Table mysite_com_-_sqlname.myvb3_adv_gallery_images' doesn't exist
If you use the front end program (either PP or vBadvanced) to move or reorganise the images, then it doesnt really matter as the images will always stay in the same physical location.
If you were to manually move them, you would break the front end programs depiction of the image as well as this popup.
your updated php file isnt any good for me.
reverting back to the other one. oh well.
The only difference is that it does a check for the thumbnail before displaying it. Nothing else should have changed. My guess is that you missed a setting in the new file - hence the reason I asked you if the table exists.
The only difference is that it does a check for the thumbnail before displaying it. Nothing else should have changed. My guess is that you missed a setting in the new file - hence the reason I asked you if the table exists.
new setting? I reverted to the old file she works fine.
didnt realize I had to do mods inside the php file.
welp realized there was some code in the top that needed to be added. I totally forgot. now the window opens really small and all this text is in the box. dubble checked.
did it again. the same.
reverted back. all is well. Well the users that have that issue still are there but it still works.
Invalid SQL: SELECT
images.id AS imageid,images.cat,c.catname AS cattitle,'' AS extention,images.title,
images.bigimage AS filename,images.medsize,images.width owidth, images.height oheight,images.medwidth width,images.medheight height
FROM .photos AS images
INNER JOIN .categories AS c on images.cat=c.id
WHERE images.userid=171 and images.approved=1 ORDER BY images.date DESC LIMIT 0 ,13
mysql error: Table 'merlin_unity.photos' doesn't exist
All my file is correct yet its directing at unity.photos. The table is infact pp_photos
Try this. I reposistioned the settings as it seems that some people are having difficulty setting them all (yes - even pp has a server path). Let me know if this works for you. If so Ill update the package.