Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2003
Posts: 250
Member
Member
Offline
Joined: Jan 2003
Posts: 250
Hi gang,

I am bleary here... so I thought I'd throw this out to the community for some ideas to get me going.

If you look at our Entrance page:
http://www.syngnathid.org
you will see we have three image rotators in custom PAL boxes. The code for these is causing some JS warnings, probably due to the multiply-nested single and double quotes required to make it run...

But, what I am looking to do now that we have PPPro, is pull those photos out of the photo gallery, and in the same pass fix those pesky JS errors.

Here are the caveats:
1) The photo gallery has one master section called Species Gallery, which is subdivided into the 3 subcats, each corresponding with one of the images on the Entrance page (i.e. there is a "Seahorses" subcat, a "Sea-Dragons" subcat, and a "Pipefish" subcat). Each of these are further divided by commonality and species. So, I will need a clever query to get ALL of the seahorse photos so I can display a random one, and obviously the same for the other two subcats.

2) I have the current images that cycle through on the entrance page set to 200x150. Is there a way to have PPPro give me the image at that size? It seems to make images based on percentages of original size, but can I hook into GD somehow to get my thumbnail at 200x150?

If I can get that together, I would be THRILLED, so any input is GREATLY appreciated!!!

Cheers,

Chris


"Some dream of doing great things, while others stay awake and get on with it."
      -- Anonymous
Sponsored Links
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Here is a Photopost random gallery pal box for IIP. You can modify it to suit your needs but it will get ya where ya need to be.

Attachments
74409-custombox1pal.txt (0 Bytes, 54 downloads)

Joined: Jan 2003
Posts: 250
Member
Member
Offline
Joined: Jan 2003
Posts: 250
Thanks a ton, Chuck!


"Some dream of doing great things, while others stay awake and get on with it."
      -- Anonymous
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
On the PP subject.

For the life of me I cannot find the modification that puts the normal threads header with the menu above the photopost page...

Any pointers anyone?


Nikos
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
It is this one Nikos

You do not need to add any other hacks to make it work although at the time I integrated Photopost with Threads I was working with a few hacks. Also in that post should be CSS classes matched up with Photopost global calls so you can go through and change them. Now with Photopost 3.3 which uses stylesheets you can add the new 7 classes to Threads stylesheets and then hack Photopost to use the stylesheets. This will work fine. I will be updating it in the next few weeks as I am working on my beta site to convert 3.3 to this integration level I currently have with 3.2

https://ubbdev.com/threads/php/...ew=collapsed&sb=5&o=&fpart=1

Sponsored Links
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
Thanks Chuck! :up:

I will for sure need to tweak the stylesheets to match the existing set.


Nikos
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Are you using Photopost 3.2 or the new 3.3

Joined: Jan 2003
Posts: 250
Member
Member
Offline
Joined: Jan 2003
Posts: 250
Was that to me, Chuck? We are on 3.3.1


"Some dream of doing great things, while others stay awake and get on with it."
      -- Anonymous
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Nope Nikos

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Nope that was for Nikos.

Now for 3.3 the hack will work but the CSS classes do not need to be changed. That hack was written and a separate part told ya what global color calls in 3.2 matched up to Threads CSS classes. I am working on 3.3 now as we speak. You just need to add the 5 classes that are not part of threads from Photopost CSS file into Threads stylesheets. It is alot easier than all the changes I made in 3.2 global color calls which took more time than the hack. I will be updating the hack for 3.3 soon but everything else in their is valid. To get the integration with the CSS classes you just need to add the ones meantioned above and set the colors to the proper ones in Threads.

Sponsored Links
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
Sorry Chuck for the late reply. We are using the latest version of PPro (purchased at the end of March).

I haven't had the time to work on this, since I am working full time on Aaron's site. However I do need this for that site as well as the longhaircareforum.com and my own. I guess that I need to find some time to put this into place in my dev server and then port it to the relevant sites where needed.

Thanks for the tip on the stylesheets. Yes it will make life a lot better.


Nikos
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Nikos I just updated the Photopost integration hack for Photopost 3.3 so there you go. It makes life alot easier.

Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
You are a star Chuck. Thanks


Nikos

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,575
Posts293,930
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)