Hey man. Everything looks good to me. Only thing is, only because it’s coming up blank, I assume we have to create a /quarantine/success page? What do you suggest it entail?
Yep you will need to create a quarantine success page if you are not submitting using ajax. The reason for this is when a post is quarantined it will be closed so you cannot refresh to it anymore. I suggest your page explain why th post has been quaraninted and offer alternative content.
This looks almost perfect for a site update that I’m in the middle of. Any chance you could add another field in the table for users which explains why the entry/comment should be guaranteed? For example, Digg allows users to flag content as stuff like Lame, Duplicate Story, Spam, and a few other things.
Hey Jim,
Yep the release version has this feature.
Cheers
Doh! FYI - I made the form submit an image and it does not indeed seem to be working for me in IE browsers. I’ll google if there’s any way to get around this issue but if anyone knows of a solution, post here!
Hmmm seems like a weird issue. As long as the form is being submitted than the module should work.
If so then the PHP code would have to be modified a bit to accommodate IE’s issue with POST. Apparently when the submit form POSTs to PHP (or something like that) and the button is an image, IE makes your cursor do some sort of X and Y coordinate thing.
One way I found to work around this is to add _x to the “variable”? I’m not very good with PHP (but I can design a mean site!)
so, for example, I did something like this on a project:
if (isset($_POST['CodeSubmit_x'])) {
$code = $_POST['Code'];
....blah...
and my image submit button was like so:
<input type="image" src="{site_url}assets/login-bnt.jpg" name="CodeSubmit" value="CodeSubmit" />
I got around the IE image as submit button issue using CSS and the image used as a background image similar to how its done in the link below. However, I did find that in IE 7 the text-indent did not work for me with my coding so I used a period as submit text and font-size 1px - not a very good solution but it works until I find something more substantial. I’ll look into the php solution for this as posted.
Only problem is if you have a name attribute associated with the submit button, this method wont work. Not sure how Leevi set it up.
Internet Explorer doesn’t process properly the name attribute of a submit button. This is usually irrelevant unless you rely on its value for some script processing.
Only problem is if you have a name attribute associated with the submit button, this method wont work. Not sure how Leevi set it up.Internet Explorer doesn’t process properly the name attribute of a submit button. This is usually irrelevant unless you rely on its value for some script processing. Here is an article about the problem of the submit button in IE (thanks to Malcolm Campbell for the tip).
LG Quarantine just submits the form to a normal EE ACT url, nothing special. If there is an issue it would be with EE but from what I have seen in their code everything seems to be fine.
I have submitted forms using an image button and freeform before without any issues so I don’t see why LG Quarantine would be any different. I’ll try and get some time to test out the dev version and see if I can confirm the issues you guys are having.
Cheers
Hey Leevi, Strikes me you could use this for other purposes too. For example, by changing the parameter from ‘closed’ to, say, ‘spectacular’, you’ve just made a super-favoriter of sorts. If there’s a running count that continues of the flags, you almost have Digg-like functionality to boot…. My .02 cents.
Hey Leevi, Strikes me you could use this for other purposes too. For example, by changing the parameter from ‘closed’ to, say, ‘spectacular’, you’ve just made a super-favoriter of sorts. If there’s a running count that continues of the flags, you almost have Digg-like functionality to boot…. My .02 cents.
Well yeah I guess you could… Comments would still be set to closed tho as they can only have one status.
I’m hoping to use this with the MSM (multiple site manager) and I noticed that this module creates an error on the additional site. This appears on the CP home page
Notice: Undefined index: 2 in /domain-path/public_html/system/extensions/ext.lg_quarantine_ext.php on line 140
and does not record the flagged entries for the additional site as well.
Leevi, you da Man! Amazing. When I get some time i’d love to test this.
This module is actually completed on my dev machine… I’m just finishing an update to LG Polls and then I will relaunch all of my popular extensions / modules. If you want to keep updated check back in the forum of follow me on twitter
I’m hoping to use this with the MSM (multiple site manager) and I noticed that this module creates an error on the additional site. This appears on the CP home pageand does not record the flagged entries for the additional site as well.Notice: Undefined index: 2 in /domain-path/public_html/system/extensions/ext.lg_quarantine_ext.php on line 140
Hey Rob,
Thanks for the report. Can I send you the latest version to test before I release it to the public?
Cheers
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.