Attachments in Units Showing image versus title

Home Forums Legacy Support Support queries How-to & Troubleshooting Attachments in Units Showing image versus title

Tagged: ,

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #214722
    a4da_326
    Spectator
    Hello, When adding an attachment to the unit from the front end and the back end the attachment will show the image of the pdf versus the title or description of the pdf attachment. AS you can see from the screenshot it isnt doing this on all attachments only some of them and they are all pdfs. I removed from backend and re add pdf as attachment from the front end but it still does the same thing. I followed the instructions from other posts but it has not changed. I dont want to hide the attachments, i want the attachments to show but I dont want the image/picture of the attachment to show I want the title of the attachment to display. All attachments are pdfs http://prnt.sc/o3zgi1 www.academy4da.com
    #214838
    logan
    Member

    Dear,

    when i was debugging i found that your theme is of version 3.9.2 and plugins are of version 3.4.

    we are running at 3.9.3.3. please update your theme and then plugins to 3.9.1. there is code conflict. once you are done with this please let me know. i am sure your issue will be gone.

    Refer: http://prntscr.com/o4dj70 http://prntscr.com/o4dl0k

    #227553
    a4da_326
    Spectator
    Hi Logan, My apologies for it taking this long to get back with you on this issue but I was finally able to update all plugins and theme to most current and the image of the attachment is still showing instead of the title of the pdf attachment please see screenshot below https://prnt.sc/pabwsb https://prnt.sc/pacqtk WPLMS version 3.9.6 Vibetheme Plugins vibe course module 3.9.6, cutom types 3.9.6.1 Also, Is there a way to have "next unit" and "previous unit" above attachments instead of underneath attachments? Some of our units have 12 -1 5 attachments and it takes student a long time to scroll down the entire page past the attachments and they dont see the "next unit" https://prnt.sc/pacu8z Is there a way to put attachments under  "next unit" and "previous unit" ? or have attachments in a sidebar in each unit? www.academy4da.com
    #227554
    a4da_326
    Spectator
    This reply has been marked as private.
    #227602
    logan
    Member

    Hello,

    use this code in google analytics.

    <script>

    $('.unit_content').on('unit_traverse',function(){

    $('.unit_prevnext').clone().appendTo('div#unit');

    });

    </script>

    and also add this in your custom css.

    .unit_prevnext {top: 0 !important;}

    #227755
    a4da_326
    Spectator
    Logan, I went back to our "test students account" Incognito window and the Next unit/Previous unit was showing at the top of each unit  BUT with many issues; #1. the attachments are all still images instead of titles #2 is it possible for the Code to move "next unit/ Previous Unit to be placed "ABOVE the attachments " and not at the very top of the page, I worry students will automatically select "next Unit" if it is at the top of the page instead of ready the directions in the unit first? See screenshot below 12 Week Introduction Section #1 & 2. https://prnt.sc/pb0pl8 #3 I Selected "Next Unit" at the bottom of the page and i got a "something error at the top of the page in a box (only in that unit)?" See screenshot below Course Handouts ( 12 week handouts) 3. https://prnt.sc/pb0q4m "Something Error" #4 - I Selected "Next Unit" at the TOP of the page and i got a "something error?" for a brief second and it went away a BUT the "Next Unit/Previous Unit"  was displayed 3 times at top of the page (in same "handouts Section) See screenshot below 4. https://prnt.sc/pb0r8j #5 for the Quiz Sections - The Start Quiz Button is there but when you "start the Quiz" and start answering each question at the top of the screen you can see "Submit Quiz/ Save Quiz progress" but under each question (in course quiz with display check answer button checked) it shows "start Quiz" so the top and bottom dont match. See screen shot below Submit Save quiz at top but under "start Quiz" after I already started and was on Question 2 5. https://prnt.sc/pb0u6y #6 ALL my quizzes are set to autoevaluate it seems just one quiz is not - 12 Week Section 4 quiz ID 4785 doesnt autoevaluate. Since I have all quizzes set to autoevaluate and
    • Add check answer switch is on and show results after submission, I know I got questions correct but it shows 0/95 ( Section 4 Quiz -  Quiz id 4785) Not Auto Evaluating
    #6 https://prnt.sc/pb0vaj My settings are all correct and double checked: a.Quiz is connected to a course b. Auto evaluate is marked c. Quiz passing marks/score is set. See all screenshots below . a. & b. https://prnt.sc/pb0x19 c. https://prnt.sc/pb0xyd https://prnt.sc/pb0vaj I cleared cache, saved permalinks I even tried deleting Askimet plug, just in case that plugin was blocking something but JUST that quiz ( Section 4 Quiz -  Quiz id 4785)  is NOT autoevaluating. All the other Quizzes on my site are Autoevaluating its just that one Quiz (4785)? Sorry for all the trouble. Hopefully you can figure out the issues in 1- 6 with attachments and Next Unit/Prvious Unit at top of page instead of ABOVE attachments and errors with the code But MOST importantly is #6 the quiz 4785 not autoevaluating. I will give you the credentials of the "test student" we use and always test Incognito Window.  and you can try as admin and student same problems exist (see screenshots) Thank you for your help R
    #227756
    a4da_326
    Spectator
    This reply has been marked as private.
    #227837
    logan
    Member
    This reply has been marked as private.
    #227881
    a4da_326
    Spectator
    This reply has been marked as private.
    #227891
    a4da_326
    Spectator
    This reply has been marked as private.
    #228047
    a4da_326
    Spectator
    Hi Logan, Just to give an update the quiz problem has been resolved it is now autoevaluating.
    1. But I still have the issue of the attachments are showing as images not titles

    2. and when a student selects "log out" the message on the screen is "This Course can not be taken. Contact administrator." I have attached a screenshot

    https://prnt.sc/pbv0ph It is a current student the "test student" we use "smartypants. active student is not finished with the course . She just finished a section and selected "log out" from the top menu on the right. Selected log out and got the error message

    1. Can the next unit/ previous unit" buttons be moved to above the attachments not to the top of the page.
    Thank you R
    #228114
    logan
    Member
    Hello, sorry for the inconvenience. this task was assigned to #alex. he has to be working on this.
    please check in wp-admin >> settings >> general. if https:// website but in your wordpress, the http:// The very first step that wordpress recommends for changing the website to https:// is to change the link in the WordPress general setting. Please re-save your permalinks in wp-admin->Settings->Permalinks. refer: http://prntscr.com/oidb2s Also Check that in course status page, start course page is set in template or not : http://prntscr.com/oidcph And also check that in wplms->Course manager->course status template must be set in take this course : http://prntscr.com/oiddm0
    #228182
    Anshuman Sahu
    Keymaster
    Well we are using a common wordpress function to show the attachment link to download : wp_get_attachment_link which shows the thumbnail by itself .There must be a third party plugin in your site which is showing the thumbnail instead of pdf name there for the pdf file type . Please try to deactivate the plugins one by one in your site and check again .      
    #264524
    Nibu2019
    Participant
    Hello, Same problem with me. Have you found a solution to this problem? I disabled plugins one by one as recommended in the topic, but nothing changes
    #264529
    Nibu2019
    Participant
    PDF_link Should I modify the function.php file of the WPLMS theme? functions.php
Viewing 15 posts - 1 through 15 (of 17 total)
  • The topic ‘Attachments in Units Showing image versus title’ is closed to new replies.