Fox Contact

This forum is for general questions about extensions for Joomla! 2.5.

Moderators: pe7er, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
piptech
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Aug 04, 2011 7:40 pm

Fox Contact

Postby piptech » Thu Aug 04, 2011 7:53 pm

I am using fox contact in joomla! 1.6, how do i remove the link "powered by fox contact" ?

fairFox
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Aug 19, 2011 4:32 am

Re: Fox Contact

Postby fairFox » Fri Aug 19, 2011 4:47 am

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.

webrightnow
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Sep 18, 2011 10:22 pm

Re: Fox Contact

Postby webrightnow » Sun Sep 18, 2011 10:25 pm

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.

User avatar
-Fox-
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Tue Mar 08, 2011 5:04 pm
Location: Spain
Contact:

Re: Fox Contact

Postby -Fox- » Mon Sep 19, 2011 3:09 pm

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.

webrightnow
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Sep 18, 2011 10:22 pm

Re: Fox Contact

Postby webrightnow » Mon Sep 19, 2011 6:08 pm

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.

Liggio
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Sep 23, 2011 10:32 am

Re: Fox Contact

Postby Liggio » Fri Sep 23, 2011 11:34 am

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

mensworkshop
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Sun Aug 24, 2008 1:16 am

Re: Fox Contact

Postby mensworkshop » Mon Sep 26, 2011 9:41 pm

Thanks Liggio!

josemanuelsh
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Mon Oct 03, 2011 1:44 am

Re: Fox Contact

Postby josemanuelsh » Mon Oct 03, 2011 1:57 am

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.

sassa80
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Oct 03, 2011 4:48 pm

Re: Fox Contact

Postby sassa80 » Tue Oct 04, 2011 7:19 pm

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 :-[

josemanuelsh
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Mon Oct 03, 2011 1:44 am

Re: Fox Contact

Postby josemanuelsh » Tue Oct 04, 2011 7:25 pm

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.

tstem
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Oct 06, 2011 2:25 pm

Re: Fox Contact

Postby tstem » Thu Oct 06, 2011 2:31 pm

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?

sassa80
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Oct 03, 2011 4:48 pm

Re: Fox Contact

Postby sassa80 » Thu Oct 06, 2011 3:58 pm

@ 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.

User avatar
gmolop
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Thu Oct 13, 2011 4:40 pm
Location: Spain
Contact:

Re: Fox Contact

Postby gmolop » Thu Oct 13, 2011 4:56 pm

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 *****
Edit: I forgot to mention..
Joomla Version 1.7.0
Fox Contact Form Version 2.0.7

nightpatrol
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Oct 14, 2011 8:55 am

Re: Fox Contact

Postby nightpatrol » Fri Oct 14, 2011 8:57 am

Thank you!

Xart
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Oct 15, 2011 6:50 pm

Re: Fox Contact

Postby Xart » Sat Oct 15, 2011 6:57 pm

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?

User avatar
gmolop
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Thu Oct 13, 2011 4:40 pm
Location: Spain
Contact:

Re: Fox Contact

Postby gmolop » Tue Oct 18, 2011 5:44 pm

@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 ;)

lovedigit
Joomla! Apprentice
Joomla! Apprentice
Posts: 44
Joined: Sun Oct 16, 2011 2:29 pm

Re: Fox Contact

Postby lovedigit » Tue Oct 18, 2011 6:10 pm

None of them works! :(

lovedigit
Joomla! Apprentice
Joomla! Apprentice
Posts: 44
Joined: Sun Oct 16, 2011 2:29 pm

Re: Fox Contact

Postby lovedigit » Tue Oct 18, 2011 6:13 pm

@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 :(

User avatar
gmolop
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Thu Oct 13, 2011 4:40 pm
Location: Spain
Contact:

Re: Fox Contact

Postby gmolop » Tue Oct 18, 2011 6:18 pm

@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.

lovedigit
Joomla! Apprentice
Joomla! Apprentice
Posts: 44
Joined: Sun Oct 16, 2011 2:29 pm

Re: Fox Contact

Postby lovedigit » Tue Oct 18, 2011 6:20 pm

@gmolop check your pm.

lovedigit
Joomla! Apprentice
Joomla! Apprentice
Posts: 44
Joined: Sun Oct 16, 2011 2:29 pm

Re: Fox Contact

Postby lovedigit » Tue Oct 18, 2011 6:22 pm

hope it will help.

User avatar
gmolop
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Thu Oct 13, 2011 4:40 pm
Location: Spain
Contact:

Re: Fox Contact

Postby gmolop » Tue Oct 18, 2011 6:25 pm

lovedigit wrote:@gmolop check your pm.

done! but is empty

lovedigit
Joomla! Apprentice
Joomla! Apprentice
Posts: 44
Joined: Sun Oct 16, 2011 2:29 pm

Re: Fox Contact

Postby lovedigit » Tue Oct 18, 2011 6:27 pm

check again! sorry!

User avatar
gmolop
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Thu Oct 13, 2011 4:40 pm
Location: Spain
Contact:

Re: Fox Contact

Postby gmolop » Tue Oct 18, 2011 6:30 pm

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...

FunkyStuff
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Oct 18, 2011 2:38 am
Contact:

Re: Fox Contact

Postby FunkyStuff » Wed Oct 19, 2011 12:47 am

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?

User avatar
kenmcd
Joomla! Champion
Joomla! Champion
Posts: 5672
Joined: Thu Aug 18, 2005 2:09 am
Location: California
Contact:

Re: Fox Contact

Postby kenmcd » Wed Oct 19, 2011 1:59 am

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).
.
██ LibreTraining

User avatar
gmolop
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Thu Oct 13, 2011 4:40 pm
Location: Spain
Contact:

Re: Fox Contact

Postby gmolop » Wed Oct 19, 2011 2:37 am

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 ... viewtopic.php?f=8&t=65

lovedigit
Joomla! Apprentice
Joomla! Apprentice
Posts: 44
Joined: Sun Oct 16, 2011 2:29 pm

Re: Fox Contact

Postby lovedigit » Wed Oct 19, 2011 3:07 am

sorry! i got stumble upon some work yesterday.
so @gmolop what do you suggest?

soulrelic616
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Wed Aug 10, 2011 9:33 am

Re: Fox Contact

Postby soulrelic616 » Wed Oct 19, 2011 9:54 am

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 :)

User avatar
gmolop
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Thu Oct 13, 2011 4:40 pm
Location: Spain
Contact:

Re: Fox Contact

Postby gmolop » Wed Oct 19, 2011 8:29 pm

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();


Return to “Extensions for Joomla! 2.5”

Who is online

Users browsing this forum: No registered users and 5 guests