hi!
I don't speek english to good, but I want to help and suggest new feature

I need a private link exchange system, it should working so:
on my site users will submit a janode, and in submit form will specify a url to recipropal link

module should save in database janode, and cron should time to time checking recipropal link, if recipropal link is broken - janode should be automatically unpublish

so, now - when janode is submitted by any user, drupal save in database: title, description and url;
drupal should save in database another information: recipropal link url (one recipropal link url for one janode)

drupal should checking if recipropal link url is broken, if link is broken should automatically unpublish node

this feature give way to create on site a link directory and help to maintain a link exchange

best regards

Comments

AjK’s picture

this seems like a good idea / feature request. As stated in other issues, it requires a db mod. I will try and do all these mods in one go in order to have only one db update required.

regards
--AjK

AjK’s picture

Assigned: Unassigned » AjK
kors4r’s picture

:) good

IMHO, link exchange system require another features: anchor text in link code

i submitted here a request about anchor text in link exchange

webmasters will submit a janode on my site, if I will publish on my site not only link, but when I will publish a link to webmasters sites with keyword in anchor text (do you understand me?)

anchor text must be!

best regards

kors4r’s picture

IMHO, you have to add in janode_settings() and _janode_defaults():

1. checkbox "Checking recirpopal links?"
2. textfield "Recirpopal link url" (html code, that shuold be displayed on other sites)
3. textfiled "How many janode to recipropal test?"

maybe you can add this code:

to _janode_defaults():

  // place a limit on how many nodes to check recipropal links
  var $enable_rcpr_check = 1;
  var $rcpr_how_many_per_cron = 10;

  // recipropal link url to fill on other sites
  var $rcpr_url_code = 'http://drupal.org';

and to janode_settings():

  $form['janode']['enable_rcpr_check'] = array(
    '#type' => 'checkbox',
    '#title' => t('Enable recipropal link check?'),
    '#default_value' => _janode_local_settings('enable_rcpr_check'),
    '#description' => t('Set this enable to check if recipropal link is placed on site submitted with janode.')
  );
  $form['janode']['rcpr_how_many_per_cron'] = array(
    '#type' => 'textfield',
    '#title' => t('How many janodes to recipropal link test'),
    '#default_value' => _janode_local_settings('rcpr_how_many_per_cron'),
    '#size' => 8,
    '#maxlength' => 8,
    '#description' => t('The maximum janodes to recipropal link test on each cron run. '.
                        "Don't set this too high or the cron may stall.")
  );
  $form['janode']['rcpr_url_code'] = array(
    '#type' => 'textfield',
    '#title' => t("Recipropal link url"),
    '#default_value' => _janode_local_settings('rcpr_url_code'),
    '#description' => t('Code to input on other sites. Use only, if recipropal link check is enabled.')
  );

its not the end

we need:
4. action if recipropal link is broken (unpublish janode, delete janode, send mail to user, ...)
5. change of submit form:
- in submit form must stay at the top boxfiled with recipropal link url (html code) to paste on other site (janode by cron run - if enable checking of recipropal link - will search submitted site for this code),

best regards

(AjK - can you create *.po file? I would like to translate janode to polish; I can translate without this, but with po file I can publish translation, without I will translate only on my implemetation)

summit’s picture

Hi,

Any progress in this field?
Thanks in advance.

greetings,
Martijn

AjK’s picture

Status: Active » Postponed

Sorry, I don't have time for new features, only bug fixes. I'm happy to review patches that add new functionality but any feature requests without patches to postponed.

summit’s picture

Hi,

I made the functionality by using the webform module. The only thing is the webform module has no taxonomy integration.
But it's much easier than building a module.
See: www.ontwikkelingswerk.net/link-ruil-aanvraag. (It's dutch).

Greetings,
Martijn

ardee-1’s picture

Can you share exactly what you did to create the functionality? Thanks!

summit’s picture

Are you familiar with the webform module?
If not please install this great module and get your forms rocking!!
greetings,
Martijn

ardee-1’s picture

Yes, I'm familiar with WebForm.

In what ways did you customize it in order to achieve Link Exchange functionality?

summit’s picture