Loading


Advertisement:

Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
General help / Not receiving email both on new user side and admin side
« Last post by onlineleo21 on April 29, 2017, 02:20:00 am »
Hello all,

I have been trying to setup my email server to no good so am seeking for help.

When a new user registers I don't get a email ( admin) neither does the New user. But i can activate them manually which i think should not be the case. I tried setting it up in my host side and then using Gmail upto no good.

Website: http://www.hikesafrica.com

Attached is a picture of how my Gmail server set up looks like.
22
Plugins / Re: [Plugin] Spam Protection
« Last post by Liath on April 29, 2017, 12:24:42 am »
Following features are integrated for contact mail protection

  • de/activate check for links/urls in message
  • de/activate honeypot protection
  • same email/stopword protection as for ads or comments
i've build the honeypot with double protection... one inputfield has to be filled out (this happens automatically via javascript) and the other has to be blank (looks like a captcha)

For this case, that a mail was identified as spam, the user gets a warning, that the mail has to be moderated, is this succesful done, can the mail be forwarded manually.

If he dont want this mail to be moderated, he can delete it immediatelly to secure his privacy.




New version is uploaded to the market, please have patience until it is available.
23
Hello,
I can't figure out how to change/filter the item title from the <a ........>Item title</a> in the body of the alert_email_daily.

I analyzed the emails.php file but the function fn_alert_email_daily gets $ads as a parameter and I can't figure out the structure of it in order to change/filter the item title.

The reason is that I want to remove the underlines _ from the title, if any.

 I have a function that does that, I only need to know where to call it, and I think that if I know the structure of that $ads parameter, I can write a script that does that.

I gues that it retains the title and url of each ad, but how, with string keys or numeric keys and wich is for title?

I use 3.7.1.
24
Française / Re: Problème recherche avancé
« Last post by alshariff on April 29, 2017, 12:15:48 am »
I get the same error.  Is there a solution to this problem?
Thanks
25
General help / Re: Category header does not change when translated
« Last post by dev101 on April 28, 2017, 11:53:28 pm »
This was fixed officially in develop branch, but it is not yet part of main release.

fix is here:
https://raw.githubusercontent.com/osclass/Osclass/4a4d05059f3bc6c531fe1b03c33dc41b52e08b28/oc-includes/osclass/model/Category.php

The sql query is much simpler (and faster) than teseo's fix, with one drawback: it does not fallback to english if translations are missing. Still, as that is not a "normal" situation anyway, faster version is better. It will probably be part of 3.8 release.
26
Development / Re: Alerts in Admin
« Last post by marius-ciclistu on April 28, 2017, 11:12:46 pm »
In 3.7.1
/oc-includes/osclass/model/Alerts.php

put:
Code: [Select]

        /**
         * Unsub from an alert + deactivate + rename email to 'deleted'
         *
         * @access public
         * @since 3.1
         * @param string $id
         * @return mixed false on fail, int of num. of affected rows
         */
        function unsub($id)
        {   $this->dao->update($this->getTableName(), array('s_email' => 'deleted'), array('pk_i_id' => $id));
            $this->dao->update($this->getTableName(), array('b_active' => 0), array('pk_i_id' => $id));
            return $this->dao->update($this->getTableName(), array('dt_unsub_date' => date("Y-m-d H:i:s")), array('pk_i_id' => $id));
        }
instead of
Code: [Select]
        /**
         * Unsub from an alert
         *
         * @access public
         * @since 3.1
         * @param string $id
         * @return mixed false on fail, int of num. of affected rows
         */
        function unsub($id)
        {   
            return $this->dao->update($this->getTableName(), array('dt_unsub_date' => date("Y-m-d H:i:s")), array('pk_i_id' => $id));
        }

In this way you can search for deleted and delete more than one at once.
27
Development / Re: Alerts in Admin
« Last post by marius-ciclistu on April 28, 2017, 11:11:16 pm »
3.7.1:
/oc-includes/osclass/model/Alerts.php

put:
Code: [Select]

        /**
         * Unsub from an alert + deactivate + rename email to 'deleted'
         *
         * @access public
         * @since 3.1
         * @param string $id
         * @return mixed false on fail, int of num. of affected rows
         */
        function unsub($id)
        {   $this->dao->update($this->getTableName(), array('s_email' => 'deleted'), array('pk_i_id' => $id));
            $this->dao->update($this->getTableName(), array('b_active' => 0), array('pk_i_id' => $id));
            return $this->dao->update($this->getTableName(), array('dt_unsub_date' => date("Y-m-d H:i:s")), array('pk_i_id' => $id));
        }
instead of
Code: [Select]
        /**
         * Unsub from an alert
         *
         * @access public
         * @since 3.1
         * @param string $id
         * @return mixed false on fail, int of num. of affected rows
         */
        function unsub($id)
        {   
            return $this->dao->update($this->getTableName(), array('dt_unsub_date' => date("Y-m-d H:i:s")), array('pk_i_id' => $id));
        }

In this way you can search for deleted and delete more than one at once.
28
General help / Re: Category header does not change when translated
« Last post by SEE on April 28, 2017, 10:20:03 pm »
Liath !!!!!!! Thanks so so much !! You are my HERO ! ahahah what a feeling !! made my day !!!

Special thanks and Credits to Teseo !!!

Nice!!

THANKS !!!! YAYYYYY
29
General help / Re: Category header does not change when translated
« Last post by SEE on April 28, 2017, 10:08:35 pm »
I have translated it... but the bug seems that.. when you switch lang, it does not execute the categories... it is so crazy that even if i disable the lang, it stil shows it in GR...

Im not a programmer... so if someone can help here,... from what I understand, it is not the problem that it is not translated, that it does not switch


...na so eine SCHei@@@%$^&% lol

Pages: 1 2 [3] 4 5 ... 10