yorai ronen
-
yorai ronen said thank you to Maverick for his/her reply to the topic Assign rank based on points instead of number of posts?.
September 1 at 9:04 am
Yes, change select topics + replies from #__cjforum_users where id = '.$user->id to select points from #__cjforum_users where id = '.$user->id The only other problem is this function will be called when the user created topic or replies or do somthing else on the cjforum. but you need to do similar function call everytime user is awarded points in Community Quiz. Community Quiz has different plugin which handles awarding points (plugins/communityquiz/quiz/quiz.php). You need to do similar db update in awardPoints function of that plugin also. -
yorai ronen liked a reply to the topic Assign rank based on points instead of number of posts?.
September 1 at 9:04 am
-
yorai ronen replied to the topic Assign rank based on points instead of number of posts?.
August 31 at 6:42 am
thanks maverick, not sure i understand you do. do i need to change the file you mentioned? is the change in this 2 lines(?): ->where('min_posts <= (select topics + replies from #__cjforum_users where id = '.$user->id.')')->order('min_posts desc'); after this change will the Rank function also calculate points from the Community Quiz component? thanks -
yorai ronen created new topic Assign rank based on points instead of number of posts?.
August 31 at 4:16 am
hello maverick, i'm builting a site based on CJforum & Community Quiz. CJforum is used not only as a forum but first as a the base for the user-profiles and other social features. i want to assign the user's Rank based on Points, instead of Forum Posts. this way the rank will also be affected by the user activity in Community Quiz (or other apps). the center of the site is actually the Quizes, and the Forum is only supplemantry, so most of the user activity will be done on the quiz application, and i wish the Rank to reflect that. is there anyway to do that? thanks yorai -
yorai ronen liked a reply to the topic Simple Poll for cjForum.
August 30 at 11:10 pm
-
yorai ronen liked a reply to the topic Simple Poll for cjForum.
August 30 at 11:10 pm
-
yorai ronen said thank you to abdulhalim for his/her reply to the topic Remove plugins buttons from editor.
August 30 at 10:37 pm
OK now, i changed the ACL to Administrator group -
yorai ronen said thank you to Maverick for his/her reply to the topic poll buttons not working on component's pages.
August 29 at 1:08 am
Yes. -
yorai ronen said thank you to Maverick for his/her reply to the topic more options to design the answers after poll is answered.
August 28 at 11:32 pm
Got it. A new class "selected-answer" is added only for the selected answers. Will be there in next release. -
yorai ronen liked a reply to the topic more options to design the answers after poll is answered.
August 28 at 11:32 pm
-
yorai ronen replied to the topic more options to design the answers after poll is answered.
August 28 at 3:14 pm
thank you very much for considering my suggestions! as for #4, currently all answers in the list have the same class (choice-answer). i'm looking to add another class, only to the chosen answer. you can see in the attached screenshot. so this way all the 'li' elements will have the "choice-answer" class, same as now, but the 'li' element with the answer that was chosen by the user, will have an additional class, someting like "user-choice". this way i will be able to style all 'li' element with: #cj-wrapper .survey-result-question .choice-answer but i'll also be able to add custom design only to the chosen answer with: #cj-wrapper .survey-result-question .choice-answer.user-choice hope i was able to explain that in a good way. thanks again. yorai -
yorai ronen said thank you to Maverick for his/her reply to the topic Assign Poll to an Author from Users-list.
August 28 at 1:12 pm
Just override the front-end form view components/com_communitypolls/views/form/tmpl/edit.php Delete the portions you don't want. -
yorai ronen created new topic more options to design the answers after poll is answered.
August 27 at 11:01 pm
hello maverick, is it possible to use some of the following options to further cusomize the survery-answers after the survey is answered? 1. keep the question's custom CSS class when displaying the answer - currently the custom css is gone after completing the survey, causing some iconsistencies in the design - especially when using a question with a truly custom desgin. 2. remove question description after completing the survey. this make a lot of sence, since the description is used (by me at least) to provide explantion about answering the question - which become irelevant after completing the survey. removing the description is good, but what would be best is if you could add a different description that will show after completing the suvery (like the 'answer explantion' in Community Quiz). 3. show chosen answers first on the answers layout. i have a question where the user choose 1-4 options from around 40. when viewing the result - i would like the user to see to answers he/she chose first, before all other answers in the list. 4. add global CSS classes to chosen answers - currently the chosen answer is marked by a small check-mark and a text-string ('Your Answer'). although elegant, this is not clear enough for many users and i wish i could make a global CSS rule for such cases - for example - the chosed answer will have a green background (instead of white) and a white-colored text. maybe this can be done by adding an automatic css class to the anser 'li' HTML elemnt, based on if the user chose or didn't choose this option. so we can set a global design for the chosen answers, unchosen answers, etc. i also develop a site with Community Quiz now, and this option will be even more usefull there, when the users are actively viewing the answers page and reading it to check their answers. i know i asked for a lot, hope you can add these requests to your future updates. thanks yorai -
yorai ronen liked the topic Export CSV with ";" delimiter instead of ",".
August 27 at 10:25 pm
When generating a CSV export, there is no option for field separator and a normal "," comma is used. Although this is a standard, when there are free text answers and user inserts commas in the middle of the text, then it is impossible for MS-Excel to recognize the field correctly. A simple solution for that is to use ";" as field separator, that is better interpreted by MS-Excel and therefore is easier to import. This could be an option that can be configured for generating CSV Files. -
yorai ronen replied to the topic Assign Poll to an Author from Users-list.
August 27 at 5:12 pm
thank you, that solved it. i was sure that this option only relate to fron-end poll editing. so i disabled it as i do not want fron-end users to be able to change things like publishing date. is there a way to not-show this tab on the front-end editing layout only? maybe thorugh a template override? thank you yorai -
yorai ronen replied to the topic poll buttons not working on component's pages.
August 27 at 5:02 pm
thank you maverick, i will first contact my template's developer and ask if there is an update that will solve this issue and why they are using mootools. if no fix from there, i will use the plugin u mentioned. thanks yorai -
yorai ronen replied to the topic can't assing poll category if the languaghe is not ALL.
August 25 at 11:11 pm
thank you, sent. -
yorai ronen replied to the topic poll buttons not working on component's pages.
August 25 at 11:04 pm
thank you maverick, i removed that line but the buttons still doesn't work. yorai -
yorai ronen replied to the topic Assign Poll to an Author from Users-list.
August 25 at 10:58 pm
Hi Maverick, thank you vor the fast response. on the poll editing page (in the backend) i don't see any "publishing" tab. please see attached screenshot. thank you yorai -
yorai ronen created new topic Assign Poll to an Author from Users-list.
August 24 at 2:15 pm
hi maverick, on my site i have about 20 authors who post articles in the blog, and since a few weeks ago - also polls that are attached to the articles with CP. in the poll options there is an 'author' field in the 'metadata' section - but it seems that no matter what you put there, the poll is assigned to the actual Joomla user who technicely created it. this is a problem for me since all the items & polls are created by the site's manager, who use the same Super-User account to create them all. in the K2 items we can assign the item to a specific user, but in CP i can't find such option. i need to assign the polls to the right users so i can create pages & modules with filtering like "all polls by Yorai Ronen". is there a way to do it in CP, besides creating the polls with the actual users we want the poll assigned to? thanks yorai ronen