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

0 Members and 1 Guest are viewing this topic.

Offline ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: [Mod] Category order / Kategorien ordnen
« Reply #15 on: April 16, 2005, 07:59:18 PM »
Code: [Select]

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, cat_image FROM girls_categories ORDER BY c.cat_order
Unknown table 'c' in order clause

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/ascanio/domains/girlsandgirls.net/public_html/includes/db_mysql.php:188) in /home/ascanio/domains/girlsandgirls.net/public_html/includes/sessions.php on line 84

Warning: Cannot modify header information - headers already sent by (output started at /home/ascanio/domains/girlsandgirls.net/public_html/includes/db_mysql.php:188) in /home/ascanio/domains/girlsandgirls.net/public_html/encuestas.php on line 19


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 #16 on: April 16, 2005, 10:51:45 PM »
no it doesnt work with 1.7.1 u need change in lang/<yourlang>/admin.php
Code: [Select]
$cat_order_array = array(
'c.cat_order' => 'Manuell',
'c.cat_name ASC' => 'Name Aufsteigend',
'c.cat_name DESC' => 'Name Absteigend'
);
to this:
Code: [Select]
$cat_order_array = array(
'cat_order' => 'Manuell',
'cat_name ASC' => 'Name Aufsteigend',
'cat_name DESC' => 'Name Absteigend'
);
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 ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: [Mod] Category order / Kategorien ordnen
« Reply #17 on: April 16, 2005, 11:04:08 PM »
no it doesnt work with 1.7.1 u need change in lang/<yourlang>/admin.php
Code: [Select]
$cat_order_array = array(
'c.cat_order' => 'Manuell',
'c.cat_name ASC' => 'Name Aufsteigend',
'c.cat_name DESC' => 'Name Absteigend'
);
to this:
Code: [Select]
$cat_order_array = array(
'cat_order' => 'Manuell',
'cat_name ASC' => 'Name Aufsteigend',
'cat_name DESC' => 'Name Absteigend'
);

if doesnot work for 1.7.1 why i have to change that? if i change that will 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 #18 on: April 16, 2005, 11:08:07 PM »
if doesnot work for 1.7.1 why i have to change that? if i change that will work?
please, dont be so dificult.
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 michi-w.

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [Mod] Category order / Kategorien ordnen
« Reply #19 on: April 17, 2005, 09:19:26 PM »
Installer Link geht nicht.

Hat den jemand für mich?

Gruß
michi-w.

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 #20 on: April 17, 2005, 10:10:30 PM »
it sais in my sig:

My site is down, please use a mirror site to download MODs: #2 or #3 or #4 or #5
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 jamstave

  • Newbie
  • *
  • Posts: 49
    • View Profile
Re: [Mod] Category order / Kategorien ordnen
« Reply #21 on: May 29, 2005, 05:25:43 PM »
Hi.. I have installed categories sort order for v 1.7.1 I got this error message why I'm getting this error message.

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 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

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/qapypayk/public_html/newgallery/includes/db_mysql.php:188) in /home/qapypayk/public_html/newgallery/includes/sessions.php on line 84

Jamestave.

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 #22 on: May 29, 2005, 08:56:31 PM »
u probably replaced/deleted the line that starts with $new_cutoff
put it back.
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 mag

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: [Mod] Category order / Kategorien ordnen
« Reply #23 on: May 30, 2005, 08:50:25 AM »
hi,

ich würde gern die kategorien so ordnen:

A
B
C
D
E
F

usw.

Kann mir da einer weiterhelfen?

Offline michi-w.

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [Mod] Category order / Kategorien ordnen
« Reply #24 on: May 30, 2005, 01:36:00 PM »
Im ACP unter Einstellungen

Kategorie Einstellungen
"Wieviele Zellen soll die Tabelle der Kategorien haben" auf 1 stellen.

Und bau diesen Bugfix ein: http://www.4homepages.de/forum/index.php?topic=6677.0

Gruß
michi-w.
 

Offline Guerillia

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: [Mod] Category order / Kategorien ordnen
« Reply #25 on: June 20, 2005, 02:52:20 PM »
Ich würde gernde nicht nach ABC / ZYX sortieren, sondern nach neuerster / ältester Kategorie zuerst..

Offline Nova

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • 4images Templates by Nova
Re: [Mod] Category order / Kategorien ordnen
« Reply #26 on: July 25, 2005, 12:02:38 AM »
Could someone change it so that it works for 1.7.1?

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 #27 on: July 25, 2005, 12:39:07 AM »
Could someone change it so that it works for 1.7.1?
it works just fine if u read only 1.5 pages of the replys.
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 DaMIKE

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: [Mod] Category order / Kategorien ordnen
« Reply #28 on: July 28, 2005, 09:44:25 AM »
Could someone change it so that it works for 1.7.1?
it works just fine if u read only 1.5 pages of the replys.

nope

SQL for 1.7.1 has to be

Quote
INSERT INTO `4images_settings` ( `setting_name` , `setting_value` )
VALUES (
'cat_order', 'cat_name ASC'
);


instead of

Quote
INSERT INTO `4images_settings` ( `setting_name` , `setting_value` )
VALUES (
'cat_order', 'c.cat_name ASC'
);

Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
Re: [Mod] Category order / Kategorien ordnen
« Reply #29 on: July 29, 2005, 03:53:52 PM »
Hi,

meine Kategoerien werden auf der Hauptseite zur Zeit so angezeigt


a - d - g
b - e - h
c - f - i


Ich möchte aber das sie so angezeigt werden

a - b - c
d - e - f
g - h - i


Was muss ich tun damit das so klappt???



Gibt es die Möglichkeit das so zu sortieren??? Irgendwie bekomm eich das nicht hin...
Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-