vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   PhotoPost vBGallery - Forum Home (https://vborg.vbsupport.ru/showthread.php?t=96152)

Zachariah 03-30-2006 01:14 PM

Thinking out loud.

- I am working on 1 php file / product and plugins to contain all the needed PHP code to show gallery images in many places of the forums. My current problem with this is global datastore. I have been working on a global datastore call into VB w/ 1 file edit to VB core files. This would stop the need for edit each php file of VBCore to show images on the page via. plugin. This edit also works for any CMPS portal block / page as well as VB powered pages.

I have many small projects in the mix.
I'll see about gathering the code up.

AzianStang 03-31-2006 05:09 PM

Attempting install on 3.5.4 and I'm unable to find $phrasegroups = array('holiday'); or 'mailqueue' in index.php...

prettyboi 03-31-2006 05:56 PM

Quote:

Originally Posted by AzianStang
Attempting install on 3.5.4 and I'm unable to find $phrasegroups = array('holiday'); or 'mailqueue' in index.php...

Oh it's there but it's very hard to find. I just found it today and it took me like 30 minutes to try to find it. Just got to look harder dude!

AzianStang 03-31-2006 06:52 PM

Quote:

Originally Posted by prettyboi
Oh it's there but it's very hard to find. I just found it today and it took me like 30 minutes to try to find it. Just got to look harder dude!

Thanks I'll keep my eyes open! ;)

prettyboi 03-31-2006 10:40 PM

No problem! :) btw nice page you got there! I like your design and keep up the good looking work you got there :)

AzianStang 04-01-2006 04:40 PM

Well I thoroughly searched for 20 minutes and used the Find function and still couldn't find it.

All I could find was $phrasegroups = array('cphome'); is this the same thing?

Zachariah 04-01-2006 05:06 PM

Quote:

Originally Posted by AzianStang
Well I thoroughly searched for 20 minutes and used the Find function and still couldn't find it.

All I could find was $phrasegroups = array('cphome'); is this the same thing?


eh?

forums/index.php

Code:

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('THIS_SCRIPT', 'index');

// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array('holiday','adv_gallery');

// get special data templates from the datastore
$specialtemplates = array(
        'userstats',
        'birthdaycache',
        'maxloggedin',
        'iconcache',
        'eventcache',
        'mailqueue'
        'gallery_c_cache', 
        'adv_gallery_opt', 
        'gallery_ugroups'

);


prettyboi 04-01-2006 05:06 PM

Do you have the vbadvance portal? Don't get mix up with the two index files now.

AzianStang 04-01-2006 07:21 PM

I do not have vbadvance.

All I have in the "pre-cache templates and data" section are:

// #################### PRE-CACHE TEMPLATES AND DATA ######################
$phrasegroups = array('cphome');
$specialtemplates = array('maxloggedin');

?

Zachariah 04-01-2006 07:28 PM

Quote:

Originally Posted by AzianStang
I do not have vbadvance.

All I have in the "pre-cache templates and data" section are:

// #################### PRE-CACHE TEMPLATES AND DATA ######################
$phrasegroups = array('cphome');
$specialtemplates = array('maxloggedin');

?


You sound like your in /admincp/index.php or modcp/index.php.

You need to edit:
/forums_install_folder/index.php

IE: /forums/index.php


All times are GMT. The time now is 01:26 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.01701 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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