Webmastersite.net
Register Log In

Gallery integration with WSN PPC?

Comments on Gallery integration with WSN PPC?

phrightener
Member

Usergroup: Member
Joined: Oct 13, 2005

Total Topics: 8
Total Comments: 14
Posted Oct 28, 2005 - 8:07 AM:

Is this possible? Sorry for not looking through the forums more but I am short on time today. I already have WSN PPC directory installed and running great, but I would love to have a gallery integrated with it. I'd hate to have to have people sign up multiple times just to add links and photos.

If this is possible, how difficult is it to setup and integrate?

Thank you!
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 30, 2005 - 5:56 PM:

Member system integration is basically the same as with any of the WSN scripts. To integrate Gallery into PPC, this integration file would work (presuming default settings for things mentioned in it):

<?php
// WSN member integration hack for WSN PPC

$memberstable = 'wsnppc_members';

$otherencoder = 'no'; // use md5 by default. if other, write it up in encoder.php

$admingroup = '3';
// Note: group listed above should be the administrative usergroup. If not, change the line above.
// Be sure you do not use the wrong group id, or members may be able to use your admin panel.

$idcookiename = 'wsnuser';
$passwordcookiename = 'wsnpass';
// fill in the name of the cookie that holds the member id and password, if possible.

$wsnintegration = true; // when this is true, PMs, IMs and online user lists will be integrated. Only works with fellow WSN scripts, and only after Links 3.2, Gallery 2.2, Forum 1.1, KB 1.2
?>


See the manual entry as well.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.