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 |
#102
|
||||
|
||||
Quote:
|
#103
|
||||
|
||||
Tormodg - Is this from the latest install package? I know there way one missing from before and I just combed through my file here and it seems fine. I just want to double check we are looking in the same spot
Blacklight - Ahhh... Actually rings a bell. I think I actually looked into it, but I couldnt find any efficient way of checking for the existence of the files without a lot of extra processing. |
#104
|
|||
|
|||
Geek, I have successfully managed to edit the code so that images are shown inline. Due to the limited options availabe when inserting photos, I resorted to just left-aligning them.
BUT there is a catch here. I was unable to make this work in the Enhanced WYSIWYG editor. I assume the Enhanced editor does some parsing of the images. At any rate it completely ignored any settings I tried to make. So here is my current solution: a) Opt for the Standard Editor b) create a BBcode which looks like this: Code:
<img align="{option}" src="{param}" style="padding:0 5px 5px 0;border:0;" alt="" /> Now all my images will be displayed inline and left-aligned but for my purpose that is fine. I'll see if I can do some more hacking later but right now I need to crash (it's 1:09am over here in Norway). It would be swell of course to have this work in the Enhanced Editor but I need to familiarize myself with how it works and why it is parsing out my style (I initially appended a class="geekimage" but it never shows up in my source). Edit: Wonder if this is because I have turned off HTML? Hm... |
#105
|
|||
|
|||
An added bonus to using the standard editor is that the URL is also wrapped around the thumbnail so it works swell in Firefox.
|
#106
|
||||
|
||||
Why not just add [ left ] tags to the javascript insertion code?
|
#107
|
|||
|
|||
Quote:
Edit: Another reason to use a custom BBcode is to get the custom spacing which leaves some room to the left and belom the image. |
#108
|
||||
|
||||
aw, right... Like I said - I think that the vb IMG tag gets wrapped in a DIV which would require you to edit that to get wrapped text (or as you have done - create a custom BB code).
|
#109
|
|||
|
|||
It works really well for me now! Left-aligned images, and I can control the properties by changing the BBcode if I like. Neat. And I also get the URL inserted in mozilla browser.
Another killer app from Geek. |
#110
|
|||
|
|||
ok weird..
Quote:
|
#111
|
|||
|
|||
what happens if I have no photos saved in photopost? will I get an error?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|