PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds How do I...? (http://www.photopost.com/forum/classifieds-how-do-i/)
-   -   help with vbulletin implementation (http://www.photopost.com/forum/classifieds-how-do-i/123316-help-vbulletin-implementation.html)

FROGGYJ February 24th, 2006 09:12 PM

help with vbulletin implementation
 
Well I find most users get so accustomed to hitting "new posts" when browing the site that they tend to forget about other areas of a website. I used to have a forum setup for selling classifieds and if someone posted something, users would see it instantly. I find now since moving to photopost classifieds that the classifieds area has died off.....I know this is a long shot, but is there any way that if someone posts something in the classifieds it somehow can show up under "new posts" listings? or some other way to notify people of a new listing? Anyone else out there using VB and know what I mean?

Chuck S February 24th, 2006 09:22 PM

Why not do the classifieds photos block on your forumhome?

FROGGYJ February 24th, 2006 09:24 PM

got a link? might work......just these damn users only hit 1 button....new posts. haha. But might be ok if its on the forum home.

FROGGYJ February 24th, 2006 09:25 PM

nevermind I found it...will let you know.

FROGGYJ February 24th, 2006 09:46 PM

Chuck using a quote from one of your posts

Code:

Content visible to verified customers only.
how do I know the cat id's? Am I blind?

my problem is I am getting this error:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home2/edmonton/public_html/classifieds/inc_ads.php on line 56

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home2/edmonton/public_html/classifieds/inc_ads.php on line 108


They use different databases. Line 26 of inc_ads.php points to the classifieds databse and line 192 points to the vb database.

Chuck S February 24th, 2006 09:59 PM

Make sure the $link statement is filled out and in edit integration you have the correct table prefix of classifieds.

FROGGYJ February 24th, 2006 10:04 PM

I even made the change like you mentioned here.

http://www.photopost.com/forum/showp...9&postcount=14

btw I am using v 2.5

FROGGYJ February 24th, 2006 10:06 PM

ahh ok sql errors are now gone...must of been cause my table prefixes were blank under edit integration

FROGGYJ February 24th, 2006 10:09 PM

no matter where I put $classifiedsfeature nothing shows up. Are you suppose to edit these lines in inc_ads.php?

Code:

Content visible to verified customers only.
I saw in another post you made they were edited with cat id's...but how do I get them? I'm not even sure if this still applies now that I'm using v 2.5

Chuck S February 25th, 2006 06:52 AM

You put the include in the plugin for forumhome and $classifiedsfeature goes in the forumhome templates thats it

No there is nothing to edit just make sure if your using classifieds 2.5 you not using the hack but the one included in the distro.

FROGGYJ February 25th, 2006 11:20 AM

Quote:

Originally Posted by Chuck S
You put the include in the plugin for forumhome and $classifiedsfeature goes in the forumhome templates thats it

No there is nothing to edit just make sure if your using classifieds 2.5 you not using the hack but the one included in the distro.

sorry I don't understant "put the include in the plugin for forumhome"??

I got the $classifiedsfeature in the forumhome template part

Chuck S February 25th, 2006 11:29 AM

Have you included the inc_ads.php?

http://www.photopost.com/forum/showthread.php?t=122209

FROGGYJ February 25th, 2006 12:08 PM

ahh sorry didn't see that post. So now I haved removed the includes line from my index.php and just simply uploaded the plugin with the correct path I believe. Here is my setup.

http://www.edmontonsportriderz.com/forumvb/ -forums

http://www.edmontonsportriderz.com/classifieds/ -classifieds

both use their own DB....

-I have made the necessary changes to the inc_ads.php file
-I have uploaded the plugin you posted instead of editing the index.php file
-I have edited the forumhome template to include $classifiedsfeature

Still no images or block or nothing. I am wondering something though, for some reason photopost classifieds doesn't seem to work with imagemagick and I am still waiting on my damn host to recompile php after he installed GD finally. Could that be the issue? because as it stands there are no images in my classifieds area, just text untl I get this thumbnail issue resolved. However I would still expect there to be a block on forumhome, whether or not thumbnails are present, there should still be something no?

Chuck S February 25th, 2006 12:13 PM

Well its not going to appear for unregistered users I can tell you that. You do not allow unregistered users to see anything on classifieds so viewing your page I can say that for sure.

FROGGYJ February 25th, 2006 12:40 PM

right, but I as admin cannot see anything either and I am only testing it on a style to which no users can see anyways. Once I get it right I'll move it to the other styles.

Chuck S February 25th, 2006 02:23 PM

Check template edit. Check the plugin path to the file and make sure its right.

FROGGYJ February 25th, 2006 04:29 PM

chuck.....well I finally got php recompiled so that I can use GD2 for my images. I think once I get the images on the ads things will change...however 1 small problem.

I can upload gif's and png's no problem, but if I try to upload a jpg I get the following error

Unable to read the format of file: blabl/bla.jpg

I've search all over looking for the answer, but so far no luck. Again this is only with JPG's and nothing else. I checked config to make sure jpg are allowed....I also made sure there was a trailing slash on the end of the datat directory path...I checked permissions and made sure data and child directories were 777. Any other ideas?

Chuck S February 25th, 2006 04:40 PM

Okay well now you answered why nothing shows ;)

The block only shows ads with images

As far as GD make sure GD was compiled with jpg support.

FROGGYJ February 25th, 2006 04:49 PM

crap I just saw that......my stupid host (friend of mine)....gonna have to kick him in the ass.


All times are GMT -5. The time now is 01:31 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97