Announcement

Collapse
No announcement yet.

array diplayed instead of my tags list in the message page

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

  • [Forum] array diplayed instead of my tags list in the message page

    I have been told to upgrade or to revert the template to solve the problem but it is not working for me.

    I have looked into the showthread template

    The var is

    {vb:raw tag_list}

    Can I replace it by something else to diplay the tags list ?

    Thanks for your help

  • #2
    What template are you talking about? Where are you displaying the tags list?

    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 <- awesome site for html/css help

    Comment


    • #3
      Hi Lynne

      Thnaks for your answer

      I am talking about the the following template : SHOWTHREAD

      I am talking abou the standard "Tags for this Thread" that we found at the bottom of the thread page

      see image bellow :

      Click image for larger version

Name:	tags.jpg
Views:	1
Size:	41.7 KB
ID:	3686918


      txs
      cfages
      New Member
      Last edited by cfages; Sat 24 Mar '12, 10:05am.

      Comment


      • #4
        If you go to your SHOWTHREAD template and click to Show Default, you would see this code for your tags (for 4.1.11):

        HTML Code:
        	<vb:if condition="$show['tag_box']">
        	<h4 class="threadinfohead blockhead">{vb:rawphrase tags_for_this_thread}</h4>
        	<div id="thread_tags_list" class="thread_info_block blockbody formcontrols">
        		<div class="inner_block">
        			<vb:if condition="$show['manage_tag']">
        			<a id="tag_edit_link" href="threadtag.php?{vb:raw session.sessionurl}t={vb:raw thread.threadid}" class="textcontrol" style="float:{vb:stylevar right}; font-size:11px; margin:10px;">{vb:rawphrase edit_tags}</a>
        			</vb:if>
        			<div id='tag_list_cell'>
        				{vb:raw tag_list}
        			</div>
        			<p>
        				<a href="tags.php{vb:raw session.sessionurl_q}">{vb:rawphrase view_tag_cloud}</a>
        			</p>
        		</div>
        	</div>
        	</vb:if>
        So, that is the correct code to be used in the SHOWTHREAD template. If it is still giving you an array, then it is probably from a modification.

        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


        • #5
          Hi Again

          this is the code I have

          I have also disabled all my modification pluging with adding define('DISABLE_HOOKS', true); in my config file but still have the problem

          I did have this king of problem with the online users on the forum homepage

          I have replaced

          {vb:raw activeusers} by

          <vb:each from="activeusers" value="loggedin">
          <li> {vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}</li>
          </vb:each>

          and it solved the problem...

          so I think it is possible to do it with {vb:raw tag_list}

          Any idea?

          thxs

          Comment


          • #6
            No, you can't do that in the 4.1.11 SHOWTHREAD template for the tag_list variable. I just showed you the default template code and that should work if you are using all default php 4.1.11 code.

            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


            • #7
              Txs Lyne

              I have solved my problem... doing a re-upgrade to 4.1.11

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...
              X