Advertisement:

Author Topic: Need help with some problems  (Read 6468 times)

Evelyne

  • Full Member
  • ***
  • Posts: 134
Need help with some problems
« on: December 02, 2013, 05:16:15 am »
I'm using OSClass 3.2.2 and real estate theme. I like it even though I don't use it for real estates.

Problems:

1)  all ads are shown on main page slideshow. I tried the fix mentioned on another post to show only premium. It works, but then the price of the product disappears and "Check with seller" shows instead, as a link, below the picture, not above.

I think the problem is in this code line suggested by the fix, but I don't know how to make it work as it should...
Code: [Select]
<?php if( osc_price_enabled_at_items() ) { ?><div class="price-premium"><?php echo osc_premium_formated_price().osc_premium_currency_symbol() ; ?></div> <?php ?>
2) all images on main page are distorted. They are somehow "strerched" and this is really ugly! How/where do I fix that?

3) I love the multi-currency option. But I don't like that prices are shown as "XX.XX Dollar US$". Why can't the SYMBOL become BEFORE the value? "US$ XX.XX"

4)  And then the options as "EUR", "GPB". Why can't it show as "€ [value]", "£ [value]"?

5) No need to write "Other currencies". It explodes beyond the title bar and, again, it's ugly. Can it be removed?

Thanks for your help. :)
« Last Edit: December 02, 2013, 10:56:28 pm by Evelyne »

webcat

  • Newbie
  • *
  • Posts: 5
  • One Cool Web Cat!
Re: Need help with some problems
« Reply #1 on: December 06, 2013, 06:15:19 pm »
I am having the US$ Currency Symbol issue too. I thought before I downloaded this script that it said it would allow you to change it, though I have yet to find that option, because when I simply enter the "$" in the "Currency Symbol" box...well...it's still backwards. That "has" to be where to do it, I guess there must be some special way though, have you figured it out yet @Evelyne? Surely the code should not have to be altered to achieve this

Evelyne

  • Full Member
  • ***
  • Posts: 134
Re: Need help with some problems
« Reply #2 on: December 25, 2013, 01:51:30 am »
UP!!! Help, please???

Btw, Merry Christmas everyone! :)

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Need help with some problems
« Reply #3 on: December 25, 2013, 11:19:52 am »
@Evelyne
1) I am not absolutely sure, but function osc_item_currency_symbol() and osc_premium_currency_symbol() do not give same result

2) It is only css work...

3)-4) You can edit currency symbol in admin panel: Settings > Currency. You can also edit order {Currency}{Symbol} or {Symbol}{Currency} in Settings > Languages > Edit Language

Evelyne

  • Full Member
  • ***
  • Posts: 134
Re: Need help with some problems
« Reply #4 on: December 25, 2013, 04:22:39 pm »
@Froestic

Thank you for helping! :)

@Evelyne
1) I am not absolutely sure, but function osc_item_currency_symbol() and osc_premium_currency_symbol() do not give same result

I found this topic and their solution seems to have worked:
http://forums.osclass.org/themes/premium-ads-problem-realestate-theme/


2) It is only css work...

I did figure that out :) but I wasn't able to figure out which css file and which section. Could you point me to the right direction? Thanks!

3)-4) You can edit currency symbol in admin panel: Settings > Currency. You can also edit order {Currency}{Symbol} or {Symbol}{Currency} in Settings > Languages > Edit Language

I tried this and it did reverse the order (currency x symbol), but id did not affect the options, they continue to show as EUR, etc... (see image attached)

Also, do you know where I can replace the "Other currencies" with something else? Is it in the languages files? Thanks again!

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Need help with some problems
« Reply #5 on: December 25, 2013, 04:53:42 pm »
@Evelyne
You can change US$ to i.e. $ in Settings > Currencies
I do not know what does Other Currencies mean and where it can be changed  :(

Evelyne

  • Full Member
  • ***
  • Posts: 134
Re: Need help with some problems
« Reply #6 on: December 25, 2013, 05:27:32 pm »
@frosticek

"Other Currencies" shows next to the main currency on top of the thumbnails when you're using the "Multi Currency" plugin. (see previous image I attached)

Do you know where in the css file I can adjust the 'stretching' of the thumbnails in the main page? Thanks!

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Need help with some problems
« Reply #7 on: December 26, 2013, 11:18:15 am »
@Evelyne
I am not using this plugin but probably you can change this word checking for files here.
CSS is saved in style.css (or main.css) files...

Evelyne

  • Full Member
  • ***
  • Posts: 134
Re: Need help with some problems
« Reply #8 on: December 26, 2013, 02:13:26 pm »
So... you don't know where in the css file I can adjust and fix the stretching of the pictures in the main page thumbnails?

That css is a mess!!! No best practices there at all... :(

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Need help with some problems
« Reply #9 on: December 26, 2013, 03:45:29 pm »
@Evelyne
I do not know URL of your website so I cannot know it  :D

Evelyne

  • Full Member
  • ***
  • Posts: 134
Re: Need help with some problems
« Reply #10 on: December 26, 2013, 04:35:53 pm »
css file is the same for everyone who downloaded the theme. Or isn't it?

tomshaft

  • Hero Member
  • *****
  • Posts: 862
  • Osshaft for Osclass - Add 650 posts to my total
Re: Need help with some problems
« Reply #11 on: December 26, 2013, 04:44:15 pm »
He likely is asking because many have modified their CSS so much that they no longer have or know the original line the code will be at.
 
I do not use the realestate theme but have a copy on my localhost. Mine shows at line 80 but mine is heavily modified.
 
Knowing the url a person can then use browser tools to get a specific answer to you.
 
Search CSS for and change to your liking.
   .ui-item-list .frame img {  width: 200px; height: 110px;}
 
  Tom 
« Last Edit: December 26, 2013, 04:46:03 pm by tomshaft »

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Need help with some problems
« Reply #12 on: December 26, 2013, 06:26:18 pm »
@Evelyne
If you post your url where the problem is, it can be solved very fast, especially css bugs.

Evelyne

  • Full Member
  • ***
  • Posts: 134
Re: Need help with some problems
« Reply #13 on: December 26, 2013, 06:57:13 pm »
Thank you tomshaft, you nailed it! :)

The stretching has been solved, thanks a lot!

Now the only thing to solve is the drop-down list on the multicurrency plugin. I've already posted a new topic under plugins.

And Tom, yes, I know that visiting the url helps solving specific cases, but I hadn't changed anything in the original css style, then I didn't understand why the url would be important... But thanks for helping. :)

Btw, as this is an official theme, they really should revisit the file. It's not compiling with "best practices" on writing codes at all! Computers may read that easily, but I'm only human, and finding what I need in that 'mess' is really a nightmare.

Thank you a lot again tomshaft!  ;D

tomshaft

  • Hero Member
  • *****
  • Posts: 862
  • Osshaft for Osclass - Add 650 posts to my total
Re: Need help with some problems
« Reply #14 on: December 26, 2013, 08:00:39 pm »
I will take a look at that other currency issue when I can but right now I don't have whatever plugin gives that feature.
 
Being your site does it would be only a few minutes to figure out with a url.
I do very much understand what your saying on the rest.
 
Tom