 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
May 25th, 2012, 05:43 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Nov 2008 Location: Beebe, AR
Posts: 66
| 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
|
| |
May 25th, 2012, 06:11 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,702
|
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.
|
| |
May 25th, 2012, 06:23 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Nov 2008 Location: Beebe, AR
Posts: 66
|
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
|
| |
May 25th, 2012, 06:42 PM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Nov 2008 Location: Beebe, AR
Posts: 66
|
OK I fixed it in the UBB style. It had a different setting than our default one did.
|
| |
May 25th, 2012, 08:21 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,702
|
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.
|
| |
June 2nd, 2012, 10:47 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Nov 2008 Location: Beebe, AR
Posts: 66
|
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.
|
| |
June 2nd, 2012, 10:54 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,702
|
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.
|
| |
June 2nd, 2012, 11:12 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,702
|
You can try adding this to any query take note to edit it to suit your needs Code: Content visible to verified customers only.
|
| |
June 6th, 2012, 07:00 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Nov 2008 Location: Beebe, AR
Posts: 66
|
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.
|
| |
June 6th, 2012, 08:08 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,702
|
How about after your other AND statement in that query or before it |
| |
June 6th, 2012, 08:40 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Nov 2008 Location: Beebe, AR
Posts: 66
|
I had tried it after the > 799 and got errors instead on the picture...
|
| |
June 6th, 2012, 09:12 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,702
|
maybe something in your edit there should be nothing wrong. My suggestion is to try in phpmyadmin sql window till you get it.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 09:34 AM. | |