vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Portal Software - [Chris] Classifieds (https://vborg.vbsupport.ru/showthread.php?t=297847)

joeychgo 05-06-2013 09:08 AM

Just checked it again. Set a new ad for 30 days, immediately shows it expiring today

Christos Teriakis 05-06-2013 09:08 AM

Quote:

Originally Posted by sadiq6210 (Post 2420189)
Thanks dear

mmm will you support RTL chris? :o
Or I should start changing the direction in all templates manually?

What if you become the pioneer in Arabic world and start using LTR? :rolleyes::D. Sorry, I'm kidding. It's true that I'm always forgeting to use that align="{vb:stylevar left}", but if I remember well, in most cases i didn't used align at all.
I'll try to have the update version using the stylevars.

Chris

Christos Teriakis 05-06-2013 09:10 AM

Quote:

Originally Posted by joeychgo (Post 2420199)
Just checked it again. Set a new ad for 30 days, immediately shows it expiring today

Let me check it. If I did so novice-idiot mistake in calculations, I have to stop coding and start reading :)

tbworld 05-06-2013 09:10 AM

Quote:

Originally Posted by ChrisTERiS (Post 2420197)
I think that this is something that you need to ask to your hosting provider. Most probably is a function which resizes and then crops the uploade photo.

'ChrisTERis;' is right, that problem relates to a vulnerable PHP version. Talk to you host and update to a later version of PHP, anything above version 5.1.14. It was wise that they disabled 'sscanf' for that version of PHP.

http://web.nvd.nist.gov/view/vuln/de...=CVE-2006-4020


ChrisTERis - Thanks for sharing your hard work! :)

Christos Teriakis 05-06-2013 09:30 AM

Quote:

Originally Posted by joeychgo (Post 2420198)
Yes, I set that to 30

Sorry, I can't reproduce it as you can see at: http://www.christeris.net/dev42/classifieds.php
I added 4 ads, all different types. Expiration was ok. Then I edited all of them one by one by changing the duration (you can see in title saying (+3)..(+2) etc). All ok.
So let's try to find what's wrong in your side. In the place where you need to add the days there is a description below. What it says? If you've set as max 30, must says something like "Max 30 days". Does it says it?. Also are you sure that you've entered something in the days field. By letting it to "0" does not means that it will takes the maximum duration of 30 days.

joeychgo 05-06-2013 09:37 AM

See: Notice there is no number next to Max

sadiq6210 05-06-2013 09:39 AM

Quote:

Originally Posted by ChrisTERiS (Post 2420200)
What if you become the pioneer in Arabic world and start using LTR? :rolleyes::D. Sorry, I'm kidding. It's true that I'm always forgeting to use that align="{vb:stylevar left}", but if I remember well, in most cases i didn't used align at all.
I'll try to have the update version using the stylevars.

Chris

Hah :p
With Arabic people? Impossible :D
I will be alone in my website : p

I will wait that update Chris and appreciate it :rolleyes:

BTW, these pages is already supported RTL:
- Post classified
- My classifieds
- Moderate classifieds

Christos Teriakis 05-06-2013 10:01 AM

Quote:

Originally Posted by joeychgo (Post 2420207)
See: Notice there is no number next to Max

Strange. Is this user having additional membergroupids or belongs just to one usergroup?

Christos Teriakis 05-06-2013 10:23 AM

Quote:

Originally Posted by joeychgo (Post 2420207)
See: Notice there is no number next to Max

Don't waste your time anymore. I found the bug and need some time to fix it. The max is empty only to users who belong to more than one usergroups. Even if I'm checking all the usergroups to get the maximum allowed value, maybe I've something wrong in calculation.

Hold on...........

Christos Teriakis 05-06-2013 10:52 AM

I just realized that I left some templates uncached. I'll release an update later today.

Chris


All times are GMT. The time now is 06:12 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01411 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete