Skip to content

forum_topics What is ft_tag used for? #117

Description

@SeditioCMS

ft_tag varchar(16) NOT NULL default '',

There doesn't seem to be any useful features.

Activity

  1. avego commented on Apr 7, 2025

    @avego
    Contributor

    It looks like a rudiment that is not used anywhere, it needs to be removed.

    For the forum in the future, I think to create, in the table sed_forum_sections the field fs_code and ft_alias in the table sed_forum_topics by analogy with pages and make normal SEFURLS like:
    /forums/topics/general-disscussion
    /forums/posts/example-topick

  2. SeditioCMS commented on Apr 7, 2025

    @SeditioCMS
    Author

    It looks like a rudiment that is not used anywhere, it needs to be removed.

    For the forum in the future, I think to create, in the table sed_forum_sections the field fs_code and ft_alias in the table sed_forum_topics by analogy with pages and make normal SEFURLS like: /forums/topics/general-disscussion /forums/posts/example-topick

    /forums/topics/general-disscussion
    /forums/posts/example-topick

    It doesn't make sense for SEO to do this.

    You can do it like this.

    Like the example I gave before
    q/aradigim-sonuclarda-spam-site // topic
    p/aradigim-sonuclarda-spam-site //post
    t/aradigim-sonuclarda-spam-site //topic
    s/aradigim-sonuclarda-spam-site //section

  3. SeditioCMS commented on Apr 9, 2025

    @SeditioCMS
    Author

    This is what I use
    forums topic url: <a href=\"q/" . $fsn['fs_lt_id'] . "?".sed_translit_seourl($fsn['fs_lt_title'])."&n=last#bottom\">

    config.urlrewrite.php

    $sed_urltrans['forums'] = array(
          /**/
          array(
                'params' => 'm=topics&s=*',
                'rewrite' => 'c/{s}'
          ),
          /**/
          array(
                'params' => 'm=posts&q=*',
                'rewrite' => 'q/{q}'
          ),
          /**/
          array(
                'params' => 'm=posts&p=*',
                'rewrite' => 'p/{p}'
          ),
          /**/
          array(
                'params' => 'c=*',
                'rewrite' => 'forums/{c}'
          ),
          /**/
          array(
                'params' => '',
                'rewrite' => 'forums'
          )
    );
    

    config.urlrewrite.php

     /*  Forums rewriting */
         array(
              'cond' => '#^/c/([0-9]+)(/?)$#',
              'rule' => 'system/core/forums/forums.php?m=topics&s=$1'
         ),
         array(
              'cond' => '#^/q/([0-9]+)(/?)$#',
              'rule' => 'system/core/forums/forums.php?m=posts&q=$1'
         ),
         array(
              'cond' => '#^/p/([0-9]+)(/?)$#',
              'rule' => 'system/core/forums/forums.php?m=posts&p=$1'
         ),
         array(
              'cond' => '#^/forums/([a-zA-Z0-9]+)(/?)$#',
              'rule' => 'system/core/forums/forums.php?c=$1'
         ),
         array(
              'cond' => '#^/forums(/?)$#',
              'rule' => 'system/core/forums/forums.php'
         ),
    

    "FORUMS_SECTIONS_ROW_URL" => "c/" . $fsn['fs_id'] . "?".sed_translit_seourl($fsn['fs_title']),

    output
    http://localhost/c/12?genel-bilgilendirmeler
    http://localhost/q/17?kullanicilar-icin-cesitli-araclar-eklenmistir&n=last#bottom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions