Page 1 of 5

Fox Contact

Posted: Thu Aug 04, 2011 7:53 pm
by piptech
I am using fox contact in joomla! 1.6, how do i remove the link "powered by fox contact" ?

Re: Fox Contact

Posted: Fri Aug 19, 2011 4:47 am
by fairFox
Go to your root joomla directory, then open /components/com_foxcontact/helpers/fsubmitter.php
Search for $result .= $GLOBALS["metadata"]; and comment it out (or remove it). The backlink should disappear.

P.S. I wouldn't have posted this, but the extension author is really arrogant about this issue. He touts his software as "free". Then, instead of asking for honest donations, he arrogantly demands a 10euro donation so that he emails you a copy of the extension, backlink-free.
If he comes out with a new version, would he email it then? He doesn't say he would.

He doesn't seem to understand that a professional-looking website should not have any backlinks.

As a developer myself, I'm all for paying developers for their work. But this is really not an honest way. >:( If you want to make a paid extension, make a paid extension. >:( If you say your software is free, don't do these dishonest and arrogant tricks.

Re: Fox Contact

Posted: Sun Sep 18, 2011 10:25 pm
by webrightnow
This no longer works in the latest version of Fox Contact, the developer has clearly read this and hidden the code somewhere else.
No matter, I agree with fairFox 100% and shall endeavour to find an updated solution and post it here.

Re: Fox Contact

Posted: Mon Sep 19, 2011 3:09 pm
by -Fox-
fairFox wrote:If you want to make a paid extension, make a paid extension.
Ok Adam. You won once again. This is a paid extension.
But unlikely other paid extensions, can be used even by people who can't sustain charges.
In these cases, please do not appropriate of copyright, but attribute the work to the author by leaving untouched the link.
fairFox wrote:He doesn't seem to understand that a professional-looking website should not have any backlinks.
A professional-looking website can usually sustain the cost of 10 Euro asked for remove the backlink.
fairFox wrote:If he comes out with a new version, would he email it then? He doesn't say he would.
Yes, he would.
If you have other genuine questions (like the last one), fell free to ask.

Re: Fox Contact

Posted: Mon Sep 19, 2011 6:08 pm
by webrightnow
Ok, so I tried my best but I couldn't beat the encryption system. At least the author is now admitting it's a paid extension, not a free one. The solution then is to live with the link, or uninstall and get FlexiContact, which is actually free, does pretty much the same job and doesn't put any backlink in your form. Oh, and the Captcha system is quite good fun.

Re: Fox Contact

Posted: Fri Sep 23, 2011 11:34 am
by Liggio
update to fairfoxs post:
-> root joomla directory, -> open /components/com_foxcontact/helpers/fsubmitter.php -> search for $result .= '</div>' . PHP_EOL; after that you must see that -> ${"\x72\x65su\x6c\x74"} .= ${"G\x4c\x4fB\x41\x4cS"}["met\x61d\x61\x74a"]; -> delete it and your foxcontact has his freedom

Re: Fox Contact

Posted: Mon Sep 26, 2011 9:41 pm
by mensworkshop
Thanks Liggio!

Re: Fox Contact

Posted: Mon Oct 03, 2011 1:57 am
by josemanuelsh
I would usually pay for scripts if they are good (Fox Contact IS), but I need to deliver a project tomorrow and this guy’s website is not working (fox.ra.it). Since there is no way to pay for it, I decided I do something to eliminate the “power by”.

The last version has a much more difficult obfuscation, so it was impractical to fix that. I came up with a different approach (not very elegant, but it works). I am posting here in case anybody needs it since it is impossible to pay for the extension.

Simply open /components/com_foxcontact/views/foxcontact/tmpl/default.php and insert this instruction in the JavaScript block at the end of that file:

$$('#FoxForm div').getLast().dispose();

That will eliminate the DIV completely. As I said, not very elegant… but it is better than nothing.

I am sure the developer will come up with a way to fix that too (instead of fixing his website), but for the time being, I can deliver my work tomorrow.

Re: Fox Contact

Posted: Tue Oct 04, 2011 7:19 pm
by sassa80
I use the latest version and try josemanuelsh code but nothing happend after this, the messages is still there. And Liggio and fairFox changes are not possible for me, because this codes are not more in the latest version.

Need help :-[

Re: Fox Contact

Posted: Tue Oct 04, 2011 7:25 pm
by josemanuelsh
Hey sassa80,

Since none of the DIVs have any ID, I use Mootools to find the last DIV inside de form FoxForm (the one with the link in my site). Make sure your form has the ID attribute = “FoxForm”, and that the last DIV inside that form is the one with the link. You can do that last part by looking at the source code in you browser.

Hope this helps.

Re: Fox Contact

Posted: Thu Oct 06, 2011 2:31 pm
by tstem
I guess I don't understand this last explanation as the DIVs are all over the place... Step by step was working, but unfortunately I was too late. Anyone else find where the most recent hidden field is and how to delete it?

Re: Fox Contact

Posted: Thu Oct 06, 2011 3:58 pm
by sassa80
@ josemanuelsh: Thanks. I try it but nothing happend. But the ID is correct and it´s the last DIV too.

I checked all the files in the component area from the contact form. It´s funny that you can´t find any of the code from the <a>-link that Fox Contact create.

Re: Fox Contact

Posted: Thu Oct 13, 2011 4:56 pm
by gmolop
Didn't work for me also (@josemanuelsh code...)

But with reference to his 'idea' I wrote in pure javascript (without DOM) a function to 'Hide' the last DIV.
At least to me .. I works perfect.

Same, process, copy the code below in the Javascript Block at the end.
File: default.php
Line: 75
Located in: /components/com_foxcontact/views/foxcontact/tmpl

Before...

Code: Select all

<script type="text/javascript">
//<![CDATA[
HideCheckboxes();
InitializeDropdowns();
//]]>
</script>
After...

Code: Select all

<script type="text/javascript">
//<![CDATA[
HideCheckboxes();
InitializeDropdowns();

//** Start Hide FoxForm Credit Link
function hideFoxForm(){
var theForm = document.getElementById("FoxForm");
var theDiv = theForm.getElementsByTagName("div");
var divNum = theDiv.length - 1;
theDiv[divNum].style.display="none";
}
hideFoxForm();
//** End Hide FoxForm Credit Link
//]]>
</script>
This will identify how many DIV's are in the form, and hide the last one.

Hope it's helps, works for me! :D
***** Manual signatures are NOT allowed ********** Manual signatures are NOT allowed ********** Manual signatures are NOT allowed *****__
Edit: I forgot to mention..
Joomla Version 1.7.0
Fox Contact Form Version 2.0.7

Re: Fox Contact

Posted: Fri Oct 14, 2011 8:57 am
by nightpatrol
Thank you!

Re: Fox Contact

Posted: Sat Oct 15, 2011 6:57 pm
by Xart
Hi, gmolop,
Very good explanation, but maybe I work with the latest version where this code where described above does not work for me. In my case disapear the send button but the link is still there. Аny ideas?

Re: Fox Contact

Posted: Tue Oct 18, 2011 5:44 pm
by gmolop
@Xart;
In your case, the code is removing the second last div.
Dont know really why, I would need to see your form.

But if all your forms have the same issue, remove the 'minus 1' in the variable 'divNum'.
Leave it like this:

Code: Select all

...
var divNum = theDiv.length;
...
That should work. ;)

By the way, this script was based on Version 2.0.7, but what it does, is simply 'hide' the very last DIV tag, so It should work on any version where the Link is in the last DIV (Inside the 'FoxForm' form).

Any way, Good Luck ;)

Re: Fox Contact

Posted: Tue Oct 18, 2011 6:10 pm
by lovedigit
None of them works! :(

Re: Fox Contact

Posted: Tue Oct 18, 2011 6:13 pm
by lovedigit
@gmolop i tried what you said but i am having the same issue as Xart
using the script with -1 removes submit button and without -1 does nothing :(

Re: Fox Contact

Posted: Tue Oct 18, 2011 6:18 pm
by gmolop
@lovedigit;
You can test the script before modify the file, to ensure that this well-written.
Just try it in the Developer Console on Google Chrome or FireFox. (or address bar if you use another that dont have developer console)

If you want, give me one link to your form so I can check the code and if it's neccesasry, I can change the script for you.

Re: Fox Contact

Posted: Tue Oct 18, 2011 6:20 pm
by lovedigit
@gmolop check your pm.

Re: Fox Contact

Posted: Tue Oct 18, 2011 6:22 pm
by lovedigit
hope it will help.

Re: Fox Contact

Posted: Tue Oct 18, 2011 6:25 pm
by gmolop
lovedigit wrote:@gmolop check your pm.
done! but is empty

Re: Fox Contact

Posted: Tue Oct 18, 2011 6:27 pm
by lovedigit
check again! sorry!

Re: Fox Contact

Posted: Tue Oct 18, 2011 6:30 pm
by gmolop
I got it, give me a second...

EDIT: Extrange.. works for me... with the original script works perfect in the developer console...
I think there something wrong in the way you are editing the file...

Re: Fox Contact

Posted: Wed Oct 19, 2011 12:47 am
by FunkyStuff
gmolop: In the last edition Demis added code to randomize the positon of the div you are trying to remove.

It seems that Demis spent a lot of time modifying and adding funky stuff to his 'Fox Contact Form' script to forcibly add the useless backlink to his site. Anyway, I fine-tuned the sctipt a little bit (it's GNU, right?) by removing some of the funky stuff. And because (i'm sure about that) Demis will 'upgrade' the funky stuff ASAP, I uploaded the whole archive with the derivated script, so you can download it in a working state from here:

http://dox.bg/files/dw?a=1f8c83b930

The moronish file hosting service will host the file somewhere around until 1st of November.
(No matter what happens; IMHO they do not speak English.)

mods: Why did you remove my previous post with the same msg?

Re: Fox Contact

Posted: Wed Oct 19, 2011 1:59 am
by kenmcd
FunkyStuff wrote: http://dox.bg/files/dw?a=1f8c83b930
mods: Why did you remove my previous post with the same msg?
That is a good question.
Why is a link to a modified version of a free GPL extension being removed?

I went through this with some modifications to a GPL extension that I had posted quite awhile ago.
A moderator removed my posts - an act which created some "controversy."
Eventually it was apparently determined that my posts should not have been removed.

Note that I never got a public response from a moderator clearly defining the policy,
but my posts stopped getting removed.

The free discussion of modifications to GPL extensions has had long history in this forum since the beginning.
Some moderators seem to forget this and delete posts to protect developers (who are perhaps friends).
.

Re: Fox Contact

Posted: Wed Oct 19, 2011 2:37 am
by gmolop
FunkyStuff wrote:gmolop: In the last edition Demis added code to randomize the positon of the div you are trying to remove....
aha!!!.. that's why!.. Thanks!
In that case.. we can change a few lines to find out the DIV number with...

Code: Select all

if (div.innerHTML == "...") {...
:D :D :D
FunkyStuff wrote:http://dox.bg/files/dw?a=1f8c83b930
mods: Why did you remove my previous post with the same msg?
According to this, not clear to me, I can not say ... http://forum.joomla.org/viewtopic.php?f=8&t=65

Re: Fox Contact

Posted: Wed Oct 19, 2011 3:07 am
by lovedigit
sorry! i got stumble upon some work yesterday.
so @gmolop what do you suggest?

Re: Fox Contact

Posted: Wed Oct 19, 2011 9:54 am
by soulrelic616
Hello, good work with the mod modifications!
FunkyStuff wrote:gmolop: In the last edition Demis added code to randomize the positon of the div you are trying to remove.

http://dox.bg/files/dw?a=1f8c83b930

I just realised that using this component it works fine as a menu item, but once assigned as a module it makes the pages go blank, any idea about this issue?

Regards :)

Re: Fox Contact

Posted: Wed Oct 19, 2011 8:29 pm
by gmolop
lovedigit wrote:sorry! i got stumble upon some work yesterday.
so @gmolop what do you suggest?
Try this new one...

Code: Select all

function hideFoxForm(){
	var theForm = document.getElementById("FoxForm"); // Set the FoxForm Form...
	var theDiv = theForm.getElementsByTagName("div"); // All the div's in the Form...
	var divNum = theDiv.length - 1; // How many div's are...
	var i=0;
	for (i=0;i<=divNum;i++) // Loop through all div's...
	{
		var theLink = theDiv[i].innerHTML; // Get content of each...
		if (theLink.search("http://www.fox.ra.it/")!=-1)
		{theDiv[i].style.display="none";} // If the link is found, that div will hide!
	}
}
hideFoxForm();