Component in loop

parisamoosavi's picture

ba salam ,
man vasate ie Loop dar ie Rule ie component ro seda mizanam ke ie meghdari ro hesab mikone va bar migardune, hala mikham agar javabe component masalan 0 ke hast email send nakone dar ghaire in surat email send kone

mitunam dar rule in kar ro anjam bedam? agar mishe be che shel anjam mishe?

ba tashakor

Comments

salam, shoma mitunid az ye

amir.modarresi's picture

salam, shoma mitunid az ye componente dg baraye ersale email estefade konid. in component bayad typesh rule bashe(moghe sakhte component tu select boxi ke 5 gozineye condition set(or), condition set(and), action set, rule va rule set ro dare rule entekhab konid). shoma be in component un moteghayeri ke gharare ba sefr moghayese beshe va etelaate marbut be email ro be onvane parametr mifrestid. dakhele component ye condition baraye check kardane un moteghayere morede nazar ba sefr ezafe konid va ye action ham baraye ferestadane email.

ye rahe dg estefade az module rules_conditional hast

etefaghan man hamin kare

parisamoosavi's picture

etefaghan man hamin kare Pichide ro :D anjam dadam, masale in hast ke show message aslan output component ro neshun nemideh !!!

outpute component data typesh

amir.modarresi's picture

outpute component data typesh chie? shoma che dataE ro vase namayesh vared kardid?

man dar haghighat umadam ie

parisamoosavi's picture

man dar haghighat umadam ie Component dorost kardam ke 2 Date behesh midam ke enherafe in 2 ta tarikh ro hesab kone va dar ghabele Integer be man be de

age sefr budane ekhtelafe in

amir.modarresi's picture

age sefr budane ekhtelafe in 2 date baratun moheme, shoma ye component az noe rule besazid,ke 2 ta date be onvane parameter va yek moteghayere integer az noe parameter/provided ke meghdare 0 dakhelesh gharar dare barash befrestid. tu conditione in component barabar budane in 2 ro check kond va tu action unyeki moteghayer ke ferestadid ro yek konid. ba farakhanie in component age 2 ta date ke ferestadid barabar budan yek meghdare 1 behetun mide, age barabar nabudan ke un meghdare integeri ke ferestadid 0 mimune.

Kolan hadaf az in hame

parisamoosavi's picture

Kolan hadaf az in hame pichidegi in hast :

ke man mikham alaveh bar inke be hameie User ha ke 10 rooze pish Last Access dashtan Email Send beshe, ta hamishe ( ke Last Access taghier nakarde) har 10 rooz ie bar Email Send beshe

un rahe hali ke man tu topice

amir.modarresi's picture

un rahe hali ke man tu topice ghabli goftam vase hamin bud dg, mage kar nakard un?

un karmikone vali har 10 rooz

parisamoosavi's picture

un karmikone vali har 10 rooz ke khodesk tekrar nemishe , taze man man mikham useri ke Emruz Email daryaft mikone - ba inke in Process har rooz ejra mishe - ta 10 rooz ayandeh email daryaft nakone

baraye inke har 10 ruz yek

amir.modarresi's picture

baraye inke har 10 ruz yek bar ejra she mitunid az module rules_scheduler ke yeki az submodule haye rulese estefade konid.

Are, fekr konam ba

parisamoosavi's picture

Are, fekr konam ba rules_scheduler behtar bashe,
akhei mikhastam bad be in surat barashun dorostesh konam ke ie menu to Admin barashun ezaf konam ke har vaght khastan rush click koanan va in amal Disable va Einable besh baraie hamin az View shorokardam.

Iran

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week