Advertisement:

How to make a simple html-page inside the forum to use its style?

Aloittaja Chriss Cohn, helmikuu 04, 2008, 05:11:03 IP

« edellinen - seuraava »

Chriss Cohn

Hi, i want to display/integrate some basic (just plain text) html-pages inside my Forum for privacy policy, Forum-Rules, and so on. It should use my Forums style, so basically just in the place where the board-listings are on frontpage.
And i dont want to install any MkPortal or Tinyportal.

How to do that? Is there a mod or else (i didn't find anything so far)...

Regards, Christian

Kindred

I don't think there are any mods to do this automatically...

but essentially, you would build yourself a Sources/YOURPAGE.php and Themes/default/YOURPAGE.template.php and then add the action into the large action array in the smf root file, index.php
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Chriss Cohn

Lainaus käyttäjältä: Kindred - helmikuu 04, 2008, 05:13:04 IP
I don't think there are any mods to do this automatically...

but essentially, you would build yourself a Sources/YOURPAGE.php and Themes/default/YOURPAGE.template.php and then add the action into the large action array in the smf root file, index.php
Cool, sounds good.....
But what to put into the "Sources/YOURPAGE.php" ? - The actual content?
And in "YOURPAGE.template.php" the styling?

Regards, Christian

SA™

http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
LainaaMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Chriss Cohn

Lainaus käyttäjältä: wdm2005 - helmikuu 04, 2008, 05:43:47 IP
you can use the custom actions mod

found here

http://custom.simplemachines.org/mods/index.php?mod=331

it will be a lot easyer
Simply amazing!!!
Works OUT-OF-THE-BOX and EXACT like i want it to have.... great!!!!

SA™

http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
LainaaMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Kindred

wow... look at that.

Thanks WDM, I completely missed that mod before.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

SA™

http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
LainaaMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

STS

This was useful to me as well. I had to tweak it a bit with the stying (basically out of package it was just inserting simple text with no table around it), but it made adding the pages much more simple than I could have manually done.

SA™

http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
LainaaMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Advertisement: