PDA

View Full Version : Solved How do I move the flag position for archive



dacho
23-11-10, 10:56
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

kamilkurczak
23-11-10, 12:14
hello,

Flag in archive vBET creates in php code in file:

includes/vbneterprisetranslator_functions_hooks.php
in function:

function vbet_archive_complete(&$output) {
in this line:

$output .= $vbenterprisetranslatorflags;

EDITED:

and this line:

$output .= $vbenterprisetranslatorflags;
replace with:

$output = str_replace('<body>','<body>'.$vbenterprisetranslatorflags, $output);

should work

dacho
23-11-10, 17:03
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

kamilkurczak
24-11-10, 10:00
I tested it and it works.
once again:
1. make a copy and edit this file:

includes/vbneterprisetranslator_functions_hooks.php
2. in this file find function:

function vbet_archive_complete(&$output) {
3. in this function find:

$output .= $vbenterprisetranslatorflags;
4. and replace with:

$output = str_replace('<body>','<body>'.$vbenterprisetranslatorflags, $output);

dacho
24-11-10, 14:46
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

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translations made by vBET 4.9.2