Results 1 to 6 of 6

Thread: Automaitcally put submissions on the front page

  1. #1
    Casual Pligger bergs's Avatar
    Joined
    Sep 2006
    Posts
    43

    Automaitcally put submissions on the front page

    I have seen in this forum mentions of modifications you can make to automaitcally put submissions on the front page. I can't seem to find the code to do this though!

    I would really like to know how I can bypass the shakeit.php page and send a submission to the front page with 0 votes by modifying pligg 7.

    Thanks!
    bergs

  2. #2
    Pligg Developer/Admin kbeeveer46's Avatar
    Joined
    Jun 2006
    Posts
    3,215
    In the latest Pligg nightly you can do this. It does the same thing but in a different way. In the latest code there's an option to automatically vote for the story when you submit it. If you set your pligg settings to publish stories after they have 1 vote then you're good because when you submitted the story it added a vote.

  3. #3
    Casual Pligger bergs's Avatar
    Joined
    Sep 2006
    Posts
    43
    Thanks kbeeveer46!

    I saw that posting - is it possible to add the code changes to Beta 7.2?

  4. #4
    Constant Pligger savant's Avatar
    Joined
    Apr 2006
    Posts
    1,181
    have a look at submit_step_3

    Just before

    59 $linkres->store();

    Add this

    $linkres->status="published";

    This will set the status of the story to published. and stories should be on the front page.

  5. #5
    Casual Pligger bergs's Avatar
    Joined
    Sep 2006
    Posts
    43
    Thanks Savant! - Will give it a try.

  6. #6
    Casual Pligger bergs's Avatar
    Joined
    Sep 2006
    Posts
    43
    Savant,

    I tried what you said and still my submissions are going to the shakeit.php page

    I'm running Pligg Beta 7.2 and using the Skidoo_too template.

Similar Threads

  1. Remove vote from front page, leave on story page
    By LPH in forum Questions & Comments
    Replies: 5
    Last Post: 12-06-2012, 07:19 AM
  2. Show Stories Differently on the Front Page and the Category Page
    By maxkiesler in forum Questions & Comments
    Replies: 3
    Last Post: 02-27-2010, 10:49 PM
  3. change language from front end page(main page)
    By shashank2009 in forum Questions & Comments
    Replies: 0
    Last Post: 11-24-2009, 12:17 AM
  4. Submissions are gone off front page. NEED HELLLPPPP!!!
    By xplicit in forum Questions & Comments
    Replies: 4
    Last Post: 06-18-2008, 07:53 AM
  5. [Request] Expandable submissions on front page
    By Xenos in forum Questions & Comments
    Replies: 0
    Last Post: 02-01-2007, 07:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •