Announcement

Collapse
No announcement yet.

Activity messed up

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] Activity messed up

    This happen after the update to 4.2.1, links instead of forum names, topic names instead of links , prefixes instead of topic names etc.

    How to fix this?


    [ATTACH=CONFIG]n60354[/ATTACH]

  • #2
    Uiortunately we can't see the attachment.

    Could you please provide a link? This makes it easier to diagnose the fault anyway.
    MARK.B | vBULLETIN SUPPORT

    TalkNewsUK - My vBulletin 5.5.2 Demo
    AdminAmmo - My Cloud Demo

    Comment


    • #3
      I don't know how to attach it properly I'll try again

      here is the link http://askalon.ws/activity.php


      You may only attach up to 0 files per post <~ wth is that?






      Comment


      • #4
        activitystream_forum_post

        Code:
        <li class="activitybit forum_post<vb:if condition="AS_PROFILE === true"> userprof_content userprof_content_border</vb:if>">
            <vb:if condition="$userinfo['showavatar']">
                <div class="avatar">
                    <img src="{vb:raw userinfo.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw userinfo.username}}" />
                </div>
            </vb:if>
            <div class="content {vb:raw userinfo.avatarclass}">
                <div class="datetime">
                     <span class="date">{vb:raw activity.postdate}<vb:if condition="!$show['detailedtime']">,&nbsp;<span class="time">{vb:raw activity.posttime}</span></vb:if></span>
                </div>
                <div class="title">
                <vb:if condition="$threadinfo['pollid']">
                    <vb:if condition="$userinfo['userid']">
                        {vb:rawphrase x_replied_to_a_poll_y_in_z, {vb:link member, {vb:raw userinfo}}, {vb:raw userinfo.username}, {vb:link thread, {vb:raw threadinfo}}, {vb:raw threadinfo.prefix_rich}, {vb:raw threadinfo.title}, {vb:link forum, {vb:raw foruminfo}}, {vb:raw foruminfo.title}}
                    <vb:else />
                        {vb:rawphrase guest_x_replied_to_a_poll_y_in_z, {vb:raw userinfo.username}, {vb:link thread, {vb:raw threadinfo}}, {vb:raw threadinfo.prefix_rich}, {vb:raw threadinfo.title}, {vb:link forum, {vb:raw foruminfo}}, {vb:raw foruminfo.title}}
                    </vb:if>
                <vb:else />
                    <vb:if condition="$userinfo['userid']">
                        {vb:rawphrase x_replied_to_a_thread_y_in_z, {vb:link member, {vb:raw userinfo}}, {vb:raw userinfo.username}, {vb:link thread, {vb:raw threadinfo}}, {vb:raw threadinfo.prefix_rich}, {vb:raw threadinfo.title}, {vb:link forum, {vb:raw foruminfo}}, {vb:raw foruminfo.title}}
                    <vb:else />
                        {vb:rawphrase guest_x_replied_to_a_thread_y_in_z, {vb:raw userinfo.username}, {vb:link thread, {vb:raw threadinfo}}, {vb:raw threadinfo.prefix_rich}, {vb:raw threadinfo.title}, {vb:link forum, {vb:raw foruminfo}}, {vb:raw foruminfo.title}}            
                    </vb:if>
                </vb:if>
                </div>
                <vb:if condition="$show['threadcontent']">
                <div class="excerpt">{vb:raw postinfo.preview}</div>        
                <div class="fulllink"><a href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo}}#post{vb:raw postinfo.postid}">{vb:rawphrase see_more}</a></div>
                </vb:if>
            </div>
            <div class="views">{vb:rawphrase x_replies_y_views, {vb:raw threadinfo.replycount}, {vb:raw threadinfo.views}}</div>
        </li>
        activitystream_forum_thread

        Code:
        <li class="activitybit forum_thread<vb:if condition="AS_PROFILE === true"> userprof_content userprof_content_border</vb:if>">
            <vb:if condition="$userinfo['showavatar']">
                <div class="avatar">
                    <img src="{vb:raw userinfo.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw userinfo.username}}" />
                </div>
            </vb:if>
            <div class="content {vb:raw userinfo.avatarclass}">
                <div class="datetime">
                     <span class="date">{vb:raw activity.postdate}<vb:if condition="!$show['detailedtime']">,&nbsp;<span class="time">{vb:raw activity.posttime}</span></vb:if></span>
                </div>
                <div class="title">
                    <vb:if condition="$threadinfo['pollid']">
                        <vb:if condition="$userinfo['userid']">
                            {vb:rawphrase x_started_a_poll_y_in_z, {vb:link member, {vb:raw userinfo}}, {vb:raw userinfo.username}, {vb:link thread, {vb:raw threadinfo}}, {vb:raw threadinfo.prefix_rich}, {vb:raw threadinfo.title}, {vb:link forum, {vb:raw foruminfo}}, {vb:raw foruminfo.title}}
                        <vb:else />
                            {vb:rawphrase guest_x_started_a_poll_y_in_z, {vb:raw userinfo.username}, {vb:link thread, {vb:raw threadinfo}}, {vb:raw threadinfo.prefix_rich}, {vb:raw threadinfo.title}, {vb:link forum, {vb:raw foruminfo}}, {vb:raw foruminfo.title}}
                        </vb:if>
                    <vb:else />
                        <vb:if condition="$userinfo['userid']">
                            {vb:rawphrase x_started_a_thread_y_in_z, {vb:link member, {vb:raw userinfo}}, {vb:raw userinfo.username}, {vb:link thread, {vb:raw threadinfo}}, {vb:raw threadinfo.prefix_rich}, {vb:raw threadinfo.title}, {vb:link forum, {vb:raw foruminfo}}, {vb:raw foruminfo.title}}
                        <vb:else />
                            {vb:rawphrase guest_x_started_a_thread_y_in_z, {vb:raw userinfo.username}, {vb:link thread, {vb:raw threadinfo}}, {vb:raw threadinfo.prefix_rich}, {vb:raw threadinfo.title}, {vb:link forum, {vb:raw foruminfo}}, {vb:raw foruminfo.title}}
                        </vb:if>            
                    </vb:if>
                        
                </div>
                <vb:if condition="$show['threadcontent']">
                <div class="excerpt">{vb:raw threadinfo.preview}</div>
                <div class="fulllink"><a href="{vb:link thread, {vb:raw threadinfo}}">{vb:rawphrase see_more}</a></div>
                </vb:if>
            </div>
            <div class="views">{vb:rawphrase x_replies_y_views, {vb:raw threadinfo.replycount}, {vb:raw threadinfo.views}}</div>
        </li>

        Comment


        • #5

          Create a new style with no parent:
          • Styles & Templates > Style Manager > Add New Style
          • Parent Style: No Parent Style
          • Title: Default vBulletin
          • Allow User Selection: Yes
          • Save



          Then browse the site using that totally default vbulletin style - do you still have the same problem?

          Please don't PM or VM me for support - I only help out in the threads.
          vBulletin Manual & vBulletin 4.0 Code Documentation (API)
          Want help modifying your vbulletin forum? Head on over to vbulletin.org
          If I post CSS and you don't know where it goes, throw it into the additional.css template.

          W3Schools &lt;- awesome site for html/css help

          Comment


          • #6
            Hi Lynne, I have a default style that is untouched, fully default and yes I have the same problem
            Last edited by zascok; Sat 27th Apr '13, 9:34am.

            Comment


            • #7
              The activity stream phrases were changed in 4.2.1.

              Admin CP - Languages & Phrases - Find Updated Phrases

              If you have previously customized them, click on Copy Default Text and re-apply your customizations.
              Former vBulletin user

              Comment


              • #8
                Thanks, found it

                HTML Code:
                <a href="{1}">{2}</a> replied to a thread {4} <a href="{3}">{5}</a> in <a href="{6}">{7}</a>
                This is the problem! in old ones the numbers{vars} are in another order

                Comment


                • #9
                  Good catch, Amaury25!

                  I'm glad you got it sorted, zascok.

                  Please don't PM or VM me for support - I only help out in the threads.
                  vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                  Want help modifying your vbulletin forum? Head on over to vbulletin.org
                  If I post CSS and you don't know where it goes, throw it into the additional.css template.

                  W3Schools &lt;- awesome site for html/css help

                  Comment


                  • Amaury
                    Amaury commented
                    Editing a comment
                    Thanks, but no need for the "25." I just added that because Amaury was taken. XD
                widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                Working...
                X