4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: Term on October 12, 2002, 10:38:15 AM

Title: Making seperate pages with the templates & Integration ?'s
Post by: Term on October 12, 2002, 10:38:15 AM
I have some questions and I have searched the forums but because the language barrier I am only getting limited information. (I only speak and read english)

How can I create my own page in the template system and be able to call it with:

Code: [Select]
{name}

I want to make an ads page and incude it on every page.

Anyone?!?!

And is there anyway that I can share registration information with phpBB or Ikonboard (Using MySQL Database) ?

Please let me know!

Thanks very much in advance.
Title: Making seperate pages with the templates & Integration ?
Post by: Term on October 12, 2002, 07:51:02 PM
I also would like to know how we could use php in the templates such as
Code: [Select]
<? include(this.php); ?>

SOMEONE?!?!
Title: I can answer one of your questions
Post by: Chris on October 12, 2002, 08:09:35 PM
To use PHP in your templates, this:
Code: [Select]
<? include(this.php); ?>
should be formatted like this:
Code: [Select]
<?php
include("<full server path to included file>/this.php");
?>

I have found this syntax to be more 4images template parsing friendly although I have used the other syntax successfully in some places.  Your results may vary.

Also, I too would like to know how to add a new, custom template.  I think part of the answer is to add
Code: [Select]
?template=MyCustomTemplate
to the URL but I'm not sure if the template has to somehow be registered with 4images.
Title: Making seperate pages with the templates & Integration ?
Post by: Term on October 14, 2002, 07:51:02 AM
Anyone?!?! This program is great... I wish their was more english support.
Title: Making seperate pages with the templates & Integration ?
Post by: Term on October 14, 2002, 09:15:29 AM
Is there a way to share registration with a message board? So users wouldn't have to register twice?
Title: Making seperate pages with the templates & Integration ?
Post by: Nicky on October 14, 2002, 09:17:14 AM
http://www.4homepages.de/forum/viewforum.php?f=11

Integration 4images 1.7 / vBulletin 2.x
Integration 4images 1.7 / phpBB