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

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

0 Members and 1 Guest are viewing this topic.

Offline webbug

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: [MOD] Category Image v1.0.2
« Reply #225 on: May 22, 2009, 04:42:22 PM »
I have 1.7.6, just installed it with the optional bulk mod.  Everything is perfect but I have a problem!

I can't create a new category or sub category.  Nothing happens when I do so.  Editing the category is fine though.

Kindly lead me to where I have made mistake or forgotten something.

thank you

Offline webbug

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: [MOD] Category Image v1.0.2
« Reply #226 on: May 26, 2009, 12:54:31 PM »
Guys I need your support on the above please!

Offline whosthis.ee

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: [MOD] Category Image v1.0.2
« Reply #227 on: June 08, 2009, 07:08:52 PM »
u dont need this mod, just uncomment
Code: [Select]
      <!-- {if random_cat_image_file}<a href="{cat_url}"><img src="{random_cat_image_file}" border="1"></a>{endif random_cat_image_file}  --> in category_bit.html template.

I did the same but its not working

im using 1.7.6 version, and i set the value to "1" in constatns.php [[define('SHOW_RANDOM_CAT_IMAGE', 1);]]

this is my category_bit.html

<table border="0" cellspacing="0" cellpadding="0">

  <tr>

    <td valign="top">

     <img src="{template_url}/images/folder.gif" alt="" />

{if random_cat_image_file}<a href="{cat_url}"><img src="{random_cat_image_file}" border="1"></a>{endif random_cat_image_file}

    </td>

    <td>

     <a href="{cat_url}" class="maincat">{cat_name}</a>&nbsp;({num_images})

      {if cat_is_new}<sup class="new">{lang_new}</sup>{endif cat_is_new}

   </td>

  </tr>

</table>

pls help

Offline webbug

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: [MOD] Category Image v1.0.2
« Reply #228 on: June 08, 2009, 09:46:57 PM »
Anyone please?

I have 1.7.6, just installed it with the optional bulk mod.  Everything is perfect but I have a problem!

I can't create a new category or sub category.  Nothing happens when I do so.  Editing the category is fine though.

Kindly lead me to where I have made mistake or forgotten something.

thank you


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 #229 on: June 09, 2009, 04:06:24 AM »
You can start by replacing admin/categories.php with the unmodified one, make sure it works, then apply changes to it again.
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 whosthis.ee

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: [MOD] Category Image v1.0.2
« Reply #230 on: June 09, 2009, 08:07:35 PM »
Plssss help


u dont need this mod, just uncomment
Code: [Select]
      <!-- {if random_cat_image_file}<a href="{cat_url}"><img src="{random_cat_image_file}" border="1"></a>{endif random_cat_image_file}  --> in category_bit.html template.

I did the same but its not working

im using 1.7.6 version, and i set the value to "1" in constatns.php [[define('SHOW_RANDOM_CAT_IMAGE', 1);]]

this is my category_bit.html

<table border="0" cellspacing="0" cellpadding="0">

  <tr>

    <td valign="top">

     <img src="{template_url}/images/folder.gif" alt="" />

{if random_cat_image_file}<a href="{cat_url}"><img src="{random_cat_image_file}" border="1"></a>{endif random_cat_image_file}

    </td>

    <td>

     <a href="{cat_url}" class="maincat">{cat_name}</a>&nbsp;({num_images})

      {if cat_is_new}<sup class="new">{lang_new}</sup>{endif cat_is_new}

   </td>

  </tr>

</table>

pls help

Offline 4ella

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • http://www.dancersrecruit.com/pictures/
Re: [MOD] Category Image v1.0.2
« Reply #231 on: June 11, 2009, 02:16:31 PM »
@V@no
Is it difficult to let the system to insert automatically first uploaded photo like a Category Image ? And after if somebody change his mind and doesn't like it , use this mod for edit/delete ? I think that everybody would appreciate it , they only need to remember that they must the category picture upload like a first one. I use this super mod , it saved me a lot of time but i have 1200 categories and i have to go everytime IN , see the number - go back to admin and insert it . Thanks Daniel

or to add another field to upload form - category image , and in case that you want this image like category image upload that there.

http://www.dancersrecruit.com/pictures/
4IMAGES 1.7.6 version/default theme
Apache version   2.2.11 (Unix)
PHP version   5.2.9
MySQL version   5.0.75-community-log
Architecture   x86_64
Operating system   Linux

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 #232 on: June 11, 2009, 04:13:55 PM »
It would require additional steps, meanwhile, you do know that you can edit an image (in ACP) and set it as cat image from that page, right (if you did step 6)? Don't need to remember any numbers.
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 4ella

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • http://www.dancersrecruit.com/pictures/
Re: [MOD] Category Image v1.0.2
« Reply #233 on: June 11, 2009, 04:51:44 PM »
@V@no
Yes , i know , it works very well too , but to do this after successful upload from control panel or from category(You helped me to redirect) everytime I have to go back to the category , to choose the picture, click on it , then click on edit , and open it in ACP - mark like u' ve said YES and then to go back again
or
 to find out the number ID and instead open the image in ACP to set YES I have to open category and fill out the number ID , with this change I should save many clicks (at least 5) to have my 1 category image immediately , I can do it , I'm not lazy, but my website is international and used mostly by the girls, so when they upload the pictures they don't know where they are, after every step they do , I have to make 1000 explanations in many languages on every page so I welcome every simple  time saving Mod . That's why i was happy when you showed me how to redirect to the category instead to control panel because after successful upload in control panel nobody knew where they are , where they can continue etc. Automatic image category would help them and visitors of the site better orientation without my intervention
To have the possibility to have immediately the category image after the first upload would be the best addon because I should save many clicks - in fact whole this present MOD operation .
Good thing would also should be if author of the category - to put radio button in upload form - Category image   YES    -    NO ,   
« Last Edit: June 11, 2009, 08:52:30 PM by 4ella »

http://www.dancersrecruit.com/pictures/
4IMAGES 1.7.6 version/default theme
Apache version   2.2.11 (Unix)
PHP version   5.2.9
MySQL version   5.0.75-community-log
Architecture   x86_64
Operating system   Linux

Offline GaYan

  • Sr. Member
  • ****
  • Posts: 301
  • ♫ | G2 | ♫
    • View Profile
    • Ziramagic
Re: [MOD] Category Image v1.0.2
« Reply #234 on: June 25, 2009, 10:38:21 AM »
is this posiible with 1.7.6 ?
I'm Back :)

Offline 4ella

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • http://www.dancersrecruit.com/pictures/
Re: [MOD] Category Image v1.0.2
« Reply #235 on: June 25, 2009, 11:05:05 AM »
Yes , I have 1.7.6  , it works excellent

http://www.dancersrecruit.com/pictures/
4IMAGES 1.7.6 version/default theme
Apache version   2.2.11 (Unix)
PHP version   5.2.9
MySQL version   5.0.75-community-log
Architecture   x86_64
Operating system   Linux

Offline GaYan

  • Sr. Member
  • ****
  • Posts: 301
  • ♫ | G2 | ♫
    • View Profile
    • Ziramagic
Re: [MOD] Category Image v1.0.2
« Reply #236 on: June 25, 2009, 05:19:51 PM »
Yes , I have 1.7.6  , it works excellent

can u pls explain me about editing the functions php .. its  hell of a mess  :D

Plesae help me..stpe by step would be great :)

Thanks in advance...im a new comer :)

www.nuwaragedara.com/wallpaper
I'm Back :)

Offline 4ella

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • http://www.dancersrecruit.com/pictures/
Re: [MOD] Category Image v1.0.2
« Reply #237 on: June 25, 2009, 06:09:35 PM »
Hi , I can be here 5 years and will be always newbie :D but if you want add me to the MSN or ICQ , and I can try to help you , but I only followed the steps from the first post , I have also static category icon MOD installed so it is a little bit more difficult , but happily it works great both Mods, so when I don't put my Static icon category it takes the icon from Category Image or on the contrary .

everywhere install 1.7.3 version and newer and functions.php doesn't seem to be too much difficult , I had no problem with that , will be here at night ROME CEtime , so I can help you out lately on MSN , ICQ , I can send you the code or part from my functions.php file

http://www.dancersrecruit.com/pictures/
4IMAGES 1.7.6 version/default theme
Apache version   2.2.11 (Unix)
PHP version   5.2.9
MySQL version   5.0.75-community-log
Architecture   x86_64
Operating system   Linux

Offline eddyman1us

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: [MOD] Category Image v1.0.2
« Reply #238 on: June 26, 2009, 06:23:32 AM »
Hi , this MOD does seem to be very promising.
I am unable to get this mod working on 1.7.7 , people say it is working on 1.7.6 , I believe it should be working fine in 1.7.7 too !
 I have tried and checked every changed file all the steps seem to correct .


I am not getting errors but I cant see any image beside the category , I have installed the catimage_install.php and also added $result = $cat_row; after $cat_image in categories .php

I also checked wether there is cat_image in the sql query and it is present but still I can see any image despite editing image_id in ACP multiple times .
I also tried to add  $cat_image = "blah";  and I cant see "blah" next to the cat image.

I have read the entire thread but still cant get it working any suggestions ????

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 #239 on: June 27, 2009, 01:57:09 AM »
1) did you enter image id at edit category page?
2) does image id stay (it actually should show you thumbnail too) after you save the category and come back at edit category page?
3) check step 4
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)