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 Details »» | ||||||||||||||||||||||||||||||||||||||||||
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 |
#252
|
|||
|
|||
Warning: this is a little bit complex, do not try this if you are not a experienced vb coder. Do it on your own risk!
to get photo popup work with images uploaded as attachments: 1. edit option "Products" (photo_popup_products), add "attachment" to validation code 2. add "attachment" to option "Products" (photo_popup_products) 3. add new phrase to "Global" group: photo_popup_attachment as "Attachments" 4. upload includes/photo_popup_config_attachment.php 5. modify photo_popup.php Code:
[FIND] $url_get_string = [ADD BELOW] $poststarttime =& $vbulletin->input->clean_gpc('r', 'poststarttime',TYPE_UINT); $postid =& $vbulletin->input->clean_gpc('r', 'postid',TYPE_UINT); if($poststarttime) $posthash = md5($poststarttime . $vbulletin->userinfo['userid'] . $vbulletin->userinfo['salt']); if($vbulletin->GPC['e'] == "vB_Editor_QR") $postid=0; $url_get_string .= "&postid=$postid&poststarttime=$poststarttime"; [FIND] if ($insert_options_count > 1) [REPLACE] if ($insert_options_count > 1&&$which_product != 'attachment') [FIND] <input name=\"e\" type=\"hidden\" value=\"$editor\" /> [ADD BELOW] <input name=\"postid\" type=\"hidden\" value=\"$postid\" /> <input name=\"poststarttime\" type=\"hidden\" value=\"$poststarttime\" /> [FIND] // Add whitespace to codebits [ADD ABOVE] if($which_product == 'attachment') { $text = $vbphrase[attachment]; $codebb = "[ATTACH]".$img['id']."[/ATTACH]"; $codehtml = $codebb; } Code:
[FIND] photo_popup.php?e=$editorid [REPLACE] photo_popup.php?e=$editorid&p=<if condition="$editorid!='vB_Editor_QR'">{$vbulletin->GPC[postid]}</if>&poststarttime=<if condition="$timenow=TIMENOW">$timenow</if> Code:
[FIND] </td> </td> </tr> [REPLACE] </tr><if condition="$can_attach"><tr><td> [<a href="#" onclick="document.getElementById('manage_attachments_button').click();return false;">$vbphrase[manage_attachments]</a>] </td> </tr></if> |
#253
|
|||
|
|||
I thought I installed it right but I recieved this message when I tried to use it
The requested URL /board/photo_popup.php was not found on this server. Plus the little camera icon isnt showing I'm only using the vbalbums and I didn't upload the folders in the other file okay got it working now Still trying to get the little camera icon to appear. |
#254
|
|||
|
|||
Thanks bjhuang, but in Quick Reply no images are presented. And if I in another Thread which I did not have uploaded images (attachments), no images are shown.
Regards, Stoebi |
#255
|
|||
|
|||
Hi, this is a great Plugin. Wonderfull
But i have a strange problem with Firefox. If i insert a picture into quick Replay Window (in wysiwyg mode) then there is "/.../" to much in the path to the picture so the img link pasted into the reply window is "______/forum/../picture.php?albumid=7______" and should be "______/forum/picture.php?albumid=7______" So you can only see a "red cross" then. If i send the Answer the image in the final post is right. If i switch to normal mode not wysiwyg then the correct Link is inserted. strange thing this only happens in quick reply, wysiwyg and with the vbulletin album and Firefox If i paste in extended reply everything works fine. If i paste from Photopost pro everything ok, also in the quick reply. very strange, any idea where the problem is? Thanks a lot for your help. ---- Update ---- I found the link from Photopost ist also inserted wrong .... "_____forum/../../gallery/data____" but since the /gallery/ is a root folder, the ../.. doesn't chance anything an the picture shows up normal Where do the "/../"s come from ? |
#256
|
|||
|
|||
Quote:
but if you wish to choose from all the attachments you uploaded before for any post, it is easy. just modify the sql in the config file. |
#257
|
||||
|
||||
Nice addition!
|
#258
|
|||
|
|||
Does this mod incorporate the VB permissions? Does it only open up albums/galleries that belong to the user or does it just open up ALL galleries and let the user browse them?
|
#259
|
||||
|
||||
good question
|
#260
|
|||
|
|||
It only opens albums/galleries belonging to the user.
|
#261
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|