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)

Trek 03-06-2009 08:42 PM

I gave this a shot anyway, getting the blank page others have mentioned. Tried turning off gzip, no help. Using vb 3.8.

I checked my log files, can't find anything wrong, you can see here, i get back an HTTP 200, so the file was ok.

[06/Mar/2009:16:41:20 -0600] "GET /classifieds.php HTTP/1.1" 200 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 (.NET CLR 3.5.30729)"

the blank page is very much blank too, no source to view at all.

pattycake 03-06-2009 09:10 PM

Quote:

Originally Posted by Trek (Post 1762039)
I gave this a shot anyway, getting the blank page others have mentioned. Tried turning off gzip, no help. Using vb 3.8.

I checked my log files, can't find anything wrong, you can see here, i get back an HTTP 200, so the file was ok.

[06/Mar/2009:16:41:20 -0600] "GET /classifieds.php HTTP/1.1" 200 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 (.NET CLR 3.5.30729)"

the blank page is very much blank too, no source to view at all.

Give me this info and I MIGHT be able to help.

what is the EXACT link to your forum?
what is the EXACT link to classifieds.php

what is the FULL path to your forum?
what is the FULL path to your classifieds folder?
what is the FULL path to classifieds.php?

Trek 03-06-2009 09:53 PM

PM sent, thanks PattyCake!

PossumX 03-07-2009 12:09 AM

Nice stuff.

As you go on to this, if a usergroup does not have the permission to delete their classified ad, is there anyway you could code it so the menu option does not exist for that usergroup? As it stands now, the delete selection is there, and it blows a permission error php page, which can be confusing for users.

imedic 03-07-2009 06:05 AM

I have added a new currency (local one, used most often) by editing xml file and adding in both locations where those 12 currencies and I have add the 13th.
I re upload the product and it appears in the menu but when selected the (RON) sign does not appear in the add next to the amount as in other currencies. If I select other currency all works.

I have used same format "...selected</if> >Lei Noi (RON)</option>" as in the rest.

How can I add RON next to the amount?

How can I put RON as default currency (already selected) instead of Australian Dollar ?
I just edit xml file and put RON in number 1 and move Australian dollar? My guess is I need to do more...

dklassen 03-07-2009 05:37 PM

Everything looks good but my photos aren't showing. I did chmod the correct dir's to 777. Thoughts?

pattycake 03-07-2009 08:02 PM

go to your classifieds/photos folder and see if they are there.

dklassen 03-07-2009 08:53 PM

None there.

imedic 03-07-2009 10:42 PM

Did u set permissions in group permissions so you can upload pictures?

pattycake 03-08-2009 02:57 AM

it's the same problem I am having now on my new server - worked fine on my test server which was windows but I moved everything over to the new redhat server today and now, all uploads are failing - I'm guessing that it's a permissions problem on the server.

EDIT: Found my problem... my linux distro did not have GD installed. Look at your phpinfo and make sure you see GD installed. I ended up having to do a:

yum install php-gd
service httpd restart

and everything lit up !

Ckrismoney 03-08-2009 06:33 AM

I would love to make users pay to post in some categories, is this possible?

MaryTheG(r)eek 03-08-2009 07:50 AM

Quote:

Originally Posted by Ckrismoney (Post 1763036)
I would love to make users pay to post in some categories, is this possible?

You can do it. Much more you can setup different price per category/subcategory.

Mary

smnet 03-08-2009 11:22 AM

Thanks Mary!!

Nice to see timely releases when things go wrong - wish all mod authors could do that.

Hat off to ya ;)

Peejay 03-08-2009 12:29 PM

Would there be any way of restricting a user group to only being able to submit Paid Adverts and another usergroup to Free Adverts?

I ask this as what we would like to do is allow paid up members of the forum (our VIP members) to be able to advertise anything they like for free and standard registered users to have to pay to advertise.

We've had a lot of issues of people signing up to the forum just to sell something and then buggering off, this does nothing for the community. If they have to pay to place an advert then that is at least a small contribution to the community.

Any help would be greatly appreciated :D

Dr. Bantham 03-08-2009 01:39 PM

Many thanks for this!

I have installed the latest version (1.2.0) and I cannot seem to upload images. The process resolves without errors, but the images are not there. I have double-checked the folder permissions (777) and usergroup settings, but everything appears correct. Ideas?

hala_hlol 03-08-2009 05:41 PM

Quote:

Originally Posted by MicroHellas (Post 1754302)
Have you setup for user to not be able to change Theme? In anycase, try a trick. Open classifieds.php and change 46:

From:
Code:

$vbulletin->userinfo['styleid'] = $styleid;
To:
Code:

$vbulletin->userinfo['styleid'] = $vbulletin->options["classifieds_styleid"];
PS- I tried to reply to your PM, but you've choosen to not receive PMs from members here, so it was impossible to reply.

Mary

sorry abut that!

and can you send me pm your pay pal email

i available the pm now

thank you

and abut my issue

it's not works

altious 03-09-2009 04:22 AM

Thanks for the Mod

Installed and work fine. However is there a way to remove the paypal email and change it to regular user email? and how to add a new currency? Thanks

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

Quote:

Originally Posted by hala_hlol (Post 1763335)
sorry abut that!

and can you send me pm your pay pal email

i available the pm now

thank you

and abut my issue

it's not works

I tried to send you PM but you've block to receive PMs from members. As for your issue, read somewhere here, there is a post for it.

Mary

MaryTheG(r)eek 03-09-2009 04:53 AM

Quote:

Originally Posted by altious (Post 1763755)
Thanks for the Mod

Installed and work fine. However is there a way to remove the paypal email and change it to regular user email? and how to add a new currency? Thanks

When I'll find some free time I'll post an update about the email address. As for currencies, currently are hard coded, you can read a post here how to add a new one. In the upcoming update, the currency list will be in admincp.

Mary

imedic 03-09-2009 07:10 AM

Quote:

Originally Posted by MicroHellas (Post 1763769)
... In the upcoming update, the currency list will be in admincp.

Mary

Super to hear that. :)
As for adding new currency I did not find post here how to do it but I have edited xml file by searching for USD and you will find 2 instances where currency appear. You need to copy and add extra line in both instances with your currency. Re-upload xml. Do not change what it is but just add 13th line with your currency in both locations.
Hope this help. For me was a reasonable fix until next update :)

Andrew johnson 03-09-2009 07:28 AM

Quote:

Originally Posted by MicroHellas (Post 1763769)
When I'll find some free time I'll post an update about the email address. As for currencies, currently are hard coded, you can read a post here how to add a new one. In the upcoming update, the currency list will be in admincp.

Mary

super - its will be great for me too

WEBDosser 03-09-2009 07:17 PM

getting this:
Quote:

You don't have permissions to add more photos. Please upgrade, or remove old ones
how to solve pls

pattycake 03-09-2009 07:22 PM

Quote:

Originally Posted by Dr. Bantham (Post 1763181)
Many thanks for this!

I have installed the latest version (1.2.0) and I cannot seem to upload images. The process resolves without errors, but the images are not there. I have double-checked the folder permissions (777) and usergroup settings, but everything appears correct. Ideas?

I put some error logging code into classifieds.php:
-------------------------------------------------------
09.03.2009 14:13:02 start classifieds NEW
09.03.2009 14:13:02 before define CDIR
09.03.2009 14:13:02 after define
09.03.2009 14:13:02 before require once init
09.03.2009 14:13:02 using/var/www/html/vb368/includes/init.php
09.03.2009 14:13:02 AFTER require once init
09.03.2009 14:13:02 before require once global
09.03.2009 14:13:02 AFTER require once global
09.03.2009 14:13:02 checking maxphotos
09.03.2009 14:13:02 maxphotos=10
09.03.2009 14:13:02 cnt=0
09.03.2009 14:13:02 checking photo names
09.03.2009 14:13:02 photo names NOT EMPTY...
09.03.2009 14:13:02 photo names NOT EMPTY2... filename=FAV2B.GIF
09.03.2009 14:13:02 start of foreach
09.03.2009 14:13:02 done with upload
----------------------------

The "foreach" code is:
Code:

foreach($photos['name'] as $key => $photoname)
Had the code ever entered the "foreach" loop, there would have been a LOT more entries logged instead of the last "done with upload". I could be wrong but it looks to me like the "upload" code broke when multiple image upload was added in 1.10

EDIT:
I JUST DOUBLED CHECKED TO BE SURE... I USED THE UPLOAD CODE FROM VERSION 1.0 AND THE UPLOAD WORKED FINE.
I STAND BY MY ORIGINAL STATEMENT - "LOOKS LIKE THE UPLOAD CODE WAS BROKEN WHEN MULTIPLE IMAGE UPLOADS WAS ADDED IN VERSION 1.10" - THE SAME CODE IS USED IN VERSION 1.2


.

WEBDosser 03-09-2009 07:28 PM

yes that is maybe it because i know it did work and now it don't

pattycake 03-09-2009 07:34 PM

Quote:

Originally Posted by WEBDosser (Post 1764278)
yes that is maybe it because i know it did work and now it don't

no maybe... that is definitely the problem. Another 2 hours wasted chasing this down.

pattycake 03-10-2009 01:47 AM

Quote:

Originally Posted by WEBDosser (Post 1764269)
getting this:

how to solve pls

it's another bug in the program... Admin CP --> Usergroups - -> Classifieds Permissions
then look at "Maximum amount of uploaded photos?"

It's supposed to be PER AD but the code shows that it's really PER PERSON. See my previous post on how to fix - one line of code to change.

jer2eydevil88 03-10-2009 02:27 AM

I have a custom stylee for my site and it is the only theme enabled in style manager. My custom style works fine with all the other mods I have in place but I have a problem with this mod. The style is working fine for all accounts except the administrator account, my admin accounts reverts back to the default style whenever I load this mod.

I am able to see the mod fine with my custom theme when I am logged into a lower privileged account and able to browse the site fine as a guest.

Any Ideas?

tommac3 03-10-2009 03:09 AM

Quote:

Originally Posted by MicroHellas (Post 1759848)
Hello,

A new version (1.1.0) is available for download. On this version I've added multiple photo upload. To upgrade, upload classifieds.php and re-import product-classifieds.xml

Mary


Pictures still dont upload. I can choose multiple but they dont upload. I think there is a step missing ... like the one where you choose the picture then click on attach or upload to save it into the web browser.

WEBDosser 03-10-2009 05:23 AM

well now.. this is working again now, it did not work because i created a new usergroup and forgot to add permissions for it.. as soon as i did add them the classifieds works again and uploaded all the pictures?..

happy :)

Bulldog Stang 03-10-2009 08:02 AM

Well, I tried turning off the GZIP thing and nothing ... I installed the new version and nothing. I guess that this hack is not compatible with vbCMPS. I saw that another user who is running that had the same issues as me ...

Sorry, but UNINSTALLED

MaryTheG(r)eek 03-10-2009 09:18 AM

Quote:

Originally Posted by Bulldog Stang (Post 1764692)
Well, I tried turning off the GZIP thing and nothing ... I installed the new version and nothing. I guess that this hack is not compatible with vbCMPS. I saw that another user who is running that had the same issues as me ...

Sorry, but UNINSTALLED

Sorry but seems that there is a confusion. If I'm right this is a site for mods for vBulletin. Right? Why are you confusing other members posting bugs for vBa? If I've ready mods to use for vBa I'll post them in their site.

Mary

MaryTheG(r)eek 03-10-2009 09:20 AM

Quote:

Originally Posted by tommac3 (Post 1764568)
Pictures still dont upload. I can choose multiple but they dont upload. I think there is a step missing ... like the one where you choose the picture then click on attach or upload to save it into the web browser.

Check your server's configuration. If something is not working due to error in coding, it dosen't works for all. It's impossible to work for some and not for the rest. And if you read the posts, you'll see that most of the users came back saying "Oh sorry, I forgot this... or I forgot that".

Mary

MaryTheG(r)eek 03-10-2009 09:22 AM

Quote:

Originally Posted by pattycake (Post 1764531)
it's another bug in the program... Admin CP --> Usergroups - -> Classifieds Permissions
then look at "Maximum amount of uploaded photos?"

It's supposed to be PER AD but the code shows that it's really PER PERSON. See my previous post on how to fix - one line of code to change.

It's per ad. I checked it in my installation. Sorry I can't accept anthing as bug from you after so many modifications that you did.

Mary

MaryTheG(r)eek 03-10-2009 09:26 AM

Quote:

Originally Posted by pattycake (Post 1764281)
no maybe... that is definitely the problem. Another 2 hours wasted chasing this down.

As you can read above, it was "Maybe" and not definitely as you came so easy to your post. He has forgotten to setup usergroup permissions.
Once again, I'm not accepting any more bugs from you, as you've did (according to your post before) lots of modification. So I'll appreciate if you don't confuse the other members.
Also version 1.2.0 has only template caching changes and nothing more.

Mary

pattycake 03-10-2009 12:02 PM

Quote:

Originally Posted by MicroHellas (Post 1764738)
Once again, I'm not accepting any more bugs from you, as you've did (according to your post before) lots of modification. So I'll appreciate if you don't confuse the other members.
Mary

no problem... you haven't fixed any of the bugs anyway so no big loss. I gave you the exact locations of your bugs and you still left them in the later releases.

Rack up another "uninstalled".

pattycake 03-10-2009 12:12 PM

Quote:

Originally Posted by MicroHellas (Post 1764737)
It's per ad. I checked it in my installation. Sorry I can't accept anthing as bug from you after so many modifications that you did.

Mary

its NOT per ad...

WHERE userid=$userid"); COUNTS PER USER.... NOT PER AD.

Plug the code into an SQL statement from the mysql command line and you'll see that it is PER USER and NOT per ad.

I'm done with this....

tommac3 03-10-2009 10:34 PM

what would cause the pictures not to load?

Andrew johnson 03-11-2009 03:16 AM

i have update - my classifieds is working perfectly - no issues so far but its clashing with other mods - its shows up the blank page but when i disable the other mod - the classifield is working fully
the mod that causing the problem was VBcommerce and VBcredit from VBcredit com - which i use for my forum
i don't uninstall yet but i like see a updates and bug fixes soon as can

externalaw.com 03-11-2009 05:13 AM

Hello all,

Nice stuff, thanks for making this!

Much to my surprise there seems to be no questions about the forumhome, is there any way we can put the latest classifieds on the forumhome?

A link to our classifieds in postbit?

Is there a rating system to be used to keep track of good sellers/bad sellers, much like ebay?
I think I saw one of those here once, but cant seem to locate it now.

But the forumhome/postbit would be really nice.

Bulldog Stang 03-11-2009 07:59 AM

Quote:

Originally Posted by MicroHellas (Post 1764732)
Sorry but seems that there is a confusion. If I'm right this is a site for mods for vBulletin. Right? Why are you confusing other members posting bugs for vBa? If I've ready mods to use for vBa I'll post them in their site.

Mary

Ummm, I am NOT using vbA... I am using vbCMPS, which is a FRONT PAGE hack .... I am using vBulletin 3.8.1.

I, like many others am having issues. All i get is the BLANK WHITE PAGE. I have read this entire thread and tried every suggestion there is in here and still I could not get it to work. I am not knocking your hack, I simply stated that it must not work with vbCMPS. I dont have any of the other mods that are listed as conflicts here, so it must be the vbCMPS.

I have uninstalled and reinstalled numerous times and still I get the blank white page....


All times are GMT. The time now is 07:46 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.02074 seconds
  • Memory Usage 1,846KB
  • 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
  • (3)bbcode_code_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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