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.
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.
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.
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.
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.
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..
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
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?
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
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
OK the reason they did a bunch of mini releases was to take care of minor issues with certain customers. Nothing Major
Most of these except for the template thing you would never notice since you run threads. There were alot of new things like signature and avatar support added and group moderation.
The release notice said these features were only avaiable to threads and VB3 customers. Other customers freaked and did not want to wait. So they were added in. Thus you saw the many mini revisions. Most of which never would effect you.
Uh, now there's a 4.7g release....when will the madness stop!
Yea, yea...I understand...minor stuff...hence the letter designators. Just seems pretty funny is all...and that's why this hombre will wait til the madness slows down on the releases.
[]scroungr said: go into your stylesheet and find .welcome{ yadda; yadda; color: ;} and change the hex code color to another.. [/] Looks like that one changes the threads welcome and not the photopost welcome. Any other input here?
you didn't say which welcome anyways do the following.. this is what I do on most pages anyways.. select all text around the area you want to change and then look at it's source. most browsers allow you to look at the source.. that gives you a hint as to which class in the css to fix. like on yours where it says Welcome to yadda yadda in the yellow the source is..
[] <font class="welcome"> Welcome to the SoCAPS Photo Gallery!</font> [/]
so by looking at it appears to be the welcome class and is probably either the lackof a background: #yadda yadda or the wrong color in the welcome yadda yadda..
Okay, I've screwed up my PhotoPost each time I've done upates....yea, I know...I'm a knuckle-head and this is why I'm bringing this up before I end up with another headache and members sending Gweedo to my house to take me out.
Appears there is now a PhotoPost v4.7i out. I was going to wait until these minor updates stopped coming out, but I'd like to get the new features running on my site.
I'm currently running PhotoPost v4.6 and would like to update to 4.7i. Problem is as I explained...I always manage to screw up my database when I do these updates....so, here is where I need your help.
How will I properly go about an upgrade to version 4.7i? I have looked Chuck's instructions over but I didn't see specific guidance for knuckle-heads like me attempting to do an upgrade.
Well this is a hack. You need to follow these instructions to install the hack. To upgrade Photopost you must follow the steps in the UPGRADE.TXT file in the documentation folder in the photopost distribution.
Simply put upload all files to your photopost directory EXCEPT config-inc.php. Then run these upgrade scripts in order.
Chuck, believe I've replaced all the files as you've explained here in the past....but it screwed up the images.
For instance....if I replace the directories 2 and 500....I have files in both directories. If I replace them with the empty directories that are supplied with the archive...won't that delete my images in those directories?
You are using GD as your image processor and it does not support gif images. You will need to unselect it as an allowable image in your admin options or switch to ImageMagick as a processor.
If your using the integration you forgot to copy over the tdnothumbs stylesheet class to that threads stylesheet. This is the one that needs to be set to the same as the tdheader.
I see you asked the question over Photopost and Don helped you although I gave you the same answer above to fix it as well
[]Omegatron said:I see you asked the question over Photopost[/]
Yes I did, as you told me to.
[]Omegatron said:How about you post over at Photopost Support[/]
[]Omegatron said:and Don helped you although I gave you the same answer above to fix it as well [/]
Yes, Don did...and no, you did not give the same answer. Your answer was partial, but it would not have solved my issue entirely. I needed to FTP into my uploads directory for the gallery and delete all .gif files that were sitting in the subdirectories.
However, I do appreciate your assistance in solving part of my issue....I just wanted you to know that you did not give the same answers as Don did.
You told me to post over there....so I did, and then you still come back on here and shoot me in the leg.... Well, I'm confused....
Oh well....as always, your help is always appreciated even if you like to take pop shots at this hombre and then cover up with a smilie.
It is working correctly now and hopefully I have imageMagick installed so that I can accept .gif images.
[]Oh well....as always, your help is always appreciated even if you like to take pop shots at this hombre and then cover up with a smilie. [/]
Meeeeow.
The only reason Omega stated such is that Photopost and Threads are 100% separate products, and therefore you will get Photopost support on the Photopost member forums.
Questions about integration with Threads are best asked here...anything related to Photopost is best asked there.
The reason I stated that is half the questions or problems brought up the integration threads in every version I post ends up being photopost support related things.
I am running a UBBT 6.4 site with some very popular image forums. It contains loads of threads with multiple replies and lots and lots of attached images.
I am thinking of integrating PhotoPost with my site, to give users who just want to browse an easier way to look av the pics. Also I want to use photopost to get the great e-card stuff, ant use it with pal.
Is it possible to use this integration so that PhotoPost by itself creates new galleries when a new attachment filled thread is posted to a specified UBBT forum?
The forum integration is listed on the 4.8 features list. We currently automatically grab the stylesheets from VB UBBThreads phpBB and InvisionBoard.
We are currently on a stable RC3 release. There is no definate date set for a final yet. We currently have all 3 products on a beta cycle at the moment using the forums style integration and going through correctly any bugs that are reported. I will say Photopost is pretty stable in the RC3 and we are working on catching any bugs from Reviewpost and Classifieds. I think we are shooting to release GOLD versions of all 3 products. However the developer has the final work on any release time lines. I hopefully forsee a release within a month.
How do you do it here on Threadsdev to display the Threadsheader in PP V4.8 ? I only get the default PP header. Is there a integration avaible ? I need this
The instructions for PP 4.7 dosnt match anymore with PP 4.8, there are lots of differences. PP now offer to user header and footer .htm files witch can be selected in the config options. Can this be a smarter way to get a result without modify the script itself ?
I'm not a coder and dont have a clue I see that PP runs here well and I like do it the same way on my site if it possible.
not really because all the online.php uses for the info of what they are viewing is the nameof.php to say where they are looking thats why all files must basically be split into several files to know where the person is viewing so in other words why there are addressbook.php myhome.php online.php showflat.php etc..
Thank You for pointing me in the right direction. I learn best by example and that helped me get on the right track. I am getting a broader understanding of hacking and I really do appreciate it.
Why do I get different spacing? (www.sandiegobariatric.com) toggle between the photo gallery and the forums. There are no extra breaks in the header of the pp
Although you can have a CSS file - and a photopost sidebar - couldn't see any obvous method to add the same sidebar as the forums would use. Not without further hacking.
I would stress that I have not played with the new version very much - but initial inspection would seem to indicate that.
[]Turbosport said: is there an easy way to get the headers working ? ie, header.tmpl and ubbt_registerednav.php or unreg.... ? [/]
If you're referring to version 4.8.1 of PhotoPost using the threads header/footer & ubbt_registerednav.tmpl/ubbt_footer.tmpl, It is possible to do this. I teased it out by reading these instructions and making the first two edits to pp-inc.php mentioned in the instructions.
The first thing they tell you to add I added after the line requiring config.inc.php. The second part (the really long bit of code to replace) has changed, but you should still be able to tell where it starts and ends, then cut it out and paste the new code from the instructions. The last part about deleting one line you can ignore, because that line isn't there any more anyways (as far as I could tell).
Now I have my header/footer, nav bar, footer and IIP side bar all appearing in PhotoPost the way it did before. I hope that helps!
Sorry m8 no help at all, I cannot find the nav templates memtioned in these instructions ? (I take it you mean the instructions attached to the top of this post? )
can you show me the bit to change from you pp-inc file ?
This SHOULD (I hope) do it. It it the original file for the modification, though I've changed what needs to be edited in the pp-inc.php file. I don't know if you need to edit the ubbthreads header_insert.php file or not, but mine has been edited following these instructions and I'm not having any problem. I also don't know if you need to edit the stylesheets anymore because supposedly PhotoPost can now read the threads stylesheets. If you do do this following the changes that worked for me, you won't need to turn on stylesheet synchronization in PhotoPost because it's part of this mod. Nor do you have to set the path to the header or footer. Good luck!
I have a stupid question. Do you have to purchase PhotoPost? It seems a lot of you are using it or just tinkering with it and that's usually not the case when it's a 'pay for' type of thing. No insults meant of course.
Yeah, I can certainly see why people are getting it. I just got it myself and am loving it - although it's proving difficult for me to install all the way. I went through the setup (a number of times now!) and opted to use my UBBT user table for the users and it's all fine and good now except for one thing - how do I get to the admin section??? I can login using my UBBT accounts but nothing allows me to get into the admin section, not even my UBBT admin account.
Also, any help on the following error I'm getting five times at the top of every page would really make my day!!
Code
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/mydomain/public_html/photopost/forums/threads.php on line 285
Here is what is at and around line 285..
Code
foreach ( $ubbgroups as $groupvalue ) {<br /> if ( is_numeric($groupvalue) ) {<br /> $query = "SELECT groupid,cpaccess,modaccess,diskspace,uploadsize,uploads,comments,editpho,editposts,useralbums,reqmod,canassign FROM {$Globals['pp_db_prefix']}usergroups WHERE groupid='$groupvalue' LIMIT 1";<br /> $result = ppmysql_query($query,$link);<br /> ********Line 285********list( $usergroup,$cpaccess_a,$modaccess_a,$diskspace_a,$uploadsize_a,$uploads_a,$comments_a,$ueditpho_a,$ueditposts_a,$useralb_a,$reqmod_a,$assign_a ) = mysql_fetch_row($result); *******END OF LINE********<br /> ppmysql_free_result($result);
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.