Web Dev Questions That Don't Need Their Own Thread v4
5,001 replies, posted
[QUOTE=eternalflamez;40568419]Text nodes themselves cannot be targeted by css, as I found out, and as stated here:
[url]http://stackoverflow.com/questions/5688712/is-there-a-css-selector-for-text-nodes-elements[/url][/QUOTE]
That sucks.
Now I have two things I would want added to CSS.
[QUOTE=jung3o;40562569]you forgot solid/dash/dotted/etc... and color.[/QUOTE]
Still won't work for me... :(
A regular border just works, but border-bottom-[x] will not. Maybe it isn't even a border for the header?
Anyway, at least I was able to fix the member summary thingy:
[CODE]
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("facepunch.com") {
.member_summary {
background-color:#e9e9e9; border-style:solid; border-width:1px; border-color:#8d8d8d; }
}
[/CODE]
Looks like this:
[img]http://i.imgur.com/h2xYJfW.png[/img]
So i'm messing around with mafia scripts and i found a good script finally after searching for 2 days but it keeps generating the same error on every page.
[code]Deprecated: Function split() is deprecated in /public/sites/conruptio.worldofvagax.com/footer.php(1) : eval()'d code(1) : eval()'d code on line 1[/code]
I have extremely limited knowledge on PHP and MySQL.
The code itself is quite massive.
[URL]http://pastebin.com/SGbBj6Mm[/URL]
Edit:
Core.php is also generating the exact same error.
[QUOTE=darth-veger;40568675]So i'm messing around with mafia scripts and i found a good script finally after searching for 2 days but it keeps generating the same error on every page.
[code]Deprecated: Function split() is deprecated in /public/sites/conruptio.worldofvagax.com/footer.php(1) : eval()'d code(1) : eval()'d code on line 1[/code]
I have extremely limited knowledge on PHP and MySQL.
The code itself is quite massive.
[URL]http://pastebin.com/SGbBj6Mm[/URL]
Edit:
Core.php is also generating the exact same error.[/QUOTE]
Well I figured this'd be easy enough to do, but I keep encountering more errors due to incompatibility. I'll keep working on this for a while longer but I have to say it's a tough one.
[QUOTE=darth-veger;40568675]So i'm messing around with mafia scripts and i found a good script finally after searching for 2 days but it keeps generating the same error on every page.
[code]Deprecated: Function split() is deprecated in /public/sites/conruptio.worldofvagax.com/footer.php(1) : eval()'d code(1) : eval()'d code on line 1[/code]
I have extremely limited knowledge on PHP and MySQL.
The code itself is quite massive.
[URL]http://pastebin.com/SGbBj6Mm[/URL]
Edit:
Core.php is also generating the exact same error.[/QUOTE]
Split is deprecated, which means that it should not be used and is not supported anymore. Use explode() instead.
[B]EDIT: Why is your code base_64 encoded?[/B]
[B]Jesus christ[/B], there's no reason to base_64 code. Unless you're building a shell and you're trying to send the script so that some stupid webmaster can upload it because when they read it through it's all just jibberish.
[U]And wtf is CodeLock?[/U]
[QUOTE=P1raten;40569196]Split is deprecated, which means that it should not be used and is not supported anymore. Use explode() instead.
[B]EDIT: Why is your code base_64 encoded?[/B][/QUOTE]
It's base_64 encoded, and then you decode that, it's more encoded stuff, with some php around it to decrypt. Change the last eval to echo and tadaa you have the code.
But for some reason the eval gives those warnings, while the actual code gives a different error because of an unclosed ". I'm not even sure if this is intentional or not. When removing that quote and trying to get it to work, you find that eval() is not the only function deprecated. It also uses Eregi, Eregi_match and eregi_replace.
Later on I get warnings of undefined errors (which is true, they don't get set anywhere and yet he tests on them)
And then after changing the eregi_* thingies, and making them compatible (by adding '/' to the start and end of the regex), I still get a lot of errors of undefined variables, and I even had to change 1 line from "$codelock_decrypter["locker"]->_cryptkey_" to "$codelock_decrypter["locker"]->_cryptkey_()" because it was not calling the function but the `non-existant variable instead.
[QUOTE=eternalflamez;40569244]It's base_64 encoded, and then you decode that, it's more encoded stuff, with some php around it to decrypt. Change the last eval to echo and tadaa you have the code.
But for some reason the eval gives those warnings, while the actual code gives a different error because of an unclosed ". I'm not even sure if this is intentional or not. When removing that quote and trying to get it to work, you find that eval() is not the only function deprecated. It also uses Eregi, Eregi_match and eregi_replace.
Later on I get warnings of undefined errors (which is true, they don't get set anywhere and yet he tests on them)
And then after changing the eregi_* thingies, and making them compatible (by adding '/' to the start and end of the regex), I still get a lot of errors of undefined variables, and I even had to change 1 line from "$codelock_decrypter["locker"]->_cryptkey_" to "$codelock_decrypter["locker"]->_cryptkey_()" because it was not calling the function but the `non-existant variable instead.[/QUOTE]
Yes, but WHY is it encoded?
There's no reason to encode it.
Idk, maybe they went like hey, we can shave off file size this way!
[QUOTE=P1raten;40569196]Split is deprecated, which means that it should not be used and is not supported anymore. Use explode() instead.
[B]EDIT: Why is your code base_64 encoded?[/B]
[B]Jesus christ[/B], there's no reason to base_64 code. Unless you're building a shell and you're trying to send the script so that some stupid webmaster can upload it because when they read it through it's all just jibberish.
[U]And wtf is CodeLock?[/U][/QUOTE]
[url]http://www.codelock.co.nz/[/url]
Some dumb thing for "encrypting HTML and PHP code!"
[QUOTE=eternalflamez;40569425]Idk, maybe they went like hey, we can shave off file size this way![/QUOTE]
Are the files required at all?
[QUOTE=darth-veger;40569636]Are the files required at all?[/QUOTE]
I guess so, the code you linked appears to decode files. Didn't look at the info you sent me, perhaps it's not needed, in the case of none of the files being encrypted. Otherwise none of your code would work without this.
The code basically looks through the file given, decodes it to text, then uses the eval() function to execute it as code.
Does anyone know much about SEO? I really need some help with that.
[QUOTE=pinecleandog;40569784]Does anyone know much about SEO? I really need some help with that.[/QUOTE]
When asking a question it's better that you provide more details on what you wish to do. That way - whether you want personal help or not - it will be easier for us to assist you.
Well for small business website they want generic SEO, and hasn't provided much more detail than that. The content is simply just information displayed on a page. I don't know much about SEO at all so I don't know what to add
[QUOTE=eternalflamez;40568017]And you forgot to add "px" at the end of each number.
Here, I updated it to have it work. [url]http://jsfiddle.net/LU6kM/1/[/url][/QUOTE]
Woops, thank you.
[QUOTE=pinecleandog;40569964]Well for small business website they want generic SEO, and hasn't provided much more detail than that. The content is simply just information displayed on a page. I don't know much about SEO at all so I don't know what to add[/QUOTE]
Make sure you use the right HTML tags. Google explains it alright. [url]http://support.google.com/webmasters/bin/answer.py?hl=en&answer=35291[/url]
Does anyone knows a plugin which slides all contents from a DIVs horizontally like an slideshow, but fullscreen? It should be able to be triggered by event.
Example what i want:
[IMG]http://i.imgur.com/TcGWgTT.png[/IMG]
There's so many better ways to do it
[editline]10th May 2013[/editline]
[QUOTE=Miljaker;40570348]Make sure you use the right HTML tags. Google explains it alright. [url]http://support.google.com/webmasters/bin/answer.py?hl=en&answer=35291[/url][/QUOTE]
also thank you
[QUOTE=MarcoPixel;40585543]Does anyone knows a plugin which slides all contents from a DIVs horizontally like an slideshow, but fullscreen? It should be able to be triggered by event.
Example what i want:
[IMG]http://i.imgur.com/TcGWgTT.png[/IMG][/QUOTE]
Dont see how that can be an plugin..
You just got to code it.
I wanted to add a floating menu thing to my website but it didn't work. Somehow in jsfiddle it worked but when I put it in my site code it doesn't show up.
Here is the link [url]http://jsfiddle.net/HEMVT/[/url]
[QUOTE=pinecleandog;40569964]Well for small business website they want generic SEO, and hasn't provided much more detail than that. The content is simply just information displayed on a page. I don't know much about SEO at all so I don't know what to add[/QUOTE]
Make sure the markup is semantic and that the keywords they are reaching for are on pages but not too frequently (don't just put them on a page, make them part of the content in a way that sounds natural to a human). Make sure you have an XML sitemap (google that). Make sure you have proper meta descriptions tags on all your pages. Make sure that pages you don't want indexed are noindexed and disallowed by your robots.txt. Nofollow links that you don't want spidered as well.
That's basic SEO. If they are trying to rank for anything even remotely competitive you are going to need a long term content strategy, because that goes hand in hand with SEO.
[QUOTE=B-Rabbit;40594488]I wanted to add a floating menu thing to my website but it didn't work. Somehow in jsfiddle it worked but when I put it in my site code it doesn't show up.
Here is the link [url]http://jsfiddle.net/HEMVT/[/url][/QUOTE]
Maybe it's behind something? Use the inspector to see the canvas
[QUOTE=KmartSqrl;40595438]Make sure the markup is semantic and that the keywords they are reaching for are on pages but not too frequently (don't just put them on a page, make them part of the content in a way that sounds natural to a human). Make sure you have an XML sitemap (google that). Make sure you have proper meta descriptions tags on all your pages. Make sure that pages you don't want indexed are noindexed and disallowed by your robots.txt. Nofollow links that you don't want spidered as well.
That's basic SEO. If they are trying to rank for anything even remotely competitive you are going to need a long term content strategy, because that goes hand in hand with SEO.[/QUOTE]
Well that's pretty much as far as I've gotten with SEO anyway, apart from the xml sitemap. Is there anything else I can do?
[QUOTE=xmariusx;40596148]Maybe it's behind something? Use the inspector to see the canvas[/QUOTE]
I've inserted it before header and menus and now it works but the menu I used to have doesn't work properly anymore.
[URL]http://jsfiddle.net/HEMVT/1/[/URL]
EDIT: Nevermind, it started to working.
I am not sure if this is the right place to ask but yeah, What is the best host for FastDL servers for a Garry's Mod server?
[QUOTE=smithy285;40604067]I am not sure if this is the right place to ask but yeah, What is the best host for FastDL servers for a Garry's Mod server?[/QUOTE]
That's a question for the garry's mod forum
[url]http://facepunch.com/forumdisplay.php?f=15[/url]
[QUOTE=smithy285;40604067]I am not sure if this is the right place to ask but yeah, What is the best host for FastDL servers for a Garry's Mod server?[/QUOTE]
Pretty much any standard hosting company should be able to fulfill your needs. Personally I would recommend that you check out [URL="https://www.lithiumhosting.com/"]Lithium Hosting[/URL].
Hi, I'm trying to position one icon next to another
But it doesn't seem to move up
Here's screenshot
[IMG]http://i.imgur.com/xfp0fZq.png[/IMG]
Here's code
[url]http://jsfiddle.net/UDmmE/[/url]
[QUOTE=Sentinel010;40616603]Hi, I'm trying to position one icon next to another
But it doesn't seem to move up
Here's code
[URL]http://jsfiddle.net/UDmmE/[/URL][/QUOTE]
[URL]http://jsfiddle.net/UDmmE/2/[/URL]
Use Killervalon's solution below though.
[QUOTE=Sentinel010;40616603]Hi, I'm trying to position one icon next to another
But it doesn't seem to move up
Here's screenshot
[IMG]http://i.imgur.com/xfp0fZq.png[/IMG]
Here's code
[URL]http://jsfiddle.net/UDmmE/[/URL][/QUOTE]
[URL]http://jsfiddle.net/UDmmE/4/[/URL]
you're also not closing <a> properly. Closing is </a> not <a/>
Sorry, you need to Log In to post a reply to this thread.