+ Reply to Thread
Results 1 to 2 of 2

Thread: One more! Garage info in profile

  1. #1
    Junior Member
    Join Date
    Mar 2011
    Posts
    13
    Post Thanks / Like

    Default One more! Garage info in profile



    Very odd you can click on the %1$s and it give you s drop down of all the cars in the users garage..

  2. #2
    Administrator Dylan's Avatar
    Join Date
    Nov 2005
    Location
    Orange County, California
    Posts
    3,240
    Post Thanks / Like
    Blog Entries
    1

    Default Re: One more! Garage info in profile

    Yeah, I used a user profile field to hold the postbit info and didn't realize the admin would see it in the about me page even if it's hidden. Not sure why it's showing the %1$. It's like it can't find the right language.

    We can manually tweak it for now if you want to use the postbit.

    In the ACP
    ACP -> Language & Phrases -> Language Manager
    Whatever your default language is, on the dropdown select Edit Settings.
    That will give you the language id, like the default language has an id of 1.

    Now open admincp/garage_manage.php

    Find
    PHP Code:
    $cache_phrase_query $vbulletin->db->query_read("SELECT varname, text FROM " TABLE_PREFIX "phrase WHERE product = 'cnd_garage' && languageid = '0'"); 
    at the end, where it has languageid = '0' replace the 0 with whatever your languageid is. So if it's 1 you'll end up with

    PHP Code:
    $cache_phrase_query $vbulletin->db->query_read("SELECT varname, text FROM " TABLE_PREFIX "phrase WHERE product = 'cnd_garage' && languageid = '1'"); 
    After that rebuild the postbit and see if it fixes the broken link title.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts