muhammadn
Forum Replies Created
-
Forum: Plugins
In reply to: [MailerLite - Signup forms (official)] 404 Errorsame here
Forum: Plugins
In reply to: [Polylang] Polylang causes problems with UserPro pluginsame problem here …
user pro is indeed a good plugin, until you want to support multi language !
then it’s the worst !actually yes, in this topic I am using the latest version, and the .PO file downloaded from the wp repo is somehow 100% translated.
I do not actually remembered how, but I found theproductin your code, and it was hardcoded, so I changed it to get from the .PO and added it to .PO and it worked ok,also I canged the combobox height in the css from 34px to auto , and problem got fixed, thanks
Forum: Plugins
In reply to: [Awesome Support - WordPress HelpDesk & Support Plugin] groupswell unless you release the mentioned add-on, I have no other options than using the v2.
it’s working more or less good enough, though I needed to pimp it a little so I can have to manager levels. manager for each product level, and also manager for all the products, needless to say my tickets are private between agents and customers, but managers can and should see their filed tickets.
I managed to define these two level managers by adding custom roles to them, and could handle the top manager by adding this line of code to the restrict ticket function in the WPAS_Tickets_Manager.class :
if( current_user_can('see_all_tickets') ) return;basically it does not let the function to restrict the query and shows all of the tickets to the top level manager.
my problem though is when I need to add restriction for a product manager (with a specific type)
I do not know how to restrict this manager for his/her relatedtypeI know I have to do something like this :
if( current_user_can('see_related_tickets') && isset( $_GET['post_type'] ) && 'tickets' == $_GET['post_type']){ //restrict query for current_user's type(agent's group in the wp user's panel) and type's children return $query }I would be more than thankful if you can help me out on this
what about the height of its combo box ?! would you mind tell me if I can correct it by myself ?
thanks
in the .PO file, product and products both are translated
also here, it PoEdit says that Persian file is 100% translated