• [MOD] Category Image v1.0.2 4 0 5 1
Currently:  

Author Topic: [MOD] Category Image v1.0.2  (Read 378027 times)

0 Members and 2 Guests are viewing this topic.

Offline unite

  • Newbie
  • *
  • Posts: 48
    • View Profile
Re: [MOD] Category Image v1.0.2
« Reply #210 on: August 15, 2008, 09:11:14 PM »
Is this working with 1.7.6

Offline HowdoI

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: [MOD] Category Image v1.0.2
« Reply #211 on: August 21, 2008, 06:46:14 AM »
Good Day,

I have not installed this MOD and was reading to see if it worked with V.1.7.6 and read the edit catagory problem.  A round about fix would be create the new catagory with the new name and then use this MOD http://www.4homepages.de/forum/index.php?topic=6759.0 to move the images.  After delete the old catagory.

Offline HowdoI

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: [MOD] Category Image v1.0.2
« Reply #212 on: August 21, 2008, 07:30:38 AM »
Running 4Images 1.7.6

Got a problem with this mod. I can't seem to edit any category names after I install this mod. I am able to create categories with no problem but just to edit category names and saving wouldn't work at all. Any help regarding this issue?


thanks

I have just installed the MOD successfuly changed the image (to a kitty cat :D) and was able to change the folder name.  I had a second folder that I created before installing and did not change the category image on that folder.  I was able to change the name on that folder also.   So sorry to say I think you may have a typo in you installation somewhere.

- I am also running Version: 1.7.6

- Another thing to remeber is that the image will be the same size as the thumbnails on your site so you will create a new folder and set all levels to admin only.  Just make/get whatever image you want and/or modify it the size you want via your bution creation program and then upload it to the new.  I have not tried it as of yet but in theroy it should work just fine.
« Last Edit: August 21, 2008, 06:32:05 PM by HowdoI »

Offline Lunique

  • Full Member
  • ***
  • Posts: 109
  • V 1.7.7
    • View Profile
Re: [MOD] Category Image v1.0.2
« Reply #213 on: August 22, 2008, 03:12:26 PM »
Is this working with 1.7.6
I have 1.7.6 and it works. First it don't but then I realised that I forgot to make the changes to global.php and after that evereything works perfect.

Offline Sun Zaza

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
Re: [MOD] Category Image v1.0.2
« Reply #214 on: December 11, 2008, 04:55:57 PM »
Hi Vano,

Thank for this great mod.

I just installed it, but I believe I have a little issue here:

Because I want to use small images for the category, I uploaded some images (70X70) to the gallery to use them as Categery image.

It works perfect, but I do not want that those images (Thumbs) to be shown in the homepage as new images or something like this.

How can I trick that?

Do you have the solution for me please?

Many thanks in advance for any tip.

Cheers,

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 Image v1.0.2
« Reply #215 on: December 11, 2008, 05:22:06 PM »
Try replace in the Step 3:
Code: [Select]
    if ($cat_cache[$category_id]['cat_image'])

With this:
Code: [Select]
    if ($cat_id && $cat_cache[$category_id]['cat_image'])
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 Sun Zaza

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
Re: [MOD] Category Image v1.0.2
« Reply #216 on: December 11, 2008, 05:31:22 PM »
Thanks Vano.

I tried it but I still see the small thumbs.

Do you have any Idea?

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 Image v1.0.2
« Reply #217 on: December 11, 2008, 11:49:45 PM »
Oh, I completely misunderstood your question...

I guess, you can create a category that only admin can see, and store your images in there.
But, I think for what you are trying to do [MOD] Static icons in the Category frame would be a better choice.
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 Sun Zaza

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
Re: [MOD] Category Image v1.0.2
« Reply #218 on: December 11, 2008, 11:51:40 PM »
Yes, I have.

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 Image v1.0.2
« Reply #219 on: December 11, 2008, 11:58:35 PM »
You are quick with responses ;)
I've changed my reply above.
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 Sun Zaza

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
Re: [MOD] Category Image v1.0.2
« Reply #220 on: December 12, 2008, 12:09:38 AM »
You are right. That what I was looking for.

I just tried it and it works :D

Thank you very for your support.

Offline beule

  • Newbie
  • *
  • Posts: 48
    • View Profile
Re: [MOD] Category Image v1.0.2
« Reply #221 on: May 01, 2009, 02:00:55 PM »
I install this mod but now i become this error if i want edit Category:

DB Error: Bad SQL Query: UPDATE prignitz_categories SET cat_name = 'Partybilder 2008', cat_description = '', cat_parent_id = 0, cat_order = 15, cat_hits = 278, auth_viewcat = 0, auth_viewimage = 2, auth_download = 2, auth_upload = 2, auth_directupload = 9, auth_vote = 0, auth_sendpostcard = 2, auth_readcomment = 0, auth_postcomment = 0, cat_image = WHERE cat_id = 46
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 'WHERE cat_id = 46' at line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/.../includes/db_mysql.php:190) in /var/www/web267/html/prignitz/includes/functions.php on line 114
« Last Edit: May 01, 2009, 02:44:19 PM by beule »

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 Image v1.0.2
« Reply #222 on: May 01, 2009, 03:12:32 PM »
Double check step 2.2
In fact double check all steps and make sure you didn't skip any.
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 beule

  • Newbie
  • *
  • Posts: 48
    • View Profile
Re: [MOD] Category Image v1.0.2
« Reply #223 on: May 02, 2009, 11:36:14 AM »
Ohh my english is bad, i read it not good enough!!!


Step 2
Open admin/categories.php
Find two (2) times:


it works! thx!  :roll:

Offline 4dabdura

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: [MOD] Category Image v1.0.2
« Reply #224 on: May 06, 2009, 06:02:07 PM »
hello
{cat_image} and {if cat_is_new} not working on lightbox.php page
how do i make it work?