Author Topic: [Mod] Category order / Kategorien ordnen  (Read 66791 times)

0 Members and 1 Guest are viewing this topic.

Offline lovetamil

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: [Mod] Category order / Kategorien ordnen
« Reply #30 on: September 05, 2005, 08:28:45 PM »
i am gettin this error..when i update my database...please advice... :?

Code: [Select]
DB Error: Bad SQL Query: INSERT INTO 4imagesga_settings (`setting_name`, `setting_value`) VALUES ('cat_order', 'c.cat_name ASC')
Duplicate entry 'cat_order' for key 1

Offline Lunique

  • Full Member
  • ***
  • Posts: 109
  • V 1.7.7
    • View Profile
Re: [Mod] Category order / Kategorien ordnen
« Reply #31 on: October 16, 2005, 12:33:33 AM »
I've Installed the mod and it worked fine thanks for it!
But I have a question about something Vano allready asked. Is there any way that it ALSO affect category sort in "admin control panel -> edit categories"
Would be great cause that's what I really need!

Habe den Mod installiert und funktioniert alles prima. Vielen Dank dafür!
Aber ne Frage zu dem was Vano schon fragte. Ist es möglich das man das ganze AUCH BEIM "admin control panel -> Kategorien bearbeiten" nutzen kann?
Denn sowas such ich dringend!

Offline salimiali

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [Mod] Category order / Kategorien ordnen
« Reply #32 on: October 21, 2005, 01:22:59 PM »
After go to gallery show this message with any pictures and categories!!


DB Error: Bad SQL Query: SELECT c.cat_id, c.cat_name, c.cat_description, c.cat_parent_id, c.cat_hits, c.cat_order, c.auth_viewcat, c.auth_viewimage, c.auth_download, c.auth_upload, c.auth_directupload, c.auth_vote, c.auth_sendpostcard, c.auth_readcomment, c.auth_postcomment, COUNT(i.image_id) AS new_images FROM 4images_categories c LEFT JOIN 4images_images i ON (i.cat_id = c.cat_id AND i.image_date >= AND i.image_active = 1) GROUP BY c.cat_id ORDER BY c.cat_name ASC
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND i.image_active = 1) GROUP BY c.cat_id O


Link: http://www.singersfan.com/gallery/

Offline salimiali

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [Mod] Category order / Kategorien ordnen
« Reply #33 on: October 22, 2005, 10:49:41 AM »
admin help me please! my web site is down and i can not run this mode please help me how i can run this
mode because now my data base have problem!! (after setup mysql installer) if you can run this mode tell
me i send to you my user & password of ftp


DB Error: Bad SQL Query: SELECT cat_id, cat_name, cat_description, cat_parent_id, cat_hits, cat_order, auth_viewcat, auth_viewimage, auth_download, auth_upload, auth_directupload, auth_vote, auth_sendpostcard, auth_readcomment, auth_postcomment FROM 4images_categories ORDER BY c.cat_name ASC
Unknown table 'c' in order clause

Offline niad

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
Re: [Mod] Category order / Kategorien ordnen
« Reply #34 on: November 05, 2005, 08:08:25 PM »
Hello,
I have read this post very carefully more than 10 times and also some other post with the same subject and I have done everything exactly as I should.
The problem is that the sorting  doesn't work with my language.
I have the correct $lang['charset'] = at the main.php of my language, but doesn't sort the categories.
Everything are working fine,  the sorting options at the Admins settings are there, but there is no correct sorting!
It does some kind of sorting, but it puts first B and then A for example!

Is there any way that this MOD can work with a foreign languages?

PLEASE, I need some help :oops:

.
I love 4images, it is really great work!

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] Category order / Kategorien ordnen
« Reply #35 on: November 05, 2005, 08:35:54 PM »
I think its not about this mod, its about how your MySQL handles sorting...what about images? can you sort them by name?
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 niad

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
Re: [Mod] Category order / Kategorien ordnen
« Reply #36 on: November 06, 2005, 12:25:09 AM »
Dear V@no, no, the images can't be sorted by name correctly also!



Please help, there must be an answer to solve this problem!

.
I love 4images, it is really great work!

Offline niad

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
Re: [Mod] Category order / Kategorien ordnen
« Reply #37 on: November 07, 2005, 03:55:45 PM »
.

Is there any way that this MOD can work with a foreign languages?

PLEASE, can someone help ?

.
I love 4images, it is really great work!

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] Category order / Kategorien ordnen
« Reply #38 on: November 08, 2005, 12:23:44 AM »
I have answered your question already, its not this mod's problem, in fact its not 4images problem, its MySQL problem...if MySQL can't sort it properly nothing you can do about it...
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 niad

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
Re: [Mod] Category order / Kategorien ordnen
« Reply #39 on: November 08, 2005, 07:56:13 AM »
.
Thank you very much for your answer V@no,
I have understand what you have said,
I was just hoping that you or someone else may have some answer to this MySQL problem of sorting...
Where can I check or what can I add to MySQL settings to solve the sorting problem?
.
I love 4images, it is really great work!

Offline fgallery

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • ::: F-Gallery :: Photobank :::
Re: [Mod] Category order / Kategorien ordnen
« Reply #40 on: November 08, 2005, 02:09:21 PM »
INSERT INTO `4images_settings` ( `setting_name` , `setting_value` )
VALUES (
'cat_order', 'cat_name ASC'
);
Thanks for the hint DaMike !

V@no I think you should specify that your installer is for 1.7 vesion.
http://f-gallery.com.ua
Artistic Photography, Fashion Photography, Cities and Streets of The World, Personal Photos of Livejournal Users.

Offline djith

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: [Mod] Category order / Kategorien ordnen
« Reply #41 on: November 18, 2005, 11:40:33 PM »
hello,
i tried this mod and at the last line there was something whit phpmyadmin, where can i find it and how to use it and install the last line....?

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: [Mod] Category order / Kategorien ordnen
« Reply #42 on: November 19, 2005, 11:04:22 AM »
please read the bold text below...

===============================================================
== SQL (add this with phpmyadmin or run this installer --> installer (thx V@no for this installer)
===============================================================


Offline djith

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: [Mod] Category order / Kategorien ordnen
« Reply #43 on: November 19, 2005, 11:14:42 AM »
yes i read , but i'm such a newbie that i don't know where to find phpmyadmin, what to do with, how to run an installer ....
do i have to look for phpmyadmin in the control panel of my server ?

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: [Mod] Category order / Kategorien ordnen
« Reply #44 on: November 19, 2005, 11:20:18 AM »
please read the bold text below...

===============================================================
== SQL (add this with phpmyadmin or run this installer --> installer (thx V@no for this installer)
===============================================================

You dont need to make any changes with phpmyadmin, please use the installer!
Download the *.zip File, put it in your 4images root folder and then use your Browser to execute the Installer