21
lucastds
Re: Main Page
  • 2004/5/16 1:44

  • lucastds

  • Just popping in

  • Posts: 32

  • Since: 2004/2/20


Quote:

Sept0r wrote:
I'm going to install a security script on my site to prevent DDoS attacks, and I want to know if there's a main file that runs all the scripts like the extensive.inc does on phpbb instead of putting the script in every page like I did with Postnuke because it didn't have a main file.

The file header.php is loaded on most pages (except if you have any module with pages that do not load the header file, like a popup window). You can try to modify this file.

But I have a better idea. The file mainfile.php (root directory) is loaded on EVERY (no exceptions) pages of Xoops. You can add the following line to the end of this file (before the last "}"):
include XOOPS_ROOT_PATH."/yourfile.php";

where yourfile.php is the name of the file you want to include on every pages. Create a file with this name and put it in the root directory of Xoops. Now you can add your security script in this file and it will be loaded on every pages of Xoops.



22
lucastds
Re: Main Page
  • 2004/5/16 1:13

  • lucastds

  • Just popping in

  • Posts: 32

  • Since: 2004/2/20


The files header.php and footer.php (in root directory of Xoops) are loaded on every page. But you can use a block (configure it to display on every page) or edit your theme for this purpose.

Tell us exactly what you want to do on every pages and we can suggest something better.



23
lucastds
Re: PHPBB or NEWBB ?
  • 2004/5/16 1:05

  • lucastds

  • Just popping in

  • Posts: 32

  • Since: 2004/2/20


I recommed the IPB Module too. Invision Power Board is the best forum script avaliable. The new version (v2.0.0) is on the way, and I hope it will be ported to XOOPS too.



24
lucastds
Re: Attempting to edit theme.html in lucastds01.html?
  • 2004/5/16 0:16

  • lucastds

  • Just popping in

  • Posts: 32

  • Since: 2004/2/20


Thanks for using my theme!



25
lucastds
Re: Looking for a 'Peach' Colored Theme...
  • 2004/4/17 19:36

  • lucastds

  • Just popping in

  • Posts: 32

  • Since: 2004/2/20


Quote:

Talis wrote:
I just took the lucastds theme I was using for my oTalisman site, modded the colors and it seems to look fine now for Munchkin!

Thanks for everyone's help. :)

Please, post the URL!

I want to see this theme with the new colors!



26
lucastds
Re: modifying a module template file
  • 2004/2/28 5:00

  • lucastds

  • Just popping in

  • Posts: 32

  • Since: 2004/2/20


I think you have to modify the template directly from the admin panel. Go to the template management section on admin panel and make a copy of the default template set. Edit the file you want to change (on your copy template set). At the main preferences setup, change the site template set to the one you have just created. It should work.




TopTop
« 1 2 (3)



Login

Who's Online

237 user(s) are online (135 user(s) are browsing Support Forums)


Members: 0


Guests: 237


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits