The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Geek Gallery Popup for vBadvanced Gallery or PhotoPost 4 or higher Details »» | |||||||||||||||||||||||||||
Geek Gallery Popup for vBadvanced Gallery or PhotoPost 4 or higher
Developer Last Online: Jan 2019
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. You must have vBadvanced Gallery installed and working or PhotoPost 4 or higher duh. 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
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
|
Comments |
#262
|
|||
|
|||
Quote:
|
#263
|
|||
|
|||
Quote:
You have my support this could be a very big feature to the Popup Hack |
#264
|
|||
|
|||
Hey Geek can you do a estimate time when will new pop up version be with categories and all...
|
#265
|
||||
|
||||
Quote:
|
#266
|
|||
|
|||
I would REALLY like to get this hack working since our gallery is a very important part of the site. I have followe all directions to the T. This is what I see when I click the "Open" link under "My Pictures". What is realyl strange is that if you look at the file it is trying to open "sparkswillfly.jpg" the file is actually there under the thumbs folder BUT there is a number one in front of teh real file ("1sparkswillfly.jpg"). Why is it looking for the wrong file?
EDIT// I just realized it was pullign info from the forums db (old tables not yet deleted) before i split the gallery db off into it's own db. HOWEVER, my gallery db is named "pimprig_com_-_gallery". How can I get this gallery db name to work right? What code needs to go where? |
#267
|
|||
|
|||
Quote:
|
#268
|
||||
|
||||
hmmm.... had another user who had the same problem and I am trying to remember what the solution was.
If I remember right - mysql hated calling that DB by the fully qualified name as it thought you were trying to use the - operator (it too had _-_ in it). Seems like the solution was to take the db prefix out, then set the DB before the query and return it back after the query. I would personally avoid using hyphens as object names for this reason (though I know that doesnt help ) |
#269
|
|||
|
|||
Quote:
|
#270
|
||||
|
||||
Just out of curiosity - can you see what happens if you put ` around the name ie `pimprig_com_-_gallery`
|
#271
|
|||
|
|||
This is what I got when I added those around the field for database name (Ex: "'pimprig_com_-_gallery'"):
Database error in vBulletin 3.0.6: 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 'pimprig_com_-_gallery'.photos AS images INNER JOIN 'pimprig_com_-_gallery'.categories AS c on images.cat=c.id WHERE images.userid=1 and images.approved=1 ORDER BY images.date DESC LIMIT 0 ,13 mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''pimprig_com_-_gallery'.photos AS images INNER JOIN 'p mysql error number: 1064 Date: Wednesday 25th of May 2005 05:40:38 PM Script: http://forums.pimprig.com/geek-gallery-popup.php Referer: Username: GlitterKill IP Address: 68.53.59.67 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|