Author Topic: Random Image  (Read 15887 times)

0 Members and 1 Guest are viewing this topic.

Offline Neo1

  • Full Member
  • ***
  • Posts: 202
    • View Profile
    • http://www.terradreams.de/
Random Image
« Reply #15 on: April 02, 2003, 01:47:20 AM »
I donīt know your forum .....but try to include it to a php-file like index.php or header.php

<?php
include("path to your random image.php");
?>

Offline swifter_uk

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
    • http://www.hovedogs.co.uk
Random Image
« Reply #16 on: April 02, 2003, 03:56:05 AM »
All of the forum style sheets are html!! :cry:

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Random Image
« Reply #17 on: April 02, 2003, 04:25:23 AM »
Quote from: swifter_uk
All of the forum style sheets are html!! :cry:

same as 4images ;)
your forum stile based on templates, that means, that those .html file are generated by php. so u still can try to do so, if your forum support PHP includes in the templates it should work.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline swifter_uk

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
    • http://www.hovedogs.co.uk
Random Image
« Reply #18 on: April 02, 2003, 04:30:58 AM »
seems like you like to keep me in suspense, so how can I add it to my homepage if all stylesheets or whatever are html....?

I really need a "dummy's guide", to this as I have no experience with this format.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Random Image
« Reply #19 on: April 02, 2003, 05:14:02 AM »
as Neo1 said, try to add into your board template:
Code: [Select]
<?php 
include&#40;"path to your random image.php"&#41;; 
?>

if this wont work, then u'll need do some "core" modifications in the board code...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline swifter_uk

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
    • http://www.hovedogs.co.uk
I Give up!!
« Reply #20 on: April 03, 2003, 02:46:08 AM »
I give up!! The code works fine as you can see if you follow the link:
But I can't for love nor money get it to re-display on my Forum homepage via html files, despite trying two different servers.

If anyone is willing to try for me perhaps I can give them  Temporary Admin access via PM?

Such a good concept going to waste :cry:

http://www.hovegallery.co.uk/Gallery/Random_image.php

Offline swifter_uk

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
    • http://www.hovedogs.co.uk
Random Image
« Reply #21 on: April 03, 2003, 07:55:24 PM »
I have been told access to php includes on my board is denied for security reasons, shame but at least I know I'm not going mad! 8O