PDA

View Full Version : A to Z Listing Mod


David
08-11-2005, 07:08 AM
Coming soon will be an A to Z mod where the letters of the alphabet are listed at the top of the page, and when you click on a letter it shows all the links that begin with that letter.

It should be ready in a couple of days.

Sharr76
08-11-2005, 07:55 PM
Cooooooooool that will be nice :wink:

David
08-17-2005, 08:55 PM
Ok, you can see the A to Z mod starting to work here:
http://www.dance-forums.com/directory/
Thank you, IGonza!

More to come...

Sharr76
08-17-2005, 09:46 PM
Wow, when will it be available? :lol:

David
08-18-2005, 12:46 AM
It can be pretty soon, but I want to make a few changes before release, but I'm not sure what is possible yet:
1) Showing alphabetical on separate page, not home
2) integration with mod rewrite
Those are the big ones that need to be addressed.

Ap0s7le
08-18-2005, 12:50 AM
Create a page called alpha.php that handles those request. Then anything passed to /alpha/A/ could be handled properly.

Well, at least in my mind :)

later

-Casey

Nobody
08-25-2005, 06:29 PM
When writing this MOD, please see to it that it's able to handle letters like Ü, Å, Ä, Ö, -, _, ", and so on.

yktan
08-26-2005, 08:07 AM
Content visible to registered users only.

Wow, this might be a bit harder. Do you think that we should get normal alphabets out first before trying other languages.

Regards,
YK

kickass
08-26-2005, 04:29 PM
LOL! yktan, what's normal for you isn't necessarily normal for everyone!

Maybe you can suggest to Nobody that he/she(?) can poke around and google for info on doing this with the charsets needed, finding out the names of the charsets, maybe finding some php libraries that use 'em, etc. so maybe it'll make your job making the mod easier when you have time to get to it. Just a thought.

Nobody
08-26-2005, 04:48 PM
Thanks Kickass.

I'm quite sure there are Germans, Franchmen, Spanyards, Scandiavians surfing this site that think this issue is as urgent as I think it is.

We're talking millions and millions of sites here dude. With some simple tweaking of the code, you are raising this script to an entire new level.

I think editing and easing up the language files is as urgent as the issue mentioned above.

I'm absolutely sure there are Ü, Ö, Ä, Å, É, À-and-so-on-folks reading this right now, please show me your support and we can make these guys realize the need on this issue to be solved ASAP.

Thanks for your time,

/Europe (except Great Britain) , South America, and Africa :!:

cornelio0202
09-09-2005, 12:31 AM
Content visible to registered users only.

Hi David!

This is one of the features I have been looking for.

Is it possible to have a separate one for categories only? I have not made it yet, but there are sites that I envision where there will be tens of thousands or even hundreds of thousands of categories and subcategories. The concept demo of such page would be like this:

{url removed - no longer working}

the A-Z section in the index will be all categories and subcategories.

The A-Z section for category will not supplant that of the A-Z section for links, of course. Both are important, I think.

Wow, now more than ever, I think I have made up my mind to use your Link Category.


Thanks very much.

David
09-13-2005, 08:11 PM
In top_bar.tpl I added a link:
Content visible to registered users only.

Also in top_bar.tpl, below the table, the alphabet list is added:
Content visible to registered users only.

On index.php, a new case was added for p=a
Content visible to registered users only.
I think that is everything, but let me know if I missed something.
Thanks to Igonza for this code.

ksbhati
09-14-2005, 09:49 AM
Thank you David! I will try it out...and let you know how it goes :).

Best Regards.

Karni

ksbhati
09-14-2005, 10:36 AM
Hi David,

Something seems to be missing as it is not showing any links when I try to click one of the alphabets. shouldnt there be a function sorting the links alphabetically?

If anyone else has managed to get this to work please let me know.

Thanks & Best regards

ksbhati
09-16-2005, 10:22 AM
Hi ! Was anyone able to get this to work ?? I dont want to bother David till I get some feedback from others :D .

If anyone else tried to integrate this then please post your feedback on how it worked out.

Thanks !!

Ap0s7le
09-16-2005, 03:06 PM
Yeah, I'd say something is missing :)

I'm leaving town though, if he hasn't fixed then when I get home I'll write it up custom for you.

later

-Casey

thompson
11-30-2005, 11:00 AM
Content visible to registered users only.

im not sure because i didn´t try it, but i think just unkommend following code
Content visible to registered users only.

to Content visible to registered users only.
test it. ;)

Ap0s7le
12-12-2005, 09:06 PM
I should be able to do this once I have some time.

Contact me if it's urgent.

-Casey

bobby9101
06-05-2006, 09:26 PM
whoa this is really old but may i bump this?

Steven Myers
06-05-2006, 09:50 PM
because a mod like this could be used for the 3.05 and new version coming up soon ;)

dargre
09-16-2006, 07:17 PM
I made my own alphabetical A-Z mod.
It's working on 3.04 version now, but have it on 3,06 as well.
The code above is rather useless as it shows limited results.
So you can think: what about removing LIMIT? Not good idea.
We need PAGINATION for aphabetical results.
Take a look at linkforever.net (in the footer).

Should I prepare mod for everyone and publish it ?
Anybody still need it?

regg
09-16-2006, 11:20 PM
Content visible to registered users only.

Oh very very nice... can you give me the Mod please ? PM Me. Thanks a lot! I have the 3.06

dargre
09-18-2006, 01:09 AM
Content visible to registered users only. And so I prepared it for you regg. Just sending. If any trouble or queation just PM to me. I've added numbers (0-9) support.

Checked A-Z mode on 3.xx version. For 3.06 you must remember to change .tpl files under current template folder.
There is no sorting capabilities. But A-Z is A-Z. The only sense is in reverse sorting. And so the mode is prepared for that. Just few lines of code to add in main.tpl file. I tested it and it works properly. Should I add such thing?
If I find more yu people interested in A-Z mode I will publish it on LinkForever (http://linkforever.net) directory where the mode is working now!

Not perfect sort of code, but it's working. I'm rather traditional programmer (C,Delphi etc.). Specially in audio software (devoloped some - listed in Tucows, Download.com etc.). So I'm sure somebody can optimize the code, though result will be same.
:rolleyes:

proprod
09-18-2006, 01:57 AM
Content visible to registered users only.

Could I have a look at what you've done, also? Very interested. Thanks.

Andy1961
09-18-2006, 03:56 AM
Content visible to registered users only.

Hey Dargre.
I would like to get this mod from you, please PM it. I am also interested in your "Link popularity" mod. Could you post it too?
Thank you in advance.
Andy

rebel
10-02-2006, 05:16 PM
@ Dargre,

i would love this mod too please pm me, it really seems to be the way to go.

thank you so much for sharing this

thompson
10-05-2006, 09:39 AM
love it too.

can you post it or pm it ?

thanks for sharing.

dargre
10-05-2006, 11:01 PM
I don't think I will PM anyone with the mod.
It's not so easy to install. A lot to explain.
Each directory is different.
Different version, server settings, different style.
I don't have time for everyone to explain how to...
But I think I will publish it soon and everyone will have a chance to download and install A-Z mode on your own responsibility.

Now A-Z mode works on LinkForever (http://www.linkforever.net) directory which is version 3.04.
This is 3.06 version.
And here I've added ASC-DESC sorting option for A-Z listings (check letter "C").

Vinci
12-20-2006, 12:35 AM
Hello, dargre can you post the code of your mod on the forum? I see it is a great mod and I would like to install and try it on my directory, thx

Have anyone use the code David posted on forum?? I have tried it and it doesn't work for me, I have 3.0.6, can anyone correct it?

proprod
12-20-2006, 01:15 AM
Content visible to registered users only.

The link popularity tool can be found at http://www.iwebtool.com

technomatters
12-20-2006, 03:18 AM
where do we find list? pl help us.

proprod
12-20-2006, 02:28 PM
Content visible to registered users only.

Which list ?

David
12-20-2006, 07:41 PM
Sorry guys, I know you probably gave up, but I am now working on making a mod release for this code for both 2.1 and 3.1

Vinci
12-22-2006, 10:09 PM
Hello, I know the holidays are comming and you have lots of work but David can you say when we will see something? becouse I can't sleep now at night, Im still thinking about this mod :D :p sorry for insist I just want to know :o

David
12-23-2006, 12:15 AM
Content visible to registered users only.


Sure, I'll be happy to at least tell you that I am expecting something in the next couple of days. It will first be released for 2.1, and then 3.1 a couple of days later.
I might be able to make a zip of all the files from that site available, but I prefer to actually release this as a mod with a list of changes, etc.

Vinci
12-23-2006, 01:13 AM
David thx for info, I would be possible to make some changes and use it for abc categories? becouse I have lots of categories on my dir and would like when people click "A" have only categories starting with "A"

David
12-23-2006, 02:33 AM
Content visible to registered users only.

We'll see about this. First we will see the first version of the mod. It should actually be ready sometime tomorrow.

anon
12-23-2006, 02:38 AM
it should be relatively easy to get done. roughly 10 lines of code at most.
i opened mine up since it will most likely become the norm once it gets done by whomever david is calling on to have it done.

david, any reason in particular you have the extra values being passed? too much and irrelevant to be honest.

dargre
12-23-2006, 02:58 AM
You have few links on each letter. Will see when you'll have lets say 200 on one letter... Also there's no sort option...
Lot of talking about A-Z mod and poor result. Seems only my mod is working with full support for pagination, sorting asc, desc and by pagerank...
And it works months for me...
Check www.all4seo.net (http://www.all4seo.net) or www.linkforever.net (http://www.linkforever.net) (lot of links on each letter)
And I tell you one - making useful and working mod for this was not so easy and quick. And forget about 10 lines...
On request I even did for someone A-Z mod not for links but for categories :) Working fine.

dargre
12-23-2006, 03:05 AM
Content visible to registered users only.
Not a good idea... worthless for directory. Check mine for each listing detail. Search results are stored for X days and then refreshed. Everything works automatically. I also did standalone LINK POPULARITY like iwebtool have. See on www.all4seo.net. (http://www.all4seo.net/link_popularity_checker.php)
Preety nice... And result is displayed in frame, so I can do the same as iwebtool (share it to the world with engine on my server...)
But I'm rather thinking of selling the script with some other scripts in one pack.

David
12-23-2006, 03:15 AM
Well, let's get to v1 of this mod and we'll talk about what comes next. ;)

anon
12-23-2006, 03:19 AM
Pagination is included. I just dont have enough links in there atm to pull pagination up(currently set to 10). But when I tested my pagination (using show only 1 per page) all was fine. I took out the sort by but I do have it in there. supporters, pr, hits, alpha not just the standard three. I like to sort by supporters with no alternative option as I feel those who pay for higher end results deserve higher end placements (10 lines of code exactly. I just counted). You cannot go on by what you do not see. I also have by title, by domain(only main domains are accounted for, not subs), and by category in there.

Bottom line, this is easily 5 minutes of coding for the base of what is wanted, which is another 10 lines of code. It really is that easy.

I think you should offer David you MOD though. what do you say?

dargre
12-23-2006, 03:41 PM
Sound nice. We will see.
Your directory is a piece of wonderful design job. I saw it few months ago and was impressed. Wish success.
One thing is strange: website loading time. Very, very long comparing to oher websites or directories. Sometimes it's so long I just give up. If it is your server - should think about changing host.

David
12-25-2006, 08:25 PM
Hi, this one is just for 2.1 so far.
We will also be releasing for 3.1.
Feel free to (back up everything and) test it on 3.06 and see if you can get it to work.

anon
12-25-2006, 08:26 PM
Yes regg, that is it. You will have to do some copy and pasting. The instructions arent the best though.

ha! 10 lines of code in that index.php like i said :p

David
12-25-2006, 08:50 PM
The person who did this for me is out of town til the 8th, but if it is not working corectly, let me know after the 8th. Also, after the 8th is when I will get the 3.1 going.

proprod
12-25-2006, 09:54 PM
Content visible to registered users only.

I tried this briefly (in between turkey and potatoes, hehe) in v2.0 - it didn't work so hot unless I didn't correctly insert the code. Or it maybe that it's written for v2.1

After dinner (if I am still awake) I will take a closer look at it and see what I come up with.

Happy Holidays Everyone !!

MikeK
03-08-2007, 09:32 AM
Hi,

I got this mod yesterday. Looks good, but is is possible to use seo-friendly urls here?

From /alphabet.php?letter=D
to /alphabet-D/ (page x .html)


Ciao,
Mike

MikeK
03-08-2007, 04:34 PM
Not really! :confused:

This looks good:
http ://www .seitensuche.info/webkatalogseiten-F.html

But the pagination is not seo friendly:
http ://www .seitensuche.info/alphabet.php?letter=F&p=16

I mean completely seo-friendly!

Ciao,
Mike

dargre
03-08-2007, 04:53 PM
As I posted before:
A-Z mod is included in my mod's pack.
It works on all versions of PhPld. Different version is for 2.xx.
The mod comes with pagination and sorting ASC-DESC.

It is also possible to have A-Z with rewrite method. A.html,B.html etc. But this is not included in the pack. Rewriting needs some code in your .htaccess and that's the problem as we all can have different .htaccess file. And for those not experienced it can cause some pronlems. That's why I didn't released it in the pack.
Simple A-Z mod works on my www.LinkForever.net (http://www.LinkForever.net)
and on some dozens other dirs with my mods already installed.
Extended (rewrited) A-Z mod works on my other site too.

And I will rather switch it to simple A-Z version as after some Google updates it seems not to be seen well by Google.
Look at my other site. Though it was always rewrited, all internal links got at least PR4 or PR5, only those from A-Z mod stayed at PR0.

The link to my mods you have in the footer.

MikeK
03-08-2007, 05:49 PM
Content visible to registered users only.

I think it would be better to check why your a-z pages send an #404 header! :D

URL checked:
Content visible to registered users only.
Content visible to registered users only..
No really searchengine friendly ;) Maybe here is a solution? http://www.phplinkdirectory.com/forum/showthread.php?t=6228

Content visible to registered users only.I know, I paid the $10 yesterday. I have to check if the pagination is in the download.

Ciao,
Mike

dargre
03-08-2007, 06:58 PM
Content visible to registered users only.
Yep, didn't think about sessions as it works for me. But will correct it.

MikeK
03-08-2007, 10:59 PM
Hi,

can someone help me a little bit with the mods for the searchengine friendly urls?

It works with the first pages: .../alphabet-A/, .../alphabet-B/, ...

But the pagination with /alphabet-A/page-2.html did not work! What must I change in the alphabet.php?

Ciao,
Mike

dargre
03-14-2007, 04:54 PM
There's no option in aplhabet.php to have rewrited each letter and each page for letter. I don't plan to do that as I see it's useless.
Think about what is more important: have high PR for categories or high PR for letters? Having A,B,C .html especially on Top of categories can cause your categories can have lower PR then without that.
The alphabet is rather for users than for you. Having few more sites indexed is not so important for directory. Having high PR for letters - too as noone submits link to letters...

It is possible to have all rewrited but this requires some rewrite rules in .htaccess. I did it for testing on my site and must say it doesn't make big difference.

dargre
06-07-2007, 10:00 PM
Added: 2007-06-06
Though the thread should be updated as from some time my mod has changed a lot.
Current mod for A-Z links enables seo friendly URLs, with seo-friendly pagination support.
It concerns all versions from 3.0, however it's possible to do the same for 2.xx.
And all URLs have 200 Ok HTTP HEADER STATUS

housemeister
06-09-2007, 09:15 AM
hi dargre :-)

"T","V","U"

"T","U","V" ;)

dargre
06-09-2007, 09:28 AM
So don't you have fingers to correct ALPHABET array :)
For me as non English native "TVU" sounds better than "TUV" :)
Whatever...
You won't find 'Vietnam' under 'U'
and won't find 'USA' under 'V'

Ok, though I'm lazy little bit, I go now to correct it :)

msolution
06-19-2007, 06:34 PM
hi,
i used this mod on phpLD 2.1.2,... wrks gr8,
any idea how to put pagination in this,
as $p = 'z' means alphabetic listing!
and $p = 2, means page 2!

if someone can guide me thru this

http://www.dir.vc/Letter:M

if u see the letter D has more listing there, it would be helpful if i could get pagination wrkin on this.

Regards
M.
PS: i slightly modified the pack according to the post of David on this thread,... club this coding into the select case. and make $az_link to simply $links, now all thats required is $p!


EDIT: I went long! ... i changed the select $p to $w, so no its w for select and $p for pages.... recommended for ppl who know php, if u dont , ....wait for someone to create a mod, or upgrade!

Deekman
06-26-2007, 08:04 PM
Hey guys, I'm trying to impliment this onto my link directory but not having much luck.

I've managed to get the links to show up but everytime I try to go to a letter it just gives me a 404. Any ideas?