![]() |
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... |
Has anyone made this work in 4.1.8? Any help appriciated....
|
Also would like for 4.18, had this before the upgrade - was ace.
|
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. |
Installed, broken in 4.1.8, uninstalled.
Guess you haven't worked all the bugs out yet. No button at all in standard editor. |
1 Attachment(s)
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... |
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 |
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.
|
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?
|
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.
|
For your information: I'm currently working on a new version, that will fix the button issue in standard editor mode an will also add an optional button at the bottom next to the autosave restore button.
Some issues remain, and I'll go back through the posts for bugs to look at, but if you have unreported issues, now would be a good time to tell me ;) |
Be glad to beta it for you.. I for one like it
|
I've found several issues with Cel_PhotoPopup version 4.1.002 on vBulletin v4.1.10. Basically class methods/variables are being called without first attaching them to the $this-> instance.
In cel_pp_class_photopost.php, On or about Line 192 (very near end of file): Was: $img['med'] = $img['orig'];In cel_pp_class.php, On or about Line 109 (part of function set_choice_by_get()): Was: $get_album = FALSE;While I could locate the cause of the above issues and correct them, there is another issue that I have had to make a real hack of a fix for because I can not identify what is causing the page to generate an Error 500 (Server Error) unless at least a single byte is printed by a certain point in photo_popup.php. Around line 204 I had to add the following line of code: echo chr(0); in order to prevent the Server Error 500. With that single null byte printed to the browser HTTP headers are sent and everything works as it should (save for the preceding code fixes), but without nothing is *ever* sent to the browser and the server throws a 500 Server Error and PHP logs the error as "premature end of script headers". I can not locate anything site specific (like Apache or PHP configurations) that would cause a timeout to occur if headers were not sent in under 1-2 seconds (about the longest possible wait) but it nonetheless behaves a lot like a timeout condition and it is 100% repeatable with absolute certainty -- if at least one byte is not sent to the browser (to trigger PHP sending the headers) by a certain point in the PHP code a 500 Server Error will occur each and every time. Despite my best efforts, I have not been able to figure out why this hack is necessary to make things work. If these issues have already been reported and fixed, please accept my apologies. I wanted to report my findings so as to ensure that you were aware of the issues I found so that the fixes could be incorporated into the next official release. Thank you for your time and efforts in this regard. |
Thanks for your reports; I have corrected the two code bugs you reported. Regarding the server error, however, I have never witnessed this myself or had any reports on it. I really don't have an idea either what could cause this or what I could to to try to reproduce it...
|
Damn, have that @!$?& button under the editor working in IE and FF, but Chrome won't show it. Boy, do I hate Javascript... ;)
|
1 Attachment(s)
New Version: 4.1.004
Highlights:
|
New install VB 4.1.10 & 4.1.004 Using IE9 I am not getting a button image but rather just a grey block as reported in prior posts. The grey is clickable and the modification works. Would just like to see a button :)
Thanx!!! |
Huh, that shouldn't be the case, of course ;)
I'll look into it over the weekend. |
1 Attachment(s)
Had a quick look: I see the icon on IE9, just as in any other browser:
Attachment 136537 Please make sure you have uploaded the icon file correctly. If you use a custom style that uses a custom folder for images, make sure to upload the icon image file to a subfolder named cel in the directory the style uses for buttons. Probably [customstyleimages]/buttons/cel/cel_photo_popup.png. |
You right, I'm wrong... Completely forgot about custom style... Still did not get it to show but it is just a matter of figuring out the proper directory structure, the one given did not work.
Also, do you have a mouse over tool tip for the camera image? I can mouse over all the buttons and get a small note but not on yours. |
I am getting a TMS error:
Code:
There are 1 Template-Modifications that were not desinged for the currently installed vBulletin version. To make sure that vBulletin and your installed Products are working correctly, you must check and maybe modify those Template-Modifications. Also I can get the image in the editor with the default skin, custom skins that use custom images but the skin I am trying to use (PixlePremium) is using the default images and location. Weird... Any ideas? |
Regarding the TMS error: That may be because I may still be using an older version of TMS on my dev board. You should be able to ignore that.
Regarding the button path problem - the addon looks for the image in the folder cel inside the folder that is defined in the buttons image path in stylevars of that style. You should be able to use a tool like firebug to check where the editor is looking for the file. |
My problem is the opposite way round, I can see the button image in IE9 but not Chrome or Firefox.
Checked and double checked the image locations, it's definitely there but does not show up. Got me baffled. Firebug doesn't seem to work on editor elements so I can't test that way. I even tried hardcoding the full URL into plugin.js, but despite this numerous cache clearing and refreshing just won't make it show up. |
Hi Mark,
sorry to hear that. If hardcoding it into plugin.js does not work, I'm out of ideas... it does work for me on all listed browsers. If IE shows it, I can't imagine it to be a path issue anyway. BTW: Firebug does indeed not work on the buttons that come out of the box, but it does work on the added button. Since it shows up in IE, try the Dev Tools that come with it; I can see the path just fine there. Anyone care to PN me with test access data so I can have a look at an editor? |
Quote:
Will be fixed in the next release. If you want to have it fixed right now, add the following line at the end of /includes/cel/cel_pp_plugin_editor_construct.php: Code:
$this->config['vbulletin']['phrase']['cel_pp_my_photos'] = $this->vbphrase['cel_pp_my_photos']; |
Quote:
As you say, can't be the path anyhow. It's a weird one. I'm sure I'll get to the bottom of it eventually. |
In IE8 the button is also missing, along with the following JS error....
Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.3) Timestamp: Sun, 19 Feb 2012 17:45:50 UTC Message: 'CKEDITOR.currentInstance.name' is null or not an object Line: 23 Char: 5 Code: 0 URI: http://www.bowlandcentral.com/forum/...n.js?t=B8DJ5M3 |
We upgraded to latest version and integrated images from our Photo competition system.
We are NOT getting the IE8 issue, we use Competitions, Albums, Attachments, vBgallery We also run Marco's editor enhancement and have multiple skins. We really like the button at the bottom of the editor window!! Thanks! Kym |
Awesome! I loved it! It makes posting easier! Thank you!
|
1 Attachment(s)
Small Problem.
PHP Code:
|
This is most likely caused by the imageresizer Addon you are obviously using.
|
Thanks for a nice mod. I have noticed a little problem:
Vbulletin version 4.1.11 Chrome and Firefox: seems to work perfectly IE8: editor doesn't show up |
Thank `s Cellarius
|
Quote:
Anyhow, a few days after my original post I was able to find some time to continue debugging the photo_popup.php code and was able to determine that the cause of our "500 Internal Server Error" was caused by -- and please forgive me for my bluntness -- very inappropriate use of Cookies to spare a simple SQL Query. Basically, photo_popup.php was attempting to define a nearly 12KB cookie (approx 100 albums or 4KB unserialized), which grossly exceeds the standard HTTP Header buffer in Apache (8KB) and is a major violation of both the Cookie Specifications as well as the spirit of what cookies were intended for. Per the Cookie Specifications (RFC2965) a site is only guaranteed support for a maximum of 20 cookies. The absolute maximum size for any cookie is 4KB (including data, expiration, and cookie name). Most importantly the absolute maximum storage available for ALL cookies for a given site is 4KB (i.e. one could do a single cookie of 4KB or 20 cookies of 204 bytes, or some combination that remains within these limits). As you are no doubt aware, vBulletin and its various Addons define a number of cookies, the exact number of which will vary from site to site, so in designing Addon components we must play nice and be respectful of the other cookies. Just as importantly from a design standpoint should be the recognition that ALL COOKIES must be transmitted by the browser to the web server with EACH and every request (even in Keep-Alive sessions). Given that the act of retrieving a single vBulletin page can easily entail many dozens of hits (HTML, CSS, images, buttons, etc), that quickly adds up to a lot of wasted bandwidth if we push our cookies to anywhere near 4KB (50 hits multiplied by 4KB is 200KB of bandwidth consumed just in cookies alone!). This is why cookies were never meant to exceed a few dozen to a couple hundred bytes at the absolute maximum. Add to this issue that Web Servers have absolute maximums set on their HTTP Header buffers (8KB in Apache and 16KB in IIS), more than adequate for acceptable headers, we must be all the more respectful of the Cookie Specifications. Web Browsers also have their own limits (and only promise to abide by the Cookie Specifications) and have very undefined behaviors once the total cookies exceeds 20 or the total bytes exceeds 4KB -- some browsers will stop sending cookies altogether, some will begin deleting cookies to free up space, and others still will only transmit the portion below 4KB whenever the threshold exceeds 20 cookies or 4KB! Any how, the simplest interim fix is to change line 220 (in Cel_PP 4.1.004) from: vbsetcookie('photo_popup_albums', $cache_cookie, FALSE);to vbsetcookie('photo_popup_albums', '', FALSE);you can also comment out line 218 since serializing $cache_cookie becomes irrelevant if we are not sending the cookie (well, we are but we're clearing it). This interim fix will prevent the web server from choking on an out-of-spec cookie and allow otherwise normal and expected behavior on the site. It will also reduce wasted bandwidth since the cookie will no longer be retransmitted to the web server for each and every hit requested by the user's browser. In fairness, if you are concerned with regard to the cost of the SQL Query (much of which I would expect to be Indexed any how) the more appropriate strategy would be to create your own caching table (e.g. cellpp_cache) on the SQL server to store the aggregated information for the user(s). The cost of not only setting a large cookie (and possibly blowing up the web server) and the constant retransmission of such large cookies by the browser (to the server) on each and every request is, IMHO, far more costly than any SQL query the cookie may have been intended to spare the server. For what it's worth, as a developer you are in good company in making this oversight. Before my retirement I spent quite a few years as a freelancer fixing web applications and by far one of the most common issues was developer failure to consider the upper and lower limits of their variable/storage types -- especially with regard to languages, such as C and SQL, where variables are rigidly typecast. Your issue with the out-of-spec cookie is very much the same sort of issue. I really hope I have not been too harsh, but I feel strongly that if you make the changes I have suggested and keep storage limits in mind with future implementations you will have a much more superior product. Lest I forget, our recent issues aside, we are very grateful for your work in developing Cel_PhotoPopup as our users very much appreciate the ease with which it allows them to insert photos from their albums. If you have any questions or concerns with regard to any of my comments, please feel free to ask. PS - I would also mention the missing "My Photo" toolbar text in plugin.js due to an unregistered variable, but I believe you mentioned already addressing that issue in an earlier post. |
reading before posting.
everthing is fine. thanks for th great mod |
Quote:
|
Installed in 4.1.12 Patch Level 1, my members love it, thanks Cellarius!
Nominated I have some attachments not showing up but can live with that for now. Benefits far outweigh this small issue. |
Again, thanks for the hard work on this!
|
Quote:
Quote:
The search for text should be: Code:
<vb:if condition="$show['moresmilieslink']"> |
Quote:
Does anyone have a better way to fix this? |
All times are GMT. The time now is 11:12 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|