Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
MOD NAME: Photopost and Ubbthreads Integrated Index Version
3

DESCRIPTION: Adds the Photopost Index to Threads creating a seemless integration.
BY: ExtremeBikini and Omegaton

DATE: 2-15-2003

CREDITS: Extremebikini for the initial hack and his tireless work on Photopost and Threads, Myself for XHTML Compliance and Updating for the tablewrappers and various bugfixes, JoshPet for bug fix with the forcats function

VERSION: 3.0 for UBB.Threads 6.2

REQUIREMENTS: A full version of UBB.Threads 6.2
COMPATIBILITY: UBB.Threads 6.2

DEMO: http://www.reeftalk.com and http://www.extremefitness.com

FILES MODIFIED: ubbthreads.php and ubbthreads.tmpl

NEW FILES: photopost.inc.php


Michael's initial post got too long to post all bugfixes and ensure everyone got the latest copy that solves the issues brought up in that threads so here you go. Thanks Michael for your tireless work in bringing us Photopost.
Attachments
69106-photopost.zip (0 Bytes, 62 downloads)

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
nice one, thanks for summarizing the changes O


- Allen wavey
- What Drives You?
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
There only been about a hundred

Just Kidding!

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3


- Allen wavey
- What Drives You?
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
ok, I had to take out the 'require photopost.inc.php' line because it was printing the contents of that file at the bottom of ubbthreads.php and not the pictures

I just added the info right into the ubb threads template, which isn't good from a security standpoint.

Besides that, there's some table issues, for some reason it's not printing the tbclose after the first set of member's categories. That a photopost bug?


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Aug 2002
Posts: 218
Member
Member
Offline
Joined: Aug 2002
Posts: 218
Has anyone of you made experiences with photopost 3.2 pro?

I am thinking about buying it and integrating it into my threads 6.2.2. If someone has already tested this it would be nice to get an email to exchange some info...

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
most everyone in this thread uses photopost 3.2.1 pro


- Allen wavey
- What Drives You?
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Allen I will attach my template here. I have no problems or table problems either. Let me know what you come up with. Yeah from a security issue require photopost-inc.php would be a good choice to use. I know Michael is using that option with no problem. Now I think if I remember correctly in the other thread you had problems when you first installed this hack. I beleieve that came from needing to replace the closing table tags with $tbclose right before this hack. But then that has been documented. Use beyond compare as I also have a few other hacks installed.

Jluerken,

For a complete integration of Photopost into UBBThreads go look at my site http://www.reeftalk.com or Michael's site http://www.extremefitness.com Now we both run Photopost 3.2.1 but He runs Threads 6.1.1 and I run Threads 6.2.2
Attachments
69583-ubbthreads.tmpl (0 Bytes, 98 downloads)

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Allen I just looked at your template at that site. I see no obvious big differences between template except your not using the require statement.

I did notice after running this site through the validator there where multiple invalid tables on this site. The total errors were a whopping 521 so I would think that your seeing the result of those errors graduating down. Thats weird as this hack itself is XHTML COMPLIANT. There is no explanation for what is displaying on that site from this hacks point of view. I see where that $tbclose is not being read. I will look into that part of the hack and see if there is anything that can be done. Mysterious to say the least. I would tend to think that if it misses one tbclose it would miss another.

Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
Very Very nice work!! Are table wrappers required for this one? Been dragging my feet adding that hack.

Sponsored Links
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
No table wrappers are not required though they will work for this mod LOL This hack is for 6.2 as it uses the tbopen and tbclose templates.

Joined: Feb 2002
Posts: 950
Hacker
Hacker
Offline
Joined: Feb 2002
Posts: 950
I had to make an update for forums which have multiple categories:

Code
      if ($firstpass) {<br />         echo "{$tbclose}";<br />      }<br />

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Thanks Michael attachment updated.

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Post deleted by omegatron

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
thanks everyone, that did the trick I'll work on tackling the require statement weirdness now

Yeah, there's lots of xhtml validation errors, the site owner is using some advertising code that's causing ~95-99% of them, making it difficult to track down any others in the list


- Allen wavey
- What Drives You?
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Yeah tell me I freaked when I saw 521 errors.

Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
Having difficulty with the require statement it lists the photopost.inc.php contents below the ubbthreads content.

I tried using beyond compare and omegatrons template for comparison. Looks good... but missing something with tired eyes. Need to win that review post license ya know

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I found a fix to the photopost.inc.php file printing the contents.

At the top of the file add this:

<?

at the bottom, add this:

?>

That prevents it from printing and parses it as code.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Omegatron / Michael -

Any idea here.... it seems to only print every other category for me.

Here's the photopost:
http://www.rcmodeling.com/photopost/

Here's the threads site:
http://www.rotory.com/ubbthreads/ubbthreads.php?Cat=

Note how it does every other category.


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
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
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-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)