1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

1.7 How To Show Latest In Frontpage?

Discussion in 'Installation Specific Questions' started by andrect, Jul 19, 2015.

  1. andrect

    andrect New Member

    Hi
    In frontpage have this

    Popular
    Upcoming
    Latest
    All
    Best from:
    Can't find anything here?
    Try the following filters to extend your search

    Popular
    Latest
    Upcoming
    All


    You can also add new posts to this section here

    How to show latest posts?
     
  2. Sv9t

    Sv9t Active Member

    in dashboard / Plugin Settings / Bookmarking: you should change page type to show as default "latest"
     
  3. andrect

    andrect New Member

    Take a look
    I did what you said, but not work

    enter here >>> elefantelinks.com
    after enter here >>> elefantelinks.com/latest
     
  4. Sv9t

    Sv9t Active Member

    hmm... i have the same too. Before it worked, that's strange.
     
  5. valMETNG

    valMETNG Administrator Staff Member Admin

    If you haven't made any changes to the code, I'm guessing the problem is plugin order. When you go to the home page and then click latest, this appears in the URL: http://elefantelinks.com/latest/category//. So the first suggestion is to confirm your plugin order is correct (and, if it isn't, move them to the correct order).
     
  6. valMETNG

    valMETNG Administrator Staff Member Admin

    Did you just upgrade any plugins? Perhaps one of the recent upgrades has a bug. If you didn't recently install any upgrades, please check the plugin order.
     
  7. andrect

    andrect New Member

    All plugins updated, dont have experience to rewrite any codes.
    Take a look
    Bookmarking settings
    [​IMG]
     
  8. valMETNG

    valMETNG Administrator Staff Member Admin

  9. andrect

    andrect New Member

    Perfect
    Fixed
     
    valMETNG likes this.
  10. valMETNG

    valMETNG Administrator Staff Member Admin

    @shibuya246: problems like this suggest the automatic reordering function isn't always running. You might consider running this after every plugin action, no matter what. It's not clear why the plugins continue to get out of order, but they obviously are.
     
    Sv9t and andrect like this.
  11. Sv9t

    Sv9t Active Member

    valMETNG likes this.
  12. andrect

    andrect New Member

    Oh God
    I am tired
    :(

    CSRF error. Please try again. to submit posts

    How to fix this many erros about CSRF?
     
  13. valMETNG

    valMETNG Administrator Staff Member Admin

    I understand this is frustrating and it's been discussed often. The problem likely has to do with Javascript on the page reinitializing the CSRF code. To remove the specific check (even though it increases the security risk), you can comment out the CSRF code by replacing lines 529-536 of /plugins/submit/libs/SubmitFunctions.php with:
    Code:
    /*
      if (!$h->csrf('check', 'submit2')
      && !$h->csrf('check', 'submit3')
      && !$h->csrf('check', 'edit_post')) {
      $h->messages[$h->lang['error_csrf']] = "red";
      $error_csrf = 1;
      }
    */
     
  14. andrect

    andrect New Member

  15. Sv9t

    Sv9t Active Member

    If error CSRF is shown while plugin settings are being saved, i click on/off plugin and error doesn't appear.
     
  16. andrect

    andrect New Member

    If I hit off plugin the submit plugin. disable
     

Share This Page