showgroups_usergroupbit Issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • A.J. Angel
    New Member
    • Apr 2008
    • 11
    • 3.7.x

    showgroups_usergroupbit Issue

    Hello,

    Since upgrading my vBulletin installation from 2.7.5 to 2.8.1, I am having an issue with the "showgroups_usergroupbit" template. Having set up custom profile fields, the "location" field identifier had changed from the default id #2 to #4.

    Now, after the upgrade, I had reverted the template so it could be up to date. Then, I had re-edited it but the change doesn't appear. The only change I did was to change the field identifier number from #2 to #4. I don't understand why and submitting a ticket in the members area didn't help. Same goes in the 3.8 support forum.

    Anyone have the same issue as I do or know a solution to the problem? The template worked previously in 2.7.5.

    Here is the code (I have highlighted in red the changes I made):

    Code:
    <tr>
    	<td class="$bgclass">$user[onlinestatus]</td>
    	<td class="$bgclass">
    		<a href="member.php?$session[sessionurl]u=$user[userid]">$user[musername]</a>
    		<if condition="$show['locationfield'] AND $user['[COLOR="Red"]field4[/COLOR]']"><div class="smallfont" title="$vbphrase[location_perm]">$user[[COLOR="red"]field4[/COLOR]]</div></if>
    	</td>
    	<if condition="$showforums">
    		<td class="$bgclass"><div class="smallfont">$user[forumbits]</div></td>
    	</if>
    	<if condition="$show['contactinfo']">
    	<td class="$bgclass" nowrap="nowrap">
    		<if condition="$show['pmlink']"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$user[userid]" rel="nofollow"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="<phrase 1="$user[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a></if>
    		<if condition="$show['emaillink']"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$user[userid]" rel="nofollow"><img src="$stylevar[imgdir_button]/email.gif" alt="<phrase 1="$user[username]">$vbphrase[send_message_via_email_to_x]</phrase>" border="0" /></a></if>
    	</td>
    	</if>
    </tr>
    "Reality is wrong. Dreams are for real." Tupac Amaru Shakur (June 16th, 1971 - September 13th, 1996)
  • A.J. Angel
    New Member
    • Apr 2008
    • 11
    • 3.7.x

    #2
    It has come to my notice that besides the original and default field identifier #2, none of the other field identifiers seem to work. The HTML code simply doesn't get printed when viewing the source code.

    Here is the HTML code while viewing the source code:

    Code:
    <tr>
    	<td class="alt1"><img class="inlineimg" src="images/statusicon/user_offline.gif" alt="A.J. Angel is offline" border="0" />
    
    </td>
    	<td class="alt1">
    		<a href="member.php?u=2"><span style="color: #0000ff">A.J. Angel</span></a>
    		
    	</td>
    	
    	
    	<td class="alt1" nowrap="nowrap">
    		<a href="private.php?do=newpm&amp;u=2" rel="nofollow"><img src="images/buttons/sendpm.gif" alt="Send a private message to A.J. Angel" border="0" /></a>
    		
    	</td>
    	
    </tr>
    "Reality is wrong. Dreams are for real." Tupac Amaru Shakur (June 16th, 1971 - September 13th, 1996)

    Comment

    • Lynne
      Former vBulletin Support
      • Oct 2004
      • 26255

      #3
      Why did you fields change? I know my location field is still field2. You might want to spit out field2 and field4 in there just as a test to see what you get.

      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

      • peterska2
        Senior Member
        • Oct 2003
        • 8869
        • 3.7.x

        #4
        Adding extra profile fields or extra information to the showgroups page requires a plugin as only the username, userid, field2, usergroup and pm/email are loaded on that page by default.

        Comment

        • A.J. Angel
          New Member
          • Apr 2008
          • 11
          • 3.7.x

          #5
          Originally posted by Kerry-Anne
          Adding extra profile fields or extra information to the showgroups page requires a plugin as only the username, userid, field2, usergroup and pm/email are loaded on that page by default.
          Like I said upper, I didn't add any extra information. I only edited the default field identifier from #2 to #4.

          Is this something new though? Because I did the change in 3.7.4 and it worked. After updating to 3.7.5, it was still working as well. Jake Bunce can confirm it. I had asked if it was editable and if yes, how in one of my submitted tickets in the members area.
          "Reality is wrong. Dreams are for real." Tupac Amaru Shakur (June 16th, 1971 - September 13th, 1996)

          Comment

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