The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
PhotoPost vBTemplates 4.1.x/4.5.x Details »» | |||||||||||||||||||||||||
PhotoPost vBTemplates Hack v4.5
for vBulletin 2.2.7 through 2.3.x and PhotoPost 4.1.x or PhotoPost 4.5 THIS IS NOT FOR VB3! Created by: AJR (arusso@vpforums.com) Installer by: Bane Comments and suggestions welcome! What this hack does: ==================== If you have PhotoPost (www.photopost.com) installed along with vBulletin, you're stuck with only 1 template style using the .tmpl files that come with PhotoPost. This hack allows you to make your gallery look more like the vBulletin style you're using by pulling the vBulletin style/replacement settings. Best of all, if you use multiple styles, each style can have it's own templates for PhotoPost. With PhotoPost 4.5 there is now the option to create different .tmpl template sets which is great, but to keep up with 2 configurations for colors and styles can be a pain. This hack also changes the way postbit data in the comments are displayed. The date is shown like vBulletin (May 2003 instead of 5/2003). Also, the code is included for showing the user's avatar in the comments! Examples: ========= Visit the following links for different style settings: Techie: http://www.vpforums.com/gallery/index.php?styleid=1 XP: http://www.vpforums.com/gallery/index.php?styleid=2 iMac: http://www.vpforums.com/gallery/index.php?styleid=3 Bluechrome: http://www.vpforums.com/gallery/index.php?styleid=4 Utopia: http://www.vpforums.com/gallery/index.php?styleid=5 Techb1: http://www.vpforums.com/gallery/index.php?styleid=6 Tech Forums v3: http://www.vpforums.com/gallery/index.php?styleid=7 Photon: http://www.vpforums.com/gallery/index.php?styleid=8 Version 4.5 - December 2, 2003 ============================== - This version has been updated for use with PhotoPost 4.5. If you are using 4.1.x be sure to choose the proper version from the install Templates Added: - pp_showphoto_showubb Templates Changed: - pp_bulkupload - pp_featurebit - pp_login - pp_searchbox - pp_membhead - pp_showgallery - pp_showphoto - pp_showphoto_extra6 - pp_showphoto_noslideshow - pp_uploadphoto - pp_uploadphoto_adminedit Files Changed: - bulkupload.php - pp-inc.php - showphoto.php Version 4.1.5 - November 28, 2003 ================================= - This is the first release of this hack. I have tested everything as best as I can and everything should work correctly. The version numbering will go along with PhotoPost's version number that it is tested with. - Converted all .tmpl files to vB Templates - Changed the way the 'Registered:' date shows up (shows May 2003 instead of 5/2003) - Included code to show the users avatar when they comment on a photo. - menubar.tmpl and diewell.tmpl still need to remain in case of errors within PhotoPost. - Created install_pptemplates.php file to install the 127 templates needed for this hack. Installation: ============= The install of this hack is relatively easy. There are 17 Photopost files and 1 vBulletin file that need to be edited. While this may seem like a lot, it's just replacing all the calls from the .tmpl files to the new pp_ templates. Please make sure to follow each file change carefully. If you have errors after the install, check the file changes again! It does work. Install time is approximately 15 to 20 minutes. I will be working on a version to work with the new PhotoPost 4.5.x that was just released on 11-20-2003. I WILL NOT be working on versions of this hack for use with vB3. If anyone would like to convert this to vB3, please do so! 11-29-03 1:35AM PST: Just noticed an error on the template install that I uploaded (it was the wrong one). It has been fixed and reuploaded. 12-2-03 12:30AM PST: Updated this hack for PhotoPost 4.5.x (also includes install for 4.1.x). Download the zip file in this post for the updated version. Show Your Support
|
Comments |
#52
|
|||
|
|||
anyone can tell me if this works with 4.6 too?
|
#53
|
||||
|
||||
Quote:
|
#54
|
||||
|
||||
Quote:
|
#55
|
||||
|
||||
Quote:
|
#56
|
||||
|
||||
Is the 4.6 out allready?
|
#57
|
||||
|
||||
It was released on 12/17....
|
#58
|
|||
|
|||
All,
I just installed it on 4.6 last night, works very well. There are two addtional templates in 4.6 ppopen and ppclose that do not have VB telmates to replace them so you need to leave them in the template directoy. I had renamed my stylesheets and TEmplates folders and fould that in 4.6 there were two new templates being called. As this was my second install, I just dumped my template table that included all of the pp_% templates and then ran the sql commands directly on the new v4.6 install. Much easier than editing each one by hand. I have attached my sql command for those of you who are comfortable with SQL to use it. Kevin |
#59
|
|||
|
|||
Ok I have found an issue, and it seems to be related to this hack, but I have not unhacked to see if it works, I'm running both 4.6 and 4.5.x of PP and the latest full release of VB/VBPortal. the issue shows up in the form of not representing the catagories and sub-cats as in this is how the cat and sub cat appear when setup in the admin :
Code:
main cat [1] sub cat [1] sub cat [2] second cat [2] sub2 cat [1] sub2 cat [2] third cat [3] sub3 cat [1] sub3 cat [2] Code:
main cat [1] sub cat [1] sub cat [2] second cat [2] sub2 cat [1] sub2 cat [2] third cat [3] sub3 cat [1] sub3 cat [2] Kevin |
#60
|
|||
|
|||
Here's An Update on this problem:
I have been looking at this problem since last night ( WOW what a way to ring in the New Year) or as my kids would say "what a nerd" in a loving kind of way. I have determined that it is this Hack that has caused the problem and just to prove to my self I reinstalled PP without this hack and pointed it at the same data and it works... or should I say that it correctly represents the hierarchyof the Catagories. Here's a screen shot of the unhacked PP; The Offending Code seems to be in index.php. Anybody seen this issue or is it just me? If it is just me can anyone tell me where to look to correct this error. Thanks. And Happy New Year's From Boston. Kevin |
#61
|
|||
|
|||
Ok,
After determining a fix for this issue this morning, and making a typo that make it look like the fix didn't work I found my typo and now have this fixed. In the index.php file find: PHP Code:
and change it to this: PHP Code:
as it turns out the data in $indent was never cleared so after you indented one subcatagory all following catagories were indented as much as the last one. I love this Hack. Make my Photopost look just like evey other page on my site. Thank you AJ for making this It's tops. Kevin |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|