Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's
Author Message
izone
Involved
Involved


Joined: Sep 07, 2004
Posts: 354
Location: Sweden

PostPosted: Thu Jul 14, 2005 11:10 am Reply with quote

Hi

I've before got helped to integrating 4Images gallery with phpnuke here. Now everything works great but E-card.

when a user send Ecard to a friend the URL of Ecard is not right.

it is like this:
Only registered users can see links on this board! Get registered or login!

Please somebody tell me in which file can I change the url of Ecard-eamail to point to right place?

I've been changing a few files and this error is still there.



Best regards
 
View user's profile Send private message
izone
PostPosted: Thu Jul 14, 2005 11:50 am Reply with quote

I forgot to say that the right url for the postcard in this ex. should be this:
Only registered users can see links on this board! Get registered or login!
 
izone
PostPosted: Thu Jul 14, 2005 1:08 pm Reply with quote

ok never minde. I found it by myself.

I write it here for others with same problem.

Open postcards.php and find this:

Code:


if ($result) {
    $postcard_url = $script_url."/postcards.php?".URL_POSTCARD_ID."=".$postcard_id;


and change it with this:

Code:



if ($result) {
    $postcard_url = $script_url."/modules.php?name=Gallery&file=postcards&".URL_POSTCARD_ID."=".$postcard_id;


That is it!

Now I have a new problem. Because of this module (4Images) MUST be only available for members, if a member send an ecard to a non-member friend, he can not see the postcards without becoming a member!!!?

Any idea how to solve this?

Best regards
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©