vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   PhotoPost vBTemplates 4.1.x/4.5.x (https://vborg.vbsupport.ru/showthread.php?t=58881)

AJR 11-28-2003 10:00 PM

PhotoPost vBTemplates 4.1.x/4.5.x
 
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.

corsacrazy 11-29-2003 07:42 AM

nice wrk u hav done there mate ;)

doh @ Powered by: PhotoPost PHP 3.2 :(

jjj0923 11-29-2003 09:25 AM

great idea - I'll be waiting on the 4.5 version since that's what I'm running.

- jeff

SVTBlackLight01 11-29-2003 10:56 AM

Quote:

Originally Posted by jjj0923
great idea - I'll be waiting on the 4.5 version since that's what I'm running.

- jeff

Me too.

Rampag33 11-29-2003 03:00 PM

Excellent been waiting on this for a long time.

***installs***

Harlequin 11-30-2003 08:38 PM

I've done a little bit of this myself but not quite this extensive. Definitely waiting on the 4.5 verison.

PixelFx 12-01-2003 01:47 AM

looks cool, good job :) I'm working on intergrated update as well but this looks really nice,. I'm currently using the latest photoshop release 4.5.1 .. any updates planned? :)

Rampag33 12-01-2003 03:56 AM

I love the hacc but think the intructions could be a lil more clear kinda jumbled together

AJR 12-01-2003 04:10 AM

I thought I made it easy, and don't know what else to add to the install instructions. I'll try and clarify:

1. From the zip file, upload the admin/install_pptemplates.php file to your forums/admin directory

2. In your browser, type the path to the install_pptemplates.php (eg http://www.domain.com/forums/admin/i...ptemplates.php)

3. Choose one of the following:
- 'new install' - installs the templates and then shows the file hacks to make
- 'file hacks' - View the files hacks that need to be done to the files (if you've already run the new install but need to see the file hacks again).
- 'uninstall' - remove the pp_ templates (NOTE: this will only remove the
default templates marked with a -1 in the templates table)

4. After making all the file hacks to the 17 photopost files and 1 vB file, upload the 18 files to your server where they need to go.

5. Delete all the photopost/templates/*.tmpl files EXCEPT menubar.tmpl and diewell.tmpl

6. Delete the install_pptemplates.php in your forums/admin directory after the install is complete.

The 'New Install' option will install the templates as default (-1) for all your themes installed. If you want to customize the templates for a more complex theme, go to your vBulletin Admin, choose Modify, choose Expand for the theme, and you will see the 'PhotoPost Templates' in the list.

Hope this helps.

AJR 12-02-2003 06:32 AM

An update for those waiting for the PhotoPost 4.5.x version of this hack has been posted in the first post of this thread!


All times are GMT. The time now is 12:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01120 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete