• [Mod] Random image / Zufallsbild 5 0 5 1
Currently:  

Author Topic: [Mod] Random image / Zufallsbild  (Read 940601 times)

0 Members and 1 Guest are viewing this topic.

Offline CyndiMJJ

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: [Mod] Random image / Zufallsbild
« Reply #270 on: January 11, 2006, 07:39:53 PM »
i have the gallery on the same domain and some ip address, but what should I write? (the code)

Offline y4sh4r_x

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: [Mod] Random image / Zufallsbild
« Reply #271 on: January 14, 2006, 05:23:46 PM »
why this error show?

Security violationSecurity violation
Fatal error: Cannot instantiate non-existent class: db in /home/neshoni/public_html/gallery/random.php on line 34

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
Re: [Mod] Random image / Zufallsbild
« Reply #272 on: January 14, 2006, 07:08:09 PM »
Probably ROOT_PATH is not correct
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 Bodzio

  • Newbie
  • *
  • Posts: 36
  • BJ Fan
    • View Profile
    • Always - Bon Jovi Portal Gallery
Re: [Mod] Random image / Zufallsbild
« Reply #273 on: January 17, 2006, 07:55:38 PM »
Hi there!

great mod, but I have a problem,

I am using this on www.bonjovi.pl, right bottom.

I am also using a stat script. This script uses classes named just like the ones in 4images, for example "db".

When I add "random image" to my webiste the stat script is not working.

Is there other way to include the "random image", maybe with js or something?

I can post that script, but all its system uses this clases and I can't rename it.

What should I do?
---
Best regards / Pozdrawiam serdecznie

Artur "Bodzio" Bogdański

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
Re: [Mod] Random image / Zufallsbild
« Reply #274 on: January 18, 2006, 12:52:21 AM »
You can modify includes/db_mysql.php and save it as includes/db_mysql_new.php
and then update this line:
Quote
include(ROOT_PATH.'includes/db_mysql_new.php');
in random.php
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 Bodzio

  • Newbie
  • *
  • Posts: 36
  • BJ Fan
    • View Profile
    • Always - Bon Jovi Portal Gallery
Re: [Mod] Random image / Zufallsbild
« Reply #275 on: January 18, 2006, 10:21:17 AM »
thank you, it was simple as hell, but real hard for me to think of...

Innymi słowy, proste jak jebanie ;)
---
Best regards / Pozdrawiam serdecznie

Artur "Bodzio" Bogdański

Offline Hobit

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: [Mod] Random image / Zufallsbild
« Reply #276 on: January 19, 2006, 10:08:25 PM »
hallo

wer kann mir weiterhelfen.

ich habe die mod... für random und zufallsbild von hier.   ich weis nicht wie ich sie in meinem forum einbinden muss, damit ich ein zufallsbild und die 5 neusten bilder auf der startseite angezeigt kriege

ich nutze das phpkit 1.6.1 für meine webseite.


Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: [Mod] Random image / Zufallsbild
« Reply #277 on: January 20, 2006, 11:44:56 AM »
@hobit
hast du eine homepage?
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline Hobit

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: [Mod] Random image / Zufallsbild
« Reply #278 on: January 20, 2006, 11:55:32 AM »
Hallo Vincent

Ich habe eine Page, die für über 18 ist.

Dort sollen auch Bilder gezeigt werden, wie ich auf der Startseite mit anzeigen lassen will


Offline Hobit

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: [Mod] Random image / Zufallsbild
« Reply #279 on: January 20, 2006, 05:54:36 PM »
Hallo Vincent


Hier der Link zu meiner Seite

www.real-sex-kontakt.de/member

Vielleicht hilft das weiter


Offline McMark

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: [Mod] Random image / Zufallsbild
« Reply #280 on: January 21, 2006, 12:41:33 AM »
Hallo ich habe meine random.php denke ich hinbekommen
zumindest kann ich sie im browser öfnen und ein bild sehen.
http://mark-foto.dyndns.org/xampp/4images/random.php
ich hätte sie aber gern unter dem letzten botten links was bzw wie muss ich das machen
in welchen dateien wird was Geändert ?
um es dort da zustellen ?
http://mark-foto.dyndns.org/xampp/4images/
ich finde leider keine anwort bei euch weil mein englisch auch nicht das beste ist.
kann mir jemand helfen?????

Dom01

  • Guest
Re: [Mod] Random image / Zufallsbild
« Reply #281 on: January 21, 2006, 01:15:08 AM »
Hi McMark,
du mußt alle Dateien ändern, wo du dein Menü eingtragen hast ändern.
Alle Dateien befinden sich im Templateverzeichnis drin.
  • categories.hml
  • details.html
  • error.html
  • home.html
  • lightbox.html
  • member.html
  • postcard_create.html
  • register.html
  • search.html
  • top.html
Viel Spaß!
mfg Dom  :) [/color]

Offline McMark

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: [Mod] Random image / Zufallsbild
« Reply #282 on: January 21, 2006, 12:45:42 PM »
Okay wird gemacht  :D
aber was ändere ich jetzt??? :?:
muss da das "<?php include("./random.php"); ?>
rein????
danke für dir hilfe
gruss McMark

Offline Hobit

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: [Mod] Random image / Zufallsbild
« Reply #283 on: January 21, 2006, 02:02:27 PM »
@mcmark

Habe bei Dir auf der Seite geschaut, was hast Du gemacht, das die Thumbs angezeigt werden?

bei mir zeigt 4images keine thumbs an, obwohl auf Utothumbs erzeugen steht


Dom01

  • Guest
Re: [Mod] Random image / Zufallsbild
« Reply #284 on: January 21, 2006, 05:10:30 PM »
Hi McMark,
genau so muß du es machen. Dann sollte es funktionieren.
mfg Dom  :)