[solved]quick question about functions
djetaine
Joined: 2004-08-09
Posts: 7 |
Posted: Mon, 2004-08-16 06:21 |
I am trying to install gallery into importal using the snailsource phpbb integration. My problem is when i click on gallery it is looking for some blocks that cant be found. I know that i need to enter two particular global variables into the function that calls the gallery. I believe this will fix it. Where would that function be located? what file? I dont really know php in-depth so i cant tell. Can anyone help me? sorry i was in the wrong forum, i figured the function would be inherent to gallery itself. |
|
Posts: 13451
[moving to the the correct forum]
Posts: 69
Gallery 1.4.4 comes with built-in phpBB integration (built off the snailsource approach). Look in this directory:
gallery\contrib\phpBB2
Posts: 7
oh, i didnt realize that. oops. I i have it working with my nornal phpbb page that i am running now. my problem is with the importal. if i run it directly off my forum it will work. And if i remove the block called recent topics out of my portal page it will work. Its just looking for that block and doesnt see those global variables that it needs.
I just need to know what function actually calls the gallery where i would insert those two globals.
Posts: 2322
djetaine, as AlpineZone said, look in the contrib/phpBB2 directory. All of the documentation is right there.
Posts: 7
i have looked at that. Im not having a problem integrating with phpbb. That works just fine. Am i to understand then its just modules.php that calls the gallery? becuase i dont see any part where i would insert those variables.
i was under the impression that it would look something like
but i dont see any sort of function call like that in the modules.php
this is the help that i got from martin from snailsource. he said he didnt know exactly what code id need to insert it into.
Posts: 2322
Insert *what* variables? Yes.. modules.php does all of the work.
You're not fully explaining what you're trying to do or what the problem is.
Posts: 7
heh, sorry. I have asked this question on two different boards and thought i had explained it further on this post.
I am using IMportal and am trying to integrate the gallery into it. The error message i am recieving is becuase i have not included the global variables $var_cache and $portal_config (or so im told) The problem is the importal is trying to get the gallery to look for the recent topics block for importal. When i remove the recent topics block off my portal page and then click on gallery everything works correctly.
you can see the error when you go to this page
http://www.theslackerslounge.com/TSLCMS/newforum/modules.php?op=modload&name=gallery&file=index&sid=dc08b512a09180e8b02c803918db62c7
Posts: 7
bump.... Any ideas? this is the only thing i need to get my site live.
Posts: 7
problem solved. thank you