News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Custom pages in 2.0 RC3 style

Started by NanoSector, June 18, 2010, 02:52:35 PM

Previous topic - Next topic

NanoSector

Quote from: cicka on July 11, 2010, 01:28:13 PM
Quote from: Yoshi2889 on July 11, 2010, 01:18:37 PM
Error:

Parse error: syntax error, unexpected ',' in /home/a9406461/public_html/Sources/Subs.php on line 3912

Can you please upload here the Subs.php file?
I changed the code again, it's booting now but back again at that other error.

Here goes.

I'm away for a moment so take your time.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

cicka


NanoSector

Nope, still the same.

What did you modify?

EDIT:
Oh BTW if you want to see the page:
http://smftools.comlu.com/About.php
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

cicka

Can you please upload here the About.php and Modification.english.php files?

NanoSector

My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

cicka

Everything appears ok. I just tested them also at my test site to double check them. I do not understand why you are getting that error.

Did you upload the Subs.php file I attached above to your Sources folder?

NanoSector

Quote from: cicka on July 11, 2010, 02:04:17 PM
Everything appears ok. I just tested them also at my test site to double check them. I do not understand why you are getting that error.

Did you upload the Subs.php file I attached above to your Sources folder?
Yes...

It is a new install, no mods, I can confirm that...
Only did add a few boards and removed the Welcome topic.

And the button is displayed as a little space, for your interest.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

cicka

Quote from: Yoshi2889 on July 11, 2010, 02:07:20 PM
Quote from: cicka on July 11, 2010, 02:04:17 PM
Everything appears ok. I just tested them also at my test site to double check them. I do not understand why you are getting that error.

Did you upload the Subs.php file I attached above to your Sources folder?
Yes...

It is a new install, no mods, I can confirm that...
Only did add a few boards and removed the Welcome topic.

And the button is displayed as a little space, for your interest.

That tells me that the language text is not added properly. What language are you using as a default language for your forum? English or English utf-8? because if it is the latter, then you must add the language text to the Modification.english.utf-8.php file too.

NanoSector

I will try to see if that works.

EDIT: I cannot find that file.

EDIT2: I am gonna change the About to about.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

cicka

Quote from: Yoshi2889 on July 11, 2010, 02:13:29 PM
I will try to see if that works.

EDIT: I cannot find that file.

What language are you using as default? If you are using some other than english, try to set the default langauge to english and see if it would help.

That file should be in the languages folder. And it is for sure a language problem.

NanoSector

Quote from: cicka on July 11, 2010, 02:16:18 PM
Quote from: Yoshi2889 on July 11, 2010, 02:13:29 PM
I will try to see if that works.

EDIT: I cannot find that file.

What language are you using as default? If you are using some other than english, try to set the default langauge to english and see if it would help.

That file should be in the languages folder. And it is for sure a language problem.
I cannot find the utf-8 file and I am using English as default.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

cicka

I am at loss then. Because everything appears to be fine.

NanoSector

Quote from: cicka on July 11, 2010, 02:22:55 PM
I am at loss then. Because everything appears to be fine.
Hm...

I'll try fixing it...in my own.

As I said, I'm no PHP expert.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

NanoSector

No I'm also lost....

It has to be in Subs.php...

"Undefined index"...
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

TehCraw

Try uploading this file to your server. Might take care of the "Undefined Index" thing.
/forum/Themes/default/languages/index.english.php
Any fool can write code that a computer can understand. Good programmers write code that humans can understand. - Martin Fowler

NanoSector

My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

TehCraw

This one has me totally confused.
Any fool can write code that a computer can understand. Good programmers write code that humans can understand. - Martin Fowler

NanoSector

My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

NanoSector

HEY HEY HEY!!

Installing a mod solved this!!

Thank you, ENotify!

And thanks for all the help, guys!
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Zagdul

Quote from: Yoshi2889 on July 12, 2010, 03:42:57 AM
HEY HEY HEY!!

Installing a mod solved this!!

Thank you, ENotify!

And thanks for all the help, guys!
what mod?

Advertisement: