View Full Version : New Posting Features - Cel Photo Popup - Insert pictures from vB Albums, Attachs, Photopost, vBGallery
cellarius
06-02-2010, 10:00 PM
Important!
Old editor (vB 4.1.3 and below): use 4.0.008!
New editor (vB 4.1.4 and above): use 4.1.00x!
What does it do?
When creating or editing a post, your users can open a popup window that will show them their pictures in the chosen gallery, albums or attachment system.
Detailed features list
see second postUpgrade from vB3 version
Please uninstall the old version at AdminCP->Plugins & Products->Manage Addons. Also remove all files you uploaded for the vB 3 version apart from the editor icon, which will be reused. This will be /photo_popup.php and all /includes/photo_popup_config_[product].php files, relative to your forum root. Then follow the installation instructions below.
Installation
Extract the archive.
Choose the products you want to use and rename the configuration files in _UPLOAD/includes/cel/cel_pp_config from .php_new to .php
If you're using Photopost Pro, you need to fill in some crucial information into the config file. Please see the config file for more information.
Upload the contents of folder "_UPLOAD" to your forum root. Note how the folder structure mirrors the folder structure in your forum root, so every file will be in the right place.
Now the Photo Popup and your chosen product configuration files will be present with default settings on your server. Later on, you may want to make adjustments there.
Install the product file at AdminCP->Plugins & Products->Manage Addons.
Template edits?
If you are using new editor, you're done.
If you are using old Editor and Template Modification System (TMS), you're done.
If none of the above two conditions apply to you, do the template modifications explained in _DOCS/OLD_EDITOR_ONLY-template_edits.txt manually for the editors you want the popup accessible from. Basic Configuration
Global configuration is done via AdminCP->Options->Cel Photo-Popup
Additionally, you can make settings and overrides in the seperate product config files. See "Product Configuration" in third post. (https://vborg.vbsupport.ru/showpost.php?p=2047583&postcount=3)Upgrade
If upgrading within the vB4 series, just reimport the product-xml-file, overwriting the old version, and reupload all files (skip the icon if you're using a custom one).
Most times you will be done, but please check in _DOCS/config_file_versions.txt whether the config file for one of the products you use has been changed since you last updated.
If the config file for one of your products has been updated, rename _UPLOAD/includes/cel/cel_pp_config from .php_new to .php and transfer your custom settings from your current config file to the new one. Then upload it to your server.Support and debugging
Please note the information in this post of this thread. (https://vborg.vbsupport.ru/showpost.php?p=2047586&postcount=4)
Version history
For older versions see the vB3 version (https://vborg.vbsupport.ru/showthread.php?t=202385) of this Mod.
### 4.1.004 ###
fixed several bugs, text-button re-added (full list (https://vborg.vbsupport.ru/showpost.php?p=2300450&postcount=256))
### 4.1.002 ###
button not showing issue resolved
### 4.1.001 ###
adapted to new vB editor, added workaround for image spacing
### 4.0.004-008 ###
bugfix releases
### 4.0.003 ###
initial release
new (core): completely rewritten code
new: categories/user albums/folders listed hierachically in albums dropdown
new: Photopost Pro and vBGallery permissions for categories
new: global permissions check
new: cache system for albums dropdown
new: override all product related AdminCP-Settings in the product config file.
** Please note that the config files for Photoplog and CND Garage have not been converted. I do not have access to vB4 versions of those two softwares for testing and developing. Whether this will change in future, I don't know - at the moment, apart from having no software access, I'm very much out of time. Anyway, the config files are not too hard to figure out and there is a short introduction to adapting them. Please feel free to convert or develop for other software, if you like, and submit to this thread or to me personally by PM.
### Don't forget to click install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=243865)! ###
(No support if you don't)
cellarius
06-03-2010, 11:39 AM
Detailed features list
Please note that not all features are available with all products. Not all products provide for every one of them.
works with vB's attachment system, the integreted album system and/or Photpost Pro and vBGallery. Decide which of them you want to use, or use them all.
active in main editor, quickreply and quickedit
up to 10 different options in what way to insert the images, you decide which to use
decide whether you want to let your users filter the images shown in the popup by albums/categories; the relevant dropdown will hierarchically mirror your album/category structure; eventual permissions will be applied
define common folders/categories. The images inside those will be accessible by every user.
code mode (by user group) to only show insertion code instead of actually inserting
stores the settings/filters the user uses in the popup in a cookie that stays valid for the session
the script will detect whether editor is in wysiwyg or codeview-mode and act accordingly, so that in wysiwyg-mode the actual image will be visible
the script will auto-close once the user saves his post
supports gallery product installation in a different database than vB's
Fully phrased
cellarius
06-03-2010, 11:39 AM
Product Configuration
It's quite straightforward, really. For most products you won't have to open the config files at all.
Additional to the global configuration settings in AdminCP->Options->vBulletin Options->Cel Photo Popup you can make settings in the config file fore every product seperately. The config file can be found at /includes/cel/cel_pp_config folder. All config files are named cel_pp_config_[name of product].
You can check this list if there is anything that you want or have to do in the config file. All settings are explained in the config files in detail, too.
There are mandatory settings only for Photopost Pro. For all other products, you can skip the rest of this point, if you want to. There may be some explanations how configuration works for your product, however.
All products:
Override your AdminCP settings for every product in the config file.
Set a list of public categories/albums for all of your users to access
Photopost: For this product, there are several mandatory settings to be done:
$url_path: The URL to the directory where your gallery index page resides (starting with http://) (http://%29)
$data_dir: The URL to the directory where Photopost stores the uploaded images (default is subdirectory data in the gallery root
$db_prefix: The Prefix used in the Photopost database. Default is "pp_".
if you have a different database, you have to provide the settings for database name, host, user and password.
vBGallery:
Photo Popup determines whether your vBG is configured to run in safe mode environment. If this is the case, the folder structure in your data directory is different. The script will adapt accordingly.
Example: data folder for user 1234. Safe mode on will result in a folder structure 1/2/3/4, while safe mode off will leave it at 1234.
VBGallery can be configured to save the original image files when uploading. If this is the case, Photo Popup will automatically link these original files to the insert options for "original" images. The image size used on vBG pages will be linked to "medium" options. If vBG does not safe original images, the size used on vBG pages will be linked to "original" and "medium" options will be deactivated.Files, templates and phrases
Files:
------
photo_popup.php
includes/cel/cel_pp_cless.php
includes/cel/cel_pp_class_albums.php
includes/cel/cel_pp_class_attachments.php
includes/cel/cel_pp_class_photopost.php
includes/cel/cel_pp_class_vbgallery.php
includes/cel/cel_pp_debug.php
includes/cel/cel_pp_functions.php
includes/cel/cel_pp_config/cel_pp_config_albums.php
includes/cel/cel_pp_config/cel_pp_config_attachments.php
includes/cel/cel_pp_config/cel_pp_config_photopost.php
includes/cel/cel_pp_config/cel_pp_config_vbgallery.php
AdminCP:
--------
vBulletin Options Group: Cel Photo Popup
Phrases: prefixed cel_pp
Template: cel_photo_popup
CSS-Template: cel_photo_popup.css
For translations vB3->vB4 see next post.
cellarius
06-03-2010, 11:43 AM
Support and debugging
Ill help whenever I find the time. Please help me by doing the following:
Before asking, please activate debug mode in AdminCP. Debug information is only shown to Administrators (usergroup 6). Always state the products you use. Some hints:
When posting the information given there, please do so using debug info-BBCode to keep this thread clear. Thank you!
Please try the two links given (if present) - do they look "normal" and do they work?
I may ask you to provide AdminCP, FTP and Database access. I realize this requires quite some trust, but up to now I managed neither to crash any boards nor to steal any data. So, if you're willing to do so, I promise to behave and be cautious, but won't be liable for anything ;):
Regarding the Admin Account to your forum, please make sure it has the necessary administrator permissions so I can access the options page and the template system.
I will need FTP access to your forum on root level.
If necessary, I may upload a small mysql tool called adminer (http://www.adminer.org/) to access your database.
A note on vBGallery and Photoplog support
I have installed vBGallery only in a local testing environment. Please note that I can only give limited support. CND Garage and Photoplog which were previously supported I do have no access to in vB4 versions, so at the moment they will not be converted.
A note on "conflicts" with other editor/quickreply/quickedit mods
Normally, there should be no fundamental conflict. The template edits for this mod do nothing but to add an additional button to the toolbar in quickreply and quickedit and a link to the main editor.
However, if other mods you have installed already induced template changes there, you might have to adapt the template changes accordingly. A good solution might be to melt the template changes for this mod into the template changes for the other. I'm afraid I'll not be able to help you there, since I do not have those mods installed. But ask away here or, perhaps even more promising, in the thread for the other mod, perhaps anyone else has.Please take note of this post here, too.
On principle, you should be able to add the link that opens the popup anywhere within the various editor-tamplates in any form you like - whether you put up text or the button in front of the link, doesn't really matter. What you essentially need is a link like this one somewhere within the editor:
<a href="#" onclick="window.open(getBaseUrl() + '/photo_popup.php?{vb:raw session.sessionurl}e={vb:raw editorid}','fotos','scrollbars=yes,resizable=yes,w idth={vb:raw vboptions.cel_pp_width},height={vb:raw vboptions.cel_pp_heigth}'); return false" title="{vb:rawphrase cel_pp_insertlink}">{vb:rawphrase cel_pp_my_photos}</a>If you don't want text, remove "$vbphrase[photo_popup_insert]" and replace it with the editor image "$vbphrase[photo_popup_insert]" - or anything else.
Note for translations vB3 -> vB4
The prefix for phrases has changed from photo_popup_ to cel_pp_. You should be able to do a search/replace easily. There have been no new phrases introduced (If I didn't overlook anything).
Xencored
06-03-2010, 11:50 AM
Ahhh About time thanks alot mate will try this in 10 mins :) and report back^^
Thanks
Xencored
06-03-2010, 12:05 PM
Right mate problem
After clicking "my photos"
gives double "/"
http://www.myanimeisland.com//photo_popup.php?e=vB_Editor_001
cellarius
06-03-2010, 12:13 PM
Ah, thanks for the notice, will fix it immediately. Package temporarily removed to do so.
Xencored
06-03-2010, 12:16 PM
Ah, thanks for the notice, will fix it immediately. Package temporarily removed to do so.
hehe nps give us a buzz on the reupload :up:
cellarius
06-03-2010, 01:49 PM
Sorry for the delay, package back up. Squashed another bug, too :)
Please reupload the files, reimport the product and if you did template edits find
/photo-popup.php?
and manually remove the leading slash.
Xencored
06-03-2010, 01:58 PM
Thanks alot mate top mod
cellarius
06-03-2010, 02:10 PM
Thanks :) Let me know should you find further bugs. (I hope there arn't *lol*)
patrick91
06-03-2010, 03:40 PM
Thank you very much! finally it's here will install it tonight...:D klicked Installed, MOTM and rated 5 stars!
cellarius
06-03-2010, 03:51 PM
OK, here's some info about the CMS issues. Because of those the photo popup mod is at the moment not officially supported for use in CMS.
The editor does somehow change the urls of the inserted code and thus breaks links, and it does try to convert attachments/album pics into [attach]-code, which does go wrong somehow. If you want to try for yourself, do the same edit as for every other editor to vbcms_editor_toolbar_on, which will make the popup available.
cellarius
06-03-2010, 03:55 PM
Thank you very much! finally it's here will install it tonight...:D klicked Installed, MOTM and rated 5 stars!
Thank you :)
cyberbob73
06-03-2010, 04:13 PM
Irgendwie funktioniert die Zusammenarbeit mit Photopost nicht :mad:
Hab die cel_pp_config_photopost.php zwar angepasst, aber ich bekomm beim Aufruf im Editor immer einen DB Fehler.
Hier mal meine cel_pp_config_photopost.php
/*##########################
##### Special settings #####
################################################## ##############################
#
# Below, you will find special settings for this product. They need to be
# filled in.
*/
// The values for the following settings can be found in Photopost Administration
// Center
// Full URL path to Gallery: http://www.yoursite.com/path/to/gallery/
//
$url_path = "http://www.meinewebseite.de/forum/photopost/";
//
// Full URL path to Data Dir: http://www.yoursite.com/path/to/gallery/data/
// Look for this in PP-Administration->Global Options->URL to PhotoPost data directory
//
$data_dir = "http://www.meinewebseite.de/forum/photopost/data/";
//
// Table prefix. pp_ is the default setting.
// You may have changed this on installation of Photopost Pro.
// Look for this in PP-Administration->Edit Config->PhotoPost Database Prefix
//
$db_prefix = "pp_";
//
// ### If your vB and Photopost run from the same Database, ###
// ### skip the following. To use different database, set ###
// ### $pp_other_db to TRUE and fill in the variables ###
//
// Set to TRUE if using different database for vB and PP
$other_db = TRUE;
// Database Name
$db_name = "db28xxxx_3";
// Database Host
$db_host = "mysql5.meinewebseite.de";
// Database Username
$db_user = "db28xxxx_3";
// Database Password
$db_pass = "meinPW";
// Enter a comma seperated list of category/album ids. The categories/albums
// will be made available to all users. This allows you to offer an image
// repository to your users.
// Example: $public_ids = "4,8,10";
//
// $public_ids = "";
Was mach ich falsch :confused:
Globe
06-03-2010, 04:43 PM
it would be cool if it supports photoplog
Kolbi
06-03-2010, 04:45 PM
Will DTO Garage Plus be integrated after there vB4 release?
cellarius
06-03-2010, 05:07 PM
Hab die cel_pp_config_photopost.php zwar angepasst, aber ich bekomm beim Aufruf im Editor immer einen DB Fehler.
Hier mal meine cel_pp_config_photopost.php
Was mach ich falsch :confused:
You should post in english, if possible, as this is the language of this forum ;) I have a PPP setup with a different database up and running. To help you with a database error, it would be helpful to know what the error says.
cellarius
06-03-2010, 05:09 PM
it would be cool if it supports photoplog
As stated I do not have access to Photoplog. I don't say it won't happen, but at the moment there are no concrete plans.
Hello I am trying to do photopost only integration. My gallery is rather large:
http://www.coinforums.com/gallery
Do I need to set public ID's for this in config_photopost? If so, where can I get this list?
Right now I click on the insert image icon, and it says I have no photos uploaded :(
Thanks :)
cyberbob73
06-03-2010, 05:13 PM
You should post in english, if possible, as this is the language of this forum ;) I have a PPP setup with a different database up and running. To help you with a database error, it would be helpful to know what the error says.
Leider ist mein denglisch nicht so dolle :( Aber du wirst doch sicherlich dieses Addon auch auf vb-g.org ver?ffentlichen :confused: - dann warte ich eben solange ;)
cellarius
06-03-2010, 05:19 PM
Hello I am trying to do photopost only integration. My gallery is rather large
Gallery size should not matter.
Do I need to set public ID's for this in config_photopost? If so, where can I get this list?Default behaviour is for the popup to show only your own photos. So, if the user account has no photos uploaded, you will get that message. If you want to make all photos of a category available to all users, independent of who has uploaded them, you need to add the category id to the public ids list as described in the config file. There is no list for the category ids. You will find the id in the link to the category, for example: showgallery.php?cat=2.
Please mark the mod as installed.
cellarius
06-03-2010, 05:20 PM
Leider ist mein denglisch nicht so dolle :( Aber du wirst doch sicherlich dieses Addon auch auf vb-g.org ver?ffentlichen :confused: - dann warte ich eben solange ;)
Das habe ich momentan nicht vor - mir ist es eigentlich zu m?hsam, in zwei Threads zu supporten. Was ich oben meinte: Bitte zitiere mal den vollst?ndigen Datenbankfehler.
cyberbob73
06-03-2010, 05:26 PM
Das habe ich momentan nicht vor - mir ist es eigentlich zu m?hsam, in zwei Threads zu supporten. Was ich oben meinte: Bitte zitiere mal den vollst?ndigen Datenbankfehler.
Ok - ist auch verst?ndlich.
Erstmal vorab, ich hab f?r vb4 und Photopost 2 Datenbanken
In die cel_pp_config_photopost.php hab ich die Daten der Photopost DB eingetragen.
Wenn ich nun ?ber den editor und dein Addon ein Bild aus Photopost einf?gen will, bekomm ich folgenden Fehler....
Datenbankfehler in vBulletin 4.0.3:
Invalid SQL:
SELECT COUNT('id') AS fotos
FROM pp_photos
WHERE
(userid = 1
)
AND storeid = 0
AND approved = 1;
MySQL-Fehler : Table 'db284492_4.pp_photos' doesn't exist
Fehler-Nr. : 1146
Fehler-Zeit : Thursday, 03.06.2010 @ 20:21:19
Datum : Thursday, 03.06.2010 @ 20:21:20
Skript : http://www.meinewebseite.de/forum/photo_popup.php?e=vB_Editor_QE_1
Referrer : http://www.meinewebseite.de/forum/showthread.php?3-cyberbob73-testet
IP-Adresse : 95.208.180.241
Benutzername : cyberbob73
Klassenname : vB_Database
MySQL-Version : 5.1.45-log
Meine vb4 DB = db28xxxx_4
Meine PP DB = db28xxxx_3
Gallery size should not matter.
Default behaviour is for the popup to show only your own photos. So, if the user account has no photos uploaded, you will get that message. If you want to make all photos of a category available to all users, independent of who has uploaded them, you need to add the category id to the public ids list as described in the config file. There is no list for the category ids. You will find the id in the link to the category, for example: showgallery.php?cat=2.
Please mark the mod as installed.
Right, I know gallery size makes no difference, I was unsure if I had to specify categories. Ok, with that out of the way, it is still saying I have uploaded no images to the gallery.
I ran the query on the server and it is showing all uploads correctly with the Images Query. However, nothing is displaying for images.
Version:
Photo Popup Settings (from AdminCP)
num_of_cols: [3]
num_of_rows: [3]
num_total:9
widht: 600
heigth: 680
products: photopost attachments
insert_options_allowed: link_thumb_2_orig link_thumb_2_gallery link_med_2_orig link_med_2_gallery thumb med orig thumb_2_gallery_link_below med_2_gallery_link_below orig_2_gallery_link_below
allow_albums: 0
code_usergroups: 6
Code (this is what is inside the table cells)
Images query
SELECT id, userid, bigimage, cat, medsize FROM pp_photos WHERE (userid = 1 ) AND storeid = 0 AND approved = 1 ORDER BY date DESC LIMIT 0, 9
Albums query:
Pagination query: SELECT COUNT('id') AS fotos FROM pp_photos WHERE (userid = 1 ) AND storeid = 0 AND approved = 1
Link to Original
Link to Thumb
Used product: photopost
Albums possible: 1
Albums override:
Cookie
Read Cookie:
Set Cookie: photopost,,link_thumb_2_orig,1
Table building (rows and columns)
any ideas?
cellarius
06-03-2010, 05:31 PM
Wenn ich nun ?ber den editor und dein Addon ein Bild aus Photopost einf?gen will, bekomm ich folgenden Fehler....
MySQL-Fehler : Table 'db284492_4.pp_photos' doesn't existDie Tabelle pp_photos existiert nicht in der von Dir eingetragenen Datenbank. Ich vermute mal, Du verwendest entweder kein Tabellenpr?fix oder eines, das vom Standars abweicht ("pp_"). ?berpr?fe das in der Datenbank und in Deiner config:
// Table prefix. pp_ is the default setting.
// You may have changed this on installation of Photopost Pro.
// Look for this in PP-Administration->Edit Config->PhotoPost Database Prefix
//
$db_prefix = "pp_";
cyberbob73
06-03-2010, 05:38 PM
Doch das Pr?fix stimmt schon -
ABER
Die PP DB ist eben nicht db28xxxx_4 sondern db28xxxx_3
Und so hab ich das auch in die cel_pp_config_photopost.php eingetragen.
Aber auch wenn ich in der cel_pp_config_photopost.php die vb4 DB eintrage - bekomm ich gleichen Fehler.
Stimmt doch, das ich in die cel_pp_config_photopost.php meine Photopost DB Daten eintragen mu? ?
cellarius
06-03-2010, 05:43 PM
Aktiviere den Debug-Modus und poste mal die Zeilen zu
Photopost Settings (from config file, only if photopost is selected product)
Datadir:
Other DB?:
Name of db:
cyberbob73
06-03-2010, 06:02 PM
Aktiviere den Debug-Modus und poste mal die Zeilen zu
Das ist meine Ausgabe (Name of db: - diese Option gibt es bei mit gar nicht)
Photopost Settings (from config file, only if photopost is selected product)
Datadir: /
Other DB?:
cellarius
06-03-2010, 06:13 PM
Aus irgend einem Grund wird bei Dir die $other_db = TRUE; nicht verwertet. Setze die Variable mal auf = 1; anstatt TRUE.
Still no luck here. Keeps showing as no images uploaded. Oh well.
cyberbob73
06-03-2010, 06:21 PM
Aus irgend einem Grund wird bei Dir die $other_db = TRUE; nicht verwertet. Setze die Variable mal auf = 1; anstatt TRUE.
Geht auch nicht :mad:
Und laut der Fehlermeldung steht dort auch die falsche DB drinn.
MySQL-Fehler : Table 'db28xxxx_4.pp_photos' doesn't exist
Denn die Table pp_photos ist ja nicht in der vb4 DB (db28xxxx_4) sondern in der Photopost DB (db28xxxx_3)
cellarius
06-03-2010, 06:28 PM
Still no luck here. Keeps showing as no images uploaded. Oh well.
I'm thinking about your's too, but I can't think of anything. Would you give me access to your site? (Account with images uploaded, best with AdminCP permissions, and FTP?)
Geht auch nicht :mad:
Und laut der Fehlermeldung steht dort auch die falsche DB drinn.
Ja, das ist die direkte Folge davon. Ich m?sste mir das mal direkt anschauen. Wenn Du willst, kannst Du mir einen Zugang zu Deiner Seite per PN schicken. (Admin-Account mit hochgeladenen Fotos, FTP).
I'm thinking about your's too, but I can't think of anything. Would you give me access to your site? (Account with images uploaded, best with AdminCP permissions, and FTP?)
Yeah let me make a test user for you and I'll PM it
cyberbob73
06-03-2010, 06:41 PM
Hast Post ;)
cory_booth
06-03-2010, 11:04 PM
AWESOME!
Add plugin and noticed all the config files have both .php and .php_new in the config directory. I am running vbgallery and even though I made sure the config.php file is present and I added vbgallery to ADMINCP, the add-in does not showup in the drop down... Any suggestions?
cory_booth
06-03-2010, 11:10 PM
I tried the included .php rather than the .php_new and now I have:
Fatal error: Call to a member function query_read_slave() on a non-object in /home4/xxxxxx/public_html/yyyyyyyy/includes/class_bbcode.php on line 220
cellarius
06-04-2010, 03:14 AM
Bugfix release 4.0.004
Fixes some minor glitches and a design issue with the Photopost Pro implementation. This hopefully should fix the issues discussed in this thread. Thanks to cyberbob for giving me full access to his board, so I could track down the bug. Also the error reported by cory_booth has been fixed.
Please reimport the product file and upload the files. There have been no changes to config files.
.
.
cellarius
06-04-2010, 03:33 AM
Will DTO Garage Plus be integrated after there vB4 release?
Just had a quick look at the install file of it - seems quite straightforward. Wouldn't be too hard, so I don't say no, but a rather vague maybe. ATM I don't have the time, but for someone with a little coding experience it probably wouln't be hard to do it himself in this case.
I tried the included .php rather than the .php_new and now I have:
Fatal error: Call to a member function query_read_slave() on a non-object in /home4/xxxxxx/public_html/yyyyyyyy/includes/class_bbcode.php on line 220
I'm not sure I followed everything you tried correctly; please let me know whether the new build fixed your problems.
cory_booth
06-04-2010, 02:12 PM
Reupped the latest build (.04) and still not seeing the vbgallery in the drop down.
As I read the instructions:
1. Upload all files to site
2. Rename the includes/cel/product.php_new to .php (in my case, vbgallery) - I made no changes to the file.
3. Add vbgallery to ADMINCP area under Photo Popup.
Now when I attempt to use - the popup window comes up and the Album and Attachments are available, but the spot where vbGallery should be is blank. Selecting the blank area forces you back to Album.
No errors, however.
sebaldus
06-04-2010, 02:26 PM
Are the download Zip link dead?
I can open all other addons and download, but not this one..
Someone?
Regards from sebaldus.:eek:
cellarius
06-04-2010, 02:32 PM
Are the download Zip link dead?
No, works just fine for me.
sebaldus
06-04-2010, 02:42 PM
No, works just fine for me.
Thanks, then I have to change my from my main PC to another and try again.. :)
Regards from Sebaldus:up:
cellarius
06-04-2010, 02:52 PM
Now when I attempt to use - the popup window comes up and the Album and Attachments are available, but the spot where vbGallery should be is blank.
You seem to be missing a phrase, at least. If you want to, provide me with AdminCP and FTP access via PM (https://vborg.vbsupport.ru/showpost.php?p=2047586&postcount=4).
Ok new version works, thank you!
Woah, URL's are VERY long. Exceeding server limit, is there any way of shortening these??
I click on page 2 with Photopost integration and the link is 47,000 characters long!!
cellarius
06-04-2010, 05:35 PM
Uh. Shouldn't be that long. I'll look into it. But just to know - about how many categories do you have (meaning: how many entries in the albums dropdown? That list is passed via get, but I'm quite sure you won't have > 1000 of them... ;)
Uh. Shouldn't be that long. I'll look into it. But just to know - about how many categories do you have (meaning: how many entries in the albums dropdown? That list is passed via get, but I'm quite sure you won't have > 1000 of them... ;)
A LOT. Around 1250 to 1400.
Uh. Shouldn't be that long. I'll look into it. But just to know - about how many categories do you have (meaning: how many entries in the albums dropdown? That list is passed via get, but I'm quite sure you won't have > 1000 of them... ;)
Should I change is to POST instead?
EquinoxWorld
06-04-2010, 05:56 PM
hello,
I am having a bit of trouble with this mod, when I click on the image to place in post the popup redirects to my homepage and when I turned on code mode to get the bbcode or html code to paste I only get https://vborg.vbsupport.ru/ with no domain name? Any thoughts as to why would be very helpful, this is a very useful mod to have for any forum.
ps I am using albums only and original image as setting.
ps.: I have reinstalled everything and made sure about the template edits and when I click on an image to add it , it redirects me to the home page and same thing happening as before , there is no domain name before /forum/
cellarius
06-04-2010, 08:21 PM
Should I change is to POST instead?
Nope. Next build will use the datastore instead. This should resolve any issues. If you want to try on your forum, use the attached photo_popup.php
EquinoxWorld
06-04-2010, 08:34 PM
would this new file fix my issue as well?
cellarius
06-04-2010, 08:53 PM
hello,
I am having a bit of trouble with this mod, when I click on the image to place in post the popup redirects to my homepage and when I turned on code mode to get the bbcode or html code to paste I only get /forum/attachment.php?attachmentid=4133&thumb=1 with no domain name? Any thoughts as to why would be very helpful, this is a very useful mod to have for any forum.
would this new file fix my issue as well?
Please be patient, one after the other ;)
No, this file would not help you, since you're having completely different issues. Your problem is from a fix that was introduced into the vB3 version because of a problem when vbseo was activated. See attached a class files that disable this fix for albums and attachments - it might no longer be necessary. Please try, and if possible, just make a post for me in some test forum of your board, insert some images and link it here or send the link to me. I'd like to have a look wheter that bug is still present. I don't have vbseo on any of my testboards. Thank you!
New one works, thanks.
When I insert image with link to gallery image, should it be linking to the actual gallery URL?
(e.g. should clicking on image send user to www.coinforums.com/gallery/ [imageurl?]
Installed !
but can i request feature ?
we can CHECK LIST on Image
then click INSERT THEM :D
cellarius
06-04-2010, 09:40 PM
I do not quite understand what you are requesting, but additional features are not likely at the moment.
I do not quite understand what you are requesting, but additional features are not likely at the moment.
ok
for now i can't insert more than 1 image
because if i CLICK 1 Picture and just insert 1 picutre attachement [img]
but i can't insert more than 1
cellarius
06-04-2010, 09:44 PM
What keeps you from clicking on another image, and another, and another? You can insert as many images as you want.
What keeps you from clicking on another image, and another, and another? You can insert as many images as you want.
yess
but, i can't click another image, just 1 image
after click 1 image, then click another not work
in my EDITOR MESSAGE don't show another [img]
just 1 :)
cellarius
06-04-2010, 09:54 PM
Sorry, I'm not really sure what you want to say... as soon as you click on an image, it goes to the editor. You click the next, it goes to the editor. And so on. It it is not like that for you, you need to give more information. If it is, it's working as designed, and I just don't understand what you are missing.
Sorry, I'm not really sure what you want to say... as soon as you click on an image, it goes to the editor. You click the next, it goes to the editor. And so on. It it is not like that for you, you need to give more information. If it is, it's working as designed, and I just don't understand what you are missing.
aah ok :D
but i have error here
if i login with Administrator
i can use Cel Photopopup
but if i use REGISTERD MEMBER
show this error :
Photo Popup Error #2: missing config file
The class file includes/cel/cel_pp_class_ and/or the configuration file cel/cel_pp_config/cel_pp_config_ for this product is missing. Please consult installation instructions for this mod.
cellarius
06-04-2010, 10:15 PM
Have you added/removed any products? Try cleaning your cookies. There is no iteration between usergroups that could lead to this error.
cellarius
06-04-2010, 10:21 PM
New one works, thanks.
When I insert image with link to gallery image, should it be linking to the actual gallery URL?
(e.g. should clicking on image send user to www.coinforums.com/gallery/ (http://www.coinforums.com/gallery/) [imageurl?]
It should link to the gallery page of the image. Like this: http://www.coinforums.com/gallery/eritrea/p1748-eritrea-5nakfa.html
Are there issues with this? This might be because of the new friendly urls Photopost introduced. Or do you run vBSEO?
EquinoxWorld
06-05-2010, 12:10 AM
Please be patient, one after the other ;)
No, this file would not help you, since you're having completely different issues. Your problem is from a fix that was introduced into the vB3 version because of a problem when vbseo was activated. See attached a class files that disable this fix for albums and attachments - it might no longer be necessary. Please try, and if possible, just make a post for me in some test forum of your board, insert some images and link it here or send the link to me. I'd like to have a look wheter that bug is still present. I don't have vbseo on any of my testboards. Thank you!
Thank you very much for the help. Those 2 files did the trick ! Everything is perfect now, this is an amazing mod, really help, thank you for the great addition.
punchbowl
06-05-2010, 12:23 AM
Please be patient, one after the other ;)
No, this file would not help you, since you're having completely different issues. Your problem is from a fix that was introduced into the vB3 version because of a problem when vbseo was activated. See attached a class files that disable this fix for albums and attachments - it might no longer be necessary. Please try, and if possible, just make a post for me in some test forum of your board, insert some images and link it here or send the link to me. I'd like to have a look wheter that bug is still present. I don't have vbseo on any of my testboards. Thank you!
I was having the same problem on localhost with no vbseo. Now it works but the pop-up window still redirects to home staright after the code is posted. Also the pop-up window has this at the top:
"Notice: Use of undefined constant IN_SCRIPT - assumed 'IN_SCRIPT' in C:\wamp\www\4\photo_popup.php on line 2" (probably my wamp/php setting)
Also it seems to requery and reproduce the page whenever the 'Insert What' drop down is changed.
I still thrilled with it already though! :up:
Cheers
cellarius
06-05-2010, 12:43 AM
I was having the same problem on localhost with no vbseo. Now it works but the pop-up window still redirects to home staright after the code is posted.
The fix was applied no matter whether vbseo exists or not, since it did not disturb the mod under vB3. The issue now very likely is caused by the use of the base tag.
Also the pop-up window has this at the top:
"Notice: Use of undefined constant IN_SCRIPT - assumed 'IN_SCRIPT' in C:\wamp\www\4\photo_popup.php on line 2" (probably my wamp/php setting)
No, typo on my behalf. Has to be THIS_SCRIPT, of course. Working on something else that uses IN_SCRIPT, so that's probably why. Will be fixed in next.
Also it seems to requery and reproduce the page whenever the 'Insert What' drop down is changed.
Yes, it does - because the code behind every single thumbnail on the page needs to be changed. Working as desidned.
cellarius
06-05-2010, 01:26 PM
Bugfix release 4.0.005
Aimes to fix all issues reported up to now in this thread.
Please reimport the product file and upload all files. There have been no changes to config files.
It should link to the gallery page of the image. Like this: http://www.coinforums.com/gallery/eritrea/p1748-eritrea-5nakfa.html
Are there issues with this? This might be because of the new friendly urls Photopost introduced. Or do you run vBSEO?
Hey Cellarius.
I'm running vBSEO and I also have 'SEO Friendly' URL's on Photopost. If I choose, for instance, 'Original, Link to Gallery Below' it will show the image correctly, but there is no link to the gallery below or anything, it just pops up the image in a lighbox:
http://www.coinforums.com/f65/image-test-378/#post1544
Could be because of lytebox mod?
Deviant K1
06-05-2010, 03:34 PM
INSTALLED!
Thx Cellaruis!
cellarius
06-05-2010, 03:36 PM
Can't say for sure, since I don't know that mod, but that is very probable. You could always use this option as what it is now and change the phrase accordingly.
4.0.005 Won't work at all now on the site, doesn't display any images at all when I click on icon (e.g.: http://www.coinforums.com/photo_popup.php?e=vB_Editor_001) is blank?
edit: uninstalled completely and reinstalled instead of importing over and allowing rewrite. problem fixed.
Can't say for sure, since I don't know that mod, but that is very probable. You could always use this option as what it is now and change the phrase accordingly.
I tried disabling any mod's I thought would be interfering with your mod, but still does not link correctly. Can you show me a page that it links correctly to a gallery so I can take a look and see how a working example works?
Thanks! :) Great mod will really work on our site since our gallery and forums and tied in pretty tightly.
cellarius
06-05-2010, 04:58 PM
Sorry, my live board is still 3.8 and my test boards are local, so no, I can't provide a link. But I'm pretty sure it has to be that lytebox of yours. It messes upon insertion, so disabling afterwards won't help. It inserts stuff into the links. When looking at the sourcem I see rel=lytebox there - nothong that my mod would put there.
Sorry, my live board is still 3.8 and my test boards are local, so no, I can't provide a link. But I'm pretty sure it has to be that lytebox of yours. It messes upon insertion, so disabling afterwards won't help. It inserts stuff into the links. When looking at the sourcem I see rel=lytebox there - nothong that my mod would put there.
The mod I am using is: https://vborg.vbsupport.ru/showthread.php?t=230411
What I don't understand is when you choose 'thumbnail with link to gallery below' is it supposed to be inserting a text link below the image or what should it be doing?
cellarius
06-05-2010, 07:08 PM
You're really good at finding all the stones vB4 is throwing at me ;)
Bugfix release 4.0.006
Link below insertion options fixed plus a filtering issue that showed under certain circumstances.
Please reimport the product file and upload all files. There have been no changes to config files.
.
You're really good at finding all the stones vB4 is throwing at me ;)
Bugfix release 4.0.006
Link below insertion options fixed plus a filtering issue that showed under certain circumstances.
Please reimport the product file and upload all files. There have been no changes to config files.
.
Heh. I'm sorry.. :) but here is another problem, the program works okay, but if I choose "Show Album List?" to YES, and I click on icon to insert the image, I only get a blank popup (http://www.coinforums.com/photo_popup.php?e=vB_Editor_001 is blank). If I put it to 'NO', then it works okay, but obviously does not show the album list.
Smiler2009
06-05-2010, 08:43 PM
Hi,
First, thanks for this super mod. I do have one small problem. I am shown the debug information everytime I use your mod even though I have it turned off in the config.
Any ideas where to look
Using latest .006 version
Jeff.
Hi,
First, thanks for this super mod. I do have one small problem. I am shown the debug information everytime I use your mod even though I have it turned off in the config.
Any ideas where to look
Using latest .006 version
Jeff.
I noticed this too :) Sorry Cellarius :)
cellarius
06-05-2010, 09:12 PM
Confirmed & resolved for next version, and I'll update the .006 build. Who already downloaded it may just upload the attached photo_popup.php.
cellarius
06-05-2010, 09:14 PM
No need to be sorry - at least I'm faster with my maintenance releaes than vBS/IB is :D
SCNR
cellarius
06-06-2010, 08:58 PM
Bugfix release 4.0.007
This will be the last bugfix release for some time if there don't come up major flaws - atm, I'm not aware of any pending issues. I'm away on business for three of the next four weeks - apart from that there's the soccer world cup :)
Fixed in this one: debug permissions, attachments folder list now contains root ("folder"), a filtering issue with the albums list, and the insert option "image with link below".
Please reimport the product file and upload all files. There have been no changes to config files.
AURFSCAN
06-07-2010, 12:23 AM
invalid zip file here
I still get blank html page when using 'show album list'. It worked at version 002 or 003, whichever used the GET. Ever since you changed that it won't display the album list from photopost, it just shows blank page.
cellarius
06-07-2010, 04:37 PM
invalid zip file here
Opens fine for me with Winrar and 7zip...
AURFSCAN
06-07-2010, 07:07 PM
ok thx cellarius, on 2 pc's wont open with winzip... will try with other
Hmmm... I'm getting a memcached error. Anyone else using memcached with this mod?
Warning: Memcache::get() [memcache.get]: Key cannot be empty in [path]/includes/class_datastore.php on line 295
This error pops up in the new window after clicking 'My Photos'.
cellarius
06-11-2010, 06:37 AM
Try the following: Open photo_popup.php and find around line 22
$specialtemplates = array('');
Change it to
$specialtemplates = array();
Does this resolve the issue?
Try the following: Open photo_popup.php and find around line 22
$specialtemplates = array('');
Change it to
$specialtemplates = array();
Does this resolve the issue?
It does indeed! Thank you!
Now I just need to figure out why the My Photos link appears in a crazy place...
edit: Anyone else seen this issue? I don't have any other TMS edits affecting this template and the template itself is unmodified.
http://uselessforums.com/attachment.php?attachmentid=3113
cellarius
06-12-2010, 10:09 AM
I still get blank html page when using 'show album list'. It worked at version 002 or 003, whichever used the GET. Ever since you changed that it won't display the album list from photopost, it just shows blank page.
I doubt it's an issue connected to the use of cookies, may be a coincidence of sorts. If you provide me with AdminCP and FTP access (https://vborg.vbsupport.ru/showpost.php?p=2047586&postcount=4), I'll have a look.
patrick91
06-13-2010, 11:12 AM
I don't understand how to get this to work?:S upload content en imported the xml. but nothing to see on my forum... I also don't understand what to do with the config files.. i want to use this for albums..
cellarius
06-13-2010, 12:22 PM
Did you rename the config file and do the template edits as per installation instructions?
patrick91
06-13-2010, 01:00 PM
Did you rename the config file and do the template edits as per installation instructions?
No, :P thought it was only for the 4.00000003 version... so i will do that now! Thnks
cory_booth
06-17-2010, 12:08 AM
mysql_num_rows(): supplied argument is not a valid MySQL result resource in [path]/photo_popup.php on line 292
Rckcrwlr
06-23-2010, 12:26 PM
I am getting that the zip file is empty????
cellarius
06-23-2010, 12:34 PM
I am getting that the zip file is empty????
I really don't know what the issue with the zip file is - I can download and open it just fine. To make sure, I'll repack and reupload. Please try a again in a few.
Rckcrwlr
06-23-2010, 06:27 PM
I really don't know what the issue with the zip file is - I can download and open it just fine. To make sure, I'll repack and reupload. Please try a again in a few.
The repack worked...Thanks
Installing now...
intelgio2
06-30-2010, 12:14 PM
I have installed the module and everything works fine with the exception of the image tags populating. The URL tags populate fine.
I have tried to add just the photo and am unable to.
Gun Geek
07-01-2010, 07:12 PM
I have a quick question, everything seems to be working properly. But, I would like it to work with this mod BBR - Resize Images with lytebox v3.22 https://vborg.vbsupport.ru/showthread.php?t=230411. Is there anyway to get it to do that? I like how that one does the lytebox if we can get them integrated together that would be beyond awesome... it would be beawsome.
intelgio2
07-03-2010, 01:52 PM
Is there a solution to this? I have searched the 3.8 version mod and have not been able to find an answer
I have installed the module and everything works fine with the exception of the image tags populating. The URL tags populate fine.
I have tried to add just the photo and am unable to.
cellarius
07-03-2010, 04:11 PM
Why would you search the 3.8 thread if you are using the vB4 versioin? And no, I can't offer a solution as long as there are no informations provided at all.
intelgio2
07-03-2010, 05:24 PM
Why would you search the 3.8 thread if you are using the vB4 versioin? And no, I can't offer a solution as long as there are no informations provided at all.
I searched the 3.8 thread because if there was a solution posted that I might be able to use to troubleshoot, I would use it to do so...
The BB Code generated by the mod is where I am having trouble. The code generated for the URL works fine, but the IMG code does not populate. When I select any of the options that display the image, I get the opening and closing IMG tags. The image information is not brought into the tags.
cellarius
07-04-2010, 07:18 AM
I understood all of that. But once again: as long as you don't provide me with a bare minimum of information, I can't (and won't) give support. There is a reason that this
Support and debugging
Please note the information in this post of this thread. (https://vborg.vbsupport.ru/showpost.php?p=2047586&postcount=4)
is in the mod description.
intelgio2
07-08-2010, 12:40 PM
I understood all of that. But once again: as long as you don't provide me with a bare minimum of information, I can't (and won't) give support. There is a reason that this
is in the mod description.
OK, feeling a little thick. I have searched on enabling the Debug Mode and all I can find is where to do it in config.php. Where do I access that in the AdminCP?
Also, are you looking for the code from the popup window?
cellarius
07-08-2010, 08:34 PM
I'm talking about the debug mode of this mod, of course, and it is activated in the AdminCP settings of this mod. Look at the last screenshot at the very bottom. Set to yes where it says "Debug Mode?". The information will show up in the popup window.
intelgio2
07-09-2010, 02:45 AM
I'm talking about the debug mode of this mod, of course, and it is activated in the AdminCP settings of this mod. Look at the last screenshot at the very bottom. Set to yes where it says "Debug Mode?". The information will show up in the popup window.
Thanks!
I was getting ready to test just a few more things to give a detailed breakdown of what was going on and it was working for a change. The only thing that had changed (for what it's worth) is that I removed the "Picture and Album Gallery" mod. Not sure if there is a conflict there or not. But it is working now! :rolleyes:
Here is a link to the mod that I am talking about: https://vborg.vbsupport.ru/showthread.php?t=237931
cellarius
07-09-2010, 04:29 AM
Don't know that mod, so I can't comment on this.
vbsolutions
07-09-2010, 11:48 AM
hehe nps give us a buzz on the reupload
cellarius
07-09-2010, 02:28 PM
hehe nps give us a buzz on the reupload
If this post makes any sense to anyone, please enlighten me.
Scitz0
07-12-2010, 07:16 AM
I have installed the module and everything works fine with the exception of the image tags populating. The URL tags populate fine.
I have tried to add just the photo and am unable to.
Hi,
I have the same issue as intelgio2, only url populated.
Example:
[ center ][ img ][ /img ]
[ url='http://www.miniclub.se/testvb/album.php?albumid=2&attachmentid=2451' ][ /url ][ /center ]
Installed on vb 4.0.4 PL1, not sure if its a conflict with other plugins or not.
While writing this I tested some more and found that all medium options produce this.
You have a note in the config about problems with medium so I guess its all fine.
One other problem though, orig_2_gallery_link_below produce the following:
[ center ][ img ]http://www.miniclub.se/testvb/attachment.php?attachmentid=2491[ /img ]
[ url='http://www.miniclub.se/testvb/album.php?albumid=2&attachmentid=2491' ][ /center ]
Ie, no closing [ /url ] and url description/text.
Gun Geek
07-12-2010, 04:28 PM
I have a quick question, everything seems to be working properly. But, I would like it to work with this mod BBR - Resize Images with lytebox v3.22 https://vborg.vbsupport.ru/showthread.php?t=230411. Is there anyway to get it to do that? I like how that one does the lytebox if we can get them integrated together that would be beyond awesome... it would be beawsome.
Any possibility of this?
cellarius
07-16-2010, 02:58 PM
To all those who have issues with not populating medium image tags: I assume you're using albums or attachments as product. Neither album nor attachments do offer medium sized images, there's only the thumbnail and the original size image saved. Normally, the mod should strip out those not valid options automatically. There seems to be a bug there - look out for a new release shorly.
cellarius
07-16-2010, 03:01 PM
I have a quick question, everything seems to be working properly. But, I would like it to work with this mod BBR - Resize Images with lytebox v3.22 https://vborg.vbsupport.ru/showthread.php?t=230411. Is there anyway to get it to do that? I like how that one does the lytebox if we can get them integrated together that would be beyond awesome... it would be beawsome.
Since I do not use the mod and don't know what it does to the tags inserted, I wouldn't know. My mod simply inserts standard image and url tags - I won't start to cater for the legion of image resizers out there, sorry.
cellarius
07-16-2010, 07:57 PM
Bugfix release 4.0.008
### 4.0.008 ###
- memcached problem fixed
- minor template fix
- fix for medium images not removed from inserts options dropdown
- fix for missing Link description in orig_link2gallery_below
Xencored
07-16-2010, 08:31 PM
Bugfix release 4.0.008
### 4.0.008 ###
- memcached problem fixed
<333 thanks i had like 2000 DB errors from this :D
Scitz0
07-16-2010, 09:04 PM
Installed latest version and its working great now.
Scitz0
07-16-2010, 09:14 PM
Found one thing though.
The popup window, in the settings you can specify the width and hight of the window but the size of the content within the popup is always the same. Ie with the default 3 rows, 3 columns and 600x680px the window is way to small for the content. Below is a screenshot of how it looks. How can I compress the width of the columns? Much wasted space there.
https://vborg.vbsupport.ru/external/2010/07/21.png
cellarius
07-16-2010, 09:56 PM
Not sure what you want to do, really. Of course if you set the popup to use a great width and the table to just 3 columns, the table will stretch accordingly. This is by design. Why would you want to set a big width to the popup but use only half of it for the table? If your thumbnails are small, use more columns in your table - or a smaller popup size.
EquinoxWorld
07-16-2010, 10:13 PM
I'm guessing this works ok with vb4.0.5?
cellarius
07-16-2010, 10:24 PM
You're guessing correctly :)
Scitz0
07-17-2010, 02:08 PM
Not sure what you want to do, really. Of course if you set the popup to use a great width and the table to just 3 columns, the table will stretch accordingly. This is by design. Why would you want to set a big width to the popup but use only half of it for the table? If your thumbnails are small, use more columns in your table - or a smaller popup size.
The thing is that if I set a small width of the popup the content within the popup is still very wide so I have to scroll to see it all. It doesnt matter what size I set on the popup, the content within is always the same width.
cellarius
07-17-2010, 02:56 PM
I still don't understand completely. The results table is set to a width of 100%, and for me it resizes smoothly if I change the width of the popup.
Scitz0
07-17-2010, 03:17 PM
Ok, I have a fixed width on my forum, maybe thats why?
I have not made the template changes for the default skin yet so I cant test how it works there. But on my custom skin it doesnt work like you describe.
I could send you login in pm if you want to take a look?
cellarius
07-17-2010, 03:25 PM
Ah, fixed width may be an issue. Never thought of that. Let me take a look!
cellarius
07-17-2010, 03:31 PM
Can you try adding
width: auto !important;to the body element at the top of cel_photo_popup.css template? Does this resolve the issue?
Scitz0
07-17-2010, 08:56 PM
Worked great, thanks!
cellarius
07-17-2010, 09:19 PM
Worked great, thanks!
OK, I'll upgrade the package.
Gun Geek
07-18-2010, 12:54 AM
Since I do not use the mod and don't know what it does to the tags inserted, I wouldn't know. My mod simply inserts standard image and url tags - I won't start to cater for the legion of image resizers out there, sorry.
Pretty much I am just asking if it can be made to open in lytebox. Your mod has capability to insert full image, or a link to full image or link to gallery etc. Could you add the option to open image in lytebox? I just think that lytebox looks a little better is all. I guess I didn't ask the original question properly. I don't necessarily want them integrated together. Just the option to open in lytebox.
cellarius
07-18-2010, 05:18 AM
I do not know what it takes to open the image in lytebox.
Front Range
07-30-2010, 01:06 PM
This is great Cellarius, thank you!
Any tips on getting all thumbnails to appear? I'm having a bit of trouble with some not displaying.
TIA!
cellarius
07-30-2010, 01:11 PM
What does "some" mean? If some attachment's thumbnails show up, the paths are correct; if others don't, it's likely the thumbnails are missing.
Front Range
07-30-2010, 01:18 PM
All the album thumbnails appear but the first 36 attachment thumbnails don't. I've rebuilt the thumbnails a couple times to no avail.
Front Range
07-30-2010, 01:47 PM
Okay, the thumbnails are not an issue with your mod. It's an issue in Chrome but all show up fine in FF. I also noticed, as someone posted earlier, that the only way to insert multiple pics is to switch back and forth between the post and the popup because the inserted image remains highlighted. Clicking multiple images sequentially just replaces the previous image. This also only happens using Chrome but FF works correctly.
The obvious solution to me is to use FF. <G>
One real question: I see cndgarage as a product option but no config file, is this an omission or am I supposed to create the config?
cellarius
07-30-2010, 01:53 PM
CND Garage was an Option for the 3.x version. I obviously have forgotten to remove it from the AdminCP phrase. Sorry.
Front Range 4x4
07-30-2010, 02:16 PM
Meh, still a great mod. Thanks.
Nominated - Rated - Installed.
I love this mod, we use it a ton, but it's not playing nice with Marco1 image resizer, anyone integrate both?
There is a current bug with this and 4.0.6.
If I go to any page other then 1-5 (try 11 for instance), it won't insert image with link below, it just inserts the link.
hachito
09-02-2010, 05:37 PM
Hi friend Cellarius !!
I write from argentina
You can make a hack to the portal (CMS) where you see a main picture and below it are the other photos in a category, and that they can select with the mouse?
I leave you a sample site to see:
http://www.nature-inspirations.com/
I have installed Photopost Pro 7.02
You can make this integrated with PhotoPost or make a widget in the CMS to display the photos in this way?
Thank you very much for your help!
Horacio
cellarius
09-02-2010, 06:02 PM
Sorry, at the moment I do not plan to expand the functinoality of this mod - in fact, what you propose would be another mod alltogether. So, I'm sorry...
cad2go
09-24-2010, 02:11 PM
installed! woot!
Does anyone have this working with 4.0.8?
cory_booth
10-30-2010, 10:34 PM
I'm still seeing the following error...
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [path]/photo_popup.php on line 297
Does anyone have this working with 4.0.8?
Yes, and it works fine
Thanks myco, not sure why I'm having issues. The icon to insert the image isn't showing up, any idea whats up?
Have you a link there or nothing ?
cellarius
11-08-2010, 12:11 AM
Thanks myco, not sure why I'm having issues. The icon to insert the image isn't showing up, any idea whats up?
- custom style
- other mod that messes with additional icons
- incorrect template edit
Anyway, you need to be more forecoming with information. What editor are we talking about?
cory_booth
11-08-2010, 09:03 PM
OK, well I just commented out the line of code and everything seems to work fine.
Would like to know what is causing it...
Works now, was a template issue. Thanks.
yahooooh
11-11-2010, 08:36 PM
Warning: mysql_num_rows() expects parameter 1 to be resource, object given in [path]/photo_popup.php on line 297
Insert Photos and Images
yahooooh
11-11-2010, 08:49 PM
vbulletin 4.0.8
i confirmed it will not work ,
i get this meassage above the result
Warning: mysql_num_rows() expects parameter 1 to be resource, object given in [path]/photo_popup.php on line 297
Insert Photos and Images
and the images from all enabled attachement ,albums and vbgallery , it will give some pictures and when go to the next page it will not show any thing or sometimes it will show the same result of the first page
fkatzenb
12-28-2010, 11:57 AM
I have the 4.1.0 Patch Level 2 with your latest install of popup. When I select Attachments, only the first 2.67 pages populate with pictures (34 pages available). When I select Photopost, only the first 2 pages show up for all my photos. When I select a different album, nothing shows up and neither does the page nav.
DefenceTalk
12-31-2010, 01:48 AM
Did the photopost's friendly URL issue get fixed? When I insert pics, it does it well but its using the old (nonSEO) links.
Warning: mysql_num_rows() expects parameter 1 to be resource, object given in [path]/photo_popup.php on line 297
Insert Photos and Images
Check the database settings, table prefix, etc in the config files.
fkatzenb
01-04-2011, 09:14 AM
I have the 4.1.0 Patch Level 2 with your latest install of popup. When I select Attachments, only the first 2.67 pages populate with pictures (34 pages available). When I select Photopost, only the first 2 pages show up for all my photos. When I select a different album, nothing shows up and neither does the page nav.
Anyone?
mccollin
01-04-2011, 02:06 PM
Anyone have this installed with 4.1PL2?
OldSchoolDSL
02-05-2011, 04:56 AM
This really would be a nice mod if it was update (Please & thank you)
punchbowl
02-05-2011, 09:11 AM
This really would be a nice mod if it was update (Please & thank you)
works fine with 4.1.1 and I doubt it breaks with 4.1.2
OldSchoolDSL
02-06-2011, 04:24 AM
To my surprise.....
Installed & working
4.1.1 :)
cellarius
02-06-2011, 04:55 AM
This really would be a nice mod if it was update (Please & thank you)
What would you like to have it updated for? I'm not aware of issues with the current versions of vB4.
Anyway, there will no new update before the new editor comes - whatever version that will be in. This mod will definitely break with the new editor.
morgi
03-02-2011, 07:02 PM
Thank you for the tip in the German Forum and sorry for my terrible english...
I hope i have understand the install.txt
the plugin is uploaded and renamed
cel_pp_config_attachments.php
I hope it is the right one!
Cause i ask me, where can i say the plugin in which folder the pictures are...
I search some hours and more and more i think we have misunderstand us in the german vbforum?
I see you have made a great job! But i`m not sure whether is it right for me...
cause i have no pictures in albums or galleries, only in folders and subfolders,
like Bilder/fantasy
Bilder/smilies/Smlies_engel
Bilder/smilies/Smlies_lachen
etc...
greetings,
Morgi
cellarius
03-03-2011, 04:14 AM
Cause i ask me, where can i say the plugin in which folder the pictures are...
Nowhere. This mod does not provide for custom folders, but for the products it supports.
I search some hours and more and more i think we have misunderstand us in the german vbforum?
Well - you asked for the javascript to address the editor, and I said that my mod uses it and you can have a look there. You did not provide much more basic info :)
I see you have made a great job! But i`m not sure whether is it right for me...
Out of the box probably not, since it needs a database where the images are listed. If you have that and look at the products config files it should be quite easy to adapt it. Else you can use the custom code you said you already had and just take inspiration from my code regarding the javascript.
macroforum
03-24-2011, 08:30 AM
Works now, was a template issue. Thanks.
Jesh, i have the same problem.
How have you solved please?
Antonio
cad2go
04-30-2011, 11:43 AM
One thing I've noticed is that people viewing a thread with images posted using this mod they are shown as "Viewing attachment" in wol instead of "viewing thread" - is this just me?
raisun
05-02-2011, 02:05 AM
I'd love some thoughts on this issue:
I've installed in a test environment of VB 4.1.2. In the popup window, all of the users photos are loaded on one page (in one case over 14K images). The configuration is set for 4 columns and 4 rows. The window shows the pagination links, but all of the images are in the same window. Any thoughts on why that might be?
cellarius
05-02-2011, 05:14 AM
@raisun: Tested on 4.1.3 and I can't reproduce your issue.
cellarius
05-02-2011, 06:04 AM
@cad2go: That would happen if the user looks at an inserted image enlarged, i.e. when that user is using the lightbox.
cellarius
05-02-2011, 08:19 AM
Just to let everyone know: I have a (still very basic) first version ready for the new editor. Main issue atm is a bug (http://tracker.vbulletin.com/browse/VBIV-11982) present in the current alpha of 4.1.4, but hopefully this will be fixed before release. So, bottom line is, yes, there will be a version that works with the new editor.
Edit: There is another issue (http://tracker.vbulletin.com/browse/VBIV-11984): Atm, there is not a single hook present in the new editor. W/o hooks, I won't be able to insert a button into the toolbar.
raisun
05-02-2011, 02:19 PM
@raisun: Tested on 4.1.3 and I can't reproduce your issue.
Hmmm...I reinstalled the addon and I still have the issue. For kicks I set Rows = 1 and columns = 1. I tried on an acct with only 5 images, and it still shows all 5 images on the first page. Here is the debug info:
Debug information
Version: 4.0.008
Photo Popup Settings (from AdminCP)
num_of_cols: 1 [1]
num_of_rows: 1 [1]
num_total: 1
widht: 600
heigth: 680
products: vbgallery
insert_options_allowed: link_thumb_2_orig link_thumb_2_gallery link_med_2_orig link_med_2_gallery thumb med orig thumb_2_gallery_link_below med_2_gallery_link_below orig_2_gallery_link_below
allow_albums: 1
code_usergroups: 6
Code (this is what is inside the table cells)
<a href="#" onclick="thumbpaste('<a href=\'http://www.mouseinfo.com/gallery/files/1/3/8/cbrmap_original.jpg\'><img src=\'http://www.mouseinfo.com/gallery/files/1/3/8/cbrmap_thumb.jpg\' style=\'border: 0\' /></a> ','https://vborg.vbsupport.ru/external/2011/05/73.jpg (\'http://www.mouseinfo.com/gallery/files/1/3/8/cbrmap_original.jpg\') ');event.returnValue=false;return false;"><img src="http://www.mouseinfo.com/gallery/files/1/3/8/cbrmap_thumb.jpg" style="border: 0" title=""/></a>
Images query:
SELECT imageid, userid, filename, extension, thumbname, originalname, catid FROM ppgal_images WHERE (userid = 138 ) AND valid = 1 ORDER BY dateline DESC
Albums query (only if not coming from cache):
SELECT catid, title FROM ppgal_categories WHERE parent = 973 ORDER BY displayorder
Pagination query:
SELECT COUNT('imageid') AS fotos FROM ppgal_images WHERE (userid = 138 ) AND valid = 1
Link to Original
http://www.mouseinfo.com/gallery/files/1/3/8/cbrmap_original.jpg
Link to Thumb
http://www.mouseinfo.com/gallery/files/1/3/8/cbrmap_thumb.jpg
Used product: vbgallery
Albums possible: 1
Cookie
Read Cookie: vbgallery,,link_thumb_2_orig,0
Set Cookie: vbgallery,,link_thumb_2_orig,0
Cache Cookie: from database
Table building (rows and columns)
[td ][td][tr][td][tr][td][tr][td][tr][td]
cellarius
05-02-2011, 03:15 PM
Ah, you're using vBGallery. I don't have that installed and can't test. Try the following:
In includes/cel/cel_pp_class_vbgallery.php find around line 201:
ORDER BY dateline DESC
Below add:
LIMIT $limitlower, $perpage
Does that solve the problem?
raisun
05-02-2011, 04:05 PM
*bows* That fixed it, thank you.
One more question, much less critical. When using my account, everything seems to work great: I click on an image, it populates in the edit box...no issues. I click on another image, it adds it right below. One of my other admins has a different experience: When he clicks on an image, and then tries to click on another image, it overwrites the first image instead of adding the second one. Any thoughts on why that might be?
cellarius
05-03-2011, 03:56 AM
It overwrites the image, as in: the second image replaces the first? No, I never heard of that one. What browser does he use? But, on the other hand, perhaps it will fix itself with the new editor :)
raisun
05-03-2011, 04:32 AM
We've tested on IE and FF...its a bizarre issue...the way it performs, I almost think its a VB issue and not this product... I look forward to the new editor.
cad2go
05-04-2011, 02:34 PM
@cad2go: That would happen if the user looks at an inserted image enlarged, i.e. when that user is using the lightbox.
I've tested this and that's not the case. if I post a thumbnail linking to the main image and then open that thread it will say i'm looking at the attachment before I even click on the thumbnail. Same for full size inserted images - it'll say viewing attachment
here's the bit from img alt in wol
/attachment.php?attachmentid=13539&thumb=1
when viewing a thread with the thumb of attach 13539 (not clicking on thumb)
and here the source of the thread
<a href="http://www-----.com/attachment.php?attachmentid=13539" target="_blank"><img src="http://www.----.com/attachment.php?attachmentid=13539&thumb=1" border="0" alt="" /></a>
I don't get it. Maybe it's some other mod conflicting as no-one else seems to be affected.
Not a big deal anyway. Just wondered was it a known issue or just me. Cheers
MarkusB
05-04-2011, 07:48 PM
Just to let everyone know: I have a (still very basic) first version ready for the new editor. Main issue atm is a bug (http://tracker.vbulletin.com/browse/VBIV-11982) present in the current alpha of 4.1.4, but hopefully this will be fixed before release. So, bottom line is, yes, there will be a version that works with the new editor.
Edit: There is another issue (http://tracker.vbulletin.com/browse/VBIV-11984): Atm, there is not a single hook present in the new editor. W/o hooks, I won't be able to insert a button into the toolbar.
many thanks for that mod Cellarius,
was just looking for something similar and found exactly what i`m looking for :up: (in your Sig :D )
Will try it as soon my upgrade is done from 3.x to 4.1.x, really appreciate to see you are working on the new Editor as well :up: ...and i believe "they" are working on a bug fix and new hooks(JIRA)
will test than the donate function as well ;-)
Cheers, Markus
cellarius
05-05-2011, 04:25 AM
Hooks are already in place, thanks to everyone who voted and to Freddie for implementing them (I have an alpha version that has them already :)). The other bug I mentioned is also being worked on, so :D
8thos
05-10-2011, 10:22 PM
I see no cel popup link or image button on my site. I'm running vb4.1.3
cellarius
05-11-2011, 04:47 AM
Then you did not do the template edits or you did them wrong. Also, please click "installed" to get further support.
8thos
05-13-2011, 02:15 AM
Then you did not do the template edits or you did them wrong. Also, please click "installed" to get further support.Marked as installed. Didn't see the templates edit file until you mentioned them. My bad.
cellarius
05-13-2011, 05:17 PM
Glad you got it running.
For everyone interested: I have a nearly complete version for the new editor running on a test installation of mine :D
Only limit: The insertion of a space between the images does not work in the new editor - it gets automatically cropped when the code is transferred. For the moment, there seems to be no way around that :(
Looking forward to the new version. A great mod for a forum, thanks much for your efforts.
porschegruven
05-27-2011, 01:37 PM
Thanks and great work!
8thos
05-27-2011, 07:40 PM
What's different about the new version? Old version does Albums and Photopost perfectly.
BTW I also love your groups on forum home mod. Good job.
cellarius
05-28-2011, 04:55 AM
What's different about the new version? Old version does Albums and Photopost perfectly.
It will work with the new editor currently in beta testing (will be in vB4.1.4, already in use at vb.com).
BTW I also love your groups on forum home mod. Good job.
Thanks :)
TundraSoul
06-04-2011, 02:00 AM
Awesome work, this should be a default vB function.
Cosmetic question: How may I change the name 'Photopost' from the pop-up window, drop down list of photo sources? I'd like to rename it to the name of my gallery.
Thanks!
cellarius
06-04-2011, 07:28 AM
The addon is fully phrased, so just edit the according phrase in AdminCP (cel_pp_photopost).
cellarius
06-10-2011, 07:52 AM
Whats new?
adapted to the new vB Editor introduced in vB 4.1.4
now works in post, CMS (bug in vB (http://tracker.vbulletin.com/browse/VBIV-12345) pending), blog, group and visitor messages editor automatically, no more template edits needed
Workaround for image spacing limitation (new AdminCP option for seperator)Important!
Old editor (vB 4.1.3 and below): use 4.0.008!
New editor (vB 4.1.4 and above): 4.1.001!
Additional notes:
Regarding the bug in CMS editor: At the moment, CMS editor does not show images in CMS WYSIWYG mode. Vote for this bug (http://tracker.vbulletin.com/browse/VBIV-12345) to get it fixed fast!
There is a limitation in the vB CKEditor implementation that keeps this mod (and any external script that drops content into the editor) to add a trailing space to this content. This makes it impossible to simply add a space between inserted images. For a (temporal?) workaround, I have added a new AdminCP option that allows for defining a custom seperator that will be inserted after every image inserted. You can use BBCode in this seperator. For convenience, there's a method provided to insert a . (point) in the color of the editor background that you have defined in stylevar textedit_background. This is off and needs to be activated, if desired.
Let me know if there are any problems or you have a better solution for the seperator problem, since my somewhat hackish fix does lead to somewhat messy code in the post...
TundraSoul
06-11-2011, 04:14 AM
No template edits anymore correct?
I'm using vB 4.1.4 and 4.1.001 and it's not showing up in the editor. No icon or anything.
cellarius
06-11-2011, 06:13 AM
Correct, no more template edits. Please check the following:
make sure you have uploaded the icon file images/buttons/cel/cel_photo_popup.png
then check whether it works in unmodified default style
if you are using a custom style, it may be that this style uses its own images directory; if this is the case, make sure to upload cel/cel_photo_popup.png into the buttons directory of your custom style. Example: images/mystyle/buttons/cel/cel_photo_popup.png
If you don't know where to look for this directory, check stylevar imgdir_button to find out.So, why do I use the buttons and not the editor directory? Because, funny enough, the stylevar for images/editor is not available in the editor plugin javascript environment, while the one for images/buttons is.
kilgor
06-11-2011, 08:46 AM
vb 4.1.4
installed as per manual
[checked] icon uploaded to images/buttons
[checked] not showing up with default or any other style
[checked] stylevar imgdir_button = images/buttons
TundraSoul
06-11-2011, 05:19 PM
Correct, no more template edits. Please check the following:
make sure you have uploaded the icon file images/buttons/cel/cel_photo_popup.png
then check whether it works in unmodified default style
if you are using a custom style, it may be that this style uses its own images directory; if this is the case, make sure to upload cel/cel_photo_popup.png into the buttons directory of your custom style. Example: images/mystyle/buttons/cel/cel_photo_popup.png
If you don't know where to look for this directory, check stylevar imgdir_button to find out.So, why do I use the buttons and not the editor directory? Because, funny enough, the stylevar for images/editor is not available in the editor plugin javascript environment, while the one for images/buttons is.
The image resides where it's supposed to be. Verified.
I verified the image does not display in an unaltered default vB 4.1.4 style. For that matter, there's no broken image spot in the editor, where I would almost expect to find the plug-in working.
cellarius
06-11-2011, 07:25 PM
You won't see a broken image spot, since the image is displayed not via <img>, but by css. If you want me to troubleshoot this on your forum, send me login details that allow me access to an editor on your forum (if you allow guest posting, a link will suffice).
cellarius
06-12-2011, 08:26 AM
Bugfix release 4.1.002!
Thanks to kilgor who gave me access to his forum the issue with the editor buttons not showing up for some users has been resolved. Please install the new version and let me know if it indeed fixes the problem for you.
Additionally, you can delete the deprecated file clientscripts/ckeditor_config_cel_pp.js
kilgor
06-12-2011, 09:03 AM
now it works! Thanks a lot for your support!
TundraSoul
06-21-2011, 03:28 AM
Working very well, thanks!
Here's a suggestion. While the popup window is open, allow us to drag the image from one source (say attachments) into albums and so on. Could you imagine the flexibility that would bring to all these media storage systems.
BioTek
06-21-2011, 08:21 AM
I'm using 4.1.4 is there a reason why the button works for admins but is grayed out for Moderators and Registered Users.
DaveS
06-21-2011, 05:14 PM
I have a possible problem.
I use Photopost.
When inserting pictures it seems to be using the wrong URL.
http://myurl/forums/photopost/data/520/IMG_6814.JPG
When in fact it should be..
http://myurl/photopost/data/520/IMG_6814.JPG
So it's inserting the forums bit which is obviously vB path.
However in the cel_pp_config.php the settings are correct. It seems to be ignoring these.
// Full URL path to Gallery: http://www.yoursite.com/path/to/gallery/
//
$url_path = "http://myurl/photopost/";
//
// Full URL path to Data Dir: http://www.yoursite.com/path/to/gallery/data/
// Look for this in PP-Administration->Global Options->URL to PhotoPost data directory
//
$data_dir = "http://myurl/photopost/data/";
//
// Table prefix. pp_ is the default setting.
// You may have changed this on installation of Photopost Pro.
// Look for this in PP-Administration->Edit Config->PhotoPost Database Prefix
//
$db_prefix = "pp_";
BioTek
06-21-2011, 05:56 PM
I'm using 4.1.4 is there a reason why the button works for admins but is grayed out for Moderators and Registered Users.
Don't know why but it's now working.
Any idea what's wrong with this plugin in IE7? When installed, the editor is completely gone in IE7. Doesn't happen in newer versions of IE or other browsers...
Problem resolved already. It was related to a JS error in clientscript/ckeplugins/cel_pp/plugin.js
Search for icon: BBURL + '/' + IMGDIR_BUTTON + '/cel/cel_photo_popup.png',
And remove the comma at the end to resolve the IE7 issue
One little Problem after Update.
I have no link "My Photos" and the Button for PopUp has no description text.
Otherwise as always very good work- Thank you
cellarius
07-15-2011, 03:25 AM
The my photos link is gone in the new editor. There's only the button, sorry. I'll think about adding it back for future versions if it is wanted.
trackpads
07-30-2011, 11:10 PM
This mod is awesome, I have been waiting for something liek this since I upgraded to vb4 and the old geek gallery one died.
Is it possible to move the icon and place some text below the editor are, for example like how the "Restore Saved Data" is display in the attached screenshot?
Thanks again for all the work,
-Jason
cellarius
07-31-2011, 06:02 AM
That might be possible, but I havn't looked into it. I may do so for a future version, but won't promise anything.
trackpads
07-31-2011, 01:58 PM
Thanks again for the reply, would it be possible now to just add a larger button, say right about the smiles?
Thanks again for the work,
-Jason
NixonJr
08-04-2011, 05:54 AM
Hey Guys,
Just tried to install this however,
admin user can click on the icon, registered and Mod users cannot,
vBulletin® Version 4.1.4
not sure if iv done something wrong,
Thanks,
Robert,
Scalemotorcars
08-12-2011, 02:47 PM
Ran into a minor bug with ckeditor and photopost. When adding the original image from photopost my test turns white. I have to manually change it to do black to see anything posted after the image.
Before the image its fine...
TEMPESTADE
08-12-2011, 06:37 PM
Thanks alot mate
Scalemotorcars
08-17-2011, 12:16 AM
Any ideal why my text shifts to white after adding photos? I cant seem to debug it.
cellarius
08-17-2011, 06:24 AM
Hi,
this may be because of the image seperator workaround for the new editor. Try turning it off and see if that resolves the problem.
I'll look into this for a new version, but that would be some time off, I fear. Atm I just can't find the time... :(
Scalemotorcars
08-17-2011, 12:18 PM
Thanks cellarius.
I cleared that field in the option and its working now.
FYI, Im also using the ncode image resizer here on vb.org and it adds the space automatically but only to resized images. So as long as its a big photo it still looks clean.
raisun
08-17-2011, 01:03 PM
Love this mod, but I have a small issue (and I'm sure its user error ;) )
I have "Show Albums" on, and I can see the dropdown off my albums just great. However, when I select and album it does not update the photos that are displayed. It does change the URL though...
Any thoughts?
Thanks in advance!
raisun
09-08-2011, 02:30 AM
Sorry to be a pest. The last issue I resolved, but now I have upgraded to the new editor. I do have an issue that I would think should be easy to solve, but I just don't know where to make the edits.
My vB install is in www.mysite.com/forums, but I use the CMS and have my article editor in /. So when I am trying to write an article and click on the photo popup icon, it tries to take me to: www.mysite.com/photo_popup.php?... instead of www.mysite.com/forums/photo_popup.php?...
Can some one shoot me in the right direction so I can make that work?
Thanks!!
Scalemotorcars
09-15-2011, 03:05 PM
Cellarius
Just wanted to make sure this works with the new Photopost Pro version 8 before I update my gallery. I would rather wait and make sure your mod works with it then loose the functionality.
Thanks...
cellarius
09-15-2011, 05:28 PM
Scalemotorcars,
I'm sorry I can't comment on compatibility at the moment, since my license for Photopost has expired; I will renew shortly. No 100% guarantees at this time, but I'm using Photopost and this Addon on my live site, and the probability of this addon being fixed if PP8 breaks something is quite high :D
cellarius
09-15-2011, 05:45 PM
Sorry to be a pest.
Not at all ;)
Please replace your clientscript/ckeplugins/cel_pp/plugin.js with the attached version. Does this resolve your issue?
AusPhotography
09-15-2011, 10:26 PM
If you use MySQLi (config.php) then this fix is needed...
In photo_popup.php @ line 322
$resultcount = mysql_num_rows($cel_pp_prod->mysql_result_main);
Becomes:
$resultcount = $cel_pp_prod->db->num_rows($cel_pp_prod->mysql_result_main);
Kym
cellarius
09-16-2011, 05:07 AM
Thanks for the heads up, no idea why I did not use the vb method there. Will be fixed in future versions.
AusPhotography
09-16-2011, 07:50 AM
Thanks for the heads up, no idea why I did not use the vb method there. Will be fixed in future versions.
No worries!
Excellent mod
raisun
09-16-2011, 01:53 PM
Does this resolve your issue?
Looks like it does. Thanks!!
cellarius
09-16-2011, 05:15 PM
Looks like it does. Thanks!!
Great! Then the fix will go into the next version. Thanks for the feedback.
Scalemotorcars
09-17-2011, 12:43 PM
Scalemotorcars,
I'm sorry I can't comment on compatibility at the moment, since my license for Photopost has expired; I will renew shortly. No 100% guarantees at this time, but I'm using Photopost and this Addon on my live site, and the probability of this addon being fixed if PP8 breaks something is quite high :D
Thanks, Ill hold off on the upgrade just in case. I would hate to loose this mod on my site. :D
AusPhotography
09-22-2011, 05:14 AM
I've got it running with vB4.1.6 and PhotoPost vBGallery (latest)
Kym
cellarius
09-22-2011, 10:53 AM
I've got it running with vB4.1.6 and PhotoPost vBGallery (latest)
Kym
Great, thanks for the feedback.
ChimeraRS
09-22-2011, 09:25 PM
I have this mod installed, VB 4.1.5 and Photopost 7.1. The popup works great but the drop-down to choose the album won't work, it just defaults back to "all my photos" no matter what I choose. Any idea what could be wrong? The list is populated correctly with all of my albums.
Thanks
Version: 4.1.001
Photo Popup Settings (from AdminCP)
num_of_cols: 3 [3]
num_of_rows: 3 [3]
num_total: 9
widht: 600
heigth: 600
products: photopost
insert_options_allowed: link_thumb_2_orig link_thumb_2_gallery thumb thumb_2_gallery_link_below
allow_albums: 1
code_usergroups: 0
Code (this is what is inside the table cells)
<a href="#" onclick="thumbpaste('<a href=\'http://forum.rebelscum.com/photogallery/data/500/titles.jpg\'><img src=\'http://forum.rebelscum.com/photogallery/data/500/thumbs/titles.jpg\' style=\'border: 0\' /></a>','https://vborg.vbsupport.ru/external/2011/09/21.jpg (\'http://forum.rebelscum.com/imagepopup.php?imagename=http://forum.rebelscum.com/photogallery/data/500/titles.jpg\')');event.returnValue=false;return false;"><img src="http://forum.rebelscum.com/photogallery/data/500/thumbs/titles.jpg" style="border: 0" title=""/></a>
Images query:
SELECT id, userid, bigimage, cat, medsize FROM pp_photos WHERE (userid = 5545 ) AND storeid = 0 AND approved = 1 ORDER BY date DESC LIMIT 0, 9
Albums query (only if not coming from cache):
SELECT id,catname,ugnoview FROM pp_categories WHERE cattype = 'c' AND parent = 1 ORDER BY catorder
Pagination query:
SELECT COUNT('id') AS fotos FROM pp_photos WHERE (userid = 5545 ) AND storeid = 0 AND approved = 1
Link to Original
http://forum.rebelscum.com/photogallery/data/500/titles.jpg
Link to Thumb
http://forum.rebelscum.com/photogallery/data/500/thumbs/titles.jpg
Used product: photopost
Albums possible: 1
Cookie
Read Cookie: photopost,,link_thumb_2_orig,0
Set Cookie: photopost,,link_thumb_2_orig,0
Cache Cookie: from database
Table building (rows and columns)
[td ][td][td][td][tr][td][td][td][tr][td][td][td]
dwwright
10-14-2011, 06:09 PM
I'm only using the built in Attachments and Albums on version 4.1.6. In FF the button is grayed out, it IE it shows, but doesn't do anything when clicked. I removed the comma a the end of the line in plugin.js.
If I manually bring up the photo_popup.php, there are images displayed and no errors.
/photo_popup.php?e=vB_Editor_001
version 4.1.002 was installed
Darren
Scalemotorcars
10-16-2011, 09:03 PM
Cellarius,
I want to add an image button in my newthread, newreply and editpost templates with a direct link to the popup. I have the button in the editor but could you share with me the html link for an image button.....
Also if its still a function the "My Gallery" link in the profile and postbit. Thank you...... :D
(ps) Any news on PP8 and this mod?:)
Scalemotorcars
10-17-2011, 10:14 AM
I found this link in the old instruction Docs. If I used it this way I get an error for E= undefined editor.
<a href="#" onclick="window.open(getBaseUrl() + 'photo_popup.php?{vb:raw session.sessionurl}e={vb:raw editorid}','fotos','scrollbars=yes,resizable=yes,w idth={vb:raw vboptions.cel_pp_width},height={vb:raw vboptions.cel_pp_heigth}'); return false" title="{vb:rawphrase cel_pp_insertlink}">{vb:rawphrase cel_pp_my_photos}</a>
But if I manually edit the editorid then it seems to word. Would it be ok to use it this way?
<a href="#" onclick="window.open(getBaseUrl() + 'photo_popup.php?{vb:raw session.sessionurl}e=vB_Editor_001','fotos','scrol lbars=yes,resizable=yes,width={vb:raw vboptions.cel_pp_width},height={vb:raw vboptions.cel_pp_heigth}'); return false" title="{vb:rawphrase cel_pp_insertlink}">My image button here</a>
DannyITR
10-17-2011, 07:10 PM
I upgraded within vbulletin 4 and now I cannot see the my albums link under the smilies. Can anyone help?
Scalemotorcars
10-17-2011, 07:30 PM
I upgraded within vbulletin 4 and now I cannot see the my albums link under the smilies. Can anyone help?
Its not there anymore. Exactly why I asked the question above. :)
Scalemotorcars
10-17-2011, 11:24 PM
I have this mod installed, VB 4.1.5 and Photopost 7.1. The popup works great but the drop-down to choose the album won't work, it just defaults back to "all my photos" no matter what I choose. Any idea what could be wrong? The list is populated correctly with all of my albums.
Thanks
Version: 4.1.001
Photo Popup Settings (from AdminCP)
num_of_cols: 3 [3]
num_of_row
================================================== ==
edited out....
Not at all ;)
Please replace your clientscript/ckeplugins/cel_pp/plugin.js with the attached version. Does this resolve your issue?
Celarius. Im having the same issue. Not sure how longs its been acting up but for sure is not working now. Im running 4.1.4 and PP7.1 browser is chrome.
I tried the file fix and not change. Flushed cache and nothing, it just loops.
Any help on this and my question before would be great.
Daniel
Scalemotorcars
10-18-2011, 12:37 AM
My debug info
Debug information
Version: 4.1.001
Photo Popup Settings (from AdminCP)
num_of_cols: 4 [4]
num_of_rows: 3 [3]
num_total: 12
widht: 800
heigth: 680
products: photopost
insert_options_allowed: orig_2_gallery_link_below link_thumb_2_gallery orig
allow_albums: 1
code_usergroups: 0
Code (this is what is inside the table cells)
<a href="#" onclick="thumbpaste('<a href=\'http://www.scalemotorcars.com/gallery/showphoto.php?photo=13215\'><img src=\'http://www.scalemotorcars.com/gallery/data/663/thumbs/hotrod.jpg\' style=\'border: 0\' /></a>','https://vborg.vbsupport.ru/external/2011/10/28.jpg (\'http://www.scalemotorcars.com/gallery/showphoto.php?photo=13215\')');event.returnValue=f alse;return false;"><img src="http://www.scalemotorcars.com/gallery/data/663/thumbs/hotrod.jpg" style="border: 0" title=""/></a>
Images query:
SELECT id, userid, bigimage, cat, medsize FROM pp_photos WHERE (userid = 2 ) AND storeid = 0 AND approved = 1 ORDER BY date DESC LIMIT 0, 12
Albums query (only if not coming from cache):
SELECT id,catname,ugnoview FROM pp_categories WHERE cattype = 'c' AND parent = 525 ORDER BY catorder
Pagination query:
SELECT COUNT('id') AS fotos FROM pp_photos WHERE (userid = 2 ) AND storeid = 0 AND approved = 1
Link to Original
http://www.scalemotorcars.com/gallery/data/663/hotrod.jpg
Link to Thumb
http://www.scalemotorcars.com/gallery/data/663/thumbs/hotrod.jpg
Used product: photopost
Albums possible: 1
Cookie
Read Cookie: photopost,,link_thumb_2_gallery,0
Set Cookie: photopost,,link_thumb_2_gallery,0
Cache Cookie: from database
Table building (rows and columns)
[td ][td][td][td][td][tr][td][td][td][td][tr][td][td][td][td]
Scalemotorcars
10-19-2011, 01:31 PM
Im I the only one running into this problem still?
cellarius
10-19-2011, 07:48 PM
Hi Scalemotorcars,
I'll look into it as soon as I find the time. Regarding the link: It's not that simple, sadly. The issue is: The editor type needs to be passed to the script, and the needed variable is only present in cke itself. To find a way to make it available for a link outside or to find another way around, I'll have to give it some thought.
Scalemotorcars
10-20-2011, 11:45 AM
Thanks Cellarius, I really need album selection or I wouldn't bother you.
As for the link. The one I posted above works but the trick is you need to click into the editor first. If you don't, nothing happens.
What about a more obvious button in the CK editor? Something off to the side and maybe twice the size or with text that reads ADD PHOTOS.
Just a thought.
woffie
10-20-2011, 04:03 PM
Does anyone know if this will work with vBPicGallery?
http://www.cpurigs.com/forums/forumdisplay.php?f=32
cellarius
10-20-2011, 04:27 PM
Thanks Cellarius, I really need album selection or I wouldn't bother you.
No problem, I just can't make any promises right now - wish I could. Hate to leave you hanging...
As for the link. The one I posted above works but the trick is you need to click into the editor first. If you don't, nothing happens.
That's to initiate the variable, probably...
What about a more obvious button in the CK editor? Something off to the side and maybe twice the size or with text that reads ADD PHOTOS.
I'd have to take a look at how other cke plugins handle that. Atm, what I did probably is only good for the standard icon size.
cellarius
10-20-2011, 04:30 PM
Does anyone know if this will work with vBPicGallery?
http://www.cpurigs.com/forums/forumdisplay.php?f=32
As long as there does not exist a product config file for this gallery, it sure won't. I myself do not have the time to make one atm, sorry. For someone knowing what he's doing it's not that hard. There's a how_to_make_your_own_product_file.txt in the DOCS folder.
dwwright
10-20-2011, 05:50 PM
Anyone have this working with 4.1.6?
I ended up having to insert a button under the smilies, but would rather use the ckeditor button. The button is loading, but showing as grayed out and does not function.
The mod works great other than this one issue.
Any idea of how to enable the button?
Thanks!
Darren
dwwright
11-10-2011, 06:29 PM
Well, after some investigating, the button shows up enabled in the editor if the "Enhanced Interface - Full WYSIWYG Editing" option is checked in the UserCP>>General Settings>>Miscellaneous Options section.
Anyone know how/where the Standard editor reads it's plugin's from? It seems to be loading the icon, it's just grayed and doesn't do anything.
AusPhotography
11-10-2011, 09:42 PM
4.1.7 here!
Talk-Pets
11-18-2011, 01:49 PM
4.1.8 here. Icon greyed out and not working..
hotrod122
11-21-2011, 02:00 AM
4.1.7 here.. and same as above...greyed out in standard editor...
which for the most part is what my users use...
need to get this to work in the standard editor please...
Talk-Pets
12-12-2011, 02:54 PM
Has anyone made this work in 4.1.8? Any help appriciated....
foxystoat
12-13-2011, 10:08 AM
Also would like for 4.18, had this before the upgrade - was ace.
dwwright
12-13-2011, 03:25 PM
I'm running 4.1.8 now, but still have the greyed out icon.
Also, be sure to fix the syntax of the plugin.js noted earlier or it will break the editor for IE7 or anyone running compatibility view on IE 8 or 9. Seems to break the uploader on Chrome as well.
Autotraker
12-15-2011, 02:01 PM
Installed, broken in 4.1.8, uninstalled.
Guess you haven't worked all the bugs out yet.
No button at all in standard editor.
AusPhotography
12-17-2011, 03:38 AM
4.1.8 works ok with Enhanced Editor
I've extended it to support our Photo competitions system - very easy!
One minor issue is that on a dark skin the pop-up select text is dark.
Eg. from an instruction post on our site...
Moncha
12-31-2011, 07:21 AM
I have it partially figured out for vB 4.1.9 ...
During the install, the script doesn't install a phrase that generates the "My Photos" link. Found on line 202 in the "product-cel_photo_popup_4-1-002.xml" file.
I added the phrase manually.
Then on line 326, The code for the link needs to be added to the editor_smiliebox template. The script doesn't replace the template like it is supposed to either.
That takes care of the link that is supposed to be under the "More" link for the smilies.
I can only get the editor button when as said before, placing the editor in the enhanced configuration by way of the usercp. But the text link works no matter.
Hope this helps for someone to re-write the install script for the plugin
Delfi_r
01-16-2012, 10:13 PM
installed, but not working on 4.18, i suppose it's a missing link in the icon. I'll wrk on it and waiting for an updated install.
rbc1225
01-29-2012, 02:35 PM
Dang, just what I was looking for but I am running VB 4.1.10 and afraid to load it due to no updates on this since 6-12-11 so I assume since it has not been fixed for 4.1.8 it won't work for 4.1.10?
bluebare
01-31-2012, 03:08 PM
Installed on 4.1.10, it fubared my custom skins, removed the video posting button from Forum editing menu.... Then when I tried to deinstall it, it messed up the templates. I really enjoyed this mod in the past but this just turned me away from it.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.