vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Classifieds (https://vborg.vbsupport.ru/showthread.php?t=205465)

MaryTheG(r)eek 03-05-2009 08:24 AM

Quote:

Originally Posted by pattycake (Post 1760875)
no problem... I fixed it on the version that I downloaded from here - it shows version 1.0.0

another quick question - do you check on max image size and if so, is there a setting where I can change this?

Max size in Kb or in dimensions?. I'm checking dimensions. Please try to understand something very important on coding. By adding lot's of restrictions, means lots of checks, something that is not so good to performance. Sometimes by using just simple logic is better. By allowing just gif,jpg,png on a max width eg 600, the photo only in a very few situations should be more than 200kb. So why to add one more restriction? I can accept this filesize restriction on audio and video files, but not on photos.

Mary

pattycake 03-05-2009 09:25 AM

Quote:

Originally Posted by MicroHellas (Post 1760883)
Max size in Kb or in dimensions?. I'm checking dimensions. Please try to understand something very important on coding. By adding lot's of restrictions, means lots of checks, something that is not so good to performance. Sometimes by using just simple logic is better. By allowing just gif,jpg,png on a max width eg 600, the photo only in a very few situations should be more than 200kb. So why to add one more restriction? I can accept this filesize restriction on audio and video files, but not on photos.

Mary

I can have a 4000x4000 image that is less than 20k.
If I set the limit to 800x600 in the options, this image, although very small in bytes, would not be allowed if I set the limits based on width/height.

The check can be for size in pixels, or the check can be for size in bytes. You chose dimensions - I respect your decision, but I don't necessarily agree with it.

>Please try to understand something very important on coding

Thanks for the coding tip - I pretty much learned that long before I finished my masters degree in computer science.

btw: I had already added the multiple file upload before you released your 1.10 yesterday... I also added the ability to upload in .zip format and.... added additional "pay" options, added a maximum number of active ads per usergroupid option, and... changed the ad listings to show the title, the user, the price, and the expire date in tabular format in the "classifieds_categorieslistingadline" instead of just the title of the ad. Your original code however saved me a ton of work and for that, I definitely thank you.

MaryTheG(r)eek 03-05-2009 09:51 AM

Quote:

Originally Posted by pattycake (Post 1760909)
Thanks for the coding tip - I pretty much learned that long before I finished my masters degree in computer science.

Lucky you. Bad luck for me, being 1st child of a 5 children family, I had to stop the hight school and start working since my age of 15, to be give the opportunity to the upcoming boys of the family to be able to study. Bad, but true fact in Greece of 1970, that women are just to serve family. But I had the curage to finish hight school when I was 40. What I know (in programming and Englihs language) are things that I self-teached by reading books and I can say that since 1984 that for first time I started programming in dBase II, I've lots of projects around.

Mary

sNator 03-05-2009 10:27 AM

Quote:

Originally Posted by sNator (Post 1759891)
I have the same problem and your fix doesn't help. I want the style selection to work like all other vbulletin pages or an option to not use a specific Style.

I made comment on this row
PHP Code:

 $vbulletin->userinfo['styleid'] = $styleid

and now it works the way I wan't.

pattycake 03-05-2009 10:55 AM

Quote:

Originally Posted by MicroHellas (Post 1760919)
Lucky you. Bad luck for me, being 1st child of a 5 children family, I had to stop the hight school and start working since my age of 15, to be give the opportunity to the upcoming boys of the family to be able to study. Bad, but true fact in Greece of 1970, that women are just to serve family. But I had the curage to finish hight school when I was 40. What I know (in programming and Englihs language) are things that I self-teached by reading books and I can say that since 1984 that for first time I started programming in dBase II, I've lots of projects around.

Mary

No luck here... I ran away from home when I was 16, got a job and finished high school on my own in a city 200 miles from my parents. Worked to pay for college , dropping out whenever I ran out of money, back in again when I had saved enough for a semester or two. It took me 6 years to get a 4-year undergraduate degree in mechanical engineering... worked 10 years in research and development at Cummins Engine, then quit my job and went back to get a masters in computer science at age 35.

btw: I taught college programing for a while to help get me thru grad school - your coding is pretty good... especially for being self-taught - kudos to you.

Ok, enuff slobbering over each other.... back to "Classifieds"... sorry for the interuption folks.


.

Bulldog Stang 03-05-2009 12:59 PM

Add me the list of Blank Page being viewed. I have read all the pages in this thread and have not found a fix for the Blank Page. I followed all of the instructions to a "T". I have uninstalled and re-installed, and still nothing. I am running 3.8.1 like all the others that have this issue.

Subscribed to this thread waiting for a fix.

taytaysdad 03-06-2009 02:00 AM

Hey Mary!

Wondering if you can tell me how to point the classifieds link in the navbar on my homepage to the right place. Inside the forum it works perfect, but I have the cmps installed and on the homepage it cant find classiieds.php...should I move something out of the forums folder? I know Im missing something....

ANy help is appreciated.:confused:

MaryTheG(r)eek 03-06-2009 03:26 AM

Quote:

Originally Posted by Bulldog Stang (Post 1761013)
Add me the list of Blank Page being viewed. I have read all the pages in this thread and have not found a fix for the Blank Page. I followed all of the instructions to a "T". I have uninstalled and re-installed, and still nothing. I am running 3.8.1 like all the others that have this issue.

Subscribed to this thread waiting for a fix.

Try a trick that I found that sometimes works. From vBulletin Options choose Cookies and HTTP headers options and set to NO GZIP HTML Output.

Mary

pattycake 03-06-2009 03:21 PM

Quote:

Originally Posted by taytaysdad (Post 1761513)
Hey Mary!

Wondering if you can tell me how to point the classifieds link in the navbar on my homepage to the right place. Inside the forum it works perfect, but I have the cmps installed and on the homepage it cant find classiieds.php...should I move something out of the forums folder? I know Im missing something....

ANy help is appreciated.:confused:

what is the link to your forum?

add classified.php to that link and it should work

ie. if the link is http://yourwebsite/forum
use http://yourwebsite/forum/classifieds.php

Trek 03-06-2009 08:25 PM

Is it possible to use this with "virtual" currency? Actually, I'd rather NO currency. I'd like for people to be able to put up an add and say "this much" but not have any sort of paypal, etc...

Basically, I have members that offer virtual items in a game. I don't want anything to do with real money, etc. More of a "contract" if you will if someone buys something.


All times are GMT. The time now is 02:14 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.01789 seconds
  • Memory Usage 1,757KB
  • 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
  • (1)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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