PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   Search box width issue (http://www.photopost.com/forum/photopost-pro-installation-upgrades/148244-search-box-width-issue.html)

Iann May 25th, 2012 05:43 PM

Search box width issue
 
Just upgraded to 8.03 on First Generation Monte Carlo Club photo gallery - First Generation Monte Carlo Club Photo Gallery It is integrated with Threads 7.5.6 the problem I am having is the search box is way to wide on the sidebar with some of our forum styles. Any idea where to fix it. I read about being able to turn the sidebar off and it is supposed to show up in the menubar like it used to, but I like having the random images and what not on the sidebar...

Chuck I can give you admin access if you need it.

Thanks, Ian

Chuck S May 25th, 2012 06:11 PM

Well in your threads7.php obviously we do style matching against default ubbthreads style we map that to the ubbthreads style class ubbcode_body

I would suspect that in some of your custom threads styles that style class has some large number in it I think 500px wide.

You can test changing the style class match in threads7.php in your gallery/forums subdirectory to form-input the line that has ubbcode_body.

Iann May 25th, 2012 06:23 PM

Hmm This is the only line I can find that looks like what you are talking about...

$Style['blockquote'] = "ubbcode-body";

Is that what I need to change to form-input

Iann May 25th, 2012 06:42 PM

OK I fixed it in the UBB style. It had a different setting than our default one did.

Chuck S May 25th, 2012 08:21 PM

You can always also check to see if all your styles have form-input class and if they do you can change the master declaration in your threads7.php file and see if that helps.

If form-input is in all styles I can update the master integration if that works. I wrote threads7 back when it was new.

Iann June 2nd, 2012 10:47 AM

You worked on threads, I did not know that :) I need to pick your brain on a random image script that I use for showing random images on the main threads page. It works great pulling 5 images, because you wrote it. I want to make it only pull one image and show it all day on the main page for our site.

Chuck S June 2nd, 2012 10:54 AM

Michael and I where real big code moders on the Threadsdev site way back like 2003-2004 when PhotoPost Pro was first launched as a PHP program. We both used Threads before it went downhill and we jumped ship to vbulletin. I guess anywhere else I was omegatron and you may indeed be using some old hack which probally was released for what Threads 6 series or maybe even 5.

You can check out the mod corner here there are random photo blocks you can toy with you will have to adjust them to threads style formatting etc

Other than writing a Threads 7 integration module a few years back I have not peeked too much with that forum code.

Chuck S June 2nd, 2012 11:12 AM

You can try adding this to any query take note to edit it to suit your needs

Code:

Content visible to verified customers only.

Iann June 6th, 2012 07:00 PM

Ok I got a random image working, but where in this statement do I add the above to make it change once a day?

Code:

Content visible to verified customers only.

Chuck S June 6th, 2012 08:08 PM

How about after your other AND statement in that query or before it ;)

Iann June 6th, 2012 08:40 PM

I had tried it after the > 799 and got errors instead on the picture...

Chuck S June 6th, 2012 09:12 PM

maybe something in your edit there should be nothing wrong. My suggestion is to try in phpmyadmin sql window till you get it.


All times are GMT -5. The time now is 08:36 AM.

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