Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Mod Name / Version: UBBThreads Photopost Total Integration Version 4.7

Description: This mod is for the new Photopost 4.7. This mod makes use of the UBBThreads header and stylesheet for a total integration of Photopost within your UbbThreads environment.


Working Under: UBB.Threads 6.2-6.3-6.4

Mod Status: Finished

Any pre-requisites: UBBThreads and Photopost Licenses

Author(s): Omegatron

Date: 02/27/04

Credits: JoshPet for help on Header-Include

Files Altered: photopost------pp-inc.php ppopen.tmpl and ppclose.tmpl

Threads--------header-insert.php


New Files: None

Database Altered: Nope

Info/Instructions: Backup your files before modifing!!!!!

Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
Attachments
108826-photopost-integration.txt (0 Bytes, 322 downloads)

Sponsored Links
Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
your replacement instructions for pp-inc.php dosn't match with the code from pp. I hope I do the hacking correctly, but something iss missing in the instructions. The entrance of the gallery dosnt show correct and the stylesheet for the admin section dnst work. I go to search ....

/edit: first problem found. something wrond with my tablewrapper. I use the original and it works. Replace with tbopen/close (renamed) and it dosnt work. maybe the reletive path that I use. I will continue trying.

Last edited by Zarzal; 02/27/2004 3:19 PM.
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Are you sure you are using 4.7?

This is indeed in 4.7

require "languages/$pplang/pp-inc.php";

to give you a further hint that line is line 50 of pp-inc.php

and the printheader function is indeed from 4.7 you are replacing the entire printheader function which as always is the staple of this hack.

As far as the stylesheet in admin section that is not seen by anybody and I considered useless from this hacks standpoint.

You can find the stylesheet call in adm-inc.php and fill out the full path to a stylesheet you want to use but has no value on the workings of the hack which is to change the stylesheet based on a user's stylesheet which is all front end stuff.

Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
I done it. Works well. I misunderstand your instructions about the open/clos and now i got it. The style for Admin is working to. I got the information from the the old description. Thanks.

Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
yes, I use 4.7 I talk about your second hack modification in pp-inc.php:

###
### In pp-inc.php find this:
###


function printheader( $thecat, $titlereplace, $slideshow=0, $printheader="yes" ) {
global $Globals, $User, $link, $slidedelay, $slideurl, $vbheader, $skip_exheader;

if ( $Globals['printheader'] == "yes" ) return;
(...)

###
### Change to this:
###


function printheader( $thecat, $titlereplace, $slideshow=0, $printheader="yes" ) {
global $Globals, $User, $link, $slidedelay, $slideurl, $vbheader, $skip_exheader;
(...)

and this dosnt match with V4.7 wich I just download. I replace as I mean its correct and it seems to work. But I miss a feature:

A highlight of new features and improvements in PhotoPost 4.7 include:
- Collapsible/Expandable categories on Main Index

I cannot find this.

Sponsored Links
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Ah you mean my printheader function does not have the vb call

Got ya.

Yes you replace the entire printheader function

As far as collapsable cats I do not think that made it into this version or I do not see them either

Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
yes, yes, it exists, but not as you describe in your modification text. That what I mean.



ps please dont print entire code blocks on screen

Last edited by Omegatron; 02/27/2004 4:03 PM.
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
thanx Chuck.

Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
Thx Chuck. Up an running!

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
Chuck, I posted some things on the PP board that might effect the templates end of your mod. Read more


- Custom Web Development
http://www.JCSWebDev.com
Sponsored Links
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
test it JC and let us know

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
they are mainly design issues, not functionality. Although a couple could result in broken tables. I have it all running on mine.

Photopost Install


- Custom Web Development
http://www.JCSWebDev.com
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
I did your changes on my testboard although you put down 1 wrong file.. you listed index.tmpl but it should be indexhead.tmpl

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
Yup saw Michaels post, I started the list before dinner and left in the middle..lol


- Custom Web Development
http://www.JCSWebDev.com
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
yeah I can't post there Michael don't let me...

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
I dont do templates with this mod anymore. LOL

I just have you match the tbopen and tbclose variables and copy them to ppopen and ppclose.

Makes it alot easier on my and maybe the less steps involved the less mistakes someone can make installing the hack.

Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
I dont bring the popup help to work. I know in the past it work on my site. While testing the V4.7 I only get the yellow alert from IE and no window.

I verify the header-insert, try your and the original one, but no luck.

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
This line

PopUpHelpWindow = window.open("{$Globals['maindir']}/"+url,"Smilies","scrollbars=yes,width=300,height=400,"+pos);

Change the {$Globals['maindir']} to the actual url to photopost directory

Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
I hate Java it dosnt work. Or do I mistake ? the window.open should be on my site:

PopUpHelpWindow = window.open("http://www.dragonclan-forum.de/photopost/"+url,....

Is this correct or is there a syntax error in it ?

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
no as long as you escape the quotes out you should be ok so by doing

PopUpHelpWindow = window.open("http://www.dragonclan-forum.de/photopost/"+url,....

instead of

PopUpHelpWindow = window.open("http://www.dragonclan-forum.de/photopost/"+url,....

you should be fine.

Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
I need some help on this one, as I have never integrated these before (always left them separate).

Two questions:

http://www.bladekeep.com/forums/gallery/showgallery.php?cat=516

Why do I have a blank column over there, is this something I did during integration?

http://www.bladekeep.com/forums/gallery/index.php

Is there an easy way in the templates to fix the dark gray behind the "Recent Posts: last day...etc? I have ZERO knowledge of the photopost templates.

Thanks guys.

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
One suggestion for your mod Chuck would be to find a way to move the PP menubar to the footer. With the threads bar and the pp just below it, it looks cluttered.. I usually move mine to the footer on the main page. Also the profile and logout tags in the pp menubar are not needed, since the threads bar has em My souliton was to empty out the menubar template, (except for the needed PP tags etc) and put this at the bottom of the index page.

Code
 <br />echo<<<PPPRINT <br /></form> <br /><br /> <br />$ppopen <br />        <tr> <br />        <td class="tddetails" align="center" width="100%"> <br />$menu <br /></td> <br /></tr> <br />$ppclose <br /> <br /><br /> <br /><br /> <br />PPPRINT; <br />


What do you think?


- Custom Web Development
http://www.JCSWebDev.com
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
[]Medar said:
I need some help on this one, as I have never integrated these before (always left them separate).

Two questions:

http://www.bladekeep.com/forums/gallery/showgallery.php?cat=516

Why do I have a blank column over there, is this something I did during integration?
[/]

remove the integration and look again cause yeah that is something wrong there.

[]
http://www.bladekeep.com/forums/gallery/index.php

Is there an easy way in the templates to fix the dark gray behind the "Recent Posts: last day...etc? I have ZERO knowledge of the photopost templates.

Thanks guys. [/]

you mean the background? the background will be whatever the css you have is..

I personally started by deleteing all the files except the ones in upload and data and then pushed the new files over and set permissions. then ran the install script then the upgrades from the upgrade directory for me it was 45 46 467..

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
btw I see the SWG ss's what server you on?

Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
quick notice: V4.7e with several fixes in the templates and other bugfixes is avaible.
I still work on the %§%$" Java-help. Dont work but I dont go to sleep before it work

Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
My guild is on Bria, but I do not personally play the game. Still holding out for WoW, heh.

Will review the mod, I am guessing it has something to do with a spare TD or TR in there.

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
yeah I gave up SWG after 8 months of Beta Testing and 4 months of game.. found it wasn't improving any.. I am waiting for City of Hero's..

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Medar you need to download the latest Photopost

There was one put out this afternoon with some templates changes which broke some things. The templates have been rolled back.

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
so in English Omego if I downloaded this and and installed it wednesday I should be ok but if I downloaded the new one today or yesterday I need to update er rollback?

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
No your fine from wednesday unless you want the member gallery all image index back in. Update D had some attempted template corrections that made things look terrible thats why I told Medar to download the latest Photopost which is 4.7e

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
ok cool. thanx

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Beleive my my head has been spinning

We released Photopost 4.7

and members did not like the new members gallery specifically the fact we got rid of the old perl style member's gallery showing all of a members images in the members gallery regardless of cat. So we add it back in

Hense 4.7-1

Then to fix some specific forum moderation codes and the attempted few suggested template changes

we release 4.7d

The come to find out the suggested template changes made things look whacky as can be seen on Medar's install

so we release 4.7e

All in two days

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
ok so how is your integration changed any? or not?

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
No not at all

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
yup. Although there still are graphical bugs in categories.php on my board at least that I fixed by changing tdnothumbs to menubar2

Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
Hmm...I thought I had 4.7e installed. Will have to double check that.

Joined: Apr 2003
Posts: 359
Enthusiast
Enthusiast
Joined: Apr 2003
Posts: 359
Eeesh....think I'll just wait a another week or two until these minor updates stop coming out.

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Scroungr there is not a class called menubar2 and thats why 4.7f came out LOL

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
heh thats okay I just added it to my stylesheets

Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
Yap, my issue was that I updated with 4.7e - which had a few goofed templates, etc.

4.7f fixed everything up.

Page 1 of 3 1 2 3

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)