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.
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.
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
OK I fixed it in the UBB style. It had a different setting than our default one did.
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.
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.
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.
You can try adding this to any query take note to edit it to suit your needs
Ok I got a random image working, but where in this statement do I add the above to make it change once a day?
How about after your other AND statement in that query or before it ;)
I had tried it after the > 799 and got errors instead on the picture...
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