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)

glen290 03-25-2009 01:33 PM

Got this working today after changing the usergroup permission to upload photo's.
Great mod and perfect for my sites needs..thanks

Just a quick question though, how can I set it so the ads can only be edited or deleted by the poster, obviously as admin i want total control, but dont want one poster to be able to edit another persons ads, if you see what i mean ?

RedFoxy 03-25-2009 05:47 PM

mmm I've installed it, but i've a lot (realy a larg amount) of feedback with itrader, there is a way to import it or to use itrader with classified?

powerful_rogue 03-28-2009 08:07 PM

I must have had an older version which I installed then uninstalled.

When I try to install this version I get the following error: -

Database error in vBulletin 3.8.1:

Invalid SQL:
ALTER TABLE usergroup ADD classifieds INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL;

MySQL Error : Duplicate column name 'classifieds'
Error Number : 1060

tommac3 03-28-2009 08:18 PM

Did all of the stuff you recommended and I still get:
Quote:

You don't have permissions to add more photos. Please upgrade, or remove old ones
drwxrwxrwx 4 myuser mygroup 4096 Feb 28 13:53 photos
drwxrwxrwx 2 myuser mygroup 4096 Feb 28 13:53 tmp
drwxrwxrwx 2 myuser mygroup 4096 Feb 28 13:53 thumbs


Help Classifieds Permissions
Can use Classifieds? Yes
Can add classified? Yes
Can edit classified? Yes
Can delete classified? Yes
Can approve classifieds? Yes
Maximum amount of Sponsored classifieds? 10
Maximum amount of Premium classifieds? 10
Maximum amount of uploaded photos? 10000




Quote:

Originally Posted by MicroHellas (Post 1776566)
That's at least funny to say something like this while there are 200+ installations working well. So, for last time I'm repeating the right procedure:
  1. Set usergroup permissions to upload photos (number of photos). Please note that "0" dosen't means unlimited, but exactly 0 (zero), user can't upload photos.
  2. Uploading images with classifieds is totally independed on how you've setup vB to upload/store images (eg on webspace or in database). All uploading images with classifieds are uploading at: classifieds/photos and classifieds/photos/thumbs for thumbnail.
  3. Double check that directories below first of all exist, and second that they have writting permissions (777):
    1. classifieds/photos
    2. classifieds/photos/thumbs
    3. classifieds/photos/tmp
If everything of above are set correctly then you must be able to upload images. BUT!!! there is a big but.... unfortunatelly I've seen sites having soooo manyyyy mods. That's a sure way to make your vB installation upside-down. Latelly I visited a site to check this problem (not image upload) on my own. Its true that when I tried with admin's details it was impossible to upload. Then I registered as normal user to that site. Guess what I was able to upload. After this I asked the site owner to upgrade my account giving it admin rights. Voila, I was able to upload again. So the fact is that any user, belonging to any usergroup was able to upload except the user "xxxxx". Sorry but after it, you can't say that the error comes from the code. For sure is coming from something wrong in your installation.

Thank you
Mary


htscpl 03-28-2009 10:48 PM

Quote:

Originally Posted by htscpl (Post 1774917)
I can't seem to get the photos to upload.

Check server permissions set photo and thumbs to cmo 777. Checked user group permissions even added a higher limit for myself but still no luck.

Just downloaded and re-loaded all scripts in case I was missing something... still not working.

I'm open for suggestions on where to look next. :o


OK, solved my problem with the photo uploads... went and edited the "Secondary" User Group permissions to allow photos and now it works!

So if you are still having problems uploading photos to the classified, check what secondary user groups you have and change the photo upload limit to something greater than zero.

Thanks Mary for a great mod! :D

tommac3 03-29-2009 07:45 PM

Quote:

Originally Posted by htscpl (Post 1779360)
OK, solved my problem with the photo uploads... went and edited the "Secondary" User Group permissions to allow photos and now it works!

So if you are still having problems uploading photos to the classified, check what secondary user groups you have and change the photo upload limit to something greater than zero.

Thanks Mary for a great mod! :D

Great!!! it now works ... thanks for supporting this mod.

I feel this is a minor bug. Shouldnt either 1) only check perms vs primary group OR 2) check the group with the max privs OR 3) provide the group name that does not have the perms to post pics.

tteal 03-30-2009 07:18 PM

Can't upload pics no matter what I do. I've tried editing secondary usergroups, etc :(

Keith_ 03-30-2009 08:17 PM

I am getting a error... "No input file specified."

I get this when I am in my admin trying to add a cat...

Any help?

glen290 03-31-2009 08:25 AM

Quote:

Originally Posted by tteal (Post 1780565)
Can't upload pics no matter what I do. I've tried editing secondary usergroups, etc :(


I found as Admin it wouldnt let me upload pics, but when i set up a test account had no issues at all..

VBUsers 03-31-2009 08:43 PM

thank you and it works great


All times are GMT. The time now is 05:14 AM.

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.01505 seconds
  • Memory Usage 1,746KB
  • 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
  • (5)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