Advertisement:

Author Topic: [SOLVED] Photos popup and Votes module  (Read 1549 times)

Aficionado

  • Guest
[SOLVED] Photos popup and Votes module
« on: March 16, 2013, 07:18:25 pm »
Hello.

I have two small problems in my evaluation installation that i'm unable to solve.

1. The photos attached to each post, when clicked they open a new window. I see other OSCLASS installation that open the photo using a modal. I haven't found any configuration about it. I'm using the default (modern ?) theme.

2. The vote plugin doesn't seem to work or show, no matter what i did. I have tried all settings with no luck at all.

I'm running all that under Windows php, if it makes any difference, until Monday that i will get a proper non-windows account.

Thanks



« Last Edit: March 18, 2013, 02:21:10 am by Aficionado »

Aficionado

  • Guest
Re: [SOLVED] Photos popup and Votes module
« Reply #1 on: March 18, 2013, 02:22:26 am »
The Vote plugin doesn't work well with my test Windows php account. Works well with a proper hosting plan for php.

The Image problem, apparently it was a skin (and still is) problem, because using other themes works well.


mmcsus

  • Hero Member
  • *****
  • Posts: 704
  • Open Source
Re: [SOLVED] Photos popup and Votes module
« Reply #2 on: March 19, 2013, 12:24:54 am »
@Aficionado

The modal your talking about is "Fancybox" and there is a fix for that, edit your oc-content/themes/modern/item.php in the head.

Look here:

https://github.com/osclass/Osclass/commit/cd9f75080f42d681be2e6bce709269073c0bcec2

The second edit you see in gethub "gui" is a fail safe for your site. (If your site is broken it will default to "gui") so in other words you don't really need to do that edit.
« Last Edit: March 19, 2013, 12:42:32 am by mmcsus »