View Full Version : Solved 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
kamilkurczak
23-11-10, 13: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
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, 11: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);
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
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.