Main Menu
collapse

Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

User Info

Welcome Guest.
Please log in.

Who's Online

  • Dot Guests: 942
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]


NEED HELP? If you're looking for support with Simple Portal, look no further than the Support Board!

Underdog Questions

Started by Fog, January 16, 2012, 09:51:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Fog

I'm starting to edit PHP more and more to enhance the message board I help run.

I have a few questions I want to ask you to see if you can help or point me in a direction to get support.

What platform should I use?

PM? or Topic?

Trying to intergrade some Javascript into a php file and I'm getting an error.

I'm not creating the right code within the php file, and have norrowed it down to Java.

Chen Zhen

Quote from: Fog on January 16, 2012, 09:51:56 PM
I'm starting to edit PHP more and more to enhance the message board I help run.

I have a few questions I want to ask you to see if you can help or point me in a direction to get support.

What platform should I use?

PM? or Topic?

Trying to intergrade some Javascript into a php file and I'm getting an error.

I'm not creating the right code within the php file, and have norrowed it down to Java.

Imo - Unless you wish to keep whatever you're working on in private, it is best to post public threads so that others may learn from the subject matter.

I'm not trying to persuade anyone to use my site but SimplePortal.net is mainly for SimplePortal support (blocks, specific altering of SP code, etc. <-- custom coding).
General coding questions not related to SP that are directed at me, should be done on my site in the forum under SMF Web Site Resources.. or of course you can post at SMF.org under the possible headings of SMF 1.x/SMF2.x Support, SMF Coding Discussion or Scripting Help (<- use best judgement for proper board) where there are a few decent coders to answer your questions.



Fog

I solved my idea without modifing the PHP Code...I just added my html before the PHP <?

I've got a cool idea for a theme

Chen Zhen

Quote from: Fog on January 23, 2012, 09:53:43 PM
I solved my idea without modifing the PHP Code...I just added my html before the PHP <?

I've got a cool idea for a theme

That's not the proper way to do it.
This is for adding some js to a specific theme?
Add it directly to the theme's main js file, add it directly to the template or create your own js file & load it in the template with the html.