Anyone hacked com_recommend?

13 years 11 months ago #1706 by elesus
It should look like this:

[code:1]<?
global $my;

if ($my->id) {?>
<input name="recommend_from_name" type="hidden" value="<?php echo $my->name; ?>" />
<input name="recommend_from_email" type="hidden" value="<?php echo $my->email; ?>" />
Name: <?php echo $my->name; ?>
Email: <?php echo $my->email; ?>
<?} else {?>
<input name="recommend_from_name" />
<input name="recommend_from_email" />
<?}?>[/code:1]

СB3РD
13 years 11 months ago #1767 by dsendecki
Cool,

I'll check it out when I get home! Thanks in advance for this!

Is it possible yet to paypal beers? :woohoo:

Cheers!
Dan
13 years 11 months ago #1794 by dsendecki
Anybody try this hack above out?

I couldn't get it to work! :blink:
13 years 11 months ago #1872 by eyezberg
Where can I get com_recommend..?
13 years 11 months ago #1873 by dsendecki
13 years 11 months ago #1875 by eyezberg
Thanks.
had forgotten about that one.. ;)
Wow, needs a component PLUS a module..? I thought for a simple recommend message, a module would be enough. will check it out.
Moderators: beatnantkrileon
Time to create page: 0.424 seconds
Facebook Twitter Google LinkedIn