Page 1 of 5 123 ... LastLast
Results 1 to 10 of 41
  1. #1
    New Pligger zearth's Avatar
    Joined
    Oct 2006
    Posts
    28

    Lightbulb Popular/Upcoming mod hack

    Edit: New version 2 of popular/upcoming hack 10/22/2006


    Hi I'm new here and I'm working on different various script mods like this script, right now I want to contribute a small modification.

    this mod is like in digg site, if you have questions or errors found please post it here, thanks
    Attached Files Attached Files

  2. #2
    Banned domba's Avatar
    Joined
    Jul 2006
    Posts
    8
    Wow, this is that i looking for.

  3. #3
    Banned domba's Avatar
    Joined
    Jul 2006
    Posts
    8
    I just test a mod,

    code :

    {$search->filterTo = "popular";$search->orderBy = "link_published_date DESC"}

    Replace to :

    {$search->filterTo = "popular";$search->orderBy = "link_published_date DESC";}

    Now totally work.

  4. #4
    Pligg Developer/Admin kbeeveer46's Avatar
    Joined
    Jun 2006
    Posts
    3,215
    Thanks. I'll definately take a look at this when I get some time.

  5. #5
    Pligg Developer/Admin kbeeveer46's Avatar
    Joined
    Jun 2006
    Posts
    3,215
    Just like domba said, there's a small error in the file. On the last line of the code added to index.php
    PHP Code:
    $search->orderBy "link_published_date DESC" 
    you need to add a semi colon at the end of the line so it looks like this
    PHP Code:
    $search->orderBy "link_published_date DESC"
    Besides that it seems to work great. Thanks!

  6. #6
    Casual Pligger newskicks's Avatar
    Joined
    Oct 2006
    Posts
    50
    nice!! good work.

  7. #7
    New Pligger alaink2's Avatar
    Joined
    Jul 2006
    Posts
    12
    hi, Can someone tell me where to add this scrip? big thanks.............ak2

  8. #8
    Pligg Developer/Admin kbeeveer46's Avatar
    Joined
    Jun 2006
    Posts
    3,215
    Quote Originally Posted by alaink2 View Post
    hi, Can someone tell me where to add this scrip? big thanks.............ak2
    It's pretty much spelled out in the file where to add the code.

  9. #9
    Constant Pligger jitgos's Avatar
    Joined
    Apr 2006
    Posts
    315
    Great timing zearth! We were just looking at this yesterday. There's an old way of doing this built into pligg but it's flawed so this is very helpful. I won't be able to test it until late this evening.

    Jitgos

  10. #10
    New Pligger zearth's Avatar
    Joined
    Oct 2006
    Posts
    28
    Quote Originally Posted by domba View Post
    I just test a mod,

    code :

    {$search->filterTo = "popular";$search->orderBy = "link_published_date DESC"}

    Replace to :

    {$search->filterTo = "popular";$search->orderBy = "link_published_date DESC";}

    Now totally work.
    sorry about that missing code, just replace that code to what domba said

Page 1 of 5 123 ... LastLast

Similar Threads

  1. How to make upcoming and popular posts in category page together
    By ashishmohta in forum Questions & Comments
    Replies: 3
    Last Post: 10-03-2011, 07:18 AM
  2. How to interact with query post UPCOMING and POPULAR?
    By carlo in forum Questions & Comments
    Replies: 6
    Last Post: 04-28-2011, 06:26 AM
  3. Hack
    By kevin4uguys in forum Questions & Comments
    Replies: 9
    Last Post: 01-30-2010, 11:11 AM
  4. Recently popular
    By dominic in forum Questions & Comments
    Replies: 0
    Last Post: 03-12-2009, 10:21 AM
  5. Recently Popular?
    By kanedaguy in forum Questions & Comments
    Replies: 1
    Last Post: 02-03-2007, 06:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Donate to Pligg CMS Dreamhost Web Hosting Host Gator Web Hosting