Author Topic: categorie image random  (Read 8655 times)

0 Members and 1 Guest are viewing this topic.

Offline satine88

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
categorie image random
« on: November 14, 2009, 12:25:50 PM »
Hello,
Is it possible to set the home page just the thumbnail that
would represent each class (not [MOD] Category Image v1.0.2), but
a mod or images are displayed randomly.

I remove the block classes and put the new system.

Is this possible?
Thank you

Offline satine88

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
Re: categorie image random
« Reply #1 on: November 15, 2009, 07:32:36 PM »
Hello,
anyone know if this is possible?

Thanks

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: categorie image random
« Reply #2 on: November 15, 2009, 09:44:35 PM »
... maybe this ... ?
... Show a (randomly) thumbnail instead of a folder icon next to category : http://www.4homepages.de/forum/index.php?topic=6675.0 ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline satine88

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
Re: categorie image random
« Reply #3 on: November 16, 2009, 07:54:50 PM »
Hello,
Thanks mawenzi :)
I am applying here : http://www.4homepages.de/forum/index.php?topic=26297.0
so I installed the mod : http://www.4homepages.de/forum/index.php?topic=6922.0
then make the change presented here http://www.4homepages.de/forum/index.php?topic=6675.0

when I click on a category, I have this error:

Code: [Select]
Warning: main(admin_global.php) [function.main]: failed to open stream: No such file or directory in /homez.312/iphonefo/www/categories.php on line 27

Fatal error: main() [function.require]: Failed opening required 'admin_global.php' (include_path='.:/usr/local/lib/php') in /homez.312/iphonefo/www/categories.php on line 27

In categorie line 27 :
Code: [Select]
require('admin_global.php');

admin_global.php on my server

Thanks :)

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: categorie image random
« Reply #4 on: November 16, 2009, 08:36:53 PM »
... to show a (randomly) thumbnail instead of a folder icon next to category, you need only this ...
... http://www.4homepages.de/forum/index.php?topic=6675.0 ...
... and therefor you need only a modifiying of your template file category_bit.html and this can not cause the displayed error ...
... so ...
... restore your backups (you don't need v@no's mod therefor) and make only the changings in category_bit.html ...
... b.t.w. I use the modification by Chris since years ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline satine88

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
Re: categorie image random
« Reply #5 on: November 16, 2009, 09:17:16 PM »
Thank you for your help Mawenzi
I put the files I had saved.
But I had not saved my sql database, do you know if there is a way to "go
back?

Thank you

Ps: Sorry if do not always understand what I said, I'm French and I am using English.
Thank you anyway for your many helpers!

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: categorie image random
« Reply #6 on: November 16, 2009, 09:40:51 PM »
... mmm ... with phpMyAdmin you can delete in table "4images_categories" the row "cat_image" ...

... I'm French and I am using English ...

... I know ... ;)
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline satine88

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
Re: categorie image random
« Reply #7 on: November 16, 2009, 11:54:08 PM »
... mmm ... with phpMyAdmin you can delete in table "4images_categories" the row "cat_image" ...

... I'm French and I am using English ...

... I know ... ;)

lol :)

Thank you, I solved the problem!
Last question: do you know how to change the number of columns when displaying home.htm in the category? (and in which files?)

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: categorie image random
« Reply #8 on: November 17, 2009, 01:30:55 AM »
... only via ACP ... ;)
... ACP -> General -> Settings -> Category settings -> Number of table cells -> [ and here your number of columns ] ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline satine88

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
Re: categorie image random
« Reply #9 on: November 17, 2009, 06:41:27 PM »
Thanks ! :)