Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: MaXiForum.cz on October 18, 2009, 02:01:25 PM

Title: ListCreator
Post by: MaXiForum.cz on October 18, 2009, 02:01:25 PM
ListCreator - Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2194)

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 (http://www.maxiforum.cz) - [email protected]
Title: Re: ListCreator
Post by: -=[Vyorel]=- on October 18, 2009, 02:59:56 PM
Nice mod! ;)
Title: Re: ListCreator
Post by: MaXiForum.cz on October 19, 2009, 11:34:38 AM
Thanks :)
Title: Re: ListCreator
Post by: rölyef on October 19, 2009, 01:56:46 PM
Nice mod :)
Turkish translation:

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


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


Title: Re: ListCreator
Post by: MaXiForum.cz on October 20, 2009, 09:58:27 AM
Thank you Fovist :)
Title: Re: ListCreator
Post by: sodmanccc on October 28, 2009, 06:07:26 PM
nice mod thanks for spending time making and sharing it

Title: Re: ListCreator
Post by: SISPro on December 01, 2009, 12:17:53 AM
is there any way of making this work on RC2 I really like this mod
Title: Re: ListCreator
Post by: Harvester on December 01, 2009, 08:19:03 AM
What are these odd characters that I see when I parse it from the download page?

// 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?
Title: Re: ListCreator
Post by: MaXiForum.cz 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.
Title: Re: ListCreator
Post by: SISPro on December 02, 2009, 10:17:03 PM
Thank you so much works like a charm
Title: Re: ListCreator
Post by: FrelonVert 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
Title: Re: ListCreator
Post by: legostrat 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?
Title: Re: ListCreator
Post by: MaXiForum.cz 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.
Title: Re: ListCreator
Post by: Tiribulus on December 08, 2009, 11:48:26 PM
Any idea why I would get the bbc tagged text instead of the rendered list?
Thanks
Title: Re: ListCreator
Post by: MaXiForum.cz 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.
Title: Re: ListCreator
Post by: Tiribulus on December 09, 2009, 02:52:11 PM
I didn't explain well enough. I'm getting this
(http://gregnmary.gotdns.com:8080/pix/list.jpg)
Title: Re: ListCreator
Post by: Tiribulus 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:)
Title: Re: ListCreator
Post by: MaXiForum.cz 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$prefixes = Array('"', '\'', '[', '"', ' ', '(');

These characters will be ignored.
Title: Re: ListCreator
Post by: Kimmie 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).
Title: Re: ListCreator
Post by: MaXiForum.cz 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.
Title: Re: ListCreator
Post by: haito on December 11, 2009, 06:59:43 AM
nice mod  8)
is it suitable for custom theme ?
Title: Re: ListCreator
Post by: MaXiForum.cz on December 11, 2009, 08:46:20 AM
Quote from: haito on December 11, 2009, 06:59:43 AM
nice mod  8)
is it suitable for custom theme ?

Yes, any theme :-)
Title: Re: ListCreator
Post by: Kimmie on December 11, 2009, 09:11:45 AM
Quote from: MaXiForum.cz 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.

What do you mean by "create more posts"? It doesnt actually create anything.

How do I turn it off so that my moderators and gmods cannot access the ListCreator button? I dont want them messing with it.

also, I generated a list for a board, made a new thread and copy/pasted all that info in it to make the list. Once you generate a list, that code stays at the bottom of that board. How do I turn that back off until I need to generate a new one? And can regular members see that once a list has been generated?

(http://i46.tinypic.com/2aahwkh.png)

^^ need to close that box until I need to make a new list in that board because its not needed


and last but not least..lol. I have a suggestion. Is there a way to code it so that it makes (or you have the option to make) a "2 or 3 Column" list so that lists are not so lengthy? (this would come in handy on boards where there are "alot" of threads. )
Title: Re: ListCreator
Post by: haito on December 11, 2009, 09:45:24 AM
Quote from: MaXiForum.cz on December 11, 2009, 08:46:20 AM
Quote from: haito on December 11, 2009, 06:59:43 AM
nice mod  8)
is it suitable for custom theme ?

Yes, any theme :-)
what's the file should i modif?

sorry for my bad english..
Title: Re: ListCreator
Post by: Kimmie on December 11, 2009, 10:00:44 AM
Quote from: haito on December 11, 2009, 09:45:24 AM
Quote from: MaXiForum.cz on December 11, 2009, 08:46:20 AM
Quote from: haito on December 11, 2009, 06:59:43 AM
nice mod  8)
is it suitable for custom theme ?

Yes, any theme :-)
what's the file should i modif?

sorry for my bad english..


If your custom themes have the file "MessageIndex.template.php" that is the file you will need to edit. If you use a languange other than English (turkish or czech), you may need to edit that file as well (and will be located in the languages directory of your custom themes)
Title: Re: ListCreator
Post by: haito on December 13, 2009, 03:14:19 AM
work perfectly...
thanks kimmie
Title: Re: ListCreator
Post by: Kimmie on December 15, 2009, 03:35:25 PM
Quote from: haito on December 13, 2009, 03:14:19 AM
work perfectly...
thanks kimmie

No problem, glad I could help. :)
Title: Re: ListCreator
Post by: scimmiotto on December 27, 2009, 11:49:02 AM
tnx awesome mod :)
Title: Re: ListCreator
Post by: Kimmie on December 28, 2009, 02:26:26 AM
QuoteIs there a way to code it so that it makes (or you have the option to make) a "2 or 3 Column" list so that lists are not so lengthy? (this would come in handy on boards where there are "alot" of threads.


Just wondering about this thanks :)
Title: Re: ListCreator
Post by: Bugo on February 14, 2010, 09:33:23 AM
Russian text:

//  ListCreator by www.maxiforum.cz
$txt['listcreator'] = 'Список тем';


And what about cyrillic (russian) support in the generation of a list?
Title: Re: ListCreator
Post by: MaXiForum.cz on November 12, 2010, 06:20:07 AM
2010-11-12 - Update
- support RC4, 1.1.12
- support UTF-8 including Cyrillic
- optimized speed
- add Russian tranlation
- add copyright

:-)

Thank you for language support :)
Title: Re: ListCreator
Post by: Bugo on November 12, 2010, 07:03:30 AM
Fresh install on SMF 2.0 RC4, error log:
Quote***/index.php?board=2&zoznam=1
Undefined variable: prefixes
File: ***/www/Sources/Subs.php
Line: 4432

P. S. Don't past differently encoded text into single file. For russian language we may recommend you to use two files: russian.xml with ANSI and russian-utf8 with UTF-8...
Title: Re: ListCreator
Post by: -=[Vyorel]=- on November 12, 2010, 10:38:20 AM
Romanian translation:

Modifications.romanian.php
Modifications.romanian-utf8.php


           
//  ListCreator by www.maxiforum.cz
$txt['listcreator'] = 'Creator de Liste';

Title: Re: ListCreator
Post by: MaXiForum.cz on November 12, 2010, 12:28:16 PM
Hups...
I fix it soon. I am busy with a couple projects now.
-=[Vyorel]=- thank you!
Title: Re: ListCreator
Post by: tesser on November 12, 2010, 02:42:08 PM
Nice mod but would be wicked if  once you created the new post and placed the code in  and a member makes a new topic on the same board it would auto update 
Title: Re: ListCreator
Post by: MaXiForum.cz on November 13, 2010, 11:19:39 AM
Quote from: Bugo on November 12, 2010, 07:03:30 AM
P. S. Don't past differently encoded text into single file. For russian language we may recommend you to use two files: russian.xml with ANSI and russian-utf8 with UTF-8...

Bugo, how do you mean?

Modification updated!
- fix the bug with Subs.php on line: 4432
- add Romanian tranlation

Actual version: 1.3.1

tesser, you must it by hand ;)
Title: Re: ListCreator
Post by: Bugo on November 13, 2010, 11:34:25 AM
MaXiForum.cz, look at screenshot.
SMF 2.0 RC4, Russian (Windows-1251)
Title: Re: ListCreator
Post by: MaXiForum.cz on November 13, 2010, 07:12:14 PM
I understand. I'll try to fix this as soon as possible.
Title: Re: ListCreator
Post by: Patriiick on December 04, 2010, 05:14:52 PM
Hi, I installed this mod, I can see the LISTCREATOR button, I can click on it, but nothing at all happens. Can you tell me what is supposed to happen after clicking n the button... Thanks!
Title: Re: ListCreator
Post by: sharks on December 05, 2010, 04:53:51 AM
Thanks a lot for this nice mod. My forum members use it regularly to index their topics.
Title: Re: ListCreator
Post by: MaXiForum.cz on December 05, 2010, 07:47:46 AM
Patriiick
ListCreator generates the code under the topics.
(http://www.simplemachines.org/community/index.php?action=dlattach;topic=343128.0;attach=161556;image)

sharks
thank you :-)
Title: Re: ListCreator
Post by: Patriiick on December 05, 2010, 07:54:29 AM
Ok, buy I never saw this window.
Title: Re: ListCreator
Post by: sharks on December 05, 2010, 08:30:18 AM
Quote from: Patriiick on December 05, 2010, 07:54:29 AM
Ok, buy I never saw this window.

You have to scroll to the end of topics list in the board that you are viewing. I am using SMF 1.1.11 and after i click on ListCreator, it automatically scrolls down to the list of BBC codes that you just have to select all and then copy into a new topic.
Title: Re: ListCreator
Post by: Apllicmz on January 09, 2011, 05:34:47 AM
when Update dont forget portuguese_pt

    <file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
           
//  ListCreator by www.maxiforum.cz translate by candidosa2
$txt['listcreator'] = 'Criador de Lista ';

]]></add>
        </operation>
    </file>
    <file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
           
//  ListCreator by www.maxiforum.cz translate by candidosa2
$txt['listcreator'] = 'Criador de Lista ';

]]></add>
        </operation>
    </file>
    <file name="$languagedir/Modifications.portuguese_brazilian.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
           
//  ListCreator by www.maxiforum.cz translate by candidosa2
$txt['listcreator'] = 'Criador de Lista ';

]]></add>
        </operation>
    </file>
    <file name="$languagedir/Modifications.portuguese_brazilian-utf8.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
           
//  ListCreator by www.maxiforum.cz translate by candidosa2
$txt['listcreator'] = 'Criador de Lista ';

]]></add>
        </operation>
    </file>
Title: Re: ListCreator
Post by: MaXiForum.cz on January 09, 2011, 08:44:44 AM
Thank you Joomlamz :)
Title: Re: ListCreator
Post by: impreza on January 09, 2011, 03:16:59 PM
A useful modification, thank you
Title: Re: ListCreator
Post by: farao25 on March 10, 2011, 03:29:09 AM
the most useful modification i use in my forum.
Is it compatible with 2.0 RC5 or you will wait for the 2.0 Gold ?
Keep up the good work.
Title: Re: ListCreator
Post by: MaXiForum.cz on March 10, 2011, 12:44:11 PM
Quote from: farao25 on March 10, 2011, 03:29:09 AM
the most useful modification i use in my forum.
Is it compatible with 2.0 RC5 or you will wait for the 2.0 Gold ?
Keep up the good work.

It works on RC5 :-)
Thank you.
Title: Re: ListCreator
Post by: SISPro on March 22, 2011, 03:02:33 PM
after upgrade i am getting this error and site won't load.

Strict Standards: require_once() [function.require-once]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /home/baredesi/public_html/Sources/Subs.php on line 5028
Title: Re: ListCreator
Post by: MaXiForum.cz on March 22, 2011, 04:18:40 PM
Upgrade from ListCreator1.3.1.zip to ListCreator1.3.2.zip is only RC5 support.
This modification make on RC4 and RC5 OK ;)
Make the change by hand ;)
Title: Re: ListCreator
Post by: SISPro on March 23, 2011, 01:57:24 AM
no it still comes up with the same thing
Title: Re: ListCreator
Post by: MaXiForum.cz on March 23, 2011, 08:12:39 AM
I don't know what do you mean.
I have this mod on rc5 ;)
Title: Re: ListCreator
Post by: SISPro on March 23, 2011, 12:49:55 PM
yea and i have it on my forum before i put it on my friends site and works fine so i uninstalled it on mine and put the newer one on and bang there it went to hell.

this is what i keep getting.

Strict Standards: require_once() [function.require-once]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /home/baredesi/public_html/Sources/Subs.php on line 5028

even on a manual install still the same
Title: Re: ListCreator
Post by: MaXiForum.cz on March 23, 2011, 01:10:05 PM
Uninstall it by hand...
Title: Re: ListCreator
Post by: SISPro on March 23, 2011, 09:38:00 PM
did that and still the same not sure it only does it in the Sources/Subs.php
Title: Re: ListCreator
Post by: MaXiForum.cz on March 24, 2011, 07:35:57 AM
Send me your site link and Subs.php ;)
Title: Re: ListCreator
Post by: SISPro on March 24, 2011, 03:47:58 PM
here is the sub

http://baredesires.com/index.php
Title: Re: ListCreator
Post by: MaXiForum.cz on March 26, 2011, 09:44:00 AM
Eh this is very old version and I haven't this old code :D
I need your FTP and admin login.
Send me PM ;)
I must try this.
Title: Re: ListCreator
Post by: The_Wii_Nes_Boy on April 16, 2011, 08:09:07 PM
Any chance this will be updated to update the list and post by itself?
Title: Re: ListCreator
Post by: MaXiForum.cz on April 17, 2011, 02:44:48 AM
No, this is only list of topics ;)
Title: Re: ListCreator
Post by: Xarcell on April 18, 2011, 01:15:42 PM
Very useful mod...
Title: Re: ListCreator
Post by: The_Wii_Nes_Boy on April 20, 2011, 05:46:51 AM
Quote from: MaXiForum.cz on April 17, 2011, 02:44:48 AM
No, this is only list of topics ;)
It would be great to see it turned in to a Auto SyncList mod.
Title: Re: ListCreator
Post by: MaXiForum.cz on April 20, 2011, 12:10:23 PM
Quote from: Xarcell on April 18, 2011, 01:15:42 PM
Very useful mod...

Thank you :)
Title: Re: ListCreator
Post by: Verla Kay on April 17, 2012, 02:52:07 PM
Is there any way to get ListCreator to work for the general membership of a board instead just for the Mods and Admins?
Title: Re: ListCreator
Post by: MaXiForum.cz on April 20, 2012, 02:13:58 AM
Not yet...
Title: Re: ListCreator
Post by: sharks on April 29, 2012, 09:38:10 AM
Indeed, it would be awesome if more features could be added in new versions. Those extra features should be selectable by the member.
Title: Re: ListCreator
Post by: drakcore on June 22, 2012, 05:21:30 PM
I motion that it would be great it if was automatic in generating a list/forum post which could be customized.
Title: Re: ListCreator
Post by: MaXiForum.cz on June 24, 2012, 02:56:21 AM
No time... :(
Title: Re: ListCreator
Post by: galandas on September 19, 2012, 05:34:18 AM
sorry
I did not understand
how do I
create a list
I explained
please?

sorry for my english
Title: Re: ListCreator
Post by: MaXiForum.cz on September 27, 2012, 12:44:35 PM
(http://www.simplemachines.org/community/index.php?action=dlattach;topic=343128.0;attach=161554;image)


(http://www.simplemachines.org/community/index.php?action=dlattach;topic=343128.0;attach=161558;image)

;)
Title: Re: ListCreator
Post by: galandas on October 09, 2012, 06:12:40 AM
thank you