FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » FUDforum in eGroupWare » Trying to find how it work : mailing topic subscription !!
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Trying to find how it work : mailing topic subscription !! [message #22979 is a reply to message #22974] Wed, 23 February 2005 18:13 Go to previous messageGo to previous message
LaoziSailor is currently offline  LaoziSailor   Canada
Messages: 8
Registered: November 2004
Location: Don Mills. ON, Canada
Karma:
Junior Member
Ilia,

Thank you so much for your speedy response.

I am a PHP wannabe, I started my computer work with vacuum tube computers and writing machine code and have ever since been adding to the repertoire of languages. PHP is completely new to me however so I will need a little help.

in my /teamDSAO/fudforum/setup/base/www_root/adm/admglobal.php I have a section that is part of the FufForum Global settings admin panel:

<tr class="fieldtopic"><td colspan=2><br><b>Global (do not change these unless you know what you are doing)</b></td></tr>
<[QUESTION_MARK]php
	print_reg_field('WWW Root', 'WWW_ROOT');  = /teamDSAO/fudforum/3814588639/
	print_reg_field('WWW Root (disk path)', 'WWW_ROOT_DISK');  = /home/USRNAM/public_html/teamDSAO/fudforum/3814588639/
	print_reg_field('Data Root', 'DATA_DIR');  = /home/USRNAM/files/fudforum/3814588639/
[QUESTION_MARK]>


this displays (presumably) the contents of $WWW_ROOT, $WWW_ROOT_DISK, $DATA_DIR variables defined in /teamDSAO/fudforum/setup/base/include/GLOBAL.php

The only refernce to WWW_ROOT in /teamDSAO/fudforum/setup/base/thm/default/tmpl/iemail.tmpl is:

{SECTION: iemail_attach_entry file attachment entry row}
<tr>
<td valign="middle"><a class="GenLink" href="{TEMPLATE: iemail_attach_entry_lnk}"><img alt="" src="{GVAR: WWW_ROOT}images/mime/{VAR: v[4]}" /></a></td>
<td><font class="GenText"><b>{MSG: attachment}</b></font> <a class="GenLink" href="{TEMPLATE: iemail_attach_entry_lnk}">{VAR: v[1]}</a><br />
<font class="SmallText">({MSG: size} {VAR: sz}, {MSG: download_counter})</font></td></tr>
{SECTION: END}

I don't know at which stage of the installation the $WWW_ROOT was initialized or where it is kept for certain.
I was able to find "www.foobar.tld" in the phpgw_config table:

config_app config_name   config_value
phpgwapi   hostname      www.foobar.tld
phpgwapi   files_dir     /home/USRNAM/files
phpgwapi   temp_dir      /home/USRNAM/tmp
phpgwapi   webserver_url /teamDSAO

I feel I am so close (this is after all the Application Program Interface area) and yet I can't seem to put it all together.

I hope this gives you some meaningful information if you decide to give me another little push Smile

Cheers!


Han Tacoma

~ Artificial Intelligence is better than none! ~
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Previous Topic: Application Title Change
Next Topic: FUDforum setup within egroupware
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Sep 19 16:51:16 GMT 2024

Total time taken to generate the page: 0.06265 seconds