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 |
#12
|
||||
|
||||
Nice work, AJR!!!
|
#13
|
||||
|
||||
I've given AJR a PM concerning this, but I thought I'd post the problem here and I'd update whenever I found out what the solution was in case anyone else is having this same problem.
I run Photopost 4.5 [test] and a vBulletin 2.3.2 test board. On my test board, the strangest thing is happening when I install this -- the templates act as if they're displaying, but there's no data output to fill the tables from Photopost at all.. no images, no image info, notta. x.x; To get a little more specific in detail, the tables display compressed -- as in, only a few pixels high. It's the effect of the tables not having any data to display other than {firstaltcolor} for a bg color or what have you. I'm rather curious as to why this is. I've installed all of the file edits and, using the installer, also installed the templates. I think I've done everything in my power with this install. Are there any others receiving this problem or am I just looney? I think I'd better note here that I don't run vBPortal [so therefore I don't use the vBPortal header in the Photopost setup]. I think that may be important to know in the case that there's a function or something similiar that this hack would require in order to possibly display the data. I'll play with reinstalling it fresh a little later on, but I wanted to see if this wasn't just my problem. And thanks AJR -- from the screenshots, this looks wonderful. |
#14
|
|||
|
|||
I had this same problem. What I found out that was when I installed the templates via the install script it did not insert some of the data for the templates. To work around this issue I exported my style and added the new templates to it with the style script in the download. I then uploaded the modified style and everything was fine.
|
#15
|
||||
|
||||
Excellent! I'll try that a little later on! Thank you.
<EDIT> This fix worked like a charm! Thank you thank you thank you. |
#16
|
|||
|
|||
I have the exact same problem. I did exactly as therisen did and pasted the new templates to the style script and uploaded it. I have one more task to complete... so my question is this... where do I find the "number of templates" indicator so that I can add 127 to the total?
thanks... |
#17
|
||||
|
||||
I'm putting the finishing touches on an integration hack for PhotoPost/vB:
http://www.photopostdev.com should have that ready in the next day or so. |
#18
|
|||
|
|||
Sounds great... Does this mean I will have to uninstall this template hack? I like the look of photopostdev.com. If that's how PP integrates... then I say let's go for it.
|
#19
|
||||
|
||||
I don't think so; the integration I did only requires two lines to be added to the vB side (one include and one variable insert in the template - two variable inserts if you want to seperate the features from the galleries like I did).
|
#20
|
|||
|
|||
Awesome!
to anyone else reading this thread, I am still unable to get the PP tables to show. Where do I find this so-called "number of templates" indicator? I searched the manual with no luck. |
#21
|
||||
|
||||
At the top of the vbulletin.style file that vBulletin allows you to download, you'll find something similiar to:
2.3.2|||xx|||default|||xx|||22|||141|||{tableborde rcolor}||........ See the 141? In your file, it'll be different obviously, but add 127 to that number and boom, there you go. It's more than likely the higher number. Atleast, that worked for me with no visible hiccups. Remember to add your templates to the bottom of that file and upload. Also, make sure you've uninstalled the templates already if you've tried installing them with the installer that comes with this hack. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|