You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 65 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - BBtoNuke 2.0.5 email notification problem [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Ozone
Sergeant
Sergeant


Joined: Dec 02, 2003
Posts: 85

Location: Tower of the Sun

PostPosted: Mon Dec 08, 2003 3:28 pm Reply with quoteBack to top

I have phpnuke installed in the following directory on my domain

/phpnuke/html/

Whenever there is a reply to a topic and a pm received and a user has selected that they want to receive and email notification, the link provided in the email notification is wrong

for example

the link received in the mail would be:
http://2e1x1.net/modules.php?name=Private_Messages&file=index&folder=inbox

when it should be
http://2e1x1.net/phpnuke/html/modules.php?name=Private_Messages&file=index&folder=inbox

I have changed the bbtonuke configuration from the forums-admin-configuration screen to reflect this folder hierarchy from the domain. The address has not changed in the emails.

Can anyone help me with this? THis is the last major bug I have to fix on my 6.9 install. Even if you just tell me which file in the forums folder calls or creates this function so I can edit it, I would appreciate it.

EDIT: Is bbpatch1.zip (hosted here) safe to upload on 2.0.5? I dunno if it would fix my problems, there is no documentation as to what exactly it fixes.
Find all posts by OzoneView user's profileSend private messageVisit poster's website
Ozone
Sergeant
Sergeant


Joined: Dec 02, 2003
Posts: 85

Location: Tower of the Sun

PostPosted: Wed Dec 24, 2003 12:06 am Reply with quoteBack to top

I have been pretty patient on this one. I have not found a fix for this to date and I see no one has posted bu there have been quite a few views?

Any Ideas?

Anyone?
Find all posts by OzoneView user's profileSend private messageVisit poster's website
ryan1918
Sergeant
Sergeant


Joined: Aug 16, 2003
Posts: 144


PostPosted: Mon Dec 29, 2003 8:14 am Reply with quoteBack to top

I dunno but I think i'm having the same problem > http://www.nukecops.com/postp81778.html#81778
Find all posts by ryan1918View user's profileSend private messageVisit poster's website
Joschi
Nuke Cadet
Nuke Cadet


Joined: Dec 21, 2003
Posts: 6


PostPosted: Tue Dec 30, 2003 9:06 am Reply with quoteBack to top

Today I stumbled over the same error. After some investigation I found the reason:

Open up includes/functions_post.php

-----------------

IN LINE 696:
Code:
$script_name = 'modules.php?name=Forums&file=viewtopic';


ENTER BEFORE:
Code:
$script_path = trim($board_config['script_path']);


-----------------

IN LINE 735:
Code:
'U_TOPIC' => $server_protocol . $server_name . $server_port .  $script_name . '&' . POST_POST_URL . "=$post_id#$post_id",


REPLACE WITH:
Code:
'U_TOPIC' => $server_protocol . $server_name . $server_port . $script_path . $script_name . '&' . POST_POST_URL . "=$post_id#$post_id",


-----------------

IN LINE 736:
Code:
'U_STOP_WATCHING_TOPIC' => $server_protocol . $server_name . $server_port . $script_name . '&' . POST_TOPIC_URL . "=$topic_id&unwatch=topic")


REPLACE WITH:
Code:
'U_STOP_WATCHING_TOPIC' => $server_protocol . $server_name . $server_port . $script_path . $script_name . '&' . POST_TOPIC_URL . "=$topic_id&unwatch=topic")



The setting in the admin configuration page for the script path will now be read out and inserted into the URL.
Be sure to enter the relative URL (so in your case phpnuke/html/modules/Forums )
Find all posts by JoschiView user's profileSend private message
Ozone
Sergeant
Sergeant


Joined: Dec 02, 2003
Posts: 85

Location: Tower of the Sun

PostPosted: Tue Dec 30, 2003 9:24 am Reply with quoteBack to top

same issue with PM's as well
Find all posts by OzoneView user's profileSend private messageVisit poster's website
Joschi
Nuke Cadet
Nuke Cadet


Joined: Dec 21, 2003
Posts: 6


PostPosted: Tue Dec 30, 2003 10:43 am Reply with quoteBack to top

Open up modules/Private_Messages/index.php

IN LINE 1377:
Code:
$server_name = trim($board_config['server_name']);


INSERT BEFORE:
Code:
$script_path = trim($board_config['script_path']);


-------------------

IN LINE 1397:
Code:
'U_INBOX' => $server_protocol . $server_name . $server_port . $script_name . '&folder=inbox')


REPLACE WITH:
Code:
'U_INBOX' => $server_protocol . $server_name . $server_port . $script_path . $script_name . '&folder=inbox')



Smile
Find all posts by JoschiView user's profileSend private message
Ozone
Sergeant
Sergeant


Joined: Dec 02, 2003
Posts: 85

Location: Tower of the Sun

PostPosted: Tue Dec 30, 2003 11:01 am Reply with quoteBack to top

Well your email fix didn't solve my problem. So I am not going through the effort of changing the PM's. I appreciate the attempt.
Find all posts by OzoneView user's profileSend private messageVisit poster's website
Joschi
Nuke Cadet
Nuke Cadet


Joined: Dec 21, 2003
Posts: 6


PostPosted: Tue Dec 30, 2003 11:05 am Reply with quoteBack to top

This works perfectly if you use the original Private_Messages module (in my case nuke 7.0 with php 2.0.6) and if you have exactly followed my instructions.
Find all posts by JoschiView user's profileSend private message
Ozone
Sergeant
Sergeant


Joined: Dec 02, 2003
Posts: 85

Location: Tower of the Sun

PostPosted: Tue Dec 30, 2003 9:45 pm Reply with quoteBack to top

ah 2.0.5 here.
Find all posts by OzoneView user's profileSend private messageVisit poster's website
Joschi
Nuke Cadet
Nuke Cadet


Joined: Dec 21, 2003
Posts: 6


PostPosted: Wed Dec 31, 2003 10:15 am Reply with quoteBack to top

But even if you are using 2.0.5: the reason should be the same, maybe just the line numbers don't match (I just quickly checked the 2.0.5 files and they contain exactly the same error)
Find all posts by JoschiView user's profileSend private message
Ozone
Sergeant
Sergeant


Joined: Dec 02, 2003
Posts: 85

Location: Tower of the Sun

PostPosted: Wed Dec 31, 2003 10:28 am Reply with quoteBack to top

Well in any event, I made your changes, and just double checked them.

It has not fixed my problem.
Find all posts by OzoneView user's profileSend private messageVisit poster's website
Joschi
Nuke Cadet
Nuke Cadet


Joined: Dec 21, 2003
Posts: 6


PostPosted: Wed Dec 31, 2003 6:21 pm Reply with quoteBack to top

So I can't help you anymore.

Nevertheless, problem is solved for me Very Happy
Find all posts by JoschiView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.438 Seconds - 259 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::