penfold_99 Posted June 22, 2009 Posted June 22, 2009 hi chris, Option 2a works but option 2b doesn't. The problem for 2b is it finds the shim for the border if i stipulate a url to it but. then reverts back to the local servers www root to look for the shim for the little graphics in the widget. I would prefer having all the files in one place. Having x.gif in the root of moodle it might be delete at a later date as it looks like it should belong there.
PaperCut Posted June 22, 2009 Posted June 22, 2009 hi chris, Option 2a works but option 2b doesn't. The problem for 2b is it finds the shim for the border if i stipulate a url to it but. then reverts back to the local servers www root to look for the shim for the little graphics in the widget. I would prefer having all the files in one place. Having x.gif in the root of moodle it might be delete at a later date as it looks like it should belong there. I can't duplicate this. If you can post your code in full I'll take a look at it. Might be time to upgrade IE6 :-) We discussed converting the graphics used in the widgets to GIF for the next release to support IE6 however they contain an alpha channel so they can be conveniently overlayed on an existing web page of any color.
penfold_99 Posted June 22, 2009 Posted June 22, 2009 I can't duplicate this. If you can post your code in full I'll take a look at it. Might be time to upgrade IE6 :-) We discussed converting the graphics used in the widgets to GIF for the next release to support IE6 however they contain an alpha channel so they can be conveniently overlayed on an existing web page of any color. the code is as per your previous email. One way to test testing put your code in a subfolder and not on the web root. make sure there isn't an x.gif on the root and it shoule be able to replicate. I think i will just include a note, if they need support for IE6 they need to copy the file to the webroot.
penfold_99 Posted June 25, 2009 Posted June 25, 2009 just to update this post. I have tested the plugin at another school and it ran into an issue when using IE6 and IE7. I am current integrating browser detection to avoid this issue.
clodhopper Posted June 25, 2009 Author Posted June 25, 2009 Cool, this block is going to be great when it's ready :-) I'm on holiday for the 26th June - 3rd July so if you don't hear from me it's not that I'm ignoring you :-) Brian
iceman85 Posted January 9, 2012 Posted January 9, 2012 I have been trying to use this Moodle Plugins Directory: PaperCut Print Quotas papercut block in my moodle 2.1 but I am having problems getting it to connect to the server. Does anyone here know if there are any configurations I need to make on the papercut server in addition to block configuration on moodle (URL and port) ?? Any help would be great, at the moment im stuck with the balance not available image! Thanks
elis_hughes Posted March 16, 2012 Posted March 16, 2012 (edited) iceman85, I was stuck with the balance not available image because of the way the block checks if your IP address is internal or not - it compares the first 2 parts, e.g. 10.0 , where we have 2 different subnets because of multiple locations. If your client(s) IP address is on a different subnet to your Moodle server, this could be the issue you're having as well. I resolved it by editing [moodle_directory]/blocks/papercut/block_papercut.php and editing the line that reads $internal = address_in_subnet(getremoteaddr(), $serverip[0].'.'.$serverip[1]); to read $internal = address_in_subnet(getremoteaddr(), $serverip[0]); so that it only checks the very first part of the IP address - which in my case was 10 for both the server and client. Edited March 16, 2012 by elis_hughes Typo
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now