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.
User avatar
stutteringp0et
Joomla! Ace
Joomla! Ace
Posts: 1389
Joined: Sat Oct 28, 2006 11:16 pm
Location: Texas
Contact:

Re: Fox Contact

Post by stutteringp0et » Thu Nov 24, 2011 11:40 pm

My extensions: http://extensions.joomla.org/profile/pr ... ails/18398
Honk if this signature offends you.

User avatar
terismikilis
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Tue Oct 31, 2006 12:12 am

Re: Fox Contact

Post by terismikilis » Fri Nov 25, 2011 12:23 am

I Haven't had luck either... it is a challenge :pop

EvanGR
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 242
Joined: Fri Oct 10, 2008 5:30 pm
Location: Greece

Re: Fox Contact

Post by EvanGR » Fri Nov 25, 2011 9:13 am

If you want to remove stuff from your website, a good option is ReReplacer

http://www.nonumber.nl/extensions/rereplacer

To be honest, if I could not tolerate a backlink to the author's site (which is a reasonable trade-off), I would either pay for it or look for other extensions.

aicontactsafe is a good one

MarinPetkow
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Nov 02, 2011 11:22 am

Re: Fox Contact

Post by MarinPetkow » Sun Nov 27, 2011 3:19 pm

ReReplacer not work for me :(

User avatar
stutteringp0et
Joomla! Ace
Joomla! Ace
Posts: 1389
Joined: Sat Oct 28, 2006 11:16 pm
Location: Texas
Contact:

Re: Fox Contact

Post by stutteringp0et » Tue Nov 29, 2011 10:01 pm

EvanGR - My issue is less with the backlink and more with the default styling. The FoxContact author assumes that I want my site to look a particular way and provides no options to style the output of his component. On top of that, he obfuscates his code to make it hard (impossible for some) to achieve their styling goals.

I might consider buying it if it was worth buying. Right now it fills a gap while I build something better.
My extensions: http://extensions.joomla.org/profile/pr ... ails/18398
Honk if this signature offends you.

EvanGR
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 242
Joined: Fri Oct 10, 2008 5:30 pm
Location: Greece

Re: Fox Contact

Post by EvanGR » Wed Nov 30, 2011 8:24 am

Have you tried tools like Firebug? Unless I am mistaken, it lets you see and edit the css in a clear hierarchical view. Then you could bypass the default form stylesheet with your own.

having said that, I would steer clear of a component that locks me down to a specific style and provides no choice. It is clear to me that you are looking for something different also.

User avatar
stutteringp0et
Joomla! Ace
Joomla! Ace
Posts: 1389
Joined: Sat Oct 28, 2006 11:16 pm
Location: Texas
Contact:

Re: Fox Contact

Post by stutteringp0et » Thu Dec 01, 2011 8:17 pm

I use firebug all of the time. That's not the route I want to go because it's just adding more css on top of css I don't want. And there are some things applied by inline css, javascript, and other questionable methods used in that extension.

When I unobfuscated the script, I removed all of the nonsense. Without the nonsense, it's not that bad - it ships with nonsense though and attempts to make it impossible to remove.
My extensions: http://extensions.joomla.org/profile/pr ... ails/18398
Honk if this signature offends you.

Harbert
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Fri Aug 08, 2008 12:20 pm

Re: Fox Contact

Post by Harbert » Tue Dec 06, 2011 6:18 pm

I tried so find also where can eliminate this backlink, unsuccesful unfortunetly.
I did notice the backlink was only visible in the module with me, not the menu-link.
This means for me the backlink must be in the mod_foxcontact.php/inc

The .inc is abracadabra for me, but probably that is what the author wants.

Anybody got another good idea? :geek:

regards

cholzsch
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Feb 07, 2009 11:31 pm

Re: Fox Contact

Post by cholzsch » Thu Dec 22, 2011 4:05 pm

OK...for version 2.0.10, this will HIDE the backlink, not remove it. (This insures the developer gets the proper credit. It will still be visible in the source code.) I'm sure it won't be long for a new update that will make this void.

Code: Select all

Open:
components/com_foxcontact/views/foxcontact/tmpl/default.php

Find:
<?php echo($this->FormText); ?>

Before, Add:

<?php
$Modified_Text = $this->FormText;
$visible = "visible";
$hidden = "hidden";
$Modified_Text = str_replace($visible , $hidden , $Modified_Text);
$this->FormText = $Modified_Text;
?>

Harbert
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Fri Aug 08, 2008 12:20 pm

Re: Fox Contact

Post by Harbert » Fri Dec 23, 2011 6:07 pm

Tried that, still have the same "powered by fox contact" at the end of the page :(
In other words, doesn't work for me....

cholzsch
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Feb 07, 2009 11:31 pm

Re: Fox Contact

Post by cholzsch » Sun Dec 25, 2011 8:56 pm

Harbert wrote:Tried that, still have the same "powered by fox contact" at the end of the page :(
In other words, doesn't work for me....
What version are you using? As I pointed out, this is for 2.0.10, and it works perfectly for me.

Harbert
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Fri Aug 08, 2008 12:20 pm

Re: Fox Contact

Post by Harbert » Sun Dec 25, 2011 9:57 pm

first 2.0.8, then 2.0.10, both not work

cholzsch
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Feb 07, 2009 11:31 pm

Re: Fox Contact

Post by cholzsch » Mon Dec 26, 2011 9:24 pm

And you did put the code BEFORE "<?php echo($this->FormText); ?>" as specified above?

moparlakci
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Aug 15, 2010 11:14 pm

Re: Fox Contact

Post by moparlakci » Tue Dec 27, 2011 5:29 pm

I just found the solution for the newest release of fox contact after a long research.

go to public_html/components/com_foxcontact/helpers/fsubmitter.php

and on line 79

you will see this

Code: Select all

return $result . submittext() . PHP_EOL;
change it to

Code: Select all

return $result . PHP_EOL;
thank me :p haha

Harbert
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Fri Aug 08, 2008 12:20 pm

Re: Fox Contact

Post by Harbert » Tue Dec 27, 2011 8:14 pm

BRILLIANT!!!!!!!! Thanx that did it!!

Andy_85
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Dec 28, 2011 11:53 am

Re: Fox Contact

Post by Andy_85 » Wed Dec 28, 2011 12:07 pm

Hi there,

with the last solution the "Powered By" button is no more visible but the rest of the page results fault (the div layer of the rest of the page haven't been created).

rjwiii
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Dec 29, 2011 6:01 am

Re: Fox Contact

Post by rjwiii » Thu Dec 29, 2011 3:58 pm

cholzsch's code above worked like a charm on version 2.0.10! If you can grok what that code does, it's really a neat trick. cholzsch is right, however, when he says that it could be easily defeated ...

Thanks cholzsch!

Kengun
Joomla! Intern
Joomla! Intern
Posts: 80
Joined: Fri Jun 12, 2009 12:38 pm
Location: Lyngdal, Norway
Contact:

Re: Fox Contact

Post by Kengun » Mon Jan 09, 2012 11:41 pm

josemanuelsh wrote: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.
Just to let you know that this worked like a charm. Thank you josemanuelsh

Solir
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sun Jan 15, 2012 4:53 pm

Re: Fox Contact

Post by Solir » Sun Jan 15, 2012 4:56 pm

Any idea how to hide that in the module? I'm using it in an article by {loadposition } because I need the article template.
I hided it in the component but can't in the module. Thanks! :)

JawadSahil
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Mar 06, 2010 5:57 pm

Re: Fox Contact

Post by JawadSahil » Thu Feb 02, 2012 6:08 pm

A little modification in the moparlakci solution, if the page layout is effected.
go to public_html/components/com_foxcontact/helpers/fsubmitter.php

Code: Select all

return $result . submittext() . PHP_EOL;
change it to

Code: Select all

return $result ."</div>". PHP_EOL;

Solir
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sun Jan 15, 2012 4:53 pm

Re: Fox Contact

Post by Solir » Thu Feb 02, 2012 7:27 pm

Thank you very much, it works! :)

I also have a big empty space between the publication date and the beginning of the Fox Contact module.

Do you know how I can remove it?

Thanks! :)
You do not have the required permissions to view the files attached to this post.

JawadSahil
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Mar 06, 2010 5:57 pm

Re: Fox Contact

Post by JawadSahil » Thu Feb 02, 2012 7:37 pm

The space might be due to any reason, not necessarily due to fox contact... If you are using firefox then use firebug (addon) to inspect the space.

Solir
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sun Jan 15, 2012 4:53 pm

Re: Fox Contact

Post by Solir » Thu Feb 02, 2012 8:09 pm

Yes, I already inspected that space and it's in the foxcontact div. It's where appear the errors when you send the form. I tried to see in the template but I can't find how to remove it when it is empty.

Solir
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sun Jan 15, 2012 4:53 pm

Re: Fox Contact

Post by Solir » Thu Feb 02, 2012 11:15 pm

Here another screenshot.

Thanks for the help. :)
You do not have the required permissions to view the files attached to this post.

JawadSahil
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Mar 06, 2010 5:57 pm

Re: Fox Contact

Post by JawadSahil » Fri Feb 03, 2012 5:58 am

I can't tell exactly, untill I inspect myself... I can not reproduce at my end.. try to use the latest version though...

Solir
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sun Jan 15, 2012 4:53 pm

Re: Fox Contact

Post by Solir » Fri Feb 03, 2012 5:49 pm

Yes I'm with the last version! I tried lot of things but no one worked.

The problem it's not in the css and I don't find the php file that generate that big space. (it's not the default.php in the tmpl folder)

And I tried also with Firefox and IE but it's always the same.

Here other screenshots with the firebug inspection.

Any idea?

Thanks.

EDIT: I tried another template and with it there isn't the empty space. Now I must understand why my template generates that space. :\
You do not have the required permissions to view the files attached to this post.

rjwiii
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Dec 29, 2011 6:01 am

Re: Fox Contact

Post by rjwiii » Wed Feb 08, 2012 5:30 am

Just to let every one know, cholzsch's code above still works on version 2.0.12. The original Fox Contact code has changed slightly, but inserting the code at the right place works like magic. If you upgrade Joomla to 2.5.x, you WILL have to install Fox Contact 2.0.12.

rjwiii

munity
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Feb 09, 2012 12:26 am

Re: Fox Contact

Post by munity » Thu Feb 09, 2012 12:32 am

Hi! I would like to know which version of Foxcontact I got to start trying to remove the "powered by fox contact" Where can I find the version out?
After that, thank you very much to all the people who collaborate to make this better!!

Regards

munity
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Feb 09, 2012 12:26 am

Re: Fox Contact

Post by munity » Thu Feb 09, 2012 12:57 am

Thank you JawadSahil! It works perfect!

Phatee
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Feb 14, 2012 8:36 am

Re: Fox Contact

Post by Phatee » Tue Feb 14, 2012 8:44 am

Hi,
I found out a way for version 2.0.10, but i see JawadSahil already found out the same way above. However i would at least a little improve it.

components/com_foxcontact/helpers/fsubmitter.php

line: 79

code:
return $result . submittext() . PHP_EOL;

replace by:
return $result . "</div>" . PHP_EOL;

if you just remove submittext() it will (or at least it did to me) f**k up html structure with missing closing DIV


Locked

Return to “Extensions for Joomla! 2.5”