Archive for August, 2008

style 1-12 embed code points to ronica.net

Saturday, August 30th, 2008

style01.php - style12.php is statically pointing in the embed code to ronice.net.

Those styles should be able to run on any blog that will install the plugin.

they no longer do that

status : closed

css effects style 13-15

Saturday, August 23rd, 2008

The selected theme’s css effect style 13-15, those style should looks the same no matter the css that they are in.

look at this theme : http://wpcincopaplugin.ronica.net/styles/

solved

status :closed

Framework issues

Saturday, August 23rd, 2008
  • I’m getting this error in selectitems.php
    • Warning: Cannot modify header information - headers already sent by (output started at /home/orenshmu/public_html/cpFirstApp/cpAPI/base.php:202) in /home/orenshmu/public_html/cpFirstApp/selectitems.php on line 31 solved
  • after login in a new session, framework should redirect to the calling page and remove the user_token param (other params should stay)
    • from this - http://ronica.net/cpFirstApp/index.php?fid=4324344&user_token=te25c245itr34i45lgp5nq45
    • to this - http://ronica.net/cpFirstApp/index.php?fid=4324344solved

status :closed

must claim the new folder

Wednesday, August 6th, 2008

Please claim the folder, soon an unclaimed folders will not have access in nonUserSession

solved by adding     $page->post (’Folders_claim’, Array(”fid” => $fid)); in makefolder.php

status : closed

two php warning

Tuesday, August 5th, 2008
  1. I got this on wp 2.6 ( the new version)
    1. Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘media_admin_css’ was given in D:\Dev\wordpress\wp-includes\plugin.php on line 311 solved
  2. and this at some point (don’t remember exactly)
    1. Warning: : gzinflate() [function.gzinflate]: data error in /home/orenshmu/public_html/wp-content/plugins/wordpress-cincopa-media/cpAPI/base.php on line 116 string(72) “XML parse error 3 ‘no element found’ at line 1, column 0 (byte index -1)” getSession error - a solution, but we need more testing because it might be a problem not with the plugin code but with the response. maybe it only appears when the session expired? but I never encountered this error

status :closed

spam protection and Apache compression

Monday, August 4th, 2008
  1. is it possible to add CAPTCHA in user and blog registration ? I’m getting a lot of spam - done
  2. also to config the Apache server to compress http response - this should be done by the webmaster, I don’t have access to Apache config files; however, I installed a plugin (GZIP Output) that does pretty much the same thing. I am however under the impression that it loads much slower.

status : closed

Non english chars in the cloud

Monday, August 4th, 2008

When folder name return by providers.getContent contains non English character the popup will give an error alert. the reason for this is signature error.

You can test it with the demo account, look under y_2007 for folder name (in the cloud) name - coração

solved for Portuguese, I described the issue with Hebrew on RAC

solved

status : closed

some bugs

Saturday, August 2nd, 2008
0. when clicking 'insert' in the popup, it inserts the plugin at the begining of the post and not where the cursor is - Ok, I found the bug, it’s tricky: IE has this problem with tinyMCE (the textbox WP uses), that when you change the page in the popup box (through a link, for example, or a redirect, it loses the position,so when you close the popup, the cursor automatically goes to the beginning of the text. We are using redirect in the following situations: 1. in base.php, when the user is not logged in; 2. in base.php, when the session expired; 3. in the plugin page, when viewing an album and then clicking on Back [to main menu]); We have 3 solutions for this: 1. move cursor to the end of the textbox automatically if in IE ; 2. store the position of the cursor when opening the popup and restoring it after the popup has been closed (don’t know if that’s possible); 3. use AJAX in the situations I mentioned earlier, but I don’t know if it’s possible: 1. for login, we could open a new window as you said at the beginning of the project, but I don’t think we can do the trick when the user clicks “Login”: after all, we should somehow hold our page from loading until the user logged in, and only after that display the plugin page.
Another method I thought about is to make the plugin page an empty page containing a div and the buttons, and make another page that would serve wp-media-cincopa.php. For example, the user clicks on Back and it calls serve.php?action=back which returns the page with the main menu, and the script puts it in the div.
Or, the user clicks on Open folder and it calls serve.php?action=open&fid=[FID] and the images are loaded in the div.
Same thing forlogin: if the user is not logged in, the script returns the source of login.aspx into the div. if it can…
Do you think this is a good ideea? Btw, the newly implemented Logout functionality requires redirections as well.
  1. done - when style doesn’t exists should write an error
  2. done - styles 13,14,15 are not running in the right place where they where inserted just in a PAGE and not in a POST (you are right but should work nevertheless ) , see http://showcase.ronica.net/styles
  3. done - after clicking an item in style 13 it shouldn’t jump up to scroll 0
  4. done - change the name of the folder from == ronica.net == to the specific name of the blog like “Posted on bugs.ronica.net {date} {time}”
  5. done - in style 13, the next and previous buttons should have hand cursor
  6. done - in style 15, the strip above should have hand cursor
  7. done - in popup style selection, sort styles by their code and give a true one-line description
  8. done - change the name of the cincopa plugin app form phptest to ‘Wordpress Cincopa plugin’ and give some description, html description and landing page

status : closed, this is an IE bug with tinyMCE when changing page inside popup