791
skenow
Re: module to integrate phpgedview into my xoops site
  • 2005/9/29 18:53

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


The '{pgvsplit}' output should be buffered and not displayed until the buffer is flushed. You may have settings in your PHP configuration that has disabled output buffering. I have been trying to duplicate your results, but have not.

Check your modules/pgv/xoops_headfoot.php - make sure the code didn't get messed up during transfer. Also, make sure there aren't any extra lines after the last ?>.

Looking for ways to ensure the output buffering takes place.



792
skenow
Re: module to integrate phpgedview into my xoops site
  • 2005/9/29 3:10

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


The themes with the pgvxoops patch are only PGV themes - they go in the modules/pgv/themes folder. If you have problems with your default XOOPS theme...

In general preferences (administration menu > system), set update module template .html files to Yes, and go back to the user side. You may also need to clear your template_c folder.



793
skenow
Re: module to integrate phpgedview into my xoops site
  • 2005/9/28 16:45

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


The dbname, dbuser, dbpassword, and tblprefix in the config.php are only used once the module is installed. Because this patch deals mostly with authenticating users by using the XOOPS users, PGV still uses its own config file.

You can also turn on PHP debug in your general preferences to see what might be happening when you load the page. I know there are some warnings about missing files, but that's OK. XOOPS looks for language files in a specific folder, and PGV uses language files differently.



794
skenow
Re: module to integrate phpgedview into my xoops site
  • 2005/9/28 16:29

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


I just uploaded this to another server and went through the installation and configuration completely. I even got the db connection error (my db is named differently) and pop-up.

You might also check if all the pgv files uploaded completely to your server - a corrupted (or missing) file would cause the php scripts to abort and not display the page correctly.

Also, I have only worked with the themes using the XOOPS included themes - default, phpkaox, and x2t. Other themes may not play well with pgv. If everything else you try doesn't help, change your theme to default and see what happens.

good luck!



795
skenow
Re: module to integrate phpgedview into my xoops site
  • 2005/9/28 15:57

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Nicolas -

Thanks for trying again.

You are correct - upload phpGedView first into modules/pgv, then upload the pgvxoops files into the same folder, overwriting existing files and adding the new files.

Unless your database happens to be 'xoops' and there is no username and password - you should get some error. Seeing that you don't, try this - open the config.php in the pgvxoops patch, and edit the $DBNAME, $DBUSER, and $DBPASS entries to match your installation. Edit the $TBLPREFIX to be your XOOPS table prefix plus '_pgv_'. (Just replace the 'xoops' default with yours. Change the $CONFIGURED value to false, if it alreay isn't.

The additional themes are optional. The Standard theme is included in the main zip file.

The module is not assigned to anonymous users on your site - I just registered to get access. You're right, again - just a blank page, but the URL is correct.

I am testing the install on another server today and will report anything I find.



796
skenow
Re: module to integrate phpgedview into my xoops site
  • 2005/9/27 13:50

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Nicolas - thanks for checking it out and finding the spelling error. I have updated the file and uploaded the correction.

Which version of Xoops?
Did the installation complete successfully?

I also took a look at your site and found your link to phpGedView - there is some code at the top of the pages I don't think should be there.

Thanks again!



797
skenow
Re: module to integrate phpgedview into my xoops site
  • 2005/9/25 3:42

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


I have added a patch on the PhpGedView project page - you will need to download the complete PGV 3.3.5 distribution and the patch. There is a brief pgvxoops-readme.txt in the patch about modifications made and basic installation instructions. There is also a readme.txt in the PGV 3.3.5 package about its configuration and use.

My testing environment -
Xoops 2.0.13.1
PHP 4.3.x
safe_mode: ON
register_globals: OFF
Xoops Protector 2.52 installed and active
Install directory: modules/pgv

Just a warning - the themes included with the PGV 3.3.5 WILL BREAK your XOOPS theme!

Link to patch

Link to PGV 3.3.5

This is pretty complete, as far as functionality goes, but better integration with XOOPS can (and will) be made. On the list of things to do is to expose the PGV blocks as XOOPS blocks, and use XOOPS permissions and notifications.

Let me know how this works for you.



798
skenow
Re: module to integrate phpgedview into my xoops site
  • 2005/9/21 14:53

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


I've finally found the privacy function that was causing my problems! I'm running through the module installation and configuration steps now. Should be ready for you in a day or two.



799
skenow
Re: Admin?
  • 2005/9/21 14:01

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


You can find it by editing the user menu template - here's what I found
<{if $xoops_isadmin}>
        <
a href="<{$xoops_url}>/admin.php"><{$block.lang_adminmenu}></a>
      <{/if}>



800
skenow
Re: Any way to turn off the DHTML admin menus...?
  • 2005/9/20 16:11

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Not a global setting that I know of, but you can go into each module's xoops_version.php and find the line that has
$modversion['adminmenu'] = "admin/menu.php";
and make the value = ""




TopTop
« 1 ... 77 78 79 (80) 81 82 83 ... 86 »



Login

Who's Online

253 user(s) are online (169 user(s) are browsing Support Forums)


Members: 0


Guests: 253


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits