Forumi
Home Pravila i pomoć Članovi Kalendar Današnji postovi


Povratak   PC Ekspert Forum > Računala > Software > Web dizajn, programiranje i ostalo
Ime
Lozinka

Odgovori
 
Uređivanje
Staro 17.04.2025., 10:12   #31
mkey
Premium
Moj komp
 
Datum registracije: Sep 2018
Lokacija: tu
Postovi: 3,270
Imaš neki link na to? Ili makar daj spremi stranicu kao HTML pa ti mogu pogledati kako je taj element "skriven".
__________________
Citiraj:
Autor George Carlin
But there’s a reason. There’s a reason. There’s a reason for this, there’s a reason education sucks, and it’s the same reason that it will never, ever, ever be fixed. It’s never gonna get any better. Don’t look for it. Be happy with what you got. Because the owners of this country don't want that. I'm talking about the real owners now, the real owners, the big wealthy business interests that control things and make all the important decisions. Forget the politicians. The politicians are put there to give you the idea that you have freedom of choice. You don't. You have no choice. You have owners. They own you. They own everything. They own all the important land. They own and control the corporations. They’ve long since bought and paid for the senate, the congress, the state houses, the city halls, they got the judges in their back pockets and they own all the big media companies so they control just about all of the news and information you get to hear. They got you by the balls. They spend billions of dollars every year lobbying, lobbying, to get what they want. Well, we know what they want. They want more for themselves and less for everybody else, but I'll tell you what they don’t want: They don’t want a population of citizens capable of critical thinking. They don’t want well informed, well educated people capable of critical thinking. They’re not interested in that. That doesn’t help them. Thats against their interests. Thats right. They don’t want people who are smart enough to sit around a kitchen table to figure out how badly they’re getting f*cked by a system that threw them overboard 30 f*cking years ago. They don’t want that. You know what they want? They want obedient workers. Obedient workers. People who are just smart enough to run the machines and do the paperwork, and just dumb enough to passively accept all these increasingly shittier jobs with the lower pay, the longer hours, the reduced benefits, the end of overtime and the vanishing pension that disappears the minute you go to collect it, and now they’re coming for your Social Security money. They want your retirement money. They want it back so they can give it to their criminal friends on Wall Street, and you know something? They’ll get it. They’ll get it all from you, sooner or later, 'cause they own this f*cking place. It's a big club, and you ain’t in it. You and I are not in the big club. And by the way, it's the same big club they use to beat you over the head with all day long when they tell you what to believe. All day long beating you over the head in their media telling you what to believe, what to think and what to buy. The table is tilted folks. The game is rigged, and nobody seems to notice, nobody seems to care. Good honest hard-working people -- white collar, blue collar, it doesn’t matter what color shirt you have on -- good honest hard-working people continue -- these are people of modest means -- continue to elect these rich c*cksuckers who don’t give a f*ck about them. They don’t give a f*ck about you. They don’t give a f*ck about you. They don't care about you at all -- at all -- at all. And nobody seems to notice, nobody seems to care. That's what the owners count on; the fact that Americans will probably remain willfully ignorant of the big red, white and blue dick that's being jammed up their assholes everyday. Because the owners of this country know the truth: it's called the American Dream, because you have to be asleep to believe it.
mkey je offline   Reply With Quote
Staro 17.04.2025., 10:45   #32
Ivo_Strojnica
PRO
Moj komp
 
Ivo_Strojnica's Avatar
 
Datum registracije: Apr 2010
Lokacija: Zagreb
Postovi: 4,675
what he said.
__________________
"Who is your daddy and what does he do?"
Ivo_Strojnica je offline   Reply With Quote
Staro 17.04.2025., 11:00   #33
spiderhr
Premium
 
spiderhr's Avatar
 
Datum registracije: Jul 2021
Lokacija: Sesvete
Postovi: 982
Garant je hardkodiran pa nemreć naći recimo taj tekst kaj ti piše u crvenom banneru.

Probaj potražiti funkciju u functions.php ili daj taj fajl ai-u da ti možda pomogne.
__________________
tomek@vz: ajd nemoj | Mali Čile SAD Češka Peru | Windows Free
spiderhr je offline   Reply With Quote
Staro 17.04.2025., 12:17   #34
Ivo_Strojnica
PRO
Moj komp
 
Ivo_Strojnica's Avatar
 
Datum registracije: Apr 2010
Lokacija: Zagreb
Postovi: 4,675
Trazi tu poruku u kodu, ako ista
__________________
"Who is your daddy and what does he do?"
Ivo_Strojnica je offline   Reply With Quote
Staro 17.04.2025., 12:28   #35
Chuby
Premium
Moj komp
 
Chuby's Avatar
 
Datum registracije: Feb 2004
Lokacija: Zagreb
Postovi: 1,301
Otvori temu s Notepad++
Stavi u pretragu text iz footera koji te smeta. Notepad++ može pretraživati sve otvorene fajlove istovremeno.

Kad nađeš div u kojem je to sto te smeta stavi ga da bude hidden npr.

Firefox ima show source opciju pod desnim klikom, kad ti pokaze source probaj kliknut na taj dio pa ti možda da neku korisnu informaciju, usput ti odmah pokazuje sve promjene koje napraviš (samo lokalno naravno) pa vidiš na čemu si

Zadnje izmijenjeno od: Chuby. 17.04.2025. u 12:33.
Chuby je offline   Reply With Quote
Staro 17.04.2025., 13:45   #36
1v@n
The mighty pirate
Moj komp
 
1v@n's Avatar
 
Datum registracije: Sep 2007
Lokacija: London
Postovi: 9,038
Meni je to kaj pričate skroz strani jezik

Link je tu pa bacite oko kome se da prije nego sve srušim i uzmem novo
__________________

CPU: Intel Core i7 8809G
MBO: Intel NUC8i7HVK
RAM: 2x16GB Crucial DDR4 2400
GPU: Radeon™ RX Vega M GH

SSD: 2x Samsung 970 Evo Plus 500 GB M.2
LCD: BENQ PD3200Q
Periferija: Microsoft Sidewinder X6, Logitech Performance MX
OS: Windows 10 Pro x64
1v@n je offline   Reply With Quote
Staro 17.04.2025., 14:00   #37
rendula
Registered User
 
Datum registracije: Oct 2003
Lokacija: Zagreb, Trešnjevka
Postovi: 5,766


ovo trebas maknuti
rendula je offline   Reply With Quote
Staro 17.04.2025., 14:01   #38
d0X
Kostolomac
Moj komp
 
d0X's Avatar
 
Datum registracije: Jun 2006
Lokacija: Rijeka
Postovi: 1,438
Slažem se sa Chubyjem, probaj tako. Nađi <div> u html ili php fileu koji sadrži ovaj tekst:
Citiraj:
Site is using a trial version of the theme. Please enter your purchase code in theme settings to activate it or
I samo unutar tog diva nadodaj hidden.

Primjer koda:
Citiraj:
<div hidden style="background-color: #f95858; font-size: 13px; position: fixed; padding: 20px; z-index: 9999; text-align: center; bottom: 0px; left: 0px; right: 0px; color: #fff; font-weight: bold;">Site is using a trial version of the theme. Please enter your purchase code in theme settings to activate it or <a href="https://pinsupreme.com/wordpress-theme/wordpress-theme-for-food-recipe-bloggers-and-chefs" style="color: #fff; text-decoration: underline;">purchase this wordpress theme here</a></div>
__________________
PSN Steam
d0X je offline   Reply With Quote
Staro 17.04.2025., 15:28   #39
mkey
Premium
Moj komp
 
Datum registracije: Sep 2018
Lokacija: tu
Postovi: 3,270
Po meni je pitanje kada taj HTML bude ubačen u template. Vjerojatno najlakše je samo dodati malo cssa. Pritom pretpostavljan da je nth-last-child dovoljno dobro podržan među normalnim browserima.

Citiraj:
body > div:nth-last-child(2) { display: none; }
__________________
Citiraj:
Autor George Carlin
But there’s a reason. There’s a reason. There’s a reason for this, there’s a reason education sucks, and it’s the same reason that it will never, ever, ever be fixed. It’s never gonna get any better. Don’t look for it. Be happy with what you got. Because the owners of this country don't want that. I'm talking about the real owners now, the real owners, the big wealthy business interests that control things and make all the important decisions. Forget the politicians. The politicians are put there to give you the idea that you have freedom of choice. You don't. You have no choice. You have owners. They own you. They own everything. They own all the important land. They own and control the corporations. They’ve long since bought and paid for the senate, the congress, the state houses, the city halls, they got the judges in their back pockets and they own all the big media companies so they control just about all of the news and information you get to hear. They got you by the balls. They spend billions of dollars every year lobbying, lobbying, to get what they want. Well, we know what they want. They want more for themselves and less for everybody else, but I'll tell you what they don’t want: They don’t want a population of citizens capable of critical thinking. They don’t want well informed, well educated people capable of critical thinking. They’re not interested in that. That doesn’t help them. Thats against their interests. Thats right. They don’t want people who are smart enough to sit around a kitchen table to figure out how badly they’re getting f*cked by a system that threw them overboard 30 f*cking years ago. They don’t want that. You know what they want? They want obedient workers. Obedient workers. People who are just smart enough to run the machines and do the paperwork, and just dumb enough to passively accept all these increasingly shittier jobs with the lower pay, the longer hours, the reduced benefits, the end of overtime and the vanishing pension that disappears the minute you go to collect it, and now they’re coming for your Social Security money. They want your retirement money. They want it back so they can give it to their criminal friends on Wall Street, and you know something? They’ll get it. They’ll get it all from you, sooner or later, 'cause they own this f*cking place. It's a big club, and you ain’t in it. You and I are not in the big club. And by the way, it's the same big club they use to beat you over the head with all day long when they tell you what to believe. All day long beating you over the head in their media telling you what to believe, what to think and what to buy. The table is tilted folks. The game is rigged, and nobody seems to notice, nobody seems to care. Good honest hard-working people -- white collar, blue collar, it doesn’t matter what color shirt you have on -- good honest hard-working people continue -- these are people of modest means -- continue to elect these rich c*cksuckers who don’t give a f*ck about them. They don’t give a f*ck about you. They don’t give a f*ck about you. They don't care about you at all -- at all -- at all. And nobody seems to notice, nobody seems to care. That's what the owners count on; the fact that Americans will probably remain willfully ignorant of the big red, white and blue dick that's being jammed up their assholes everyday. Because the owners of this country know the truth: it's called the American Dream, because you have to be asleep to believe it.
mkey je offline   Reply With Quote
Staro 17.04.2025., 16:01   #40
Mommistake
Premium
Moj komp
 
Mommistake's Avatar
 
Datum registracije: Nov 2008
Lokacija: Shire
Postovi: 16,622
Citiraj:
Autor 1v@n Pregled postova
Meni je to kaj pričate skroz strani jezik

Link je tu pa bacite oko kome se da prije nego sve srušim i uzmem novo
Imaš kod lokalno?

Otvori ga s nekim IDE, tipa Visual Studio Code.

Probaj za početak presearchati samu poruku:

Citiraj:
Site is using a trial version of the theme. Please enter your purchase code in theme settings to activate it or
Vidi daj dio i probaj ga zakomentirati, zbaciti..

Ovaj dio te zeza:
Citiraj:
<div style="background-color: #f95858; font-size: 13px; position: fixed; padding: 20px; z-index: 9999; text-align: center; bottom: 0px; left: 0px; right: 0px; color: #fff; font-weight: bold;">Site is using a trial version of the theme. Please enter your purchase code in theme settings to activate it or <a href="https://pinsupreme.com/wordpress-theme/wordpress-theme-for-food-recipe-bloggers-and-chefs" style="color: #fff; text-decoration: underline;">purchase this wordpress theme here</a></div>
EDIT: Vidim poruke od prije sada, nisam refreshao prije.
Mommistake je offline   Reply With Quote
Staro Jučer, 22:36   #41
1v@n
The mighty pirate
Moj komp
 
1v@n's Avatar
 
Datum registracije: Sep 2007
Lokacija: London
Postovi: 9,038
Nisam se stigao s ovim baviti do neki dan.

Uglavnom, našao sam ga i ja na ovaj način...ali ne mogu ga naći ni u jednom .php fileu koji sam otvorio.


Po ovom, nalazi se u rootu, dakle public_html folderu

Nema php-a koji nisam otvorio, nijedan ne sadrži taj komad koda...
__________________

CPU: Intel Core i7 8809G
MBO: Intel NUC8i7HVK
RAM: 2x16GB Crucial DDR4 2400
GPU: Radeon™ RX Vega M GH

SSD: 2x Samsung 970 Evo Plus 500 GB M.2
LCD: BENQ PD3200Q
Periferija: Microsoft Sidewinder X6, Logitech Performance MX
OS: Windows 10 Pro x64
1v@n je offline   Reply With Quote
Staro Jučer, 23:31   #42
Splitska Posla
Premium
Moj komp
 
Splitska Posla's Avatar
 
Datum registracije: Jul 2019
Lokacija: Split
Postovi: 122
Pa evo, na tragu ideje da CSS-om pokušaš rješit problem. Probaj otvorit tu tvoju web stranicu, ali iz anonimnog načina rada, pa pritisnit tipku F12 pa tamo naći tab "console" i u njega pejstaj pa pokrenit ovaj javascript kod:

HTML:
let css = document.createElement("style");
css.innerHTML = ".all-wrapper { z-index: 10000; }";
document.querySelector("body").append(css);
Ako to proradi, trebaš naći php fajl koji generira sadržaj. Mislim da to nije u "functions.php".Tu bi trebao ubacit slijedeći blok HTML/CSS koda:


<style>
.all-wrapper { z-index: 10000; }
</style>


Ne sjećan se baš wordpresa, ali mislim da se template mogao uređivati i to bi trebalo bit pod nekim naprednim opcijama.


EDIT: meni radi samo na naslovnoj stranici ali na ostalima se mjenja css i struktura dokumenta pa ako oćeš malo agresivniji pristup, ovaj javascript bi se trebao izvršiti na svakoj stranici:




HTML:
(function(){
  try {
    const children = document.body.childNodes;
    for(let i =0; i < children.length; i++){
      const el = children[i];
      if(el.innerHTML) if(el.innerHTML.match("Site is using a trial version of the theme")) {        
        el.remove();
        break;
      }
    } 
  } catch(e) {}
})()

To će tražit banner pa ako ga nađe, maknit će ga.

Zadnje izmijenjeno od: Splitska Posla. Jučer u 23:56.
Splitska Posla je online   Reply With Quote
Staro Danas, 00:53   #43
1v@n
The mighty pirate
Moj komp
 
1v@n's Avatar
 
Datum registracije: Sep 2007
Lokacija: London
Postovi: 9,038
Gornji kod je ubio banner na glavnoj, ali stvarno ne znam gdje bih trebao ubaciti ovaj blok da ga blokira na svakoj.
Footer.php?
__________________

CPU: Intel Core i7 8809G
MBO: Intel NUC8i7HVK
RAM: 2x16GB Crucial DDR4 2400
GPU: Radeon™ RX Vega M GH

SSD: 2x Samsung 970 Evo Plus 500 GB M.2
LCD: BENQ PD3200Q
Periferija: Microsoft Sidewinder X6, Logitech Performance MX
OS: Windows 10 Pro x64

Zadnje izmijenjeno od: 1v@n. Danas u 00:58.
1v@n je offline   Reply With Quote
Staro Danas, 01:02   #44
Splitska Posla
Premium
Moj komp
 
Splitska Posla's Avatar
 
Datum registracije: Jul 2019
Lokacija: Split
Postovi: 122
Citiraj:
Autor 1v@n Pregled postova
Gornji kod je ubio banner na glavnoj, ali stvarno ne znam gdje bih trebao ubaciti ovaj blok da ga blokira na svakoj.
Footer.php?

Da, vjerojatno u Footer.php, ali zajedno sa <script> tagom. Ovako:


HTML:
<script>(function(){   try {
    const children = document.body.childNodes;
    for(let i =0; i < children.length; i++){
      const el = children[i];
      if(el.innerHTML) if(el.innerHTML.match("Site is using a trial version of the theme")) {        
        el.remove();
        break;
      }
    } 
  } catch(e) {}
})()</script>
Splitska Posla je online   Reply With Quote
Staro Danas, 01:10   #45
1v@n
The mighty pirate
Moj komp
 
1v@n's Avatar
 
Datum registracije: Sep 2007
Lokacija: London
Postovi: 9,038
Yup, ubilo ga je kompletno.

Hvala puno!
__________________

CPU: Intel Core i7 8809G
MBO: Intel NUC8i7HVK
RAM: 2x16GB Crucial DDR4 2400
GPU: Radeon™ RX Vega M GH

SSD: 2x Samsung 970 Evo Plus 500 GB M.2
LCD: BENQ PD3200Q
Periferija: Microsoft Sidewinder X6, Logitech Performance MX
OS: Windows 10 Pro x64
1v@n je offline   Reply With Quote
Staro Danas, 01:18   #46
Splitska Posla
Premium
Moj komp
 
Splitska Posla's Avatar
 
Datum registracije: Jul 2019
Lokacija: Split
Postovi: 122
Citiraj:
Autor 1v@n Pregled postova
Yup, ubilo ga je kompletno.

Hvala puno!

Nema na čemu.
Splitska Posla je online   Reply With Quote
Odgovori



Pravila postanja
Vi ne možete otvarati nove teme
Vi ne možete pisati odgovore
Vi ne možete uploadati priloge
Vi ne možete uređivati svoje poruke

BB code je Uključeno
Smajlići su Uključeno
[IMG] kod je Uključeno
HTML je Isključeno

Idi na