• [TUT] Zusätzliches Image Feld anlegen / Additional Image Field 3 0 5 1
Currently:  

Author Topic: [TUT] Zusätzliches Image Feld anlegen / Additional Image Field  (Read 148937 times)

0 Members and 1 Guest are viewing this topic.

Offline yesme

  • Jr. Member
  • **
  • Posts: 61
  • Yes for 4images!
    • View Profile
Re: [TUT] Zusätzliches Image Feld anlegen / Additional Image Field
« Reply #15 on: February 18, 2009, 07:30:11 AM »
You are such a Hero!

Love 4images! @--^-----

Offline em-freak

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [TUT] Zusätzliches Image Feld anlegen / Additional Image Field
« Reply #16 on: February 25, 2009, 06:43:30 PM »
Hilfe!!! / Help!!!

An unexpected error occured. Please try again later.

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/vhosts/funnetwork/hosting/embfahrzeuge/gallery/includes/db_mysql.php on line 116

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [TUT] Zusätzliches Image Feld anlegen / Additional Image Field
« Reply #17 on: February 26, 2009, 03:05:16 AM »
Welcome to 4images forum.
Please review our forum rules (link can be found in my signature)

Answer to your problem: An unexpected error occured. Please try again later
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 em-freak

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [TUT] Zusätzliches Image Feld anlegen / Additional Image Field
« Reply #18 on: February 26, 2009, 04:14:53 PM »
Thanks,

but the Details are already displayed for admins.

But how can i "correct" the mistake I've make?

Or, where have i make it?

Sorry for my bad English ...

Quote
DB Error: Bad SQL Query: SELECT 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, i.modell_autor, i.childs_autor, i.skin_autor, 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 c.cat_id = i.cat_id AND i.cat_id NOT IN (0) ORDER BY i.image_date DESC LIMIT 3
Unknown column 'i.childs_autor' in 'field list'

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/vhosts/funnetwork/hosting/embfahrzeuge/gallery/includes/db_mysql.php on line 116

edit: I've found the problem ...

The database entry was missing, although (german: obwohl) I added it  8O Maybe the PHPmyadmin can't add 3 commands with one query ..

FIXED!  :)
« Last Edit: February 26, 2009, 04:51:11 PM by em-freak »

Offline crs

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Re: [TUT] Zusätzliches Image Feld anlegen / Additional Image Field
« Reply #19 on: May 10, 2009, 01:15:12 AM »
Hallo, hoffe es ist ok wenn ich in Deutsch schreibe, denke so kann ich es deutlich besser ausdrücken.

Ist es möglich, dass diese neuen zusätzlichen Felder auch per Suche gefunden werden können?
Am besten wäre es, wenn man sogar speziell nach diesem einen neuen Feld in der Suche suchen könnte.

Suche in Feldern: Alle Felder, Nur Bildname, Nur Beschreibung, Nur Schlüsselwörter, Mein neu angelegtes Feld z.B. Land

Wäre großartig, wenn mir jemand dabei helfen könnte, vielen Dank!

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
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 gborislav

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Re: [TUT] Zusätzliches Image Feld anlegen / Additional Image Field
« Reply #21 on: May 16, 2009, 03:50:41 AM »
Hi,

I have another suggestion for this MOD .

I put in "member_uploadform.html"   value="Unknown..."
<td <input type="text" name="image_photograph" size="30" class="input" value="Неизвестен..."/><br />


this word  disappears  when someone clicks  on it,  and can write his own photography name

But how can I make this word " Unknown " to  be shown  in details page by default,  if nobody knows the name of photography.

Can  someone help me with it?

Thanks.
« Last Edit: May 16, 2009, 01:24:58 PM by gborislav »

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [TUT] Zusätzliches Image Feld anlegen / Additional Image Field
« Reply #22 on: May 17, 2009, 02:56:24 AM »
Code: [Select]
{if image_photograph}{image_photograph}{endif image_photograph}{ifno image_photograph}Unknown{endifno image_photograph}
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 gborislav

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Re: [TUT] Zusätzliches Image Feld anlegen / Additional Image Field
« Reply #23 on: May 17, 2009, 04:40:13 AM »
Thanks V@no, but this way even I enter photography name in upload page, I see in details page " Unknown "
It support to be if no name to enter for photography by default in details page write "Unknown"

May be you can write another script

Thanks anyway

Offline V@nо

  • Addicted member
  • ******
  • Posts: 1.223
    • View Profile
Re: [TUT] Zusätzliches Image Feld anlegen / Additional Image Field
« Reply #24 on: May 17, 2009, 09:35:22 AM »
can you confirm that your photography name actually being saved in the database?
Your first three "must do" before you ask a question:
If I asked you to PM me, I meant PM to my primary account, this account doesn't accept PMs.

Offline gborislav

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Re: [TUT] Zusätzliches Image Feld anlegen / Additional Image Field
« Reply #25 on: May 17, 2009, 02:31:32 PM »
V@no sorry every thing is works fine
And yours script too
{if image_photograph}{image_photograph}{endif image_photograph}{ifno image_photograph}Unknown{endifno image_photograph}

Thanks again

P.S. May be you can help me with this MOD ( yours )
http://www.4homepages.de/forum/index.php?topic=7700.msg135581#msg135581


Hi V@no.

Ops, just realize The photography name is adding only for Admin . for regular users NOT.

Any help for this.

Thanks Boris.
« Last Edit: May 17, 2009, 03:22:42 PM by gborislav »

Offline Anarchology

  • Jr. Member
  • **
  • Posts: 60
  • I LULZ too much!
    • View Profile
    • Tainted Pix
Re: [TUT] Zusätzliches Image Feld anlegen / Additional Image Field
« Reply #26 on: May 30, 2009, 11:01:55 AM »
Hi,

I'm wondering how I can add the initiating text within the input section of the new category. I would prefer for it to disappear after someone clicks on the section. Basically, I'm adding a field onto the upload form for people to post a link. I'm trying to figure out how to have "http://" show up in the input area for members to understand how the link must be added for others to properly click on it.

Thanks in advance! 8)
A personal THANK YOU to all of the great programmers on this site for helping me get my site from something basic to what it is today!

My site: http://taintedpix.com
(warning: some adult content)

Offline lopsi

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: [TUT] Zusätzliches Image Feld anlegen / Additional Image Field
« Reply #27 on: June 30, 2009, 01:59:33 PM »
Funktioniert super! Danke für die tolle Anleitung.

Kann ich im ACP in der images.php (oder sonstwo) die auch Reihenfolge der Felder irgendwo beeinflussen?

Offline ivan

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.279
    • View Profile
    • Bilder Gallery
Re: [TUT] Zusätzliches Image Feld anlegen / Additional Image Field
« Reply #28 on: June 30, 2009, 05:03:07 PM »
nein, so weit ich weiss geht das nicht!

Gruss Ivan
greetings / grüsse
ivan

Facebook Fan Page | Follow Twitter

Blog: Reisen Blog
Bilder Gallery: Bilder Gallery

Offline Sumale.my

  • Addicted member
  • ******
  • Posts: 1.786
  • Neverdie
    • View Profile
Re: [TUT] Zusätzliches Image Feld anlegen / Additional Image Field
« Reply #29 on: June 30, 2009, 05:06:02 PM »
Funktioniert super! Danke für die tolle Anleitung.

Kann ich im ACP in der images.php (oder sonstwo) die auch Reihenfolge der Felder irgendwo beeinflussen?

Das hatte ich auch schon gefragt!
Das wäre sehr interessant!