• [Mod] Photo Of The Day 4 0 5 1
Currently:  

Author Topic: [Mod] Photo Of The Day  (Read 269819 times)

0 Members and 1 Guest are viewing this topic.

Offline widgit1981

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
[Mod] Photo Of The Day
« Reply #15 on: January 20, 2003, 03:37:08 PM »
Hi all

Is there any way of displaying the full size image as photo of the day ?

Thanks

Steve

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Photo Of The Day
« Reply #16 on: January 20, 2003, 03:43:44 PM »
Quote from: widgit1981
Is there any way of displaying the full size image as photo of the day?

Not a big problem, but I can't even imagine, how this would fit any site design  8O

Offline widgit1981

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
[Mod] Photo Of The Day
« Reply #17 on: January 20, 2003, 03:51:51 PM »
Hi SSL.

This would fit my design perfectly and if anyone can do it I would be extremely greatful if they shared the knowledge  :D

Thanks

Steve

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Photo Of The Day
« Reply #18 on: January 22, 2003, 08:34:42 AM »
Quote from: widgit1981
This would fit my design perfectly

Should be very interesting to have a look at your site  :roll:

Anyway, to show an image instead ot thumbnail just change {thumbnail} in potd_image.html template to the {image}.

That's it.

Offline widgit1981

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
[Mod] Photo Of The Day
« Reply #19 on: January 22, 2003, 10:18:06 AM »
Thanks SSL.

How do you make it linkable as well ?

Thanks

Steve

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Photo Of The Day
« Reply #20 on: January 22, 2003, 10:25:29 AM »
Strange questions and wishes again  :lol:
You're linking thumbnail to it's fullsize image, but what are you going to link fullsize image to???

Offline widgit1981

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
[Mod] Photo Of The Day
« Reply #21 on: January 22, 2003, 11:36:48 AM »
Hi SSL

Thanks for your great help. Upon clicking the image I want to be directed to the images page. ( description, ratings etc ) Its to hard to explain why I want this but it very needed.

Thanks

Steve

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Photo Of The Day
« Reply #22 on: January 22, 2003, 11:47:09 PM »
Now I understand what you mean, but for the moment I have no idea how to help you... thumbnail > image link is hardcoded in the gallery already, but not the link you want. Sorry, dude  :?

If I have any idea/solution, I'll let you know.

Offline Gabi

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.gabis-traum.de
Was ist das für ein Fehler ???
« Reply #23 on: January 30, 2003, 11:09:50 AM »
Habe alles eingefügt und nun kommt dieser Fehler :


DB Error: Bad SQL Query: SELECT DISTINCT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.user_name FROM 4images_images i, 4images_categories c LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND i.cat_id NOT IN (0) AND c.cat_id = i.cat_id ORDER BY RAND()
You have an error in your SQL syntax near 'RAND()' at line 5

Template Error: Couldn't open Template ./templates/4dark/potd_image.html

Kann mir jemand helfen ????

lg
Gabi

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Photo Of The Day
« Reply #24 on: January 30, 2003, 11:27:56 AM »
This query has nothing to do with this MOD. Check functions.php against MOD text, I believe you missing something.

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: Was ist das für ein Fehler ???
« Reply #25 on: January 30, 2003, 12:21:34 PM »
Quote from: Gabi

You have an error in your SQL syntax near 'RAND()' at line 5

maybe your host doest meet those requrements:
http://4homepages.de/4images/systemvoraussetzungen.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 robertmf

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • http://dliflc.org/
Re: what the heck...
« Reply #26 on: January 30, 2003, 07:05:24 PM »
Quote from: wrestlingwiredotnet
now I get this big long list of errors (with the admin login under it):
Warning: Cannot add header information - headers already sent by (output started at /home/wwire/public_html/gallery/lang/english/main.php:392) in /home/wwire/public_html/gallery/admin/admin_functions.php on line 172

...

 Warning: Cannot add header information - headers already sent by (output started at /home/wwire/public_html/gallery/lang/english/main.php:392) in /home/wwire/public_html/gallery/includes/sessions.php on line 79

Look at the files named and see if you have extra spaces or blank lines after the closing ?> tag.
DLI Alumni & Friends at DLIFLC.ORG

Offline Gabi

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.gabis-traum.de
Manno is das Peinlich
« Reply #27 on: January 30, 2003, 09:43:22 PM »
@ all danke

Ich hatte eine Seite falsch benannt, nur 2 Buchstaben vertausch, wieeee doooof aber auch.

lg
Gabi

Offline remus

  • Newbie
  • *
  • Posts: 27
    • View Profile
bild des tages
« Reply #28 on: February 09, 2003, 03:06:57 PM »
klappt alles nur ist das bild am falschen platz, es ist oben links oben dem "registrieerte benutzer" ich möchte es unter dem zufallsbild haben wie muss ich das machen ?

grüsse remus

Offline John_Doe

  • Pre-Newbie
  • Posts: 2
    • View Profile
new choice?
« Reply #29 on: February 09, 2003, 04:04:50 PM »
Hello!
Thank you for this mod!

Is there a way to include the choice "by hits", so the picture with the most hits will appear?

Thanks!