Adding Custom Userfield Data to Any page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SpecVengeance
    New Member
    • Mar 2010
    • 2
    • 3.8.x

    [Forum] Adding Custom Userfield Data to Any page

    I am trying to modify the main forum page in a way that will allow me to display information from a custom field in the users profile on the main forum of the site.

    This is from a random Modification that I have installed on the homepage, I need to be able to pull the bolded, underlined information to any page and I am not sure how to do this. I have gotten it working in the postbit template, but I can't seem to get it working on the homepage of the site seeing that the profile "fields" aren't present or being called anywhere on the page.

    Any assistance would be greatly appreciated.


    Code:
    <vb:if condition="$show['mgc_cb_evo_username_column']">
        <span class="{vb:raw fontclass}">
            <vb:if condition="!$anonymous">
                <vb:if condition="$show['mgc_cb_evo_pm_tabs']">
                     {vb:raw username_prefix}<a style="text-decoration: none" href="#" onclick="return mgc_cb_evo_open_pm_tab({vb:raw user.userid},'{vb:raw user.raw_username_secured}');">{vb:raw user.username}</a>&nbsp;
                <vb:else />
                    [B][U]{vb:raw username.field5[/U]}[/B] 2006.35200<a style="text-decoration: none" href="{vb:raw vboptions.bburl}/member.php?{vb:raw session.sessionurl}u={vb:raw user.userid}">{vb:raw user.username}</a>&nbsp;
                </vb:if>
            <vb:else />
                {vb:raw username_prefix}{vb:raw user.username}&nbsp;
            </vb:if>
        </span>
    </vb:if>
  • Trevor Hannant
    vBulletin Support
    • Aug 2002
    • 24358
    • 5.7.X

    #2
    You should post over at www.vbulletin.org for custom coding assistance
    Vote for:

    - Admin Settable Paid Subscription Reminder Timeframe (vB6)
    - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

    Comment

    • SpecVengeance
      New Member
      • Mar 2010
      • 2
      • 3.8.x

      #3
      Thanks for the response. Headed over there now.

      Comment

      Related Topics

      Collapse

      Working...