View Full Version : Major Additions - SR Classifieds 1.0.2 Light
Gio~Logist
04-08-2006, 10:00 PM
Brought to you by:
DopeGFX (http://www.dopegfx.com)
-----------------------------------------------------------------
LOGOS | WEBSITES | SKINS | HTML | PHP(Limited) | AND MUCH MUCH MORE!
-----------------------------------------------------------------
In Conjunction With
SiteResort (http://www.siteresort.com)
**Attention**
This hack is now being released as a "Lite" version. All existing features are still there, do not worry. However, a premium version is comming soon and will have even more features. This hack will continue to be supported. The only difference is that a premium version is comming shortly with more features.
**Copyright**
This script cannot be redistributed, reproduced, or published in any way unless given permission my the author (me). Modifying this script and sharing your modification elsewhere without the author's knowledge is not allowed as well. The following text on the script is not to be taken off:
SR Classifieds, By www.siteresort.com (http://www.siteresort.com/)
**Before Making An Add on **
Please consult with me before making an add on to this hack. As it is my work and such, the add ons that you are trying to make for it may be in the next release and/or premium version.
Changelog:
4-13-06
* Security patch while editing ads (there was a little hole) All that needs to be done is reuploading sr_classifieds.php
Changelog:
4-11-06
* Admins can delete feedback
* User profile fixed (minor template issues)
* Ad type shown in adbit
* No more error message when saving field
Changelog:
4-9-06
* There was a problem with a code that made it so that if you didn't have an image in an ad and then edited that ad to include an image, it overwrote noimage.gif (which is not good!). This was fixed!
* Ad ID Number now shows in an ad
* Price now shows in an ad
What does this do?
This hack gives you a classified ad system. Multiple categories can be created and users can post ads in these categories. Other users can then rate them and give them feedback accordingly.
What features does this hack provide?
Main page with statistics, categories, recent activity, etc.
Ability to arrange ads in categories
Categories can have their own images
See how many total, closed, and open ads are in each category.
Ratings and category counts are automatically rebuilt
After the timeframe of the ad is up, the ad is closed
Add new classified ads with images, description, title, and more!
Users have their own page where feedback and such shows.
Paypal button is automatically generated if the user enters a paypal email address. Clicking this button will allow the user to buy whatever the other user is selling.
Add extra fields to ads
Ability to edit and delete ads
Control everything from the amount of results showing per page in searches, to the size of thumbnails.
GIF, JPG, and PNG images are supported.
Search through ads
And much much more!What does this hack require?
Template Edits: 3
Products Imported: 1
6 Easy Steps
Step 1. Import the following product: product-sr_classifieds.xml
Step 2. Upload the files in the upload folder.
Step 3. CHMOD the sr_classifieds/uploaded folder and sr_classifieds/uploaded/thumbnails folder to 777
Step 4. Do the edits located below
Step 5. Update newly added usergroup permissions and options
Step 6. Enjoy the hack.
F.A.Q
Q. How can i reserve the premium version?
A. Send me a message here on the forums or email me at gio@dopegfx.com
Don't forget to click INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=112504)
As always, feel free to make a donation to:
gio@dopegfx.com
https://vborg.vbsupport.ru/external/2006/07/12.gif (https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=gio%40dopegfx%2ecom&item_name=Giovanni%20Martinez%20Services%20Donatio n&no_shipping=0&no_note=1&tax=0¤cy_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8)
Gio~Logist
04-08-2006, 11:33 PM
Here are some screenshots.
Gio~Logist
04-08-2006, 11:36 PM
More Screenshots.
glorify
04-09-2006, 12:09 AM
Will this work with all 3.5's and also, what are the drawbacks if any used in conjunction with vbadvanced?
Gio~Logist
04-09-2006, 12:14 AM
Will this work with all 3.5's and also, what are the drawbacks if any used in conjunction with vbadvanced?
It should work with any version and i don't see any drawbacks. I may actually plan on creating a vb module for this.
bada_bing
04-09-2006, 12:15 AM
Wow this looks SWEET.. To bad I have itrader installed and hate to try and migrate systems.... Will look at this for my other site...
glorify
04-09-2006, 12:15 AM
Sweet. Also, Can you define the extra fields to only one specific forum?
Gio~Logist
04-09-2006, 12:18 AM
Sweet. Also, Can you define the extra fields to only one specific forum?
Yes.
Gio~Logist
04-09-2006, 12:18 AM
Wow this looks SWEET.. To bad I have itrader installed and hate to try and migrate systems.... Will look at this for my other site...
Would it help if i made a system that would conver all itrader ratings to SR Classified ratings?
glorify
04-09-2006, 12:30 AM
When updating usergroup permissions, they don't save, I get:
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635
Gio~Logist
04-09-2006, 12:34 AM
When updating usergroup permissions, they don't save, I get:
This may be something with your site and another hack. I tried updating permissions on both my site and someone else's and got no error. However, i will look into this.
Also, remember that support is only given to those who click install.
glorify
04-09-2006, 12:35 AM
Cool--let me know, I will be interested in premium as well if I can get this up and running.
Getting this error when creating a field for a cat.
nvalid SQL:
SELECT title, image, description, categoryid, usergroups, banned, display
FROM sr_classifieds_category
ORDER BY categoryid DESC;
MySQL Error : Unknown column 'usergroups' in 'field list'
Error Number : 1054
Gio~Logist
04-09-2006, 12:38 AM
Cool--let me know, I will be interested in premium as well if I can get this up and running.
Feel free to PM me with your site info and such so that i can take a look. I am 99% sure that it's just something wrong with your site in general.
Gio~Logist
04-09-2006, 12:40 AM
Getting this error when creating a field for a cat.
nvalid SQL:
SELECT title, image, description, categoryid, usergroups, banned, display
FROM sr_classifieds_category
ORDER BY categoryid DESC;
MySQL Error : Unknown column 'usergroups' in 'field list'
Error Number : 1054
Oops. That shouldn't be there. Zip will be updated now. Sorry about that.
Zip Updated
Just reupload the sr_classifieds_admin.php file and all should be fine.
Warning: getimagesize(): Read error! in /sr_classifieds.php on line 616
And getting a red X for an image that I believe is part of the item image. But I didn't upload one.
this is the link its looking for. /forums/sr_classifieds/uploaded/
Gio~Logist
04-09-2006, 12:59 AM
Warning: getimagesize(): Read error! in /sr_classifieds.php on line 616
And getting a red X for an image that I believe is part of the item image. But I didn't upload one.
this is the link its looking for. /forums/sr_classifieds/uploaded/
It's supposed to put an image by default, did it not?
I just checked on my site and i had a little problem with it not setting a default image. I will update the zip. To fix this on your existing ad, just upload any image or delete and redo the ad.
Zip updated, you can just reupload sr_classifieds.php if you'd like.
Also, i just fixed a problem where if your image was the default image, it deleted the default image when the ad was deleted. This isn't good because then you will have no default image! Anyways, the problem with that has been fixed as well. If the Last Update: date shows green to you, then make sure to re-install the hack by overwriting products and files!.
dilbert
04-09-2006, 01:09 AM
:( I bought PhotoPost classifieds and paid for the branding free option and form the pics you posted, this looks better.
Thanks! Working good so far.
Just a very minor bug (I think its one), in the user group permissions there isn't a title for the field for the classifieds. Its just blank.
Just had this after editing a field.
Database error in vBulletin 3.5.4:
Invalid SQL:
UPDATE sr_classifieds_fields
SET title = 'Stepping',
description = 'Stepping of the CPU',
type = 'text',
size = '100',
options= '',
category = '1',
display = '1',
WHERE fieldid = 1;
MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE fieldid = 1' at line 9
Error Number : 1064
Also, I don't see the administrative Tools like in your screenshot #3. I updated the usergroup permissions also.
KTBleeding
04-09-2006, 01:13 AM
Oh wow.. thanks for making this.
My site I'm working on needs one, and I didn't want to have to do it myself. :)
Good job, will install when I get around to.. installing it. :x
Gio~Logist
04-09-2006, 01:25 AM
Thanks! Working good so far.
Just a very minor bug (I think its one), in the user group permissions there isn't a title for the field for the classifieds. Its just blank.
Just had this after editing a field.
Database error in vBulletin 3.5.4:
Invalid SQL:
UPDATE sr_classifieds_fields
SET title = 'Stepping',
description = 'Stepping of the CPU',
type = 'text',
size = '100',
options= '',
category = '1',
display = '1',
WHERE fieldid = 1;
MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE fieldid = 1' at line 9
Error Number : 1064
Also, I don't see the administrative Tools like in your screenshot #3. I updated the usergroup permissions also.
That's just an uneeded comma. Replace the sr_classifieds_admin.php with the one i uploaded here. I will update the zip now.
Get this when saving the field.
could not find phrase 'sr_classifieds_x_fieldsaved'.
Also, any ideas on the admin tools?
Gio~Logist
04-09-2006, 01:40 AM
Zip Updated. Just a phrase i forgot to add.
KTBleeding
04-09-2006, 01:46 AM
Tried to add a custom field.. ran into this part:
Categories To Include This InPlease enter the ID's of the categories in which you'd like to have these options included in, seperated by a comma. Leave this blank for it to be in all forums.
Ex: 1,2,3
But the field next to that is a drop down.. not a text field. So we can't enter 1,2,3.. we are only able to select one category.
Zip Updated. Just a phrase i forgot to add.
Uploaded everything and reinstalled the product-sr_classifieds.xml and the pharse still isnt there.
Still bug with admin tools. also, is there a way for the seller to change the add to sold?
Gio~Logist
04-09-2006, 02:03 AM
Uploaded everything and reinstalled the product-sr_classifieds.xml and the pharse still isnt there.
Still bug with admin tools. also, is there a way for the seller to change the add to sold?
I am going to see if i make the option for the user to close it himself.
As for admin tools, what do you mean?
Gio~Logist
04-09-2006, 02:03 AM
Tried to add a custom field.. ran into this part:
But the field next to that is a drop down.. not a text field. So we can't enter 1,2,3.. we are only able to select one category.
It's only one for the light version.
I am going to see if i make the option for the user to close it himself.
As for admin tools, what do you mean?
I don't see the administrative Tools like in your screenshot #3 (in the screenshot folder). I updated the usergroup permissions also. So basicly I cannot edit or delete ads.
Gio~Logist
04-09-2006, 02:14 AM
I don't see the administrative Tools like in your screenshot #3 (in the screenshot folder). I updated the usergroup permissions also. So basicly I cannot edit or delete ads.
If you edited the usergroup permissions accordingly or you are the maker of the ad, it should show fine. It's showing on my site.
KTBleeding
04-09-2006, 02:29 AM
If you edited the usergroup permissions accordingly or you are the maker of the ad, it should show fine. It's showing on my site.I can confirm that they are not displaying also.
My permissions are set correctly.
Gio~Logist
04-09-2006, 02:30 AM
I found the problem for the usergroup permissions.. one second.
ZIP UPDATED
Wow. I was setting one permission in usergroup settings and then calling the wrong one in the file lol. Sorry about that guys.
If you already have this installed just either uninstall the product and reupload files and product or run this query:
ALTER TABLE ". TABLE_PREFIX ."usergroup DROP sr_classifieds
And then re upload just product.
Feel free to PM me if you need help. It was my dumb mistake anyways :p
Gio~Logist
04-09-2006, 02:50 AM
Fixed.
Sorry about that Nix. I tend to look over little things like this sometimes.
NP. Glad I could help.
Two small suggestions.
1. Feature for seller/trader to set ad to sold or traded.
2. A link to buy item (if paypal giving) when viewing the actual ad.
KTBleeding
04-09-2006, 02:54 AM
Just to let you know:
I had to take a look at the install code to fix an error I was getting after running the query you posted above.. but I believe I have that sorted.
Noticed this in the installer:
$vbulletin->db->query_write("
CREATE TABLE IF NOT EXISTS `sr_classifieds_ratings` (
`rateid` int(10) unsigned NOT NULL auto_increment,
`ratedid` int(10) unsigned NOT NULL default '0',
`raterid` int(10) unsigned NOT NULL default '0',
`rating` int(2) NOT NULL default '0',
`comment` varchar(250) NOT NULL default '',
`type` varchar(20) NOT NULL default '',
`adid` int(10) unsigned NOT NULL default '0',
`dateline` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`rateid`)
) TYPE=MyISAM
");
$vbulletin->db->query_write("
CREATE TABLE IF NOT EXISTS `sr_classifieds_uploads` (
`classifiedid` int(10) unsigned NOT NULL default '0',
`image` varchar(250) NOT NULL default 'noimage.gif'
) TYPE=MyISAM;
");
They should have ". TABLE_PREFIX ." assigned, correct?
Gio~Logist
04-09-2006, 02:59 AM
Just to let you know:
I had to take a look at the install code to fix an error I was getting after running the query you posted above.. but I believe I have that sorted.
Noticed this in the installer:
$vbulletin->db->query_write("
CREATE TABLE IF NOT EXISTS `sr_classifieds_ratings` (
`rateid` int(10) unsigned NOT NULL auto_increment,
`ratedid` int(10) unsigned NOT NULL default '0',
`raterid` int(10) unsigned NOT NULL default '0',
`rating` int(2) NOT NULL default '0',
`comment` varchar(250) NOT NULL default '',
`type` varchar(20) NOT NULL default '',
`adid` int(10) unsigned NOT NULL default '0',
`dateline` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`rateid`)
) TYPE=MyISAM
");
$vbulletin->db->query_write("
CREATE TABLE IF NOT EXISTS `sr_classifieds_uploads` (
`classifiedid` int(10) unsigned NOT NULL default '0',
`image` varchar(250) NOT NULL default 'noimage.gif'
) TYPE=MyISAM;
");
They should have ". TABLE_PREFIX ." assigned, correct?
Ah yes. That's not a major issue as far as functionability is concerned, however, it should be there. I added it and updated the zip :p
KTBleeding
04-09-2006, 03:19 AM
Bug report time:
I have uploaded an image when adding an ad, but it is only displaying the "noimage.gif" rather than the uploaded image.
I looked in the /sr_classifieds/uploaded folder, and the image was uploaded correctly, just not being displayed. :p
EDIT:
Nevermind. Now it's showing up.. Hm.
Gio~Logist
04-09-2006, 03:38 AM
Bug report time:
I have uploaded an image when adding an ad, but it is only displaying the "noimage.gif" rather than the uploaded image.
I looked in the /sr_classifieds/uploaded folder, and the image was uploaded correctly, just not being displayed. :p
EDIT:
Nevermind. Now it's showing up.. Hm.
lol. It's ok... it's late.. I understand :p
arossphoto
04-09-2006, 04:35 AM
Sorry, but I'm a bit lost. I just installed this, have set user permissions and turned SR Classfieds on, but all I get is the link in the nav bar that takes me to sr_classifieds.php. I don't see any of the administrative features and don't know how to create cats or new ads.
Thanks,
Andrew
Gio~Logist
04-09-2006, 04:36 AM
Sorry, but I'm a bit lost. I just installed this, have set user permissions and turned SR Classfieds on, but all I get is the link in the nav bar that takes me to sr_classifieds.php. I don't see any of the administrative features and don't know how to create cats or new ads.
Thanks,
Andrew
You create cats in the admincp and post new ads in the main page (once categories are added).
hugh_
04-09-2006, 04:40 AM
I'd quite like to see this in action, does anyone have it installed publicly yet?
hugh
arossphoto
04-09-2006, 04:42 AM
You create cats in the admincp and post new ads in the main page (once categories are added).
Sorry if I'm blind, but where in the admincp? I don't anything in vBulletin Options>SR Classifieds.
Gio~Logist
04-09-2006, 04:52 AM
Sorry if I'm blind, but where in the admincp? I don't anything in vBulletin Options>SR Classifieds.
If you uploaded the files right, there should be a "SR Classifieds" section in the admincp, as shown in the screenshot.
arossphoto
04-09-2006, 04:58 AM
I just logged out of my admincp and logged back in and now I see the SR Classified menu. I'm new to vBulletin, so I guess this is probably what you need to do after installing something new like this.
This looks pretty cool, but I was actually expecting it to add the ability to post ads in the regular forums. The way it is now people have to click on the link in the nav bar to see if there are any ads. It doesn't really put the ads in front of peoples faces the way a Buy and Sell forum does.
Andrew
bada_bing
04-09-2006, 05:03 AM
Would it help if i made a system that would conver all itrader ratings to SR Classified ratings?
Heck yea that would be sweet... Like this much better I think
Gio~Logist
04-09-2006, 05:14 AM
I just logged out of my admincp and logged back in and now I see the SR Classified menu. I'm new to vBulletin, so I guess this is probably what you need to do after installing something new like this.
This looks pretty cool, but I was actually expecting it to add the ability to post ads in the regular forums. The way it is now people have to click on the link in the nav bar to see if there are any ads. It doesn't really put the ads in front of peoples faces the way a Buy and Sell forum does.
Andrew
Indeed :p
arossphoto
04-09-2006, 05:29 AM
I was just testing the feedback system on this and it asks for the "Ad ID Number", but I don't see this number identified anywhere in the ad. Is this number really needed and is it actually verified and linked back to the original ad somehow?
It would be nice if there was a more obvious "leave feedback" link in the actual add that would automatically enter the ad id number into feedback form.
Cheers,
Andrew
KTBleeding
04-09-2006, 05:34 AM
After some hours of template editing and tweaking:
I've noticed there really is an issue with the attachments. But it's a bizarre one.
In my earlier post, I stated.. "Nevermind, it's working now"
But I don't think it is. I uploaded a second ad, and added a different image but it ended up having the same image as the other ad. Does that make sense? So two ads had the same image, but I uploaded two different images.
Now if I open the image on it's own, it actually is "noimage.gif".. that's the url the site is pointing to. Why or how it swapped "noimage.gif" with the uploaded file, I have no idea.. lol
But it's bizarre. Is anyone else having this problem, or am I just losing my mind?
hotwheels
04-09-2006, 05:37 AM
holy cow gio~logist, that is simply a wicked set up man.........I truly appreciate you letting us poor people have such a nice piece of software for our website..........you are awesome
hotwheels
KTBleeding
04-09-2006, 05:42 AM
holy cow gio~logist, that is simply a wicked set up man.........I truly appreciate you letting us poor people have such a nice piece of software for our website..........you are awesome
hotwheels
Seriously..
It's about time someone releases a highly requested/anticipated modification. :) :banana:
Gio~Logist
04-09-2006, 05:48 AM
I was just testing the feedback system on this and it asks for the "Ad ID Number", but I don't see this number identified anywhere in the ad. Is this number really needed and is it actually verified and linked back to the original ad somehow?
It would be nice if there was a more obvious "leave feedback" link in the actual add that would automatically enter the ad id number into feedback form.
Cheers,
Andrew
You can view the adid in the broswer. I will make the template modification to include it somewhere when viewing the ad. And yes, it does check the ad. Also, when you say a feedback link somewhere to have it automatically filled.. that's a good idea. Why have the link in the user profile? Why not just in the ad since that's what they will be submitting feedback for anyways. This will be looked into :p
Gio~Logist
04-09-2006, 05:58 AM
After some hours of template editing and tweaking:
I've noticed there really is an issue with the attachments. But it's a bizarre one.
In my earlier post, I stated.. "Nevermind, it's working now"
But I don't think it is. I uploaded a second ad, and added a different image but it ended up having the same image as the other ad. Does that make sense? So two ads had the same image, but I uploaded two different images.
Now if I open the image on it's own, it actually is "noimage.gif".. that's the url the site is pointing to. Why or how it swapped "noimage.gif" with the uploaded file, I have no idea.. lol
But it's bizarre. Is anyone else having this problem, or am I just losing my mind?
I just almost died laughing. I'm here looking for the problem and all it was is that i wasn't updating the image with the right name. As a matter of fact, the image wasn't being updated at all hehe. Anyways, i'm updating the zip now. You'll just need to reupload sr_classifieds.php
KTBleeding
04-09-2006, 06:01 AM
I just almost died laughing. I'm here looking for the problem and all it was is that i wasn't updating the image with the right name. As a matter of fact, the image wasn't being updated at all hehe. Anyways, i'm updating the zip now. You'll just need to reupload sr_classifieds.phpI thought it would be something silly like that. Glad you found it though, that was giving me a headache. ;)
hotwheels
04-09-2006, 06:02 AM
hey gio~logist, i found a small error and i am not sure if it is me or what, but here it is: Database error in vBulletin 3.5.4:
Invalid SQL:
SELECT COUNT(DISTINCT IF(ratings.rating > 0 AND ratings.raterid, ratings.raterid, null)) AS pospoints FROM vb3sr_classifieds_ratings AS ratings WHERE ratings.ratedid =;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064
Date : Sunday, April 9th 2006 @ 03:00:02 AM
Script : http://www.insanemustangs.com/forums/sr_classifieds.php?do=user&userid1
Referrer : http://www.insanemustangs.com/forums/showthread.php?p=46796#post46796
IP Address : **********
Username : ******
Classname : vb_database
appreciate any help.........thanks, hotwheels
Gio~Logist
04-09-2006, 06:02 AM
I thought it would be something silly like that. Glad you found it though, that was giving me a headache. ;)
Hehe. I enjoy scaring you :p
Gio~Logist
04-09-2006, 06:08 AM
hey gio~logist, i found a small error and i am not sure if it is me or what, but here it is:
appreciate any help.........thanks, hotwheels
It should be:
http://www.insanemustangs.com/forums/sr_classifieds.php?do=user&=userid1
I changed the readme. The edit you're supposed to make in postbit, just ad the =.
hotwheels
04-09-2006, 06:18 AM
o=user&userid1how do i get rid of that o? in the main php or in mysql?
Gio~Logist
04-09-2006, 06:21 AM
how do i get rid of that o? in the main php or in mysql?
In the edit you have to do in the postbit template.
I edited the readme to reflect the change you need to make.
In your version it's:
href="sr_classifieds.php?do=user&userid$post[userid]">($post[sr_classifieds_score])</a></div>
In the updated version it's:
href="sr_classifieds.php?do=user&userid=$post[userid]">($post[sr_classifieds_score])</a></div>
hotwheels
04-09-2006, 06:29 AM
right on man, that was it...............what a program man, very good job.
Gio~Logist
04-09-2006, 06:33 AM
right on man, that was it...............what a program man, very good job.
:p Thank you, glad you like. Just imagine how good the premium version will be :p
mikeclarke
04-09-2006, 06:41 AM
Yes, really something!
Would it be ok and will it work if I change the word "classified" to "review" in all php and xml files?
That part of the memberinfo is great for me.
Gio~Logist
04-09-2006, 07:12 AM
Yes, really something!
Would it be ok and will it work if I change the word "classified" to "review" in all php and xml files?
That part of the memberinfo is great for me.
Yes, as long as you download the latest version and keep the copyright notice at the bottom.
bashy
04-09-2006, 07:34 AM
Hi
I have installed and all appears ok, Just a couple of q's
How do i enable this per forum?
How do i add the browse button to add an image please?
Gio~Logist
04-09-2006, 07:37 AM
Hi
I have installed and all appears ok, Just a couple of q's
How do i enable this per forum?
How do i add the browse button to add an image please?
This script is not integrated with individual forums. This makes it so that you have your own classified section on your site. I will probably make it on the premium version so that it shows the categories and counts and such on forumindex if the admin will like.
bashy
04-09-2006, 07:50 AM
Hi Gio
Sorry m8 didnt realise, I prefer it this way actually ;)
Great hack m8 well done, I am sure you may see more of me on here pmsl...
Where can i change this please:
Note: The price field should not have a $ symbol. Putting a $ symbol will result in your price being 0.
Also get this when deleteing a field Could not find phrase 'sr_classifieds_fielddeleted'.
This script is not integrated with individual forums. This makes it so that you have your own classified section on your site. I will probably make it on the premium version so that it shows the categories and counts and such on forumindex if the admin will like.
Gio~Logist
04-09-2006, 07:51 AM
Hi Gio
Sorry m8 didnt realise, I prefer it this way actually ;)
Great hack m8 well done, I am sure you may see more of me on here pmsl...
Thank you :p Not sure what "pmsl" means though.
Edit: I just noticed that you edited your post with another question. That field is made like that because that field is only for numbers. Because of the integration with paypal and such, that field needs to be numbers only. Also, it's an INT field in mysql. INT fields only detect numbers.
Gio~Logist
04-09-2006, 08:02 AM
I forgot to tell you guys had to add the new task, so unless you noticed the file and created it yourself, you probably didn't add it. Anyways, i added this to the readme:
Go to your admincp, then go to scheduled tasks >> Add New Scheduled Task
Set the values as follows:
Title = SR Classifieds
Minute = 59 - - -
Filenaem = ./includes/cron/sr_classifieds.php
bashy
04-09-2006, 08:20 AM
Hi m8
PMSL means, piss myself laffing ;)
this Note: The price field should not have a $ symbol. Putting a $ symbol will result in your price being 0. I need to chage the wording is all m8, specifically the $ to ? for obvious reasons im sure lol (laff out loud) ;)
Also, when you click on the add and view it, there is nothing showing the price, you have to click back to the listing to see it, Is this meant to be like that?
Would be nice to see the pice in the actual ad itself?
steadicamop
04-09-2006, 08:26 AM
Q.
Is it possible to restrict usergroups that subscribe to use this system - and allow other groups to see but not post? I currently have a single forum set up for members to sell their items - but it's on a subscriber system - what's the situation for this?
Thanks .... I've installed anyhow, great addition :)
Jason
defcon_420
04-09-2006, 08:36 AM
nice hack, great effort. I'm not sure if i need it yet but i'm going to have a look :)
Gio~Logist
04-09-2006, 08:38 AM
Q.
Is it possible to restrict usergroups that subscribe to use this system - and allow other groups to see but not post? I currently have a single forum set up for members to sell their items - but it's on a subscriber system - what's the situation for this?
Thanks .... I've installed anyhow, great addition :)
Jason
That may be a feature in the premium version.
Gio~Logist
04-09-2006, 08:38 AM
nice hack, great effort. I'm not sure if i need it yet but i'm going to have a look :)
Thank you.
Gio~Logist
04-09-2006, 08:40 AM
Changelog:
4-9-06
* There was a problem with a code that made it so that if you didn't have an image in an ad and then edited that ad to include an image, it overwrote noimage.gif (which is not good!). This was fixed!
* Ad ID Number now shows in an ad
* Price now shows in an ad
ZIP UPDATED
Gio~Logist
04-09-2006, 08:42 AM
Hi m8
PMSL means, piss myself laffing ;)
this Note: The price field should not have a $ symbol. Putting a $ symbol will result in your price being 0. I need to chage the wording is all m8, specifically the $ to ? for obvious reasons im sure lol (laff out loud) ;)
Also, when you click on the add and view it, there is nothing showing the price, you have to click back to the listing to see it, Is this meant to be like that?
Would be nice to see the pice in the actual ad itself?
Edit the following phrase: sr_classifieds_price_note
Keep in mind that what i gave you is the varname, so search accordingly.
bashy
04-09-2006, 09:01 AM
Cheers for that...I did find it in the product, edited that and reuploaded ;)
I have encountered an error when uploading an image, any ideas please?
Warning: Division by zero in /sr_classifieds/functions_sr_classifieds_upload.php on line 42
Warning: imagecreatetruecolor(): Invalid image dimensions in /sr_classifieds/functions_sr_classifieds_upload.php on line 49
Warning: imagecreatefromgif(): './sr_classifieds/uploaded/noimage.gif' is not a valid GIF file in /sr_classifieds/functions_sr_classifieds_upload.php on line 61
Warning: imagecopyresized(): supplied argument is not a valid Image resource in /sr_classifieds/functions_sr_classifieds_upload.php on line 64
Warning: imagegif(): supplied argument is not a valid Image resource in /sr_classifieds/functions_sr_classifieds_upload.php on line 79
Edit the following phrase: sr_classifieds_price_note
Keep in mind that what i gave you is the varname, so search accordingly.
Gio~Logist
04-09-2006, 09:04 AM
Cheers for that...I did find it in the product, edited that and reuploaded ;)
I have encountered an error when uploading an image, any ideas please?
Warning: Division by zero in /sr_classifieds/functions_sr_classifieds_upload.php on line 42
Warning: imagecreatetruecolor(): Invalid image dimensions in /sr_classifieds/functions_sr_classifieds_upload.php on line 49
Warning: imagecreatefromgif(): './sr_classifieds/uploaded/noimage.gif' is not a valid GIF file in /sr_classifieds/functions_sr_classifieds_upload.php on line 61
Warning: imagecopyresized(): supplied argument is not a valid Image resource in /sr_classifieds/functions_sr_classifieds_upload.php on line 64
Warning: imagegif(): supplied argument is not a valid Image resource in /sr_classifieds/functions_sr_classifieds_upload.php on line 79
Try reuploading the files from the zip i uploaded about 5 minutes ago. I think that's the editing an ad problem i fixed.
bashy
04-09-2006, 09:12 AM
I still get the errors m8, i have reupoaded and reimported the product..?
I cant seem to delete an ad either?
I can edit but not delete :(
Did i mention you would see more of me on here lol
You cant click on the ad title either in the clssified home page if theres no image :(
ThePimp
04-09-2006, 09:34 AM
When adding extra fields, the 6th input field is a drop menu (doesn't allow multiple selections or an ALL option), is there a work-around for this?
Gio~Logist
04-09-2006, 09:39 AM
I still get the errors m8, i have reupoaded and reimported the product..?
I cant seem to delete an ad either?
I can edit but not delete :(
Did i mention you would see more of me on here lol
You cant click on the ad title either in the clssified home page if theres no image :(
I logged into your site and it you can't click delete ad because you have javascript errors in your site. Also, i just re uploaded the zip again (maybe it didn't update right last time) and i checked those errors that you told me about, they should be non existant now. As for clicking the title, i made the titles clickable.
Gio~Logist
04-09-2006, 09:44 AM
When adding extra fields, the 6th input field is a drop menu (doesn't allow multiple selections or an ALL option), is there a work-around for this?
The light version only allows adding a field to one category at a time. The premium version will allow for multiple categories.
bashy
04-09-2006, 09:48 AM
I was so hoping that was you in there pmsl......;)
Thanks for the help m8, much appreciated :)
Ok, so deleteing the ads is not an option or is there away around this
for future reference?
As for the javascript error, i aint sure whats causing this, i have had it for
ages and i have tried to iliminate it by removing hacks and so on but it looks
like its here for the duration pmsl.....
PS still get the errors when you reupload a image (edit ad)
I logged into your site and it you can't click delete ad because you have javascript errors in your site. Also, i just re uploaded the zip again (maybe it didn't update right last time) and i checked those errors that you told me about, they should be non existant now. As for clicking the title, i made the titles clickable.
Gio~Logist
04-09-2006, 09:55 AM
I was so hoping that was you in there pmsl......;)
Thanks for the help m8, much appreciated :)
Ok, so deleteing the ads is not an option or is there away around this
for future reference?
As for the javascript error, i aint sure whats causing this, i have had it for
ages and i have tried to iliminate it by removing hacks and so on but it looks
like its here for the duration pmsl.....
PS still get the errors when you reupload a image (edit ad)
I just posted an ad called "troy", at first it had a picture of the movie troy, then i changed it. I didn't get any errors at all. Give it a shot..
Also, deleting an ad is an option. However, it doesn't function with your site because of your javascript errors. The only thing you can do i guess is change this:
<div><a href=javascript:deletead(); >Delete This Ad</a></div>
To this:
<div><a href="sr_classifieds.php?do=deletead&adid=$ad[classifiedid]" >Delete This Ad</a></div>
The only thing is that like that you don't even get a message, it'll just delete it straight. However, until you clear up the existing errors on your site, you will need to do it that way.
Gio~Logist
04-09-2006, 09:58 AM
Anyways, i will be leaving for now. It is 6:57AM here and i haven't been to sleep . I do not believe that there are any bugs left. However, if there are, i will be sure to fix them when i get back.
bashy
04-09-2006, 10:09 AM
Ok m8 thanks alot, take care...
BTW, i did edit your image of troy and thats where i still saw the errors lol
I now know why i get the image issue, its cause i was trying it with a animated gif
G/night m8
Jon_Simmonds
04-09-2006, 10:23 AM
Would it help if i made a system that would conver all itrader ratings to SR Classified ratings?
Aye :D
Very intrested in the premium edition to
Is it possible to make the adverts not visiable to certain usergroups? I have a no advert paid sugscription
bashy
04-09-2006, 10:42 AM
I am having issues uploading any jpg
Here is the error at the top of the screen:
Array ( [0] => .gif [1] => .jpg [2] => .jpeg [3] => .png )
and it shows this
The image type .jpg is not supported. Please go back and upload a valid type. The supported types are listed when uploading a picture.
Whats ya thoughts (when ya wake up lol)
jellybaby
04-09-2006, 11:04 AM
Great Mod thank you.
I have two problems:-
1. I cant delete the add, when I click on it nothing happens.
2. When I put 1.99 in it only shows 1, the pennies disappear!
Thanks
Shack Networks
04-09-2006, 12:57 PM
Problem I see is if Member A clicks the PP link and purchases the item then whats to stop Member B also clicking it and purchasing the item too ?
Result would be 2 payments made from 2 members for 1 item, this would no doubt cause loads of hassle with members claiming to of paid first etc..
Also since I am in the UK will be see any kind of multi currency option other than the $USD ?
Nice hack and I WOULD be looking for the pro version if I new it did what I wanted it to do. How about allowing items to be put into aution so that the highest bidder wins or the bidder who hits the buy it now price first ?
Excellent concept but a bit flawed if I am TBH.
V nice work though.
hugh_
04-09-2006, 02:26 PM
Is it just me, I don't see a way to edit an add when it's been posted?!
bashy
04-09-2006, 02:40 PM
Go edit ya usergroup permissions ;)
Is it just me, I don't see a way to edit an add when it's been posted?!
Gio~Logist
04-09-2006, 03:06 PM
I am having issues uploading any jpg
Here is the error at the top of the screen:
Array ( [0] => .gif [1] => .jpg [2] => .jpeg [3] => .png )
and it shows this
The image type .jpg is not supported. Please go back and upload a valid type. The supported types are listed when uploading a picture.
Whats ya thoughts (when ya wake up lol)
lol. You still don't have the latest version :p. Overwrite all the files with the ones in the zip and overwrite the product as well.
Gio~Logist
04-09-2006, 03:08 PM
Problem I see is if Member A clicks the PP link and purchases the item then whats to stop Member B also clicking it and purchasing the item too ?
Result would be 2 payments made from 2 members for 1 item, this would no doubt cause loads of hassle with members claiming to of paid first etc..
Also since I am in the UK will be see any kind of multi currency option other than the $USD ?
Nice hack and I WOULD be looking for the pro version if I new it did what I wanted it to do. How about allowing items to be put into aution so that the highest bidder wins or the bidder who hits the buy it now price first ?
Excellent concept but a bit flawed if I am TBH.
V nice work though.
Thank you! Yes, there's just a few bugs that have been worked out along the way. I do not think there's any left. However, you never know :p
As for the bidding, that will be in the premium version. And the currency can be changed via template :p
Gio~Logist
04-09-2006, 03:11 PM
Aye :D
Very intrested in the premium edition to
Is it possible to make the adverts not visiable to certain usergroups? I have a no advert paid sugscription
That will be in the premium version.
Gio~Logist
04-09-2006, 03:18 PM
Great Mod thank you.
I have two problems:-
1. I cant delete the add, when I click on it nothing happens.
2. When I put 1.99 in it only shows 1, the pennies disappear!
Thanks
lol. I'm having way to many problems having price field as INT. Lets alter the table and change it.
I will make sure to update the zip with this ASAP.
Run this query:
ALTER TABLE `sr_classifieds` CHANGE `paypal` `paypal` DECIMAL( 20 ) NOT NULL DEFAULT '0'
arossphoto
04-09-2006, 03:19 PM
This script is not integrated with individual forums. This makes it so that you have your own classified section on your site. I will probably make it on the premium version so that it shows the categories and counts and such on forumindex if the admin will like.
This sounds great. Will you be able to upgrade from lite to premium and maintain existing ads? Do you have any estimates for a release date?
In the meantime, I'm having some issues with the category display. I have setup two categories but one is taking up much more space on the page than the other. See attached image.
Gio~Logist
04-09-2006, 03:28 PM
This sounds great. Will you be able to upgrade from lite to premium and maintain existing ads? Do you have any estimates for a release date?
In the meantime, I'm having some issues with the category display. I have setup two categories but one is taking up much more space on the page than the other. See attached image.
May you link me to your site so that i can see this? I know it's just a little template fix, however, this is the first time i've seen it. I'll take a look if i can get a link.
As for the upgrade to the premium version, yes, you can upgrade without loosing information.
bashy
04-09-2006, 03:32 PM
PMSL....I had done that, i also thought you had as well lol...Fun an games eh
Anyway just done it all again, will try it now :)
OOO A PM...2 secs...
Whoopsy lol i just got ya PM lol :o
lol. You still don't have the latest version :p. Overwrite all the files with the ones in the zip and overwrite the product as well.
arossphoto
04-09-2006, 03:33 PM
May you link me to your site so that i can see this? I know it's just a little template fix, however, this is the first time i've seen it. I'll take a look if i can get a link.
Here's the link. I add another cat and it still the same problem. I also haven't upgraded to the latest version yet.
http://www.canphoto.net/forums/sr_classifieds.php?
bashy
04-09-2006, 03:36 PM
Aint that because one has a description and the other dont...
I noticed that if the descriptions aint the same lenght then the boxes do go out of sync so to speak!!!
This sounds great. Will you be able to upgrade from lite to premium and maintain existing ads? Do you have any estimates for a release date?
In the meantime, I'm having some issues with the category display. I have setup two categories but one is taking up much more space on the page than the other. See attached image.
bashy
04-09-2006, 03:50 PM
I have just had to add a Custom Link for the WOL as it wernt as it should be Gio, Just a heads up m8 as i dont suppose many use the custom hack :)
arossphoto
04-09-2006, 03:55 PM
I noticed that if the descriptions aint the same lenght then the boxes do go out of sync so to speak!!!
Yeah, you're right. If one description is longer than the others it throws everything out of whack. Couldn't they be setup to take up 50% each?
Cheers,
Andrew
Gio~Logist
04-09-2006, 04:01 PM
I have just had to add a Custom Link for the WOL as it wernt as it should be Gio, Just a heads up m8 as i dont suppose many use the custom hack :)
I'll make it so that the hack ads the WOL feature.
Gio~Logist
04-09-2006, 04:02 PM
Here's the link. I add another cat and it still the same problem. I also haven't upgraded to the latest version yet.
http://www.canphoto.net/forums/sr_classifieds.php?
Will it be possible to set up a test account for me? Also, make sure to update to the latest version.
bashy
04-09-2006, 04:27 PM
Looks like mine is pretty much sorted now Gio, thanks for ya help :)
Will possibly look into the premium when ya got it up an running :)
Gio~Logist
04-09-2006, 04:33 PM
Looks like mine is pretty much sorted now Gio, thanks for ya help :)
Will possibly look into the premium when ya got it up an running :)
:p Glad to hear that. I will try my best to contact everyone interested the second it's up and running.
arossphoto
04-09-2006, 04:53 PM
Will it be possible to set up a test account for me? Also, make sure to update to the latest version.
I just upgraded to the latest version, and made a few adjustments. I don't know if it's related, but now I'm seeing problems with heights of the cat headings and "go to" links as well. See attached image:
How do I set up a test account? Do I have to create a new user with admin priviledges for you?
Thanks,
Andrew
Shack Networks
04-09-2006, 04:57 PM
Thank you! Yes, there's just a few bugs that have been worked out along the way. I do not think there's any left. However, you never know :p
As for the bidding, that will be in the premium version. And the currency can be changed via template :p
I know about changing by template, I was looking more towards being able to select the currency via a dropdown box.
I look forward to the premium version, any idea on pricing ?
Gio~Logist
04-09-2006, 05:06 PM
I know about changing by template, I was looking more towards being able to select the currency via a dropdown box.
I look forward to the premium version, any idea on pricing ?
I believe it will be around $35. PM me for more information if you are interested and i will add you to the list of people that will be contacted once it's done.
Gio~Logist
04-09-2006, 05:07 PM
I just upgraded to the latest version, and made a few adjustments. I don't know if it's related, but now I'm seeing problems with heights of the cat headings and "go to" links as well. See attached image:
How do I set up a test account? Do I have to create a new user with admin priviledges for you?
Thanks,
Andrew
That's probably just the cellpadding. Nothing really wrong with it.
arossphoto
04-09-2006, 05:10 PM
I just realized that guests cannot view ads unless I give them permission to "use SR Classifieds system", but then they can post ads too. I want them to be able to see ads, and be able to contact the seller, but that's it. Can this be done?
Gio~Logist
04-09-2006, 05:22 PM
I just realized that guests cannot view ads unless I give them permission to "use SR Classifieds system", but then they can post ads too. I want them to be able to see ads, and be able to contact the seller, but that's it. Can this be done?
Try overwriting sr_classifieds.php and tell me if it works. I made it so that guests cannot post ads or give new feedback at all in this file.
arossphoto
04-09-2006, 05:31 PM
Try overwriting sr_classifieds.php and tell me if it works. I made it so that guests cannot post ads or give new feedback at all in this file.
That works. They also can't use the email feature, but that's probably a good idea anyway.
I just noticed a different problem. I've been using Firefox and just tested it in IE as well and noticed the path to the nocat image is: http://www.yoursite.com/images/misc/nocatimage.gif. Firefox doesn't show the empty placeholder, so I hadn't noticed this before.
I've been looking through the templates, but I can find anywhere to change this path.
Thanks.
Gio~Logist
04-09-2006, 05:46 PM
That works. They also can't use the email feature, but that's probably a good idea anyway.
I just noticed a different problem. I've been using Firefox and just tested it in IE as well and noticed the path to the nocat image is: http://www.yoursite.com/images/misc/nocatimage.gif. Firefox doesn't show the empty placeholder, so I hadn't noticed this before.
I've been looking through the templates, but I can find anywhere to change this path.
Thanks.
That's in SR Classifieds Options.
arossphoto
04-09-2006, 05:51 PM
That works. They also can't use the email feature, but that's probably a good idea anyway.
I just noticed a different problem. I've been using Firefox and just tested it in IE as well and noticed the path to the nocat image is: http://www.yoursite.com/images/misc/nocatimage.gif. Firefox doesn't show the empty placeholder, so I hadn't noticed this before.
I've been looking through the templates, but I can find anywhere to change this path.
Thanks.
Never mind! I'm an idiot! I sometimes forget to look in the obvious places first.
I hope this isn't another stupid question but I tried setting Categories Per Row to 1, and it look fine FireFox but in IE it looks like this. See attached image:
bashy
04-09-2006, 05:53 PM
Hi again Gio.....Tis ok theres no issues to report YET! lol
Was just wondering if you had a list or even part list to drool over for the premium version?
Gio~Logist
04-09-2006, 06:00 PM
Never mind! I'm an idiot! I sometimes forget to look in the obvious places first.
I hope this isn't another stupid question but I tried setting Categories Per Row to 1, and it look fine FireFox but in IE it looks like this. See attached image:
Hehe. That was a simple arithmetic problem. Incase you were wondering, what happened was this. The width of the tables were set using this equation:
$catwidth = 1/$catsperrow;
So when you have 1/1(you set one category per row), it gives you 1, instead of 100. And even when you have 2 per row, it gives you .5 instead of 100. The quation has been changed to:
$catwidth = 1/$catsperrow * 100;
And now it gives you 100 if you set 1 and 50 if you set 2. Anyways, just thought i'd share that lol. You can either redownload the zip and upload that sr_classifieds.php or take the one i'll attach for you here.
arossphoto
04-09-2006, 06:57 PM
Hehe. That was a simple arithmetic problem.
For some of us there's nothing simple about arithmetic :confused:
Here's another IE problem for you. When viewing the ad in Firefox the image appears fine, but in IE the space is blank. The thumbnail displays fine in the random ads as well as the cat listing, but not when viewing the ad. The problem was the same with the default image and after I uploaded a new image.
Here's the link to the ad in question:
http://www.canphoto.net/forums/sr_classifieds.php?do=ad&id=1
Thanks again,
Andrew
Gio~Logist
04-09-2006, 07:17 PM
For some of us there's nothing simple about arithmetic :confused:
Here's another IE problem for you. When viewing the ad in Firefox the image appears fine, but in IE the space is blank. The thumbnail displays fine in the random ads as well as the cat listing, but not when viewing the ad. The problem was the same with the default image and after I uploaded a new image.
Here's the link to the ad in question:
http://www.canphoto.net/forums/sr_classifieds.php?do=ad&id=1
Thanks again,
Andrew
Try editing sr_classifieds_viewad and change the <img src="$ad[image] to <img src="$vboptions[bburl]/$ad[image]"
See if that works.
I don't see why it doesn't show though, i mean, it's pulling up the info right.
Gizmo5h1t3
04-09-2006, 07:51 PM
installed. and works a treat..
nice hack
bashy
04-09-2006, 07:53 PM
Got an idea for an add on :)
How about when a new ad is placed, perhaps a marquee of some sort like i have on my forumhome showing the latest 10 or even a setting for random??
Gio~Logist
04-09-2006, 08:05 PM
installed. and works a treat..
nice hack
Thank you, glad you like :p
Gio~Logist
04-09-2006, 08:06 PM
Got an idea for an add on :)
How about when a new ad is placed, perhaps a marquee of some sort like i have on my forumhome showing the latest 10 or even a setting for random??
:p I have an idea for that
bashy
04-09-2006, 08:10 PM
Nice...look forward to it :)
:p I have an idea for that
arossphoto
04-09-2006, 08:23 PM
Try editing sr_classifieds_viewad and change the <img src="$ad[image] to <img src="$vboptions[bburl]/$ad[image]"
See if that works.
I don't see why it doesn't show though, i mean, it's pulling up the info right.
Still didn't work. I changed it to img src="$vboptions[bburl]/sr_classifieds/uploaded/$ad[image]" width="$newwidth" height="$newheight" align="left" and that created an absolute link, while before it as a relative link. But the path was always correct.
In the source code the image tag has no width or height attributes. (width="" height="") Could that be the problem?
Gio~Logist
04-09-2006, 08:49 PM
Still didn't work. I changed it to img src="$vboptions[bburl]/sr_classifieds/uploaded/$ad[image]" width="$newwidth" height="$newheight" align="left" and that created an absolute link, while before it as a relative link. But the path was always correct.
In the source code the image tag has no width or height attributes. (width="" height="") Could that be the problem?
Yes that could be the problem. I will look into this. I'm not sure why it would do this for you.
Yukino_AE
04-09-2006, 09:07 PM
this is an awesome addition! *gives 2 thumbs up* just curious, is there going to be an option to make subcategories at all?
Gio~Logist
04-09-2006, 09:21 PM
this is an awesome addition! *gives 2 thumbs up* just curious, is there going to be an option to make subcategories at all?
I may consider this for the premium version.
Deska
04-09-2006, 10:47 PM
Very cool hack :)
* Deska kick install ;)
So, what the different between light and premium version? When released? Where to buy? :D
Thank's...
I'll probably wait for the Premium version, but I'm *very* impressed by your level of support. Will click on Install and definitely vote for this when it will run for HoTM .
yinyang
04-09-2006, 11:22 PM
*installed*
very very nice. i've installed but can't yet use it until there's a comment system... i.e., is it possible to have a thread below the ad... so questions can be asked and answered?
Gio~Logist
04-10-2006, 12:15 AM
I'll probably wait for the Premium version, but I'm *very* impressed by your level of support. Will click on Install and definitely vote for this when it will run for HoTM .
Thank you for showing support :p I added you to the list of people that will be contacted when the premium version is out.
Gio~Logist
04-10-2006, 12:16 AM
*installed*
very very nice. i've installed but can't yet use it until there's a comment system... i.e., is it possible to have a thread below the ad... so questions can be asked and answered?
I believe that will be in the premium version as well.
arossphoto
04-10-2006, 12:32 AM
Thank you for showing support :p I added you to the list of people that will be contacted when the premium version is out.
You can add me to that list as well. Did you have any idea yet why the images aren't displaying in IE?
Thanks.
arossphoto
04-10-2006, 12:42 AM
It just occured to me that when I created the ad I didn't upload an image. I went back later, edited the add, and uploaded a photo. So I tried creating a new ad with an image and everything looks fine, including width and height dimensions in the img tag. Maybe there is something going wrong when you ad an image to an existing ad.
Cheers,
Andrew
Gio~Logist
04-10-2006, 12:53 AM
It just occured to me that when I created the ad I didn't upload an image. I went back later, edited the add, and uploaded a photo. So I tried creating a new ad with an image and everything looks fine, including width and height dimensions in the img tag. Maybe there is something going wrong when you ad an image to an existing ad.
Cheers,
Andrew
No, i found the problem :p.
What happened is that sometimes the image is actually smaller that the thumb you want, so i made it so that if the image is smaller that the thum you want, it just uses the normal image (no sense in making it bigger and loosing quality). The problem with this is that then $newheight and $newwidth weren't set. Anyways, it should be fixed by just overwriting this file.
Lea Verou
04-10-2006, 10:11 AM
How much will the premium version cost? I think I'll wait for that cause I want the system integrated in the forums, the same way GARS does so.
Gio~Logist
04-10-2006, 11:32 AM
How much will the premium version cost? I think I'll wait for that cause I want the system integrated in the forums, the same way GARS does so.
The premium version will be around $35.
pcoskat
04-10-2006, 11:39 AM
:( I bought PhotoPost classifieds and paid for the branding free option and form the pics you posted, this looks better.
This looks WAY better than photopost classifieds!!!
VERY impressive work. I'll be keeping an eye out for the premium version.
Is it possible to make people pay a fee (via paypal) for posting a listing? Or maybe a monthly fee for X number of listings?
Gio~Logist
04-10-2006, 11:44 AM
This looks WAY better than photopost classifieds!!!
VERY impressive work. I'll be keeping an eye out for the premium version.
Is it possible to make people pay a fee (via paypal) for posting a listing? Or maybe a monthly fee for X number of listings?
The premium version will have more usergroup permissions to make it so that certain groups can/can't access certain things. So that will allow for what you are saying. Also, would you like to be added to the list of people to be contacted once it's out?
Lea Verou
04-10-2006, 11:51 AM
Perhaps I'll buy the premium version.
Just have in mind while developing that there are classified ads that are not like the usual ones, eg buy and sell. For instance I would like that script for my cat site, where classifieds are mostly for adoptions of from people that want to adopt cats. What I am trying to say is that you should have an open mind while developing, the script should be flexible.
PS: Please include an option to disable the trader ratings in the premium one. People like myself don't need them as most people only post an ad once.
PS2: Comments to classifieds would be very useful.
pcoskat
04-10-2006, 11:52 AM
Also, would you like to be added to the list of people to be contacted once it's out?
ABSOLUTELY...this is a very fine piece of work! (BTW, I just sent you an email through your site :) )
Gio~Logist
04-10-2006, 12:27 PM
Perhaps I'll buy the premium version.
Just have in mind while developing that there are classified ads that are not like the usual ones, eg buy and sell. For instance I would like that script for my cat site, where classifieds are mostly for adoptions of from people that want to adopt cats. What I am trying to say is that you should have an open mind while developing, the script should be flexible.
PS: Please include an option to disable the trader ratings in the premium one. People like myself don't need them as most people only post an ad once.
PS2: Comments to classifieds would be very useful.
Perhaps i can make it so that you can add types via admincp. Also, i will try my best to include the option of disabling trader ratings.
Comments are also already planned for this by the way :P
Gio~Logist
04-10-2006, 12:43 PM
ABSOLUTELY...this is a very fine piece of work! (BTW, I just sent you an email through your site :) )
Thank you very much :p Your email has been replied to.
yinyang
04-10-2006, 03:28 PM
I believe that will be in the premium version as well.
sign me up on the waiting list! :banana:
Gio~Logist
04-10-2006, 03:46 PM
sign me up on the waiting list! :banana:
Done
Dennis B
04-10-2006, 04:31 PM
Hi Gio,
Sign me up to the premium list as well. :)
How about the script to import the iTrader data? I have a lot of past data and this would be critical for me.
Nice work.
Gio~Logist
04-10-2006, 04:45 PM
Hi Gio,
Sign me up to the premium list as well. :)
How about the script to import the iTrader data? I have a lot of past data and this would be critical for me.
Nice work.
I will get to that shortly. However, it will most likely be on the premium version by default as a feature.
Also, you have been added.
Dennis B
04-10-2006, 05:27 PM
ok.
In that case I will give this light version a try but in a reserved forum only.
Let me know when the premium version comes out. :)
dieselpowered
04-10-2006, 06:05 PM
Please sign me up as well for the notification list...excellent work my friend! Installed :)
bashy
04-10-2006, 06:06 PM
Would this be for example:
A usergroup can post a wanted advert but CANNOT post a For Sale Advert?
Cause this is sommat i really could do with as i would like to charge a small sub for peeps to be able to sell :)??????
The premium version will have more usergroup permissions to make it so that certain groups can/can't access certain things. So that will allow for what you are saying. Also, would you like to be added to the list of people to be contacted once it's out?
Gio~Logist
04-10-2006, 06:42 PM
Would this be for example:
A usergroup can post a wanted advert but CANNOT post a For Sale Advert?
Cause this is sommat i really could do with as i would like to charge a small sub for peeps to be able to sell :)??????
Yes i believe that would be possible.
Gio~Logist
04-10-2006, 06:42 PM
Please sign me up as well for the notification list...excellent work my friend! Installed :)
You have been added.
dieselpowered
04-10-2006, 06:44 PM
Noticed that in the Add a Field Box it indicates to insert the category number to include the field in, however, all I have is a drop down box with all the categories...how do we specify the specific categories if there are multiple?
Also, in the category manager when changing the display number and hitting save...it says that category &^^#*&$ has been saved??
Oh another thing...I suppose this will most likely be a premium feature, however, looks like there is no way to allow people to view the classifieds without allowing them to place an add...correct?
Quarterbore
04-10-2006, 07:33 PM
Tagged for install ASAP....
:banana:
Gio~Logist
04-10-2006, 07:38 PM
Noticed that in the Add a Field Box it indicates to insert the category number to include the field in, however, all I have is a drop down box with all the categories...how do we specify the specific categories if there are multiple?
Also, in the category manager when changing the display number and hitting save...it says that category &^^#*&$ has been saved??
Oh another thing...I suppose this will most likely be a premium feature, however, looks like there is no way to allow people to view the classifieds without allowing them to place an add...correct?
Actually, if you set usergroup not registered to be able to use the system, they can view things. However, they will never be able to post new ads :p
As for the category manager thing, i will look into it, however, i assure you that (if you haven't already noticed) it doesn't effect functionability. Just a little phrase problem.
And for selecting multiple categories for fields... that will be in the premium version. This version only allows a one category per field.
Gio~Logist
04-10-2006, 07:39 PM
Tagged for install ASAP....
:banana:
Not sure what that means but GREAT! Hehe :p
arossphoto
04-10-2006, 08:13 PM
I just noticed that you cannot change the timeframe on an existing ad. Was this by design? I would think there would be many occasions when people might want to extend an ad.
I also noticed that there is nothing inside the "Additional Details" box at the bottom of the "add a new ad" or "edit an ad" forms. Shouldn't the WYSIWYG editor be inside here?
Cheers,
Andrew
Gio~Logist
04-10-2006, 08:23 PM
I just noticed that you cannot change the timeframe on an existing ad. Was this by design? I would think there would be many occasions when people might want to extend an ad.
I also noticed that there is nothing inside the "Additional Details" box at the bottom of the "add a new ad" or "edit an ad" forms. Shouldn't the WYSIWYG editor be inside here?
Cheers,
Andrew
Additional details is only if you add new fields. I guess i should make it so that that doesn't even show if there's no new fields.
As for changing the timeframe.... i did that on purpose. Via template manager you can edit the timeframes in which people can choose and such. Therefore, i figured some people may want to limit or change it around and not allow users to change it :p I will probably make it so that mods and such can change it though for premium.
TitanJeff
04-10-2006, 09:05 PM
Awsome idea. Any way to set a percentage of the sale price to go to the host site? How about include a listing fee?
Gio~Logist
04-10-2006, 10:18 PM
Awsome idea. Any way to set a percentage of the sale price to go to the host site? How about include a listing fee?
I will be looking into this. I've been familiarizing myself with the paypal callback system. I needed to get the hang of it in order to create the system for selling my scripts. Therefore, i should be able to use mynew knowledge to incorporate paypal more for the premium version.
pcoskat
04-10-2006, 10:50 PM
Awsome idea. Any way to set a percentage of the sale price to go to the host site? How about include a listing fee?
I TOTALLY agree :)
Also, is there some type of 'user agreement' that a person has to agree to prior to posting an add...I'd like to be able have people 'agree' to the fact that the site isn't liable for any 'bad' transactions...before posting an item for sale.
Gio~Logist
04-10-2006, 10:56 PM
I TOTALLY agree :)
Also, is there some type of 'user agreement' that a person has to agree to prior to posting an add...I'd like to be able have people 'agree' to the fact that the site isn't liable for any 'bad' transactions...before posting an item for sale.
Ah yes. Good idea. I will make sure to add that in the list of things to do.
Deska
04-11-2006, 12:11 AM
Maybe a bug in admincp:
In Add Field or Extra Fields Manager, I saw these:
Categories To Include This In
Please enter the ID's of the categories in which you'd like to have these options included in, seperated by a comma. Leave this blank for it to be in all forums.
Ex: 1,2,3
But I saw the dropdown list, not field form.
Any idea to fix it?
Thank's...
Gio~Logist
04-11-2006, 12:16 AM
Maybe a bug in admincp:
In Add Field or Extra Fields Manager, I saw these:
But I saw the dropdown list, not field form.
Any idea to fix it?
Thank's...
That's not a bug. the light version only allows one category per field. I'm not sure why i didn't edit the definition to take out the "seperate category Id's by commas". Maybe i just wanted to tease you all for the premium version :p Hehe
Deska
04-11-2006, 01:35 AM
That's not a bug. the light version only allows one category per field. I'm not sure why i didn't edit the definition to take out the "seperate category Id's by commas". Maybe i just wanted to tease you all for the premium version :p Hehe
Lol, :)
So, no other way to did that for Lite version? :D
Gio~Logist
04-11-2006, 02:03 AM
Lol, :)
So, no other way to did that for Lite version? :D
Not at the moment. Plus, that will take away from the glory of upgrading hehe.
Quarterbore
04-11-2006, 02:08 AM
OK< I have this installed on my main forms and I found a couple minor issues you may want to address in your directions...
RE:
// ############# Do The Following In The postbit or postbit_legacy template ##############
Search for:
$vbphrase[posts]: $post[posts] <br>
Add Below:
<if condition="$post['userid'] AND $vboptions[sr_classifieds_active] == '1'">
<div>$vbphrase[sr_classifieds_rating] $post[sr_classifieds_pcnt]% <a href="sr_classifieds.php?do=user&userid=$post[userid]">($post[sr_classifieds_score])</a></div>
</if>
I notice that the <br> is not there... so it should say:
// ############# Do The Following In The postbit or postbit_legacy template ##############
Search for:
$vbphrase[posts]: $post[posts]
Add Below:
<br>
<if condition="$post['userid'] AND $vboptions[sr_classifieds_active] == '1'">
<div>$vbphrase[sr_classifieds_rating] $post[sr_classifieds_pcnt]% <a href="sr_classifieds.php?do=user&userid=$post[userid]">($post[sr_classifieds_score])</a></div>
</if>
Also, I edited Postbit...
RE:
// ############# Do The Following In The postbit or MEMBERINFO template ##############
Search for:
<if condition="$vboptions['usereferrer']">
<div class="fieldset">
<div style="padding:$stylevar[formspacer]px">
$vbphrase[referrals]: <strong>$referrals</strong>
</div>
</div>
</if>
I didn't see this in postbit so I changed MEMBERINFO
The script works great! I notice that the text box where we add the Classified body does not retain line breaks without HTML (so I have to use <p>). I would love a WYSIWYG system.
I also really need the abuility to post a URL in a custom field (in drop down possible to make abilityHTML an option?).
I tried adding a really long custom field (100-char) and I notice that there is a limit to how much text can be added (looks like 85-char). I am trying to post a link to other parts of my forums as a custom field and I need more like 100-char and perhaps as much as 120...
I hope the premium will allow for Admin defined classified ad limits or NO LIMITS for time a classified lasts (Group defined would be GREAT!!!!)...
I would love to see a SOLD indicator so that when a person sells their item that they can edit their ad and click a "SOLD" button to mark it SOLD plus remove the ad from the search. This way a person can finish their transaction and if it doesn't work out they can reactivate their ad without reentering it.
I would like a way for Admins or Moderators to LOCK an advertisement to prevent user changes... actually, I would like the option to only allow edits to the ad for X-hours (set in Admin CP) so that a seller can not edit their post after it is listed - only marked SOLD as described above. Admins and Mods should be able to edit or delete anything.
Otherwise, I am still trying to learn how to use this...
arossphoto
04-11-2006, 02:50 AM
After getting this setup I think I'm going to have to wait for the premium version with forum integration. But I want to keep this installed so I can easily upgrade when the premium version is released. Is there an easy way to disable the link the nav bar without completely removing it?
I just know that if there is no indication of the ads on the main forum page my members will never bother to click on the link to see what's for sale. But if they're visiting the forums and notice a new post in the classifieds forum they will always have a look. Any idea of a release date yet?
Cheers,
Andrew
Gio~Logist
04-11-2006, 02:55 AM
After getting this setup I think I'm going to have to wait for the premium version with forum integration. But I want to keep this installed so I can easily upgrade when the premium version is released. Is there an easy way to disable the link the nav bar without completely removing it?
I just know that if there is no indication of the ads on the main forum page my members will never bother to click on the link to see what's for sale. But if they're visiting the forums and notice a new post in the classifieds forum they will always have a look. Any idea of a release date yet?
Cheers,
Andrew
I started working on all the extra features today and i'm moving extremely fast. I'd say in the very very very very near future :p.
Gio~Logist
04-11-2006, 02:58 AM
OK< I have this installed on my main forms and I found a couple minor issues you may want to address in your directions...
RE:
// ############# Do The Following In The postbit or postbit_legacy template ##############
Search for:
$vbphrase[posts]: $post[posts] <br>
Add Below:
<if condition="$post['userid'] AND $vboptions[sr_classifieds_active] == '1'">
<div>$vbphrase[sr_classifieds_rating] $post[sr_classifieds_pcnt]% <a href="sr_classifieds.php?do=user&userid=$post[userid]">($post[sr_classifieds_score])</a></div>
</if>
I notice that the <br> is not there... so it should say:
// ############# Do The Following In The postbit or postbit_legacy template ##############
Search for:
$vbphrase[posts]: $post[posts]
Add Below:
<br>
<if condition="$post['userid'] AND $vboptions[sr_classifieds_active] == '1'">
<div>$vbphrase[sr_classifieds_rating] $post[sr_classifieds_pcnt]% <a href="sr_classifieds.php?do=user&userid=$post[userid]">($post[sr_classifieds_score])</a></div>
</if>
Also, I edited Postbit...
RE:
// ############# Do The Following In The postbit or MEMBERINFO template ##############
Search for:
<if condition="$vboptions['usereferrer']">
<div class="fieldset">
<div style="padding:$stylevar[formspacer]px">
$vbphrase[referrals]: <strong>$referrals</strong>
</div>
</div>
</if>
I didn't see this in postbit so I changed MEMBERINFO
The script works great! I notice that the text box where we add the Classified body does not retain line breaks without HTML (so I have to use <p>). I would love a WYSIWYG system.
I also really need the abuility to post a URL in a custom field (in drop down possible to make HTML an option?).
I tried adding a really long custom field (100-char) and I notice that there is a limit to how much text can be added (looks like 85-char). I am trying to post a link to other parts of my forums as a custom field and I need more like 100-char and perhaps as much as 120...
Otherwise, I am still trying to learn how to use this...
I think that the fields added have enough space to support a link. Also, as for the templates, keep in mind that it's different with everyone's template :p.
Also, don't forget to click install!
bada_bing
04-11-2006, 03:05 AM
Are you going to make this so that anyone using itrader can convert over without looking all there currentl itrader stats?
Gio~Logist
04-11-2006, 03:17 AM
Are you going to make this so that anyone using itrader can convert over without looking all there currentl itrader stats?
Yes, i am looking into coding that.
lazytown
04-11-2006, 03:37 AM
Please add me to the list of those interested in the premium version.
This looks much better than photopost classifieds (which I do not recommend).
Does the system verify buyers/sellers so that only they can leave feedback on a specific ad they were involved with?
For me the most important features in premium would be the ability to charge users for certain things (upgrades like adding extra pictures, bold/feature listings, percentage of sale price or flat listing fee, etc). Also, there needs to be a question and answer section below the listing for each item. I have to get a classifieds system VERY soon, so hopefully the premium version will fit the bill (I might need 3-5 of them).
Excellent work so far!!! (waiting for premium before installing).
-vissa
Gio~Logist
04-11-2006, 03:46 AM
Please add me to the list of those interested in the premium version.
This looks much better than photopost classifieds (which I do not recommend).
Does the system verify buyers/sellers so that only they can leave feedback on a specific ad they were involved with?
For me the most important features in premium would be the ability to charge users for certain things (upgrades like adding extra pictures, bold/feature listings, percentage of sale price or flat listing fee, etc). Also, there needs to be a question and answer section below the listing for each item. I have to get a classifieds system VERY soon, so hopefully the premium version will fit the bill (I might need 3-5 of them).
Excellent work so far!!! (waiting for premium before installing).
-vissa
The premium version will hopefully be a lot more paypal integrated and have it so that once a user buys something, it logs in in the database and then i guess i can do a check when giving feedback.
As for the release date, i am working extremely hard. It should be comming out very soon. The set price is going to be about $35.
Quarterbore
04-11-2006, 03:54 AM
I really do need more then 85-characters so I hacked the template: sr_classifieds_extra_fields
Find:
<input type="text" class="bginput" name="fields[$field[fieldid]]" value="$ad[fieldvalue]" size="$field[size]" maxlength="85" tabindex="1" />
Replace with:
<input type="text" class="bginput" name="fields[$field[fieldid]]" value="$ad[fieldvalue]" size="$field[size]" maxlength="120" tabindex="1" />
Works like a charm!
Gio~Logist
04-11-2006, 04:56 AM
I really do need more then 85-characters so I hacked the template: sr_classifieds_extra_fields
Find:
<input type="text" class="bginput" name="fields[$field[fieldid]]" value="$ad[fieldvalue]" size="$field[size]" maxlength="85" tabindex="1" />
Replace with:
<input type="text" class="bginput" name="fields[$field[fieldid]]" value="$ad[fieldvalue]" size="$field[size]" maxlength="120" tabindex="1" />
Works like a charm!
Indeed. Glad you got it working. Still haven't clicked install though :p hehe
Jon_Simmonds
04-11-2006, 05:30 AM
I will be looking into this. I've been familiarizing myself with the paypal callback system. I needed to get the hang of it in order to create the system for selling my scripts. Therefore, i should be able to use mynew knowledge to incorporate paypal more for the premium version.
To add, how about paid bold listings, or paid featured listings, that replace the code in the advert space?
michaelsilvia
04-11-2006, 06:03 AM
Holy smokes! This has to be added to the Hack of the Month!
I will add this to my site tomorrow and will look forward to the premium version. Excellent jon gio~logist!
Mike
Gio~Logist
04-11-2006, 06:04 AM
Holy smokes! This has to be added to the Hack of the Month!
I will add this to my site tomorrow and will look forward to the premium version. Excellent jon gio~logist!
Mike
:p Glad you like it. Would you like me to add you to the list?
Gio~Logist
04-11-2006, 06:05 AM
To add, how about paid bold listings, or paid featured listings, that replace the code in the advert space?
I'm not sure what you meant by the last part, sorry. Can you enhance on this please?
Da Drgon
04-11-2006, 07:04 AM
will there be an ability to select the currency of the sale during posting in the premium version? oh yeah... good work! please put me down on the premium buy list! :D
ConKien
04-11-2006, 08:20 AM
Great hack, please add me to the list for the premium version!
SkyCatcher
04-11-2006, 08:43 AM
Lol, :)
So, no other way to did that for Lite version? :D
You edit your database with phpmyadmin for example.
Find the sr classifieds table with your extra fields and go to structure mode.
Set fieldID to be the primary key.
This allows multiple fields with the same name to be displayed.
Add a new field with all the info selected, hit submit, then hit the back button, change the category to the next one you'd like it to appear in and hit submit... do the over and over until you have the field in every category.
You'll end up with, for example, 5 fields with the same name, which show up in 5 different categories.
It's the simplest way without modifying the code.
SkyCatcher
04-11-2006, 08:45 AM
BTW - I've noticed it's hard to distinguish between buyers and sellers.... is it possible to add a prefix dropdown list to the title of the ad (Wanted | Selling) or something to that extent?
Da Drgon
04-11-2006, 08:50 AM
also, will there be an option (in lite and premium) to change the member contact abilities to pm instead of email? currently, the member info shows "send a message via email to..." some people may not like the fact that they can be emailed regarding transactions and prefer being contacted via the pm system instead.... maybe have this observe the vb native user options instead (usually people have email disabled in usercp, but have pm on, or the other way around)? but if that were the case, I think it's wise to actually force users to enable one or both forms of private contacting in usercp, otherwise deny their access to SR classifieds
Da Drgon
04-11-2006, 09:04 AM
oh yeah... currently, I'm testing the system right now to work out the bugs... I noticed that I can't manage the feedbacks yet, unless I didn't see it... how do I remove feedbacks?
also, will there be an ability for moderators to move ads to different categories? I know deleting is possible already
Da Drgon
04-11-2006, 09:37 AM
well I deleted the feedbacks by deleting the entries in the vb_sr_classifieds_ratings table directly in the database..... there's got to be a easier way for management to be done, especially for moderators!
Deska
04-11-2006, 09:48 AM
Thank's SkyCatcher :D
Da Drgon
04-11-2006, 10:27 AM
found a bug in the sr_classifieds_feedbit template....
<td class="alt2"><if condition="$show[editcomment]"><a href="sr_classifieds.php?do=editfeedback&rateid=$feed[rateid]">
($vbphrase[sr_classifieds_edit])</a></if>
<a href="sr_classifieds.php?do=ad&adid=$feed[adid]">$feed[comment]</a></td>
where sr_classifieds.php?do=ad&adid= should be sr_classifieds.php?do=ad&id= instead... if you click on the ad link in the user feedback, it gives you an error saying the ad doesn't exist... that's because the URL is not correct.... I manually edited the template and corrected it
pcoskat
04-11-2006, 11:19 AM
Will the premium version have a module for vBAdvanced? So that users should display either RANDOM ADS or RECENT ADS on vBadvanced (or forum home, for that matter...)
Quarterbore
04-11-2006, 11:42 AM
found a bug in the sr_classifieds_feedbit template....
<td class="alt2"><if condition="$show[editcomment]"><a href="sr_classifieds.php?do=editfeedback&rateid=$feed[rateid]">
($vbphrase[sr_classifieds_edit])</a></if>
<a href="sr_classifieds.php?do=ad&adid=$feed[adid]">$feed[comment]</a></td>
where sr_classifieds.php?do=ad&adid= should be sr_classifieds.php?do=ad&id= instead... if you click on the ad link in the user feedback, it gives you an error saying the ad doesn't exist... that's because the URL is not correct.... I manually edited the template and corrected it
Thanks, I was looking for that too!
Also, I noticed there is a limit to the number of items that can be added to the drop down list. I need and want to have dropdowns with COUNTRY and STATE as that way I can build searches to allow members to only look for items in specific countries or states...
If someone figures that out I would love to know!
Also, I would like to suggest a differerent layout... would it be possible to move the latest X-classifieds to the center with the categories being listed on the right margin (obviously it is possible)... Then I would personally like to see the last classifieds listed in the layout like when we go into the categories... I know this is personal preferences and I can hack that later...
Also, I would like to be able to reorder the Custom fields directly in the "Extra Fields Manager" as having to open each field and set the display order is a major PITA.
Please add me to your list and I may need your help with a couple specific mods that I will need in the finished product but there is no sense in me coding that in this Beta version...
Da Drgon
04-11-2006, 11:50 AM
I believe those things you want will be in the premium version.... gio~logist is the best person to answer that obviously
Gio~Logist
04-11-2006, 01:02 PM
BTW - I've noticed it's hard to distinguish between buyers and sellers.... is it possible to add a prefix dropdown list to the title of the ad (Wanted | Selling) or something to that extent?
Yes.
Edit the template: sr_classifieds_adbit
Search for:
<if condition="$ad[active] == '2'"><b>$vbphrase[closed]:</b></if>
After that add:
<b>$ad[type]</b>
$ad[type] works pretty much anywhere there's an ad. I just didn't make it automatic because i figured some didn't want that.
Gio~Logist
04-11-2006, 01:04 PM
Thanks, I was looking for that too!
Also, I noticed there is a limit to the number of items that can be added to the drop down list. I need and want to have dropdowns with COUNTRY and STATE as that way I can build searches to allow members to only look for items in specific countries or states...
If someone figures that out I would love to know!
Also, I would like to suggest a differerent layout... would it be possible to move the latest X-classifieds to the center with the categories being listed on the right margin (obviously it is possible)... Then I would personally like to see the last classifieds listed in the layout like when we go into the categories... I know this is personal preferences and I can hack that later...
Also, I would like to be able to reorder the Custom fields directly in the "Extra Fields Manager" as having to open each field and set the display order is a major PITA.
Please add me to your list and I may need your help with a couple specific mods that I will need in the finished product but there is no sense in me coding that in this Beta version...
In phpmyadmin, go to sr_classifieds and then go to fieldx, where x is the id of the field you want to make longer. Then change it to mediumtext and take off the limit :p
You've been added to the list.
Gio~Logist
04-11-2006, 01:05 PM
found a bug in the sr_classifieds_feedbit template....
<td class="alt2"><if condition="$show[editcomment]"><a href="sr_classifieds.php?do=editfeedback&rateid=$feed[rateid]">
($vbphrase[sr_classifieds_edit])</a></if>
<a href="sr_classifieds.php?do=ad&adid=$feed[adid]">$feed[comment]</a></td>
where sr_classifieds.php?do=ad&adid= should be sr_classifieds.php?do=ad&id= instead... if you click on the ad link in the user feedback, it gives you an error saying the ad doesn't exist... that's because the URL is not correct.... I manually edited the template and corrected it
Good catch. I will fix that and then edit the zip.
Quarterbore
04-11-2006, 01:25 PM
In phpmyadmin, go to sr_classifieds and then go to fieldx, where x is the id of the field you want to make longer. Then change it to mediumtext and take off the limit :p
You've been added to the list.
Sorry, I wasn't clear... My issue isn't the length of the variable (set at 100-char) but an issue with how many items I can add to the pick list (I didn't count but say 30-states as opposed to 50)...
Now, when I go into the database I see that the way this is set up that the table "classifieds_fields" has the type defined as "SELECT" and options type is set as varchar(200). I think I need to change this to mediumtext....
The problem is it looks like that would requre that I change all the fields to Mediumtext which will make this pretty large (size wise)...
EDIT: Changing it to MEDIUMTEXT fixed my problem
Quarterbore
04-11-2006, 01:32 PM
Also, I have not found this yet but when I update a custom field I am getting an error that says...
Could not find phrase 'sr-classifieds_x_fieldsaved'.
DeeperImage
04-11-2006, 01:32 PM
Nice hack, will install when I get home.
Quarterbore
04-11-2006, 01:59 PM
Yes.
Edit the template: sr_classifieds_adbit
Search for:
<if condition="$ad[active] == '2'"><b>$vbphrase[closed]:</b></if>
After that add:
<b>$ad[type]</b>
$ad[type] works pretty much anywhere there's an ad. I just didn't make it automatic because i figured some didn't want that.
Thanks! I also am in the process of updating my templates with the option values for yje "Buy, Sell, Looking, Offering" to say:
<option value="WTB">Buy</option>
<option value="WTS">Sell</option>
<option value="WTT">Trade</option>
<option value="FREE">Free</option>
I think these were the only two I had to modify:
sr_classifieds_edit
sr_classifieds_new
Looks much better with these changed!
Gio~Logist
04-11-2006, 02:06 PM
Changelog:
4-11-06
* Admins can delete feedback
* User profile fixed (minor template issues)
* Ad type shown in adbit
* No more error message when saving field
ZIP UPDATED!!
tfw2005
04-11-2006, 03:19 PM
Just installed on test site, working perfectly except one thing...
My uploaded images are not readable. Getting CHMODDED to 600. Thumbs are fine. Those are CHMODDED at 644 and show up.
Images are there on server, in both places, just not viewable in full item listing.
If I manually CHMOD the files to 644 or 777, they show up in ad listing.
/uploaded and /uploaded/thumbnails directories are CHMOD to 777. Double checked that.
Any idea what's triggering this?
Using the 1.0.2 version released today.
Thanks!
Gio~Logist
04-11-2006, 04:26 PM
Just installed on test site, working perfectly except one thing...
My uploaded images are not readable. Getting CHMODDED to 600. Thumbs are fine. Those are CHMODDED at 644 and show up.
Images are there on server, in both places, just not viewable in full item listing.
If I manually CHMOD the files to 644 or 777, they show up in ad listing.
/uploaded and /uploaded/thumbnails directories are CHMOD to 777. Double checked that.
Any idea what's triggering this?
Using the 1.0.2 version released today.
Thanks!
It sounds like a problem with your ftp/CHMOD.
Double check that both the uploaded/ and uploaded/thumbnails are 777. Everything should be fine if they both are. It has nothing to do with the script itself.
tfw2005
04-11-2006, 04:37 PM
They are.
Must have uploaded 1000 files over last couple days, all VB related. (installing a test upgrade forum). Installed about 15 hacks, some of which include CHMOD requirements. Did those, those work.
Have 4 other browser based image upload scripts running in various non-VB programs, all similar to yours, plus the VB attachment features running in a file system on my main and on my test. Same server, same domain/folders. Those work.
Ill keep checking on my end, Im just letting you know that all things here point toward a script issue.
Edit:
Are there any CHMOD requirements for functions_sr_classifieds_upload.php ?
Gio~Logist
04-11-2006, 04:44 PM
They are.
Must have uploaded 1000 files over last couple days, all VB related. (installing a test upgrade forum). Installed about 15 hacks, some of which include CHMOD requirements. Did those, those work.
Have 4 other browser based image upload scripts running in various non-VB programs, all similar to yours, plus the VB attachment features running in a file system on my main and on my test. Same server, same domain/folders. Those work.
Ill keep checking on my end, Im just letting you know that all things here point toward a script issue.
Edit:
Are there any CHMOD requirements for functions_sr_classifieds_upload.php ?
No there aren't. Can you link me to your site so i can take a look?
Provide a test account if possible as well.
tfw2005
04-11-2006, 04:51 PM
PMmed with info.
Gio~Logist
04-11-2006, 04:56 PM
I have replied to your PM.
Quarterbore
04-11-2006, 05:18 PM
Here are a couple more code hacks RE the WTS, WTT, etc...
If you want these to show on the default home page:
Open template: sr_classifieds_main:
find:
<div><b>$randomad[title]</b></a></div>
<div class="smallfont">by $randomad[username]</div>
Replace with:
<div><b>$randomad[type] $randomad[title]</b></a></div>
<div class="smallfont">by $randomad[username]</div>
Open template: sr_classifieds_newadbit
find:
<div><b><a href="sr_classifieds.php?do=ad&id=$newad[classifiedid]">$newad[title]</b></a></div>
Replace with:
<div><b><a href="sr_classifieds.php?do=ad&id=$newad[classifiedid]">$newad[type] $newad[title]</b></a></div>
I have moved this to my public forum now that I am more comfortable with the script and you can see it running on my website here:
http://www.timeshareforums.com/sr_classifieds.php
Also note, I added WTR (RENT) and LTR (Looking to Rent) as like my suggestion posted above.
tfw2005
04-11-2006, 05:19 PM
Fatal error: Call to undefined function: imagegif() in ......./sr_classifieds/functions_sr_classifieds_upload.php on line 80
Also getting that error when attempting to upload Gifs. PNGs worked fine for upload, but same permission issues for full sized pngs.
Gio~Logist
04-11-2006, 05:23 PM
Fatal error: Call to undefined function: imagegif() in ......./sr_classifieds/functions_sr_classifieds_upload.php on line 80
Also getting that error when attempting to upload Gifs. PNGs worked fine for upload, but same permission issues for full sized pngs.
That's probably because of that authorization issue you're having.
tfw2005
04-11-2006, 05:29 PM
EDIT
My bad, previous comment came off rude. Not intentinon. However, that doesnt make any sense why one file type would not be defined while others are and work within the same exact file, and why only one folder on entire server has file creation issues, the one that stores the images created from this upload script.
Quarterbore
04-11-2006, 05:47 PM
Can I confirm... am I correct that the the main Classified Description body does not preserve line breaks and white space? That is the last major concern I have with the script...
As an example: If I typed this into my Classifieds on my site
I would get an output that looks like what follows.
------- output follows and is attached in the event I delete the test from my server------
http://www.timeshareforums.com/sr_classifieds.php?do=ad&id=5
Gio~Logist
04-11-2006, 05:48 PM
EDIT
My bad, previous comment came off rude. Not intentinon. However, that doesnt make any sense why one file type would not be defined while others are and work within the same exact file, and why only one folder on entire server has file creation issues, the one that stores the images created from this upload script.
The images in the thumbnail folder are created by the upload script as well. I really don't know why it isn't working for you. It's worked for everyone else. Perhaps i can take a look at your ftp if you'd like.
Quarterbore
04-11-2006, 05:54 PM
... why one file type would not be defined while others are and work within the same exact file, and why only one folder on entire server has file creation issues, the one that stores the images created from this upload script.
I am using GD as my Image Processing library... is there a chance you are using ImageMagick?
(Verify in vB Options >> Images)
It is just a guess however!
tfw2005
04-11-2006, 05:57 PM
Yeah can't give you server access, sorry. Ill look into this here tho, appreciate your help however it turns out.
Thought -> could another hack be interferring with this? I have the Plugin Accelerator with hook cache, along with the Template Cache hack installed and applied.
The Template Cache hack is creating a static file of sr_classifieds.php called sr_classifieds_1.php in a designated folder and using that to create these pages when requested rather than accessing the DB for templates each time. Mabey something isn't converting right.
Gio~Logist
04-11-2006, 06:01 PM
Yeah can't give you server access, sorry. Ill look into this here tho, appreciate your help however it turns out.
Thought -> could another hack be interferring with this? I have the Plugin Accelerator with hook cache, along with the Template Cache hack installed and applied.
The Template Cache hack is creating a static file of sr_classifieds.php called sr_classifieds_1.php in a designated folder and using that to create these pages when requested rather than accessing the DB for templates each time. Mabey something isn't converting right.
Maybe it's the template cache hack. Try disabling it and see.
Gio~Logist
04-11-2006, 06:45 PM
Can I confirm... am I correct that the the main Classified Description body does not preserve line breaks and white space? That is the last major concern I have with the script...
As an example: If I typed this into my Classifieds on my site
I would get an output that looks like what follows.
------- output follows and is attached in the event I delete the test from my server------
http://www.timeshareforums.com/sr_classifieds.php?do=ad&id=5
That's because i made the cellspacing 0. You can change that in the template if you'd like. I just thought it looks better that way.
Da Drgon
04-11-2006, 06:51 PM
Can I confirm... am I correct that the the main Classified Description body does not preserve line breaks and white space? That is the last major concern I have with the script...
As an example: If I typed this into my Classifieds on my site
I would get an output that looks like what follows.
------- output follows and is attached in the event I delete the test from my server------
http://www.timeshareforums.com/sr_classifieds.php?do=ad&id=5
yeah, I noticed that already... it seems that you have to enter HTML tags to make it happen.... meaning, non WYSISYG... I'm also assuming it does not respect any vb code like you would when making a regular forum post
also, will there by any means for the seller to "close" a sell early? like if an item was sold.... or perhaps the buyer bought something, and the ad is automatically closed... like how you would when you click "buy it now" on ebay.... then the sale information is automatically stored in the database and would automatically show up in a "feedback not left for users" list when you want to leave a feedback.... also related to it, if that was done, how about locking down on what type of feedbacks can be left? I mean, if the buyer clicked "buy" in an ad, and wants to leave a feedback relating to that ad, it should only be a "buyer" type feedback, and vice versa if it was the seller.... this way, feedback abuse can be reduced compared to itrader... how about a feedback main page for users so they can see/manage them? Will there be a way for users to reply to feedbacks? How about "ask seller a question" type stuff?
Quarterbore
04-11-2006, 06:56 PM
That's because i made the cellspacing 0. You can change that in the template if you'd like. I just thought it looks better that way.
Can you help me figure out which template? Cellspacing is used in many of your script and it seems to be used as a variable (cellspacing="$stylevar[cellspacing]" ) most of the time...
I can't figure this out...
Gio~Logist
04-11-2006, 07:06 PM
Hm. I just took a look at it is set to $stylevar[cellspacing] which means cellspacing is set. The reason that it looks different than your navbar is probably because your navbar uses different settings :p
Da Drgon
04-11-2006, 07:09 PM
ok, so in 1.0.2 you can delete feedback right? how do you do it because I don't see it in admincp or in SR classifieds itself
Quarterbore
04-11-2006, 07:11 PM
Hm. I just took a look at it is set to $stylevar[cellspacing] which means cellspacing is set. The reason that it looks different than your navbar is probably because your navbar uses different settings :p
I just need to figure out which template(s) I need to update... I would be glad to have that line hardcoded if I could find it!
Gio~Logist
04-11-2006, 07:12 PM
ok, so in 1.0.2 you can delete feedback right? how do you do it because I don't see it in admincp or in SR classifieds itself
When viewing someone's profile in SR Classifieds, if you are an admin, there is a delete option.
Da Drgon
04-11-2006, 07:18 PM
yeah, I assumed it would be like that but it's not working that way for me.... maybe because I did an upgrade install? right now, when I click on a username from within SR Classifieds, it brings up the user's feedback rating info as well as feedback list, but all I can do is edit the feedback but not delete them
Gio~Logist
04-11-2006, 07:31 PM
yeah, I assumed it would be like that but it's not working that way for me.... maybe because I did an upgrade install? right now, when I click on a username from within SR Classifieds, it brings up the user's feedback rating info as well as feedback list, but all I can do is edit the feedback but not delete them
Have you edited any of the templates in any way? If so, you have to revert them.
Quarterbore
04-11-2006, 07:33 PM
yeah, I noticed that already... it seems that you have to enter HTML tags to make it happen.... meaning, non WYSISYG... I'm also assuming it does not respect any vb code like you would when making a regular forum post ...?
Nope, she respects vB as well as HTML (I need to verify if eveybody can do HTML as I have a hack in my site that allows me and only me to do html...) The problem is that once they post in HTML the script converts it to vB code and when you go back to edit it again you now have vB code---> Actually a good thing IMHO
I believe that the loss of white space could also be happening in sr_classifieds.php itslef as that is where this whole HTML -> vB modification happens...
I need to get a fresh copy of what I have so far over on my development server as I am getting too anxious with my code hacks trying to get this resolved!
Da Drgon
04-11-2006, 07:37 PM
Have you edited any of the templates in any way? If so, you have to revert them.
yeah I did... on that bug I've mentioned..... I just reverted all the templates and it works... sorry, my bad
Battle_Ring
04-11-2006, 07:53 PM
i get this when importing product
Database error in vBulletin 3.5.4:
Invalid SQL:
CREATE TABLE IF NOT EXISTS `sr_classifieds_uploads` (
`classifiedid` int(10) unsigned NOT NULL default '0',
`image` varchar(250) NOT NULL default 'noimage.gif'
) TYPE=MyISAM;;
MySQL Error : You have an error in your SQL syntax near ';
' at line 5
Error Number : 1064
Date : Tuesday, April 11th 2006 @ 01:45:10 PM
Script : http://www.newenglandforum.com/admincp/plugin.php
Referrer : http://www.newenglandforum.com/admincp/plugin.php?do=productad
Quarterbore
04-11-2006, 08:02 PM
OK, I discovered something in my struggles! If I use the WYSIWYG (Editor Mode) the the white space (line breaks included) are preserved...
When I edit the same ad and save it in WYSIWYG mode the format is still saved...
If I click edit again and save it in the UBB view I lose the white space...
So, how can I just turn off the abuility to post in the classifieds in UBB mode until this can get resolved... anybody?
Gio~Logist
04-11-2006, 08:05 PM
yeah I did... on that bug I've mentioned..... I just reverted all the templates and it works... sorry, my bad
It's ok. I'm just glad you got it working.
Gio~Logist
04-11-2006, 08:05 PM
OK, I discovered something in my struggles! If I use the WYSIWYG (Editor Mode) the the white space (line breaks included) are preserved...
When I edit the same ad and save it in WYSIWYG mode the format is still saved...
If I click edit again and save it in the UBB view I lose the white space...
So, how can I just turn off the abuility to post in the classifieds in UBB mode until this can get resolved... anybody?
What exactly do you mean by UBB mode?
Gio~Logist
04-11-2006, 08:06 PM
i get this when importing product
Database error in vBulletin 3.5.4:
Invalid SQL:
CREATE TABLE IF NOT EXISTS `sr_classifieds_uploads` (
`classifiedid` int(10) unsigned NOT NULL default '0',
`image` varchar(250) NOT NULL default 'noimage.gif'
) TYPE=MyISAM;;
MySQL Error : You have an error in your SQL syntax near ';
' at line 5
Error Number : 1064
Date : Tuesday, April 11th 2006 @ 01:45:10 PM
Script : http://www.newenglandforum.com/admincp/plugin.php
Referrer : http://www.newenglandforum.com/admincp/plugin.php?do=productad
I believed you IMed me and we got it working. Glad things worked out :p
Jon_Simmonds
04-11-2006, 08:08 PM
I'm not sure what you meant by the last part, sorry. Can you enhance on this please?
On the sr_classifields main page there are adverts that are admin set between the catorgiries, id like to see a user to pay to place their claddifield item in place of these adverts, for a fee
Quarterbore
04-11-2006, 08:09 PM
When you edit an ad there is this little button...
https://vborg.vbsupport.ru/external/2006/04/70.gif
That button switches between the two editing modes. One is the typical vB mode (showing UBB code) and the other is the WYSIWYG mode....
This works fine in WYSIWYG mode....
Here is my page:
http://www.timeshareforums.com/sr_classifieds.php?do=ad&id=5
Gio~Logist
04-11-2006, 08:19 PM
When you edit an ad there is this little button...
https://vborg.vbsupport.ru/external/2006/04/70.gif
That button switches between the two editing modes. One is the typical vB mode (showing UBB code) and the other is the WYSIWYG mode....
This works fine in WYSIWYG mode....
Here is my page:
http://www.timeshareforums.com/sr_classifieds.php?do=ad&id=5
Ah, and when it's in the other mode, line breaks don't show? I see what you mean now. I'll get to that ASAP. Not really a big deal. However, it is annoying lol!
Da Drgon
04-11-2006, 08:31 PM
yeah, I noticed that already... it seems that you have to enter HTML tags to make it happen.... meaning, non WYSISYG... I'm also assuming it does not respect any vb code like you would when making a regular forum post
also, will there by any means for the seller to "close" a sell early? like if an item was sold.... or perhaps the buyer bought something, and the ad is automatically closed... like how you would when you click "buy it now" on ebay.... then the sale information is automatically stored in the database and would automatically show up in a "feedback not left for users" list when you want to leave a feedback.... also related to it, if that was done, how about locking down on what type of feedbacks can be left? I mean, if the buyer clicked "buy" in an ad, and wants to leave a feedback relating to that ad, it should only be a "buyer" type feedback, and vice versa if it was the seller.... this way, feedback abuse can be reduced compared to itrader... how about a feedback main page for users so they can see/manage them? Will there be a way for users to reply to feedbacks? How about "ask seller a question" type stuff?
assuming the above mentioned gets implemented:
also, I would like to see an "item quantity" box when you post a new ad, that way it can also tie into how many times you can click the "buy" button, which therefore relates to how many people can leave feedback relating to that ad
again, all to prevent feedback abuse
also, how about a user level system for certain categories? for example, if I wanted to create a "vendor" section, I want it so that only the authorized vendors can post ads, however anyone can respond to them (assuming the "ask seller a question" system gets implemented)
Gio~Logist
04-11-2006, 08:32 PM
assuming the above mentioned gets implemented:
also, I would like to see an "item quantity" box when you post a new ad, that way it can also tie into how many times you can click the "buy" button, which therefore relates to how many people can leave feedback relating to that ad
again, all to prevent feedback abuse
This will be looked into.
Da Drgon
04-12-2006, 01:55 AM
oh yeah.... will there be an ability to require pics being posted in future versions?
I installed v1.0.2 on a development install of vb3.5.0 and I'm getting this error that was posted on page one when I attempt to change a usergroup's permission...
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635
I have very few hacks installed on this developement site. I went ahead and disabled them as a test but the error still appears.
Da Drgon
04-12-2006, 08:42 AM
perhaps this hack is not compatible with your version of vb because it was developed using/for 3.5.4?
Quarterbore
04-12-2006, 11:52 AM
I hope you don't mind me posting modifications (if you do let me know and I will stop)...
I changed my install to allow PMs plus e-mail...
Open Template: sr_classifieds_viewad
<tr>
<td class="alt1">Email</td>
<td class="alt2"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$user[userid]" rel="nofollow"><phrase 1="$user[username]">$vbphrase[send_message_via_email_to_x]</phrase></a></td>
</tr>
After Ad:
<tr>
<td class="alt1">Send Private Message</td>
<td class="alt2"><a href="private.php?$session[sessionurl]do=newpm&u=$user[userid]" rel="nofollow"><phrase 1="$user[username]">$vbphrase[send_private_message_to_x]</phrase></a></td>
</tr>
Works like a charm!
http://www.timeshareforums.com/sr_classifieds.php?do=ad&id=1
I also changed the layout of the page a little...
So, if only I can retain the line breaks I really quite happy with this... I just hope the upgrade to the premium won't be too painful!
tfw2005
04-12-2006, 03:16 PM
Hey guys,
In case anyone else has the full sized images not showing up CHMOD 600 issue ...
In functions_sr_classifieds_upload.php there is a line saying:
if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) {
change that to
if (copy($_FILES['userfile']['tmp_name'], $uploadfile)) {
And files will upload with proper CHMODDING, and show up in the listings.
Apparently this is a result of the version of PHP and the variables set in your PHP.ini. Makes sense because none of the scripts similar to this i've run use the move_file command, all used the copy. Hence my WTF hair pulling yesterday. I didnt even want to begin messing with my server wide or site wide settings, but this worked, so Im good.
Hopefully anyone else experiencing this down the road can use this.
Gehanna
04-12-2006, 03:28 PM
I hate to be a spaz but when doing the template edits, I use the search in template feature to find:
$vbphrase[posts]: $post[posts] <br>
Unfortunately I get that it is not found in either the postbit or postbit_legacy template. As a result I don't know where to add:
<if condition="$post['userid'] AND $vboptions[sr_classifieds_active] == '1'">
<div>$vbphrase[sr_classifieds_rating] $post[sr_classifieds_pcnt]% <a href="sr_classifieds.php?do=user&userid=$post[userid]">($post[sr_classifieds_score])</a></div>
</if>
Can anyone suggest a solution?
ps- I have version 3.5.4
Thanks,
Gehanna
Quarterbore
04-12-2006, 03:33 PM
I hate to be a spaz but when doing the template edits, I use the search in template feature to find:
$vbphrase[posts]: $post[posts] <br>
Unfortunately I get that it is not found in either the postbit or postbit_legacy template. As a result I don't know where to add:
<if condition="$post['userid'] AND $vboptions[sr_classifieds_active] == '1'">
<div>$vbphrase[sr_classifieds_rating] $post[sr_classifieds_pcnt]% <a href="sr_classifieds.php?do=user&userid=$post[userid]">($post[sr_classifieds_score])</a></div>
</if>
Can anyone suggest a solution?
ps- I have version 3.5.4
Thanks,
Gehanna
Yea, the <br> is not in the original template...
Try looking for this:
$vbphrase[posts]: $post[posts]
I posted this earlier in the thread but I guess it wasn't updated... remember to add the <br> before the code you are adding or it will be on the same line.
Gehanna
04-12-2006, 03:38 PM
Hello Quarterbore :D
I just found this in postbit_legacy:
<div>
$vbphrase[posts]: $post[posts]
</div>
I assume that is what I am looking for but let me ask you this. Because the </div> is present, will I still need to add the <br> before the code?
Thanks Much for your reply by the way.
Sincerely,
Gehanna
EDIT TO ADD -- Nevermind. I discovered that it is not necessary to add the <br> provided the </div> is there.
Jon_Simmonds
04-12-2006, 07:18 PM
Id also like to see a selection box option for the additional fields, were users can select additonal terms, as opposed to the radio box list, and if a search function could be made to search the items that are selected in the selection box that would be grand
Loving this so far :D
Quarterbore
04-12-2006, 08:12 PM
I just noticed that this does not seem to have any limits on file or image size yet and that the image display is just a reduced version of the image uploaded to the server... It is pretty important that the users can not upload huge images so I would suggest a maximum file (memory or height/width) size check be incorporated in the CP at some point...
klinsek
04-12-2006, 08:23 PM
Got to page 13 and didn't see anyone cover this error...
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635
Any ideas?
Gio~Logist
04-12-2006, 09:46 PM
Hello Quarterbore :D
I just found this in postbit_legacy:
<div>
$vbphrase[posts]: $post[posts]
</div>
I assume that is what I am looking for but let me ask you this. Because the </div> is present, will I still need to add the <br> before the code?
Thanks Much for your reply by the way.
Sincerely,
Gehanna
EDIT TO ADD -- Nevermind. I discovered that it is not necessary to add the <br> provided the </div> is there.
Yes, that's it.
Gio~Logist
04-12-2006, 09:48 PM
Got to page 13 and didn't see anyone cover this error...
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635
Any ideas?
I believe it's because of the vb version. Try editing sr_classifieds.php and search for:
if($permissions['sr_classifieds'] & $vbulletin->bf_ugp['sr_classifieds']['canedit'] OR $bbuserinfo[userid] == $user[userid]){
Change that to:
if($permissions['sr_classifieds'] & $vbulletin->bf_ugp['sr_classifieds']['canedit'] OR $vbulletin->userinfo[userid] == $user[userid]){
Gio~Logist
04-12-2006, 09:49 PM
I just noticed that this does not seem to have any limits on file or image size yet and that the image display is just a reduced version of the image uploaded to the server... It is pretty important that the users can not upload huge images so I would suggest a maximum file (memory or height/width) size check be incorporated in the CP at some point...
Hm. Yes, a maximum file size will be nice. Let me add that to the list of things to do.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.