News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Compile content of post

Started by davidhs, April 30, 2013, 03:31:55 AM

Previous topic - Next topic

davidhs

Link to Mod

Compile content of post

ABOUT...

Compile content of post, 2.2.2
© 2013-2021 by davidhs


This work is licensed under a Creative Commons Attribution 3.0 Unported License.

DESCRIPTION

This MOD allows compile information from content of post (links and images) and show it at the beginning and/or at the end of same post. Can be define any number of compilations throw several parameters:

  • Content: BBC used to show compilation. Can be used the following variables:

    • {CONTENT} - Text of compilation.
    • {TYPE} - Type of compilation.
    • {BOARDURL} - URL to forum folder.
    • {SCRIPTURL} - Web address of forum.
    • {IMAGES_URL} - URL to images folder in the users current theme.
    • {DEFAULT_IMAGES_URL} - URL to the images folder in the default theme.
  • Type of compilation: Can be shown all (links, eLinks and images, the default), links, or images eLinks which contains the post.
  • Show as: The compilation is shown as in post (links, eLinks or images; the default option) or as text to copy.
  • Position: The compilation is shown before and after post (the default option), before post or after post.
  • Boards: Posts where show the compilation may belong any board (except board of deleted posts; the default option), a single board or several boards.
  • Child boards: Indicates if the compilation is shown in posts of child boards and until level. Default is not shown.
  • Active: Indicates if a compilation is active. By default active.

     

EXAMPLE

QuoteContent:
[b]{TYPE}[/b]
[quote]{CONTENT}[/quote]
[hr]

Type of compilation: All (links, eLinks and images)
Show as: In post (links, eLinks or images)
Position: Before post


Content:
[hr]
[b]{TYPE}[/b]
[code]{CONTENT}[/code]

Type of compilation: All (links, eLinks and images)
Show as: Text to copy
Position: After post


SMF COMPATIBILITY


  • SMF 1.1 to 1.1.21.
  • SMF 2.0 to 2.0.18.
  • SMF 2.1 Beta 3 and RC1 to RC3.

LANGUAGES


  • english, english_british.
  • spanish (SMF 1.1.x), spanish_es, spanish_latin.

DOWNLOAD

Link to MOD

MANUAL INSTALLATION

See https://wiki.simplemachines.org/smf/Manual_installation_of_mods

COLLABORATE WITH THIS MOD

This work is licensed under a Creative Commons Attribution 3.0 Unported License.

You are free to share and adapt this MOD. Also you can collaborate in different ways:

  • Write comments, detect errors or suggest improvements in support topics in English and in Spanish.
  • Translate the mod into other languages, adding the translation in support topics.
  • Help to expand my collection of coins, banknotes and stamps, sending me something from your country via postal mail (ask me for address by personal message).
  • Make a donation via PayPal.

CHANGE LOG

Legend:   ! Fixed   + Added   - Removed   * Changed   @ Note

2.2.2   2021-02-23
------------------
! SMF 1.1.x: Use HTML entities in UTF-8 languages.
! SMF 2.0.x: Do not use HTML entities in ISO-8859-1 languages.
+ SMF compatibility: 2.0.16-2.0.18 and 2.1 RC3.

2.2.1   2019-05-02
------------------
! SMF 2.1.x: logAction is a deprecated function. Instead, logActions is used.
! SMF 2.1.x: Search pattern of links.
! SMF 2.x: The Quick Search of the Administration Center look for in settings variables of MOD.
! Use HTML entities in ISO-8859-1 languages.
+ SMF compatibility: 2.1 RC1 to RC2.

2.2     2018-08-17
------------------
! Error in source code.
! SMF 1.1.x: Theme of the generic form of displaying lists.
+ Upgrade code to the configuration variables from version 2.0-2.1.x to 2.2.
+ SMF 2.1.x: Uninstallation code to the configuration variables.
+ Field to indicate if a compilation is active.
+ Actions of Administration panel are logged to Administration log.
@ Administration log does not exists in SMF 1.1.x.
+ SMF compatibility: 1.1.21, 2.0.10 to 2.0.15 and 2.1 Beta 3.
- SMF 2.0.x: Languages: spanish, spanish-utf8 (these are not used).

2.1.3   2014-10-06
------------------
+ SMF 1.1.x: Implemented a generic form of displaying lists, similar to SMF 2.0.x.
+ SMF compatibility: 1.1.20 and 2.0.9.

2.1.2   2014-06-23
------------------
! Use HTML entities in ISO-8859-1 languages.
! Help.
+ Functions to get/update/delete data check the parameters before using them.
* Big multi-line text input fields are wider.
* Submit buttons have shortcut key to get focus.
+ SMF compatibility: 2.0.8.

2.1.1   2014-01-25
------------------
+ SMF compatibility: 2.0.7.

2.1     2013-12-21
------------------
! Error in source code.
! SMF 2.0.x: Functions of administration area must return settings variables for the Quick Search of the Administration Center.
+ SMF 2.0.x: The Quick Search of the Administration Center look for in settings variables of MOD.
+ Variable in content of compilation to insert URL to forum folder.
* Reorganization of the fields in the administration panel.

2.0.1   2013-10-31
------------------
! There was a PHP error when the list of compilations was empty.
+ SMF compatibility: 1.1.19 and 2.0.6.

2.0     2013-10-19
------------------
@ Not work after quick modification of post.
! SMF 2.0.x: Integration hooks functions parameters must be passed by reference.
+ Upgrade code to the configuration variables from version 1.0 to 2.0.
* Allows to create any number of compilations in the administration panel.
+ Variable in content of compilation to insert web address of forum.
+ Variable in content of compilation to insert url to the images folder in the users current theme.
+ Variable in content of compilation to insert url to the images folder in the default theme.
+ SMF compatibility: 2.0.5.

1.0     2013-04-28
------------------
@ This work is licensed under a Creative Commons Attribution 3.0 Unported License https://creativecommons.org/licenses/by/3.0/
+ Administration panel.
+ SMF compatibility: 1.1 to 1.1.18.
+ SMF compatibility: 2.0 to 2.0.4.
+ Languages: english, english-utf8, spanish_es, spanish_es-utf8, spanish_latin, spanish_latin-utf8.

Arantor


davidhs

New version:
2.0     2013-10-19
------------------
@ Not work after quick modification of post.
! SMF 2.0.x: Integration hooks functions parameters must be passed by reference.
+ Upgrade code to the configuration variables from version 1.x to 2.0.
* Allows to create any number of compilations in the administration panel.
+ Variable in content of compilation to insert web address of forum.
+ Variable in content of compilation to insert url to the images folder in the users current theme.
+ Variable in content of compilation to insert url to the images folder in the default theme.
+ SMF compatibility: 2.0.5.

davidhs

New version:
2.0.1   2013-10-31
------------------
! There was a PHP error when the list of compilations was empty.
+ SMF compatibility: 1.1.19 and 2.0.6.

davidhs

New version:
2.1     2013-12-21
------------------
! Error in source code.
! SMF 2.0.x: Functions of administration area must return settings variables for the Quick Search of the Administration Center.
+ SMF 2.0.x: The Quick Search of the Administration Center look for in settings variables of MOD.
+ Variable in content of compilation to insert URL to forum folder.
* Reorganization of the fields in the administration panel.

davidhs

New version:
2.1.1   2014-01-25
------------------
+ SMF compatibility: 2.0.7.

davidhs

New version:
2.1.2   2014-06-23
------------------
! Use HTML entities in ISO-8859-1 languages.
! Help.
+ Functions to get/update/delete data check the parameters before using them.
* Big multi-line text input fields are wider.
* Submit buttons have shortcut key to get focus.
+ SMF compatibility: 2.0.8.

davidhs

New version:
2.1.3   2014-10-06
------------------
+ SMF 1.1.x: Implemented a generic form of displaying lists, similar to SMF 2.0.x.
+ SMF compatibility: 1.1.20 and 2.0.9.

davidhs

To moderators: Text to move to first post
QuoteSubject:
QuoteCompile content of post, 2.1.3 (SMF 1.1-1.1.21, 2.0-2.0.10)
Body:
Quote
Link to Mod




Compile content of post

ABOUT...

Compile content of post, 2.1.3
© 2013-2015 by davidhs


This work is licensed under a Creative Commons Attribution 3.0 Unported License.

DESCRIPTION

This MOD allows compile information from content of post (links and images) and show it at the beginning and/or at the end of same post. Can be define any number of compilations throw several parameters:

  • Content: BBC used to show compilation. Can be used the following variables:

    • {CONTENT} - Text of compilation.
    • {TYPE} - Type of compilation.
    • {BOARDURL} - URL to forum folder.
    • {SCRIPTURL} - Web address of forum.
    • {IMAGES_URL} - URL to images folder in the users current theme.
    • {DEFAULT_IMAGES_URL} - URL to the images folder in the default theme.
  • Type of compilation: Can be shown all (links, eLinks and images, the default), links, or images eLinks which contains the post.
  • Show as: The compilation is shown as in post (links, eLinks or images; the default option) or as text to copy.
  • Position: The compilation is shown before and after post (the default option), before post or after post.
  • Boards: Posts where show the compilation may belong any board (except board of deleted posts; the default option), a single board or several boards.
  • Child boards: Indicates if the compilation is shown in posts of child boards and until level. Default is not shown.

     

EXAMPLE

QuoteContent:
[b]{TYPE}[/b]
[quote]{CONTENT}[/quote]
[hr]

Type of compilation: All (links, eLinks and images)
Show as: In post (links, eLinks or images)
Position: Before post


Content:
[hr]
[b]{TYPE}[/b]
[code]{CONTENT}[/code]

Type of compilation: All (links, eLinks and images)
Show as: Text to copy
Position: After post


SMF COMPATIBILITY


  • SMF 1.1 to 1.1.21.
  • SMF 2.0 to 2.0.10.

LANGUAGES


  • english, english_british.
  • spanish, spanish_es, spanish_latin.

If you want help translating it into other languages, you can add the translation in this topic.

DOWNLOAD

Link to MOD

MANUAL INSTALLATION

See http://wiki.simplemachines.org/smf/Manual_installation_of_mods

SUPPORT AND COMMENTS

In English: http://www.simplemachines.org/community/index.php?topic=502835.0
In Spanish: http://www.simplemachines.org/community/index.php?topic=502254.0

CHANGE LOG

Legend:   ! Fixed   + Added   - Removed   * Changed   @ Note

2.1.3   2014-10-06
------------------
+ SMF 1.1.x: Implemented a generic form of displaying lists, similar to SMF 2.0.x.
+ SMF compatibility: 1.1.20 and 2.0.9.

2.1.2   2014-06-23
------------------
! Use HTML entities in ISO-8859-1 languages.
! Help.
+ Functions to get/update/delete data check the parameters before using them.
* Big multi-line text input fields are wider.
* Submit buttons have shortcut key to get focus.
+ SMF compatibility: 2.0.8.

2.1.1   2014-01-25
------------------
+ SMF compatibility: 2.0.7.

2.1     2013-12-21
------------------
! Error in source code.
! SMF 2.0.x: Functions of administration area must return settings variables for the Quick Search of the Administration Center.
+ SMF 2.0.x: The Quick Search of the Administration Center look for in settings variables of MOD.
+ Variable in content of compilation to insert URL to forum folder.
* Reorganization of the fields in the administration panel.

2.0.1   2013-10-31
------------------
! There was a PHP error when the list of compilations was empty.
+ SMF compatibility: 1.1.19 and 2.0.6.

2.0     2013-10-19
------------------
@ Not work after quick modification of post.
! SMF 2.0.x: Integration hooks functions parameters must be passed by reference.
+ Upgrade code to the configuration variables from version 1.x to 2.0.
* Allows to create any number of compilations in the administration panel.
+ Variable in content of compilation to insert web address of forum.
+ Variable in content of compilation to insert url to the images folder in the users current theme.
+ Variable in content of compilation to insert url to the images folder in the default theme.
+ SMF compatibility: 2.0.5.

1.0     2013-04-28
------------------
@ This work is licensed under a Creative Commons Attribution 3.0 Unported License http://creativecommons.org/licenses/by/3.0/
+ Administration panel.
+ SMF compatibility: 1.1 to 1.1.18.
+ SMF compatibility: 2.0 to 2.0.4.
+ Languages: english, english-utf8, spanish_es, spanish_es-utf8, spanish_latin, spanish_latin-utf8.





Compatible with SMF 1.1.21 and 2.0.10.




davidhs

Compatible with 2.0.14 and 2.0.15.

davidhs

New version:
2.2     2018-08-17
------------------
! Error in source code.
! SMF 1.1.x: Theme of the generic form of displaying lists.
+ Upgrade code to the configuration variables from version 2.0-2.1.x to 2.2.
+ SMF 2.1.x: Uninstallation code to the configuration variables.
+ Field to indicate if a compilation is active.
+ Actions of Administration panel are logged to Administration log.
@ Administration log does not exists in SMF 1.1.x.
+ SMF compatibility: 1.1.21, 2.0.10 to 2.0.15 and 2.1 Beta 3.
- SMF 2.0.x: Languages: spanish, spanish-utf8 (these are not used).

davidhs

New version:
2.2.1   2019-05-02
------------------
! SMF 2.1.x: logAction is a deprecated function. Instead, logActions is used.
! SMF 2.1.x: Search pattern of links.
! SMF 2.x: The Quick Search of the Administration Center look for in settings variables of MOD.
! Use HTML entities in ISO-8859-1 languages.
+ SMF compatibility: 2.1 RC1 to RC2.

davidhs

Compatible with SMF 2.0.16 and 2.0.17.

davidhs

New version:
2.2.2   2021-02-23
------------------
! SMF 1.1.x: Use HTML entities in UTF-8 languages.
! SMF 2.0.x: Do not use HTML entities in ISO-8859-1 languages.
+ SMF compatibility: 2.0.16-2.0.18 and 2.1 RC3.

Advertisement: