TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,020
  • Total Topics: 21,332
  • Online today: 1,358
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 1158
  • Total: 1159
  • lurkalot

alphabetical topics index

Started by deniz, December 28, 2006, 07:01:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

knat

#10
Thanks for this.. very nice, i am already using it  :D

Did you forget about numbers ?? i have lots of topics starting with a number  :coolsmiley:

Anyway i think the code is very nice, i would also like to not have all topics to show at entering.. Should just show all topics starting with A and then have a button named ALL.  ::)

Thanks for the code  ;)

Edit.. i found out just to link to page;letter=A .. great stuff  :)

JPDeni

Quotebut i want to start page with letter "A" and "all" option should be at the end of list.
Okay. Do you want numbers?

Quoteand page can be limitited items like 50. becuse some forums has a lot of topics.
Hmmm. Seems like someone made that suggestion earlier.  ;)

Quote[dealing differently with punctuation] yes please
Okay. It might take a bit longer to build the page, but likely won't be too noticeable if there are a limited number of topics on the page.

Quotebut i can use together "Ã...ž" in "S" tab, "İ" in "I" tab, "ÃÅ"" in "U" tab and "ö" in "O" tab.
That shouldn't be a problem.

Quotemaybe we can add "others" tab.
Someone else would have to figure that out. I don't know how to do that. I would need to know what the "others" are in order to do the search.

Quote2. bord name column  will be helpfull.
Okay.

QuoteDid you forget about numbers ??
No. I didn't forget. deniz said he wanted it like http://wikkawiki.org/PageIndex which doesn't have numbers. And, BTW, has the "All" at the beginning.

I need you to look over it again and see if there are other changes you want to make. I don't want to have to keep rewriting the code. It's a whole lot easier if I know what you want before I start to write.

deniz

.. more  :)

1. may be we can add merge box at the end of row. then admins easly merge topics.

2. can be sort column according to header. like boradname, sender, view count, date etc.

3. wikka page just a sample. we have more data than wikka. so we can use extra options.

4. all numbers and signs should be in one tab.


JPDeni

Quotemay be we can add merge box at the end of row. then admins easly merge topics.
We? ;) This is becoming something completely different than an index. I don't think I want to do this. Possibly when I get the rest done, someone else will want to add that.

Quotecan be sort column according to header. like boradname, sender, view count, date etc.
Logically, that doesn't make sense when you have searching by the first letter of the topic title.

Quotewikka page just a sample. we have more data than wikka. so we can use extra options.
I understand. But that's why I don't like it when people say "I want it just like this." Every time when I make it "just like" what they say they want, they then say they want something different and I end up starting over. I really don't mind writing code for people. I like doing it. But I don't like writing the same code multiple times.

Quoteall numbers and signs should be in one tab.
I don't understand. There are no tabs. And I thought you had decided that topic titles that started with signs would sort with the first letter or number. So that the A section might include

"A nice topic"
Another nice topic
(Awful stuff)

Now you want something different?

deniz

#14
first of all thank you very much for your kindly replys.
and i use your usefull script.
after now i want to help improve your code with opinions.

1. my tab means -> "A","B","ALL",...

2. i think to show letters with signs in letter tab is very diffucult.
(to show that two examples ->  a is a topic |  "a" is a topic )
so you should not work this hard job.

3. special chars should add (  "(", "[" , and language specific chars  )

4. rows should limited ( like 50 items)

5. should add "bord name" column

6. numeric topics may collect in one "NUM" tab. like "ALL"..

just ideas.

:)

best regards


thanks..







JPDeni

I'll get to it later. My husband is home from work today and we're spending the day together, so there may not be another version of this until tomorrow.

At least now I know what you want. :)

JPDeni

I've been working on this and I sorta have it, but...

In order to do what you want, I have to have a rather complex MySQL statement and, although it works fine when I run it in phpMyAdmin, whenever I try to run it through SMF/TP, I get the error message "Hacking attempt." That's what it seems to do whenever I have been ... creative ;) , I guess ... with my SQL.

Whatever the reason, there's a real problem with sorting

"A new topic"
An old topic
(a nice topic)

together.

Possibly someone a lot smarter than I am can work it out. :)

This website is proudly hosted on Crocweb Cloud Website Hosting.