The Joomla! Forum ™



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.



Post new topic Reply to topic  [ 140 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: Fox Contact
PostPosted: Thu Nov 24, 2011 11:40 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Sat Oct 28, 2006 11:16 pm
Posts: 1051
Location: Texas
http://extensions.joomla.org/extensions ... teringp0et

_________________
Honk if this signature offends you.


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Fri Nov 25, 2011 12:23 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Oct 31, 2006 12:12 am
Posts: 20
I Haven't had luck either... it is a challenge :pop


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Fri Nov 25, 2011 9:13 am 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Fri Oct 10, 2008 5:30 pm
Posts: 162
Location: Greece
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


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Sun Nov 27, 2011 3:19 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Nov 02, 2011 11:22 am
Posts: 2
ReReplacer not work for me :(


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Tue Nov 29, 2011 10:01 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Sat Oct 28, 2006 11:16 pm
Posts: 1051
Location: Texas
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.

_________________
Honk if this signature offends you.


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Wed Nov 30, 2011 8:24 am 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Fri Oct 10, 2008 5:30 pm
Posts: 162
Location: Greece
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.


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Thu Dec 01, 2011 8:17 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Sat Oct 28, 2006 11:16 pm
Posts: 1051
Location: Texas
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.

_________________
Honk if this signature offends you.


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Tue Dec 06, 2011 6:18 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Aug 08, 2008 12:20 pm
Posts: 9
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


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Thu Dec 22, 2011 4:05 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Feb 07, 2009 11:31 pm
Posts: 6
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:
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;
?>


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Fri Dec 23, 2011 6:07 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Aug 08, 2008 12:20 pm
Posts: 9
Tried that, still have the same "powered by fox contact" at the end of the page :(
In other words, doesn't work for me....


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Sun Dec 25, 2011 8:56 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Feb 07, 2009 11:31 pm
Posts: 6
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.


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Sun Dec 25, 2011 9:57 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Aug 08, 2008 12:20 pm
Posts: 9
first 2.0.8, then 2.0.10, both not work


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Mon Dec 26, 2011 9:24 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Feb 07, 2009 11:31 pm
Posts: 6
And you did put the code BEFORE "<?php echo($this->FormText); ?>" as specified above?


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Tue Dec 27, 2011 5:29 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Aug 15, 2010 11:14 pm
Posts: 4
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:
return $result . submittext() . PHP_EOL;


change it to

Code:
return $result . PHP_EOL;


thank me :p haha


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Tue Dec 27, 2011 8:14 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Aug 08, 2008 12:20 pm
Posts: 9
BRILLIANT!!!!!!!! Thanx that did it!!


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Wed Dec 28, 2011 12:07 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Dec 28, 2011 11:53 am
Posts: 1
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).


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Thu Dec 29, 2011 3:58 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Dec 29, 2011 6:01 am
Posts: 2
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!


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Mon Jan 09, 2012 11:41 pm 
Joomla! Intern
Joomla! Intern

Joined: Fri Jun 12, 2009 12:38 pm
Posts: 61
Location: Lyngdal, Norway
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


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Sun Jan 15, 2012 4:56 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jan 15, 2012 4:53 pm
Posts: 5
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! :)


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Thu Feb 02, 2012 6:08 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Mar 06, 2010 5:57 pm
Posts: 3
A little modification in the moparlakci solution, if the page layout is effected.

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


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


change it to

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


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Thu Feb 02, 2012 7:27 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jan 15, 2012 4:53 pm
Posts: 5
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.


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Thu Feb 02, 2012 7:37 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Mar 06, 2010 5:57 pm
Posts: 3
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.


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Thu Feb 02, 2012 8:09 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jan 15, 2012 4:53 pm
Posts: 5
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.


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Thu Feb 02, 2012 11:15 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jan 15, 2012 4:53 pm
Posts: 5
Here another screenshot.

Thanks for the help. :)


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Fri Feb 03, 2012 5:58 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Mar 06, 2010 5:57 pm
Posts: 3
I can't tell exactly, untill I inspect myself... I can not reproduce at my end.. try to use the latest version though...


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Fri Feb 03, 2012 5:49 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jan 15, 2012 4:53 pm
Posts: 5
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.


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Wed Feb 08, 2012 5:30 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Dec 29, 2011 6:01 am
Posts: 2
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


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Thu Feb 09, 2012 12:32 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Feb 09, 2012 12:26 am
Posts: 2
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


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Thu Feb 09, 2012 12:57 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Feb 09, 2012 12:26 am
Posts: 2
Thank you JawadSahil! It works perfect!


Top
 Profile  
 
 Post subject: Re: Fox Contact
PostPosted: Tue Feb 14, 2012 8:44 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Feb 14, 2012 8:36 am
Posts: 2
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 140 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next



Who is online

Users browsing this forum: Google [Bot] and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group