Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 2:30 am (All times are UTC )

 


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  [ 82 posts ]  Go to page Previous  1, 2, 3
Author Message
Posted: Tue May 08, 2007 6:28 am 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Tue Jun 27, 2006 8:13 am
Posts: 119
FluidDruid23 wrote:
Hi!

Nice little module.  :)

I had it working great on my site, then I guess I must have changed something because now I only get the domain name recommended and not the full link to the page, which I was getting previously...

Site is http://www.ttmygo.co.uk - once past the first page, you can see the Recommend button bottom right.

Help?

Matt
FluidDruid23


Dear FluidDruid23,
I visit your site and it was good and i test the module of  Mr or Ms Elmoch and its work great!!!

I would like to ask if you edit his code...
Bec. i can invite not only one but many...and also sir how u made only one icon for the link i do not knw where to find i would like whole image as a link,...
if posble to know what u did.
I am not a coder like u sir..

I would like to ask also  Mr or Ms Elmoch when i testing it in my pc i do not have a alert message for wrong or empty email or subject...
Is this natural?

Thanks!!
Thanks for help!!!
Great JOB!!


Last edited by mossimo on Tue May 08, 2007 9:35 am, edited 1 time in total.

Top
  E-mail  
 
Posted: Tue May 08, 2007 9:45 am 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Aug 26, 2005 10:13 pm
Posts: 408
Location: Spain
mossimo wrote:

I would like to ask also  Mr or Ms Elmoch when i testing it in my pc i do not have a alert message for wrong or empty email or subject...
Is this natural?

Thanks!!
Thanks for help!!!


Hello mossimo,
As you can see in my public profile, my gender is male, and as you can see in the forums, there's no need to use a title before the nickname.  :)
Now, answering your question: no, that's not the expected behaviour and I never encountered such an issue. Try to uninstall and reinstall the module and the component.
Thanks for your interest.  :)

_________________
My Extensions: JM-Recommend, JM-Credits, JM-Link Us (for J! 1.0.x). Find them in the 3rd Party Extensions Forum.
Joomla test installation: www.poraqui.net/joomla  User: test  Password: test


Top
  E-mail  
 
Posted: Tue May 08, 2007 10:02 am 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Tue Jun 27, 2006 8:13 am
Posts: 119
dear elmoch :)
i download joomla1.0_mod_jm-recommend_1.1_RC1_elmoch.zip and its component i reinstall it my component and module still the same i there is no alert message sir... :( :( :(


Top
  E-mail  
 
Posted: Tue May 08, 2007 3:29 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Tue Jun 27, 2006 8:13 am
Posts: 119
PLEASE any help!!! :( :(
I try to install the beta and rc1 but still not working the alert...
if possible elmoch to have the recommend pluc version!!1
thanks!!!


Top
  E-mail  
 
Posted: Tue May 08, 2007 3:47 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Tue Jun 27, 2006 8:13 am
Posts: 119
Dear Elmoch!!!
If possble to have the recoomend plus!
is this the old version?
bec still the same i try to install and uninstall the beta and rcc1 still no alert please!!!!!!!!!!!

and also i like to have a link the image.....
and this post is for recommend plus version....
when i try to do in rc1 error
I am not a coder please!!!!!

elmoch wrote:
JenniAnn wrote:
Thank you so much! That was the clearest instruction to follow, and the simplest thing to do.

You're welcome.  :)

JenniAnn wrote:
I was wondering if it would also be possible to have the image also be the link, rather than having the "send this site" next to the image? If it is possible, how would I go about doing this?

Yes, it is.  I think that the following should work:  8)

Edit /modules/mod_recommend_plus.php

Comment out or delete lines # 73, 74 and 77

Code:
    echo "<img src=\"".$rcp_image."\" align=\"absmiddle\" alt=\"\" />";
    echo " ";
  }
 
    echo "<a href=\"javascript:void(0)\" onclick=\"window.open('index2.php?option=com_recommend_plus&task=form&act=".$rcp_act.$rcp_ttl."','mywin','status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=750,height=410,directories=no,location=no');\" title=\"".$rcp_link_text."\">".$rcp_link_text."</a>";


IMPORTANT: Do not delete line # 75 which should contain just a closing curly brace.

Then add this code instead of line # 77

Code:
echo "<a href=\"javascript:void(0)\" onclick=\"window.open('index2.php?option=com_recommend_plus&task=form&act=".$rcp_act.$rcp_ttl."','mywin','status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=750,height=410,directories=no,location=no');\"><img src=\"".$rcp_image."\" align=\"absmiddle\" border =\"0\" alt=\"".$rcp_link_text."\" /></a>";



And, in case you want both image and text linked...

Replace line # 73
Code:
   echo "<img src=\"".$rcp_image."\" align=\"absmiddle\" alt=\"\" />";


with this one
Code:
echo "<a href=\"javascript:void(0)\" onclick=\"window.open('index2.php?option=com_recommend_plus&task=form&act=".$rcp_act.$rcp_ttl."','mywin','status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=750,height=410,directories=no,location=no');\"><img src=\"".$rcp_image."\" align=\"absmiddle\" border =\"0\" alt=\"".$rcp_link_text."\" /></a>";




JenniAnn wrote:
Your module and component is almost perfect, and this is very happy! It's been a bad past couple of days for me and Joomla-- I tried to install at least 5 modules, and yours is the only one with a readable XML file. Thank you so much!


That's amazing because I'm not a professional coder.  :o This must be the magic of open source!  :laugh:


Top
  E-mail  
 
Posted: Tue May 29, 2007 8:43 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Tue Aug 23, 2005 6:41 am
Posts: 519
I don't know why but I couldn't get the url to show up on the "this page" link.

Actually I do know why and here is the fix I used:

In jm-recommend.php near line 50:

repace
Code:
global $act,$url,$ttl;

with
Code:
$act = mosGetParam( $_GET, 'act' );
$url = mosGetParam( $_GET, 'url' );
$ttl = mosGetParam( $_GET, 'ttl' );


Now the url seems to appear properly on the "this page" link for me.

_________________
TY2U.com Designs http://www.ty2u.com - Free Joomla! Templates


Top
  E-mail  
 
Posted: Wed May 30, 2007 9:43 am 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Aug 26, 2005 10:13 pm
Posts: 408
Location: Spain
Thank you Ty2u for the feedback and for the code.
I tried it and it works, although it only returns the relative URL, not the one generated by SEF methods.

Anyway, with this modification it will work on many more systems. Thanks again.  :)

_________________
My Extensions: JM-Recommend, JM-Credits, JM-Link Us (for J! 1.0.x). Find them in the 3rd Party Extensions Forum.
Joomla test installation: www.poraqui.net/joomla  User: test  Password: test


Top
  E-mail  
 
Posted: Thu Jun 21, 2007 2:37 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Tue Jan 23, 2007 12:19 pm
Posts: 4
Hi there, this is just the type of component ive been looking for. Ive succesfully installed it onto my site, BUT i have a problem. On the links (which are on the top left of the page below) instead of the tell a friend form popping up, im getting a load of Latin Ipsum Lorum!

http://www.healthcareworkforce.nhs.uk/s ... links.html

Any ideas anyone?

Thanks in advance,

tim


Top
   
 
Posted: Sat Jun 23, 2007 8:23 am 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Aug 26, 2005 10:13 pm
Posts: 408
Location: Spain
I can see that you shifted to a more professional solution. I hope that it works OK.
Thanks anyway for considering my package.

_________________
My Extensions: JM-Recommend, JM-Credits, JM-Link Us (for J! 1.0.x). Find them in the 3rd Party Extensions Forum.
Joomla test installation: www.poraqui.net/joomla  User: test  Password: test


Top
  E-mail  
 
Posted: Sat Jun 30, 2007 9:00 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Jul 20, 2006 5:07 am
Posts: 41
Hi all!

I've created a Danish translation for this great component.
It can be downloaded from my website at http://jensl.dk

Thanx
Jens


Top
  E-mail  
 
Posted: Sun Jul 01, 2007 8:11 am 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Aug 26, 2005 10:13 pm
Posts: 408
Location: Spain
Thank you for doing it and for making it available to the community, Jens.  :)

_________________
My Extensions: JM-Recommend, JM-Credits, JM-Link Us (for J! 1.0.x). Find them in the 3rd Party Extensions Forum.
Joomla test installation: www.poraqui.net/joomla  User: test  Password: test


Top
  E-mail  
 
Posted: Sun Jul 01, 2007 9:50 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Jul 20, 2006 5:07 am
Posts: 41
elmoch wrote:
Thank you for doing it and for making it available to the community, Jens.  :)


No problem. Thank You for Your work as well


Top
  E-mail  
 
Posted: Thu Aug 30, 2007 5:34 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Oct 16, 2006 10:43 pm
Posts: 20
Nice component, but why dont you add multiple Friend's emails??? 5 would be great.!!!!!


Top
   
 
Posted: Fri Aug 31, 2007 7:06 am 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Aug 26, 2005 10:13 pm
Posts: 408
Location: Spain
cbal wrote:
Nice component, but why dont you add multiple Friend's emails??? 5 would be great.!!!!!


1) As mentioned in reply # 22, to avoid as much spam as possible.
2) Lack of time to develop the package.  :(

Other components allow multiple addressees.

Thanks for your feedback anyway.

_________________
My Extensions: JM-Recommend, JM-Credits, JM-Link Us (for J! 1.0.x). Find them in the 3rd Party Extensions Forum.
Joomla test installation: www.poraqui.net/joomla  User: test  Password: test


Top
  E-mail  
 
Posted: Sun Sep 02, 2007 8:20 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sat Aug 18, 2007 6:49 pm
Posts: 1
Well I only want to add one "pre-defined" line in my reply.
However, the code automatically adds the second and third as well (although they're empty) with This site and my website's name.

How do I solve this?


Top
   
 
Posted: Tue Sep 04, 2007 7:15 pm 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Aug 26, 2005 10:13 pm
Posts: 408
Location: Spain
Hi iMuchacho,

I'm not sure to have understood what you mean, but I suppose that you only want the URL to be included by default in the comment field of the form. I so, you only need to open jm-recommend.html.php and modify line # 160 which originally reads

Code:
<td><textarea name="jmr_text" id="jmr_text" class="inputbox" rows="5" cols="70"><?php echo $params->commenttext1.' '. $what .' '. $params->commenttext2 .' '. $title .' '. $params->commenttext3 .' '. sefRelToAbs("$url").'.'; ?></textarea></td>


like this
Code:
<td><textarea name="jmr_text" id="jmr_text" class="inputbox" rows="5" cols="70"><?php echo sefRelToAbs("$url"); ?></textarea></td>


I hope this helps you.

_________________
My Extensions: JM-Recommend, JM-Credits, JM-Link Us (for J! 1.0.x). Find them in the 3rd Party Extensions Forum.
Joomla test installation: www.poraqui.net/joomla  User: test  Password: test


Top
  E-mail  
 
Posted: Thu Sep 27, 2007 9:47 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Jul 30, 2007 11:31 pm
Posts: 12
Location: Manchester - England
Hey Elmoch,

Thank you so much for publishing this. Works a treat. Keep up the good work. Do you have a paypal address where we can send donations? (if this site of mine ever makes some money!)

Thanks,

Adam

_________________
Adam2804
http://www.totalmpx.com


Top
   
 
Posted: Fri Sep 28, 2007 7:35 am 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Aug 26, 2005 10:13 pm
Posts: 408
Location: Spain
Hi Adam,

I'm glad that you like the package.:)
Well, I don't consider accepting donations for my modest work, because I cannot promise any further development. I rather see it as part of my humble contribution to the Community.

Thanks anyway and good luck with your sites.

_________________
My Extensions: JM-Recommend, JM-Credits, JM-Link Us (for J! 1.0.x). Find them in the 3rd Party Extensions Forum.
Joomla test installation: www.poraqui.net/joomla  User: test  Password: test


Top
  E-mail  
 
Posted: Mon Oct 01, 2007 7:14 pm 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Sat Oct 21, 2006 8:53 am
Posts: 1242
Tried your site demo. In IE6 the "back" button did not seen to work in the opened window after sending the email to myself. Are you sure this works?

_________________
Thanks for your time.


Top
   
 
Posted: Tue Oct 02, 2007 7:57 am 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Aug 26, 2005 10:13 pm
Posts: 408
Location: Spain
Hi cantthinkofanickname,

In fact it should be a Close button in the new window (module) and a Back button in the main body of the page (component). The latter works.
I must admit that I haven't revised the code for a long time and unfortunatelly I have no spare time to do it right now. Sorry for that. However, the component works OK, if that's enough for you.

Thanks for your feedback.

EDIT: The module works as well, except for the button. The message is sent but the window must be closed using the browser's close button.

_________________
My Extensions: JM-Recommend, JM-Credits, JM-Link Us (for J! 1.0.x). Find them in the 3rd Party Extensions Forum.
Joomla test installation: www.poraqui.net/joomla  User: test  Password: test


Last edited by elmoch on Tue Oct 02, 2007 9:21 am, edited 1 time in total.

Top
  E-mail  
 
Posted: Tue Nov 06, 2007 8:49 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon Nov 05, 2007 3:09 am
Posts: 1
thanks you !


Top
   
 
Posted: Sun Dec 23, 2007 2:26 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Oct 10, 2007 2:29 pm
Posts: 35
Location: Rio de Janeiro - Brazil
The css stylesheet and the shortcut icon paths in the recommend window are not pointing at the right place and I can't seem to find where's the code to fix this in the module. I'm not a programmer.

Can anyone help me?

Look what I get:

Code:
<?xml version="1.0" encoding="iso-8859-1"?>   
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
         <title>SEMUVV - Secretaria de Valorização da Vida e Prevenção da Violência - Recomendar</title>
         <link rel="stylesheet" href="templates/semuvv/css/template_css.css" type="text/css" />
         <link rel="shortcut icon" href="http://www.prevencaodaviolencia-ni.org.br/site/images/favicon.ico" />
         <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
         <meta name="robots" content="noindex, nofollow" />
                </head>
      <body class="contentpane">
<!-- ### START Component : JM-Recommend v1.1 RC1 (2006-08-22) by elmoch - www.poraqui.net ### -->

_________________
G'luck!!

- - -
Helvecio "Elvis" da Silva
Rio de Janeiro - Brasil
http://blog.helvecio.com


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 82 posts ]  Go to page Previous  1, 2, 3

Quick reply

 



Who is online

Users browsing this forum: No registered users and 10 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 © 2000, 2002, 2005, 2007 phpBB Group