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.
Results 1 to 5 of 5

Thread: How do I move the flag position for archive

  1. #1

    Default How do I move the flag position for archive

    I mate
    I want to move the flag in archive to the top
    I think it's less effective it is at the bottom of the page

    How do I do it ?
    I don't find your responsible Plugin of the Hook Location for flag in the archive

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

    Default

    hello,

    Flag in archive vBET creates in php code in file:
    Code:
    includes/vbneterprisetranslator_functions_hooks.php
    in function:
    PHP Code:
    function vbet_archive_complete(&$output) { 
    in this line:
    PHP Code:
    $output .= $vbenterprisetranslatorflags; 
    EDITED:

    and this line:
    PHP Code:
    $output .= $vbenterprisetranslatorflags; 
    replace with:
    PHP Code:
    $output = str_replace('<body>','<body>'.$vbenterprisetranslatorflags, $output); 
    should work
    Last edited by kamilkurczak; 23-11-10 at 13:30.

  3. #3

    Default

    Hi kamil
    I need to do something more beyond this change?
    I do it... and no it not work
    The flags remained at the bottom of the page

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

    Default

    I tested it and it works.
    once again:
    1. make a copy and edit this file:
    PHP Code:
    includes/vbneterprisetranslator_functions_hooks.php 
    2. in this file find function:
    PHP Code:
    function vbet_archive_complete(&$output) { 
    3. in this function find:
    PHP Code:
    $output .= $vbenterprisetranslatorflags; 
    4. and replace with:
    PHP Code:
    $output = str_replace('<body>','<body>'.$vbenterprisetranslatorflags, $output); 

  5. #5

    Default

    Thanks mate, I have no idea why, I uploaded the file again after editing, and now it does work
    For some reason, yesterday it did not work

    you can close the topic

    Thanks again

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
  •