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)

Etcher 01-09-2004 07:41 AM

Installed... Took twice to do it, but I found that I was also trying to use the supplied installer the first time... Without it I had it up in no time...
Works perfect with the default theme, but is having a little trouble with the font color and mouse over on the other one...
Other than that it is working well...

Great job, and needed by most of us...

sawalton1964 01-10-2004 12:58 PM

Having problems with the photopost login and search buttons at http://www.globalphotosite.org/photopost/index.php

login ->> Fatal error: Call to undefined function: gettemplate() in /home/sites/site29/web/photopost/login-inc.php on line 23

search ->> Warning: main(/home/sites/site29/web/photopost/templates/search.tmpl) [function.main]: failed to create stream: No such file or directory in /home/sites/site29/web/photopost/search.php on line 43

Warning: main() [function.main]: Failed opening '/home/sites/site29/web/photopost/templates/search.tmpl' for inclusion (include_path='.:/usr/lib/php') in /home/sites/site29/web/photopost/search.php on line 43

Also when I looked at Techie: http://www.vpforums.com/gallery/index.php?styleid=1
from the first post the problem is there too.

Etcher 01-10-2004 01:21 PM

'/home/sites/site29/web/photopost/templates/search.tmpl' for inclusion
it should not be calling that file...

Do you have another hack in there?

Lines 23 logininc.php
eval("\$pp_menubar = \"".gettemplate('pp_menubar')."\";");
eval("dooutput(\"".gettemplate('pp_login')."\");") ;

I am thinking that you have made a mistake somewhere...
Look over it again and check for typo's
Also what version on PhotoPost?

recumbent615 01-10-2004 01:57 PM

Etcher,

I was going to say the same thing until I re read the post. The Error at line 23 is looking for and not finding gettemplate ( a vb routine ) define in admin/functions.php.

Be sure that you have all the correct information in the pp/header-inc.php file for VB integration.

Kevin

recumbent615 01-10-2004 02:06 PM

sawalton1964,

The error's that you are seeing in search.php are due to the fact that that is a new file since this hack was created and is sitll looking for the PP templates. there are a few templates that will need to be put back in to the template directrory until this hack is adapted for the new search funtions. ... Just find the old templates and copy them back into the PP/templates dir. that will get the search function working, but it will not look as nice as the rest of the integration.

Kevin

recumbent615 01-10-2004 02:25 PM

Here's the first step in updating the search.php file

On line 42 of search.php

find:
PHP Code:

   include( "$PP_PATH/templates/menubar.tmpl" );
    include( 
"$PP_PATH/templates/search.tmpl" );
    
printfooter(); 

Replace with:

PHP Code:

##   include( "$PP_PATH/templates/menubar.tmpl" );
    
eval("\$pp_menubar = \"".gettemplate('pp_menubar')."\";");
    include( 
"$PP_PATH/templates/search.tmpl" );
    
printfooter(); 

and dont forget to put search.tmpl back in the PP/templates directory

Kevin

sawalton1964 01-10-2004 06:32 PM

Ok, decided to revert to a non-moded gallery for the time being, the owner has plans to re-brand the site and hopefully a photopost 4.6 VBulletin 2.3.4 (or better ;) ) version is out by the time he makes up his mind.

Cheers, keep up the good work

JustCurious 01-15-2004 06:31 PM

I deleted the templates with the exception of those two and got about 4 errors plus a fatal error. I reuploaded the templates and now all of the errors are gone except the fatal which is: Fatal error: Call to undefined function: gettemplate() in /home/xxxx/public_html/gg/index.php on line 171

Any ideas? This is line 171 in index.php: eval("\$pp_online = \"".gettemplate('pp_online')."\";");

I don't see pp_online anywhere and I'm sure where it came from.

Thanks in advance.

JustCurious 01-15-2004 06:34 PM

And what is this telling me during install?

You need to make changes to the following vBulletin files:
template.php (1 change) [groups PhotoPost templates in cp]

recumbent615 01-16-2004 12:44 AM

JustCurious,

How did you install the New templates? Did you use the install script provided with the hack? It has been reported several times in this thread that it does not work correctly, I have provided the sql commands in a file to add the templates and another poster has included a text based template set you can either open each template and cut and paste or you can use Chen's template backup hack ...

pp_online is one of the templates provided by this hack. I would suggest that you down load the zip file that contains the template backups and verify that you have all of the templates installed correctly.

As far as your post #69 open /forums/admin/templates.php

PHP Code:

 $only['pagenav'] = 'Page Navigation';
  
$only['pp_'] = 'PhotoPost';
  
$only['poll'] = 'Polling';
  
$only['postbit'] = 'Postbit'

add the second line there between Page Navigation and Polling

I hope this helps.

Kevin


All times are GMT. The time now is 10:06 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.01210 seconds
  • Memory Usage 1,749KB
  • 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
  • (3)bbcode_php_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