Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: My friends + sign on WIO page.

  1. #1
    Senior Member
    Join Date
    May 2010
    Posts
    257

    Question My friends + sign on WIO page.

    I know this is a very small issue, and that some will probably not even care for it. But maybe it is easy to do.
    Is it possible to move the little + sign for a friend, on the Who Is Online page to the left of the flag?

    Like I show here:



    Thanks!

  2. #2
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    ok I will check it on my test forum and If will be better - I will change it, if not - I will give you a quick fix to do it

  3. #3
    Senior Member
    Join Date
    May 2010
    Posts
    257

    Default

    Still waiting for my quick fix here....lol

  4. #4
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    hey, this "+" is added by mod or this is basic vB function? because I can't enabl it on my forum.

  5. #5
    Senior Member
    Join Date
    May 2010
    Posts
    257

    Default

    It is default vbulletin function Kamil. But you only see it on the Who Is Online page. If someone is on your friends list you will see the + sign next to his username on the WIO page. Like here on this site. If I am on the WIO page, I see the + sign next to your name Kamil. (If we both are online of course) As you are on my friends list here.

  6. #6
    Senior Member
    Join Date
    May 2010
    Posts
    257

    Default

    And here is a screen from this site:


  7. #7
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    I cant find the place in vB code which is responsible to adding "+". I made a request on vBulletin forum
    And of course still looking for solution, It will be done, but I can't find this place yet

  8. #8
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    hello,
    I have a solution for you (tested). please test it and confirm that it is OK for you:

    1. go to admincp->Plugins & Products->Plugin Manager
    2. find vBET plugin in hook online_bit_complete (name: Add default language info into Who's online section)
    3. in this plugin find:
    PHP Code:
    $userinfo['musername'] .= '<img style="margin-left: 10px; text-decoration: none" class="vbet-flag vbet-'.$userinfo['vbet_def_lang'].'" width="16" height="11" src="http://www.vbenterprisetranslator.com/forum/images/vbet/flags/clear.gif" alt="'.$vbet_lang_name.'" title="'.$vbet_lang_name.'" border="0"/>'
    4. and replace with:
    PHP Code:
    if($userinfo['buddy']){ 
                        
    $userinfo['musername'] .= ' +<img style="margin-left: 10px; text-decoration: none" class="vbet-flag vbet-'.$userinfo['vbet_def_lang'].'" width="16" height="11" src="http://www.vbenterprisetranslator.com/forum/images/vbet/flags/clear.gif" alt="'.$vbet_lang_name.'" title="'.$vbet_lang_name.'" border="0"/>';
    $userinfo['buddy'] = false
     } 
    else
    {
    $userinfo['musername'] .= '<img style="margin-left: 10px; text-decoration: none" class="vbet-flag vbet-'.$userinfo['vbet_def_lang'].'" width="16" height="11" src="http://www.vbenterprisetranslator.com/forum/images/vbet/flags/clear.gif" alt="'.$vbet_lang_name.'" title="'.$vbet_lang_name.'" border="0"/>';

    5. save plugin
    6. test it
    7 Confirm here
    Last edited by kamilkurczak; 27-05-11 at 10:14.

  9. #9
    Senior Member
    Join Date
    May 2010
    Posts
    257

    Default

    Unfortunately that did not work. (Well it did move the + sign, so that worked!)

    This, with plugin changed:



    This with original plugin:



    The changed plugin seems to remove all flags from members not on my friends list. This is not what I requested. Just to move the little + sign. This you managed, but can we keep the flags for everyone?

    Thanks Kamil!!

  10. #10
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    you are right - check now my solution from previous post !

Page 1 of 2 12 LastLast

Tags for this 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
  •