HTML/PHP problem
Page 1 of 1
sausje
Banned



Posts: 17716
Location: Limboland, Netherlands
PostPosted: Tue, 18th Oct 2011 15:26    Post subject: HTML/PHP problem
Anyone with a little knowledge could maybe help me here plox?

When i tryed adding extra BB codes to our webspell homepage i get the following errors:

 Spoiler:
 


Then once i hovered over them all it looks good:

 Spoiler:
 


But when i hover over one of those extra codes, it appears again:

 Spoiler:
 


Now i used the following addon: http://weseo.de/download/bbcode-mod-v27


If anyone could help me here, would really be appreciated.
If you need to have anything else (.php/.html files from the page itself), just let me know and ill provide it.

Thanks in advance!


Proud member of Frustrated Association of International Losers Failing Against the Gifted and Superior (F.A.I.L.F.A.G.S)
Back to top
sausje
Banned



Posts: 17716
Location: Limboland, Netherlands
PostPosted: Tue, 18th Oct 2011 23:21    Post subject:
Nobody able to help me with this? Sad


Proud member of Frustrated Association of International Losers Failing Against the Gifted and Superior (F.A.I.L.F.A.G.S)
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Wed, 19th Oct 2011 00:13    Post subject:
Sorry I know both, but this seems to be something with your board instead of HTML PHP Sad


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
garus
VIP Member



Posts: 34200

PostPosted: Wed, 19th Oct 2011 00:20    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:41; edited 1 time in total
Back to top
sausje
Banned



Posts: 17716
Location: Limboland, Netherlands
PostPosted: Wed, 19th Oct 2011 00:29    Post subject:
Code:
[EMAIL=you@yoursite.com]My email address[/EMAIL]
[EMAIL]you@yoursite.com[/EMAIL]
[URL=http://yoursite.com]My website[/URL]
[URL]http://yoursite.com[/URL]
[IMG]http://yoursite.com/image.jpg[IMG]
[spc=x]x=pixels[/spc]
ABCDEFG
abcdefg
[LIST=a][*]point 1[/*][*]point 2[/*][/LIST]
[LIST=1][*]point 1[/*][*]point 2[/*][/LIST]
[QUOTE=Nickname]Quote[/QUOTE]
[QUOTE]Quote[/QUOTE]
[TOGGLE=Read more]Full Text[/TOGGLE]
[flash@w=[width]@h=[height]]LINK[/flash]


Those kinda things in the middle of the page


Proud member of Frustrated Association of International Losers Failing Against the Gifted and Superior (F.A.I.L.F.A.G.S)
Back to top
garus
VIP Member



Posts: 34200

PostPosted: Wed, 19th Oct 2011 00:31    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:41; edited 1 time in total
Back to top
sausje
Banned



Posts: 17716
Location: Limboland, Netherlands
PostPosted: Wed, 19th Oct 2011 00:37    Post subject:
Well i found out that they should be in a sort of "baloon" at your mousepointer, explaining the usage of tags.

Seems that there is something wrong with a .js file?


Proud member of Frustrated Association of International Losers Failing Against the Gifted and Superior (F.A.I.L.F.A.G.S)
Back to top
garus
VIP Member



Posts: 34200

PostPosted: Wed, 19th Oct 2011 00:39    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:41; edited 1 time in total
Back to top
sausje
Banned



Posts: 17716
Location: Limboland, Netherlands
PostPosted: Wed, 19th Oct 2011 00:51    Post subject:
What those image probs are, i donno, need to check on those aswell.

anyway this is prolly causing it:

 Spoiler:
 


Proud member of Frustrated Association of International Losers Failing Against the Gifted and Superior (F.A.I.L.F.A.G.S)
Back to top
garus
VIP Member



Posts: 34200

PostPosted: Wed, 19th Oct 2011 10:47    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:41; edited 1 time in total
Back to top
sausje
Banned



Posts: 17716
Location: Limboland, Netherlands
PostPosted: Wed, 19th Oct 2011 13:18    Post subject:
You are speaking chinese now Razz

I dont have a single clue what you are saying there Razz


Proud member of Frustrated Association of International Losers Failing Against the Gifted and Superior (F.A.I.L.F.A.G.S)
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Wed, 19th Oct 2011 13:31    Post subject:
Edit: Sorry I was wrong, this shit is mootools, so it searches for any tag with the attribute id="login"...

For example
<input name="email" id="login"></input>


Last edited by PumpAction on Wed, 19th Oct 2011 13:38; edited 1 time in total
Back to top
sausje
Banned



Posts: 17716
Location: Limboland, Netherlands
PostPosted: Wed, 19th Oct 2011 13:32    Post subject:
Want me to upload the .js to make it easier?

Here is the .js

http://www.multiupload.com/EW6IC4M1U0

Holy shit, what's with the yellow around me link?!

Edit: See

 Spoiler:
 


Proud member of Frustrated Association of International Losers Failing Against the Gifted and Superior (F.A.I.L.F.A.G.S)
Back to top
sausje
Banned



Posts: 17716
Location: Limboland, Netherlands
PostPosted: Thu, 20th Oct 2011 13:03    Post subject:
To come back on this, cuz i still got the problem and i just dont know how to goddamn fix it Sad

Here is the HTML file for the BB code that makes it fail (if this one is the cause), but its meant to be like this:

 Spoiler:
 


Proud member of Frustrated Association of International Losers Failing Against the Gifted and Superior (F.A.I.L.F.A.G.S)
Back to top
sausje
Banned



Posts: 17716
Location: Limboland, Netherlands
PostPosted: Thu, 20th Oct 2011 13:25    Post subject:
Turns out i'm fucking awesome, solved it.

 Spoiler:
 


^was not added to stylesheet


Proud member of Frustrated Association of International Losers Failing Against the Gifted and Superior (F.A.I.L.F.A.G.S)
Back to top
sausje
Banned



Posts: 17716
Location: Limboland, Netherlands
PostPosted: Thu, 3rd Nov 2011 02:05    Post subject:
Oh another small problem on my website:

Something is wrong with my tables.


Here it is showing that the tables have a background, and somehow its bound to the css file (wich wasnt the case with ealier versions of webspell)
 Spoiler:
 


So i just removed the background image for now, but that doesnt make it look too well.
 Spoiler:
 


I mean its not the end of the world or anything, i can live without a background image there, tho i would like the tables to be correctly sorted, plus maybe if possible, the right one with score. instead of it going from left -> right, i want it to go from left <- right, with the logo up "front" on the right side.


These are the php parts from it:

 Spoiler:
 



And this was from the old version:
 Spoiler:
 


Anyone can spot what they did diffrent back then?

Here are the full files in pastebin:
New: http://pastebin.com/9aFrApvd
Old: http://pastebin.com/fdAaTsLm

Thanks in advance if anyone can help me out Razz


Proud member of Frustrated Association of International Losers Failing Against the Gifted and Superior (F.A.I.L.F.A.G.S)
Back to top
Werelds
Special Little Man



Posts: 15098
Location: 0100111001001100
PostPosted: Thu, 3rd Nov 2011 09:20    Post subject:
First: Reaction tables
What a shit framework that is if it comes with a table based layout Very Happy

Next, use a proper editor to look at those files to help you figure out what's wrong. Just looking at the pastebin I can already spot a few errors:
- </script> on line 66 without an opening tag
- onLoad in body referencing functions that don't exist (not in this file at least - they're commented out)
- Double body tag
- No opening HTML and HEAD?
- Incorrect HTML all over the place (LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 etc is all invalid; should be done in CSS anyway)

That's all in the first 100 lines, I can't be bothered going through it further because tables are shit and this thing is a mess on top of that Razz

Oh, and the old version is even worse, that has HTML somewhere in the HEAD - the fuck? The wrongs in that Mind Is Full Of Fuck
Back to top
sausje
Banned



Posts: 17716
Location: Limboland, Netherlands
PostPosted: Thu, 3rd Nov 2011 10:20    Post subject:
It comes with Webspell Razz

Anyway, want me to upload both the php's for you?
As for opening html and head, i think they use templates with HTML in them.
The old one, is like really fucking old and put alot of custom things in it (wich did work on older version, but now not anymore), thats why it is prolly fucked up like the inside of a hooker grinhurt


If you otherwise could come ts and help me out this evening with it, would really appriciate it.
Need the site ready before MW3 release Sad


Proud member of Frustrated Association of International Losers Failing Against the Gifted and Superior (F.A.I.L.F.A.G.S)
Back to top
Werelds
Special Little Man



Posts: 15098
Location: 0100111001001100
PostPosted: Thu, 3rd Nov 2011 10:23    Post subject:
Honestly mate, I've got so much work on my plate at the moment that the couple of hours I have at night I'd rather spend playing BF3 than working on a really shitty layout ;p

Just get some decent HTML editor and it'll highlight everything that's wrong. PhpStorm, Netbeans or God forbid, Dreamweaver. I recommend the former 2, both are free. Just create a new project from existing files, select the dir with the Webspell crap in it and open up the correct files.
Back to top
sausje
Banned



Posts: 17716
Location: Limboland, Netherlands
PostPosted: Thu, 3rd Nov 2011 10:27    Post subject:
Ok, i will give that a try.

But my php knowledge is very limited, so i hope i know enough to fix this issue atleast.

A little thing that you might be able to help me with tho (what for you is little time and for me takes ages), is how do i basically mirror a table?
I know i can use <div align="right">, but that didn't work somehow. (plus i need the icon on the right side then aswell, for matches that is)


Proud member of Frustrated Association of International Losers Failing Against the Gifted and Superior (F.A.I.L.F.A.G.S)
Back to top
Werelds
Special Little Man



Posts: 15098
Location: 0100111001001100
PostPosted: Thu, 3rd Nov 2011 10:37    Post subject:
You want to align the table's contents; use the align attribute: http://www.w3schools.com/tags/tag_td.asp

You don't have to deal with PHP beyond moving the includes around, you're messing with HTML here. Use W3Schools to look up tags, there's some tutorials on there as well although I don't know how good they are (or aren't Razz).
Back to top
sausje
Banned



Posts: 17716
Location: Limboland, Netherlands
PostPosted: Thu, 3rd Nov 2011 11:11    Post subject:
Gave both a try, even tho PhpStorm is not free (30day trial.), but i don't get both of them.

Seems im this noob when it comes to php/html xD


Ill just wait till you have a little more time, for now it looks ok with no harm done.


Proud member of Frustrated Association of International Losers Failing Against the Gifted and Superior (F.A.I.L.F.A.G.S)
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - Applications
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group