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)

liquidblaze 12-19-2003 06:04 PM

anyone can tell me if this works with 4.6 too?

orca 12-22-2003 02:41 PM

Quote:

Originally Posted by Imhotep
ok... so how do I update the templates from the ZIP file? I can't find this so-called template importer.

Well, I also didn't have the importer...so I updated all templates by copy&paste using the vBulletin template system in the admin area. A bit of work but it was wortn it.

orca 12-22-2003 02:42 PM

Quote:

Originally Posted by liquidblaze
anyone can tell me if this works with 4.6 too?

Hmm, no idea. Would be nice, though. Need to check the change log. But I guess you need to do any file modifications again. At least for the files which changed from 4.5.1 to 4.6.

obsidian 12-22-2003 06:33 PM

Quote:

Originally Posted by liquidblaze
anyone can tell me if this works with 4.6 too?

I have it running with VBportal and PP 4.6. Did everything manually and it worked like a charm.

gmarik 12-28-2003 03:55 PM

Is the 4.6 out allready?

oly51 12-28-2003 05:32 PM

It was released on 12/17....

recumbent615 12-29-2003 12:50 PM

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

recumbent615 01-01-2004 01:34 AM

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]

and shown in PP index.php looks like this

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]

now the catagory does now show up ( second cat and third cat ) when you click on main cat.

http://www.kmb.com/image1.jpg
http://www.kmb.com/image2.jpg

Kevin

recumbent615 01-01-2004 03:37 PM

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;

http://www.kmb.com/image3.jpg

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

recumbent615 01-02-2004 12:20 AM

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:

                }
    
$details .= "$detail";
       }
}
eval(
"\$pp_categories = \"".gettemplate('pp_categories')."\";"); 


and change it to this:

PHP Code:

                       }
           
$details .= "$detail";
           
$indent '';
          }
}
eval(
"\$pp_categories = \"".gettemplate('pp_categories')."\";"); 


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


All times are GMT. The time now is 06:48 PM.

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.01305 seconds
  • Memory Usage 1,750KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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