Advertisement:

Author Topic: ListCreator  (Read 21307 times)

Offline MaXiForum.cz

  • Senior Translator
  • Full Member
  • *
  • Posts: 690
  • Gender: Male
  • Czech SMF support
    • MaxiFórum
ListCreator
« on: October 18, 2009, 02:01:25 PM »
ListCreator - Link to Mod

This modification adds to global and local moderators a possibility to create an alphabetic list of the topics on certain boards. This module is compatible with Pretty Url.

Language: Czech, English, Turkish, Russian, Romanian

Update history:

2010-11-13 - Update
- fix the bug with Subs.php on line: 4432
- add Romanian tranlation

2010-11-12 - Update
- support RC4, 1.1.12
- support UTF-8 including Cyrillic
- optimized speed
- add Russian tranlation
- add copyright

2009-10-15 - Update

2009-10-17 - Update

2009-12-02 - Update
- support RC2
- improved diacritics
- add Turkish translation
- add anchor

2009-12-10 - Update
- improved recognition of special characters
- add ignore prefixes

Developed by the www.maxiforum.cz - pk16011990@gmail.com
« Last Edit: November 13, 2010, 11:17:13 AM by MaXiForum.cz »

Offline -=[Vyorel]=-

  • Sr. Member
  • ****
  • Posts: 744
  • Gender: Male
  • Web Hoster
    • RomanianPowerHosting on Facebook
    • RO Power Hosting
Re: ListCreator
« Reply #1 on: October 18, 2009, 02:59:56 PM »
Nice mod! ;)
My mods for SMF - [6].

Offline MaXiForum.cz

  • Senior Translator
  • Full Member
  • *
  • Posts: 690
  • Gender: Male
  • Czech SMF support
    • MaxiFórum
Re: ListCreator
« Reply #2 on: October 19, 2009, 11:34:38 AM »
Thanks :)

Offline rölyef

  • Jr. Member
  • **
  • Posts: 271
  • Gender: Male
Re: ListCreator
« Reply #3 on: October 19, 2009, 01:56:46 PM »
Nice mod :)
Turkish translation:

Modifications.turkish.php
Modifications.turkish-utf8.php

Code: [Select]
           
//  ListCreator by www.maxiforum.cz
$txt['listcreator'] = 'Liste Oluşturucu';


Offline MaXiForum.cz

  • Senior Translator
  • Full Member
  • *
  • Posts: 690
  • Gender: Male
  • Czech SMF support
    • MaxiFórum
Re: ListCreator
« Reply #4 on: October 20, 2009, 09:58:27 AM »
Thank you Fovist :)

Offline sodmanccc

  • Jr. Member
  • **
  • Posts: 219
Re: ListCreator
« Reply #5 on: October 28, 2009, 06:07:26 PM »
nice mod thanks for spending time making and sharing it


Offline SISPro

  • Jr. Member
  • **
  • Posts: 123
Re: ListCreator
« Reply #6 on: December 01, 2009, 12:17:53 AM »
is there any way of making this work on RC2 I really like this mod

Offline Harvester

  • Full Member
  • ***
  • Posts: 692
  • Gender: Male
Re: ListCreator
« Reply #7 on: December 01, 2009, 08:19:03 AM »
What are these odd characters that I see when I parse it from the download page?

Code: [Select]
// ListCreator by www.maxiforum.cz function ListCreator(){  global $boardurl, $context, $db_prefix, $user_info;  if ($user_info['is_admin'] || in_array('moderate_board', $user_info['permissions']))  {    $ch = array('Ã�', 'Ã�', 'Ä�', 'Ã�', 'Ä�', 'Ã�', 'Ä�', 'Ã�', 'Ã�', 'Å�', 'Ã�', 'Ã�', 'Å�', 'Å ', 'Ť', 'Ã�', 'Å®', 'Ã�', 'Ã�', 'Ž', 'á', 'ä', 'Ä�', 'ç', 'Ä�', 'é', 'Ä�', 'ë', 'í', 'Å�', 'ó', 'ö', 'Å�', 'Å¡', 'Å¥', 'ú', 'ů', 'ü', 'ý', 'ž');    $up = array('á' => 'Ã�',                 'ä' => 'Ã�',                 'Ä�' => 'Ä�',                 'ç' => 'Ã�',                 'Ä�' => 'Ä�',                 'é' => 'Ã�',                 'Ä�' => 'Ä�',                 'ë' => 'Ã�',

Is the SMF parser malfunctioning or will those odd characters actually do something?

Offline MaXiForum.cz

  • Senior Translator
  • Full Member
  • *
  • Posts: 690
  • Gender: Male
  • Czech SMF support
    • MaxiFórum
Re: ListCreator
« Reply #8 on: December 02, 2009, 04:26:55 PM »
A new version with support for RC2 now!

Harvester: It was to support accented characters. I improved it. Some special characters on some databases include poorly. To report bugs.

Offline SISPro

  • Jr. Member
  • **
  • Posts: 123
Re: ListCreator
« Reply #9 on: December 02, 2009, 10:17:03 PM »
Thank you so much works like a charm

Offline FrelonVert

  • Newbie
  • *
  • Posts: 5
Re: ListCreator
« Reply #10 on: December 04, 2009, 11:29:34 AM »
Hello,

Super mod! Thank you!

I use the prefix and instead of sorting alphabetically, it classifies topics by "[". A solution to exclude the prefix?

Thanks

Offline legostrat

  • Semi-Newbie
  • *
  • Posts: 21
    • Calxanime.com
Re: ListCreator
« Reply #11 on: December 07, 2009, 07:42:38 PM »
Is there any way to apply this mod so that it makes a list of the child boards, instead of topics?
www.calxanime.com [nofollow] - a SMF forum!  :D  Join if you're interested.

Offline MaXiForum.cz

  • Senior Translator
  • Full Member
  • *
  • Posts: 690
  • Gender: Male
  • Czech SMF support
    • MaxiFórum
Re: ListCreator
« Reply #12 on: December 08, 2009, 01:45:50 PM »
I was thinking how to solve the prefix and going to the new version with a field prefix, which are ignored. Maybe soon...

List of content of sub-boards is a "small" problem, it should be completely changed ListCreator. Thinking about the new version, but I dont promise it.

Offline Tiribulus

  • Sophist Member
  • *****
  • Posts: 1,016
  • Gender: Male
    • Tiribulus on Facebook
    • No Other God
Re: ListCreator
« Reply #13 on: December 08, 2009, 11:48:26 PM »
Any idea why I would get the bbc tagged text instead of the rendered list?
Thanks

Offline MaXiForum.cz

  • Senior Translator
  • Full Member
  • *
  • Posts: 690
  • Gender: Male
  • Czech SMF support
    • MaxiFórum
Re: ListCreator
« Reply #14 on: December 09, 2009, 04:01:52 AM »
I takes the output text from ListCreator, use a text editor find and replace. For example: Find "[color = orange]" to replace "[color = blue]" and replace everything.

Offline Tiribulus

  • Sophist Member
  • *****
  • Posts: 1,016
  • Gender: Male
    • Tiribulus on Facebook
    • No Other God
Re: ListCreator
« Reply #15 on: December 09, 2009, 02:52:11 PM »
I didn't explain well enough. I'm getting this

Offline Tiribulus

  • Sophist Member
  • *****
  • Posts: 1,016
  • Gender: Male
    • Tiribulus on Facebook
    • No Other God
Re: ListCreator
« Reply #16 on: December 09, 2009, 04:01:08 PM »
It appears I am dense. I now see the screens again in the first post as well, but I am not sure what to do with the output text. What does it do for me in a text editor? I'm sure this is just something I am missing.

Forgive me, I have a lot on my mind. I see now. It just generates the code and what you do with it after that is up to you. O:)
« Last Edit: December 09, 2009, 04:05:21 PM by Tiribulus »

Offline MaXiForum.cz

  • Senior Translator
  • Full Member
  • *
  • Posts: 690
  • Gender: Male
  • Czech SMF support
    • MaxiFórum
Re: ListCreator
« Reply #17 on: December 10, 2009, 06:56:23 AM »
New version, support prefixes.

Prefixes can modify in Source/Subs.php in function ListCreator(). Line with prefixes is
Code: [Select]
$prefixes = Array('"', '\'', '[', '"', ' ', '(');
These characters will be ignored.

Offline Kimmie

  • SMF Hero
  • ******
  • Posts: 1,590
Re: ListCreator
« Reply #18 on: December 11, 2009, 12:33:38 AM »
well it took me a while to finally figure out that it doesnt automatically make the thread with the list, it simply generates the code, and then you have to start a new thread and copy and paste it all in yourself,..,lol, but, this may turn out to be a useful mod after all. :)


Question: it says in your description that it "adds to global and local moderators a possibility". I looked all through permissions and cannot find the permissions for this mod. Are there any or does it automatically give them the permissions to use it? (if so, how can I turn those off, I dont want anyone else using that feature).

Offline MaXiForum.cz

  • Senior Translator
  • Full Member
  • *
  • Posts: 690
  • Gender: Male
  • Czech SMF support
    • MaxiFórum
Re: ListCreator
« Reply #19 on: December 11, 2009, 04:28:15 AM »
Yes, this mod only generates a list. It does not create a new topic. For example, the list may be longer than the maximum length of post. It should create more posts, etc.

Set rights is nowhere in the administration. This mod is active only if you're a local moderator, moderator or administrator in the current board.  Maybe later, with the support subboards.