PDA

View Full Version : sort by submission time


ginger
11-08-2005, 09:13 PM
hi, I'm runing phpld 2.0.

I would like to have a mod that displays a listing in each category
in the order of submission time (the most recently submitted ones first),
of course except for featured listings.

so there will be four different options for sorting:
PageRank, Hits, Alphabetical, Submission date.
By default, listings are sorted by submission date.

Whoever can implement the mod for me, I'll donate him or her $10 via paypal.

The thing is i'm not comfortable with giving out my hosting account log in info to others, because it has much sensitive information other than my directory
So it would be great if the person could give me step-by-step directions how I can install the mod...

thanks.

yktan
11-09-2005, 10:06 AM
Mod done.

Timeless
11-09-2005, 11:53 AM
ok, u have it running ginger? if not..i can help ya...oh, i c..yktan wrote done..

u have now the option too, that u can set over the admin panel what is standard? if not..i can tell u..

yktan
11-09-2005, 01:47 PM
Yeap, ginger's control panel has an option to set the link submission date as the default sorting criteria.

thompson
11-25-2005, 10:07 PM
im interested in too.

can you make a mod of this ?

thompson
12-03-2005, 10:54 PM
no answers ?

David
12-03-2005, 11:32 PM
It would appear yktan did this mod.
Sometimes he will be gone for several days.
You might want to PM him.

Jim_Westergren
12-04-2005, 02:02 AM
This is how I did it, not sure if it it is the same for your version.

in main.tpl delete this:

Content visible to registered users only.

in index.php find:

Content visible to registered users only.

Replace by:
Content visible to registered users only.

in main.tpl find:

Content visible to registered users only.

Replace by:

Content visible to registered users only.

Then in the admin panel select sorting by hits as default.

Finished.

Ap0s7le
12-04-2005, 03:23 AM
Ouch Jim, be sure to put up a disclaimer that you're technically breaking the Hits feature to enable the Date one.

To those reading, I wouldn't suggest using that method.

I've done this exact thing, and I have the mod at home but I'm sure York will share his before I get back.

Best of luck,

-Casey

stevan
12-04-2005, 05:38 PM
I am looking for the same mod also as that stops the constant email letters from other webmasters why there link was not showing as it was moved by alpha

THXS Steve

Jim_Westergren
12-04-2005, 06:02 PM
Content visible to registered users only.

You are right, I missed that.