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, 55 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - GT and Contact Plus [ ]
 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
kjcdude
Captain
Captain


Joined: Jun 10, 2003
Posts: 441

Location: Southern California

PostPosted: Wed Sep 03, 2003 9:02 pm Reply with quoteBack to top

According to this post http://www.nukestyles.com/modules.php?name=Forums&file=viewtopic&t=310 it seems that GT has is messsing up Nuke Styles Contact Plus.

There has been no solution yet.

-Kyle

_________________
Diablo Heat | The OC Sucks [b]Hot or Not[/b] | TheOCSucks.com The OC Sucks
Find all posts by kjcdudeView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressMSN Messenger
IACOJ
Major
Major


Joined: Jan 15, 2003
Posts: 1269

Location: USA

PostPosted: Wed Sep 03, 2003 10:55 pm Reply with quoteBack to top

Have you had problems creating depts for contacting? Or they just don't show up in the drop down menu and you get the error instead?
Find all posts by IACOJView user's profileSend private message
laurel2k
Nuke Soldier
Nuke Soldier


Joined: Aug 21, 2003
Posts: 14


PostPosted: Thu Sep 04, 2003 7:09 am Reply with quoteBack to top

The problem I am getting is a fatal error. The module loads but only half of the form is displayed. It stops at the drop down menu that allows you to select what department you want to contact.

The drop down menu displays the following fata error message:

Fata Error: call to a member function on a non-object in /....../modules/contact/index.php on line 95

The strange thing about this is that the contact module works fine under Netscape, 7.1 at least, but not under IE 6.0 Question

I don't know if GT is to blame but my contact module quit functioning after I installed GT. Coincidence?

Jorge
www.diecast-source.com
Find all posts by laurel2kView user's profileSend private message
IACOJ
Major
Major


Joined: Jan 15, 2003
Posts: 1269

Location: USA

PostPosted: Fri Sep 05, 2003 7:43 pm Reply with quoteBack to top

When you were configuring the contact module, adding the depts did you have any problems?

Could you try to add one after have GT in there to see if it gives an error please.
Find all posts by IACOJView user's profileSend private message
kjcdude
Captain
Captain


Joined: Jun 10, 2003
Posts: 441

Location: Southern California

PostPosted: Sat Sep 06, 2003 11:58 am Reply with quoteBack to top

I just added a contact with no problems at all.

In the admin module it even shows that i have added it.

_________________
Diablo Heat | The OC Sucks [b]Hot or Not[/b] | TheOCSucks.com The OC Sucks
Find all posts by kjcdudeView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressMSN Messenger
IACOJ
Major
Major


Joined: Jan 15, 2003
Posts: 1269

Location: USA

PostPosted: Sat Sep 06, 2003 2:48 pm Reply with quoteBack to top

Can you disable GT please so it can be tested to see if the error persists.
Find all posts by IACOJView user's profileSend private message
Mesum
Support Staff
Support Staff


Joined: Mar 11, 2003
Posts: 842

Location: Chicago

PostPosted: Sat Sep 06, 2003 2:51 pm Reply with quoteBack to top

I was having same kinda problem and I had to edit some code in index.php of the module....

Look here:
I don't think you will see any error.
http://www.chicagobase.com/contact.html

_________________
Only FREE Dating site for Desis.
Find all posts by MesumView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
IACOJ
Major
Major


Joined: Jan 15, 2003
Posts: 1269

Location: USA

PostPosted: Sat Sep 06, 2003 2:55 pm Reply with quoteBack to top

Please return the copyrights and credits for Nuke and the SubSystem theme you are using.
Find all posts by IACOJView user's profileSend private message
kjcdude
Captain
Captain


Joined: Jun 10, 2003
Posts: 441

Location: Southern California

PostPosted: Sat Sep 06, 2003 2:56 pm Reply with quoteBack to top

IACOJ: How do i disable GT?
I see the file DISABLE.sh but i dont know how to run it and hwere to place it.

_________________
Diablo Heat | The OC Sucks [b]Hot or Not[/b] | TheOCSucks.com The OC Sucks
Find all posts by kjcdudeView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressMSN Messenger
kjcdude
Captain
Captain


Joined: Jun 10, 2003
Posts: 441

Location: Southern California

PostPosted: Sat Sep 06, 2003 2:57 pm Reply with quoteBack to top

Mesum wrote:
I was having same kinda problem and I had to edit some code in index.php of the module....


Could you please tell us what that edit was.

_________________
Diablo Heat | The OC Sucks [b]Hot or Not[/b] | TheOCSucks.com The OC Sucks
Find all posts by kjcdudeView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressMSN Messenger
laurel2k
Nuke Soldier
Nuke Soldier


Joined: Aug 21, 2003
Posts: 14


PostPosted: Sat Sep 06, 2003 7:08 pm Reply with quoteBack to top

I can still adds depts. to the contact module. The admin page for the module works just fine.

Jorge
www.diecast-source.info
Find all posts by laurel2kView user's profileSend private message
Imago
Captain
Captain


Joined: Jan 17, 2003
Posts: 629

Location: Europe

PostPosted: Sun Sep 07, 2003 2:03 am Reply with quoteBack to top

Mesum, I see, you are using the Googlifier, not the GT.

http://www.chicagobase.com/gate.html?name=Forums

Did you have the same problems with the ContactPlus module or I should install it to see for myself?

_________________
www.vdsp.net | www.indopedia.org | www.orientalia.org | www.indology.net | www.yogadarsana.org | www.husserl.info | www.medicum.net
Find all posts by ImagoView user's profileSend private messageVisit poster's website
Mesum
Support Staff
Support Staff


Joined: Mar 11, 2003
Posts: 842

Location: Chicago

PostPosted: Sun Sep 07, 2003 9:46 pm Reply with quoteBack to top

IACOJ wrote:
Please return the copyrights and credits for Nuke and the SubSystem theme you are using.


Ok smart Rainbow Brite, try to get yourself some glasses before pick on someone.

Image
Image
What do you see there?
Now here is a quote from their ReadMe File:

Quote:

If you like this theme please consider adding the included OurLink button to your site.

CAN you see the link to the auther where I thought would fit well, visible?

Now please either help others out or don't say anything at all, you are a support staff, not a copyright (a blind one too) police.

Imago, I was having the excat problems problems are had to change something in the index.php file of the module...
Let me paste the whole code for the people to find out what changes I have made
Please see next post.

_________________
Only FREE Dating site for Desis.
Find all posts by MesumView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
Mesum
Support Staff
Support Staff


Joined: Mar 11, 2003
Posts: 842

Location: Chicago

PostPosted: Sun Sep 07, 2003 9:50 pm Reply with quoteBack to top

Ok, here is the code.
Code:

<?php   

/************************************************************************/
/* PHP-NUKE: Web Portal System                                          */
/* ===========================                                          */
/*                                                                      */
/* Copyright (c) 2002 by Francisco Burzi                                */
/* http://phpnuke.org                                                   */
/*                                                                      */
/* Contact Plus V2.2 for Nuke 6.5                                       */
/* Copyright (c) 2002 by Shawn Archer                                   */
/* http://www.NukeStyles.com                                            */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/

if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
        die ("You can't access this file directly...");
}

require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
$pagetitle = "- "._CONTACTUS."";
$index = 1;


function ns_info() {
global $module_name, $sitename, $prefix, $dbi;
$result = sql_query("select address from ".$prefix."_ns_contact_add", $dbi);
list($address) = sql_fetch_array($result, $dbi);
$address = FixQuotes(nl2br($address));
echo "<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" align=\"center\">";
echo "<tr><td align=\"left\">";
echo "$address";
echo "</td></tr></table><br>";
}


function ns_phone() {
global $module_name, $sitename, $prefix, $dbi;
echo "<table border=\"0\" cellpadding=\"1\" cellspacing=\"0\" align=\"center\">";
$result = sql_query("select pid, phone_name, phone_num from ".$prefix."_ns_contact_phone order by phone_name", $dbi);
    while(list($pid, $phone_name, $phone_num) = sql_fetch_array($result, $dbi)) {
echo "<tr><td align=\"right\">";
echo "<font class=\"content\">$phone_name:</td>";
echo "<td align=\"left\">$phone_num</td></tr>";
    }
echo "</table><br><br>";
}


function ns_form() {
global $module_name, $sitename, $prefix, $dbi;
include("header.php");
OpenTable();
echo "<center><font class=\"title\">"._CONTACTUS."</font></center>";
CloseTable();
OpenTable();
$result_s = sql_query("select show_add from ".$prefix."_ns_contact_show", $dbi);
list($show_add) = sql_fetch_array($result_s, $dbi);
if ($show_add == 1) {
echo "<br><br><center><font class=\"title\"><u>"._ADDRESSINFO."</u></font></center><br>";
ns_info();
echo "<hr>";
}
$result_p = sql_query("SELECT * FROM ".$prefix."_ns_contact_phone", $dbi);
$num = sql_num_rows($result_p, $dbi);
if ($num > 0) {
echo "<br><br><center><font class=\"title\"><u>"._PHONEINFO."</u></font></center><br>";
ns_phone();
echo "<hr>";
}
echo "<br><center><font class=\"title\">"._FORMHEADER." $sitename</font></center><br><br>";
if (is_user($user)) {
$result_ui = sql_query("select name, username, user_email from ".$prefix."_users where username='$cookie[1]'", $dbi);
list($yn, $yun, $ye) = sql_fetch_row($result_ui, $dbi);}
if ($yn != "") { $ns_un = $yn; } else { $ns_un = $yun; }
echo "<form action=\"modules.php?name=$module_name\" method=\"post\"";
echo "name=\"contact_plus\">";
echo "<table border=\"0\" cellpadding=\"5\" cellspacing=\"0\" align=\"center\">";
echo "<tr><td align=\"left\" valign=\"middle\"><font class=\"content\"><b>"._YOURNAME.":</b></font> ";
echo "<font class=\"tiny\">("._OPTIONAL.")</font><br>";
echo "<input name=\"cname\" size=\"35\" value=\"$ns_un\"></td></tr>";
echo "<tr><td align=\"left\" valign=\"middle\">";
echo "<font class=\"content\"><b>"._YOUREMAIL.":</b></font><br>";
echo "<input name=\"from\" size=\"35\" value=\"$ye\"></td></tr>";
echo "<tr><td align=\"left\" valign=\"middle\">";
echo "<font class=\"content\"><b>"._PLEASESELECT.":</b></font><br>";
echo "<select name=\"dpid\">";
echo "<option value=\"\" selected>---------------------------------";
echo "<option value=\"\">";
    $result = $db->sql_query("select did, dept_name, dept_email from ".$prefix."_ns_contact_dept order by dept_name");
    while ($row = $db->sql_fetchrow($result)) {
   $did = $row[did];
   $dept_name = $row[dept_name];
   $dept_email = $row[dept_email];
echo "<option value=\"$did\">$dept_name";
    }
echo "<option value=\"\">";
echo "</select></td></tr>";
echo "<tr><td align=\"left\" valign=\"middle\">";
echo "<font class=\"content\"><b>"._YOURMESSAGE.":</b></font><br>";
echo "<textarea cols=\"55\" name=\"message\" rows=\"12\" ></textarea></td></tr>";
echo "<tr><td colspan=\"2\" align=\"center\" valign=\"middle\">";
echo "<input type=\"hidden\" name=\"op\" value=\"ns_send\">";
echo "<input type=\"submit\" name=\"submit\" value=\""._SEND."\">";
echo "&nbsp;&nbsp;<input type=\"reset\" value=\""._CLEAR."\">";
echo "</td></tr></table></form>";
echo "<br>";
Closetable();
include("footer.php");
}


function ns_send($dpid, $cname, $from, $email, $message) {
global $module_name, $sitename, $prefix, $dbi;
include("header.php");
if(ereg("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,6}$",$from)) {
} else {
OpenTable();
echo "<center><font class=\"title\">"._CONTACTUS."</font></center>";
CloseTable();
OpenTable();
echo"<br><center><font class=\"title\">"._INVALIDEMAIL.":<br><br>";
echo"<font color=\"#CC0000\">$from</font><br><br>"._INVALIDEMAIL2."</font>";
echo"<br><br><br><font class=\"title\">"._PLEASEGO."</font>";
echo"<br><br>";
echo"[ <a href=\"javascript:history.go(-1)\">"._BACK."</a> ]</center><br>";
CloseTable();
include ("footer.php");
exit;
}
if ($dpid == "") {
OpenTable();
echo "<center><font class=\"title\">"._CONTACTUS."</font></center>";
CloseTable();
OpenTable();
echo"<br><center><font class=\"title\">"._SELECTDEPARTMENT."<br><br>";
echo""._PLEASEGO3."</font>";
echo"<br><br>";
echo"[ <a href=\"javascript:history.go(-1)\">"._BACK."</a> ]</center><br>";
CloseTable();
include ("footer.php");
exit;
}
if ($message == "") {
OpenTable();
echo "<center><font class=\"title\">"._CONTACTUS."</font></center>";
CloseTable();
OpenTable();
echo"<br><center><font class=\"title\">"._NOMESSAGE."<br><br>";
echo""._PLEASEGO2."</font>";
echo"<br><br>";
echo"[ <a href=\"javascript:history.go(-1)\">"._BACK."</a> ]</center><br>";
CloseTable();
include ("footer.php");
exit;
}
$result = sql_query("select dept_name, dept_email from ".$prefix."_ns_contact_dept where did='$dpid'", $dbi);
list($dept_name, $dept_email)=sql_fetch_row($result, $dbi);
$department = $dept_name;
$department = stripslashes(trim($department));
$subject = $department;
$from = strip_tags(trim($from));
$message = stripslashes(trim($message));
$header  = ""._FROM.": "._CONTACTFORM." - $cname <$from>\r\n";
$header .= "\n";
$header .= ""._VISITOR.": $cname <$from>\r\n\n";
$header .= ""._TODEPARTMENT.": $department\r\n\n";
$header .= ""._MESSAGE.":\r\n";
$header .= "\n==============================================================";
@$send=mail($dept_email,$subject,$message,$header);
if ($send == 1) {
OpenTable();
echo "<center><font class=\"title\">"._CONTACTUS."</font></center>";
CloseTable();
OpenTable();
echo "<br>";
echo "<br><div align=\"center\"><font class=\"title\">"._THANKYOUFOR." $sitename</font>";
echo "<br><br>"._EMAILSENT."<br>"._GETBACK."</div><br><br>";
echo "<center>[ <a href=\"index.php\">"._HOME."</a> ] - ";
echo "[ <a href=\"modules.php?name=$module_name\">"._CONTACTFORM."</a> ]</center><br>";
echo "<br>";
CloseTable();
include ("footer.php");
} else {
OpenTable();
echo "<center><font class=\"title\">"._CONTACTUS."</font></center>";
CloseTable();
OpenTable();
echo"<center><font class=\"title\">"._ERROR2."</font>";
echo"<br>"._TRYAGAIN."<br>";
echo"[ <a href=\"modules.php?name=Contact\">"._BACK."</a> ]</center>";
CloseTable();
include ("footer.php");
}
exit();
include("footer.php");
}



switch ($op) {

    case "ns_send":
    ns_send($dpid, $cname, $from, $email, $message);
    break;

    default:
    ns_form();
    break;

}





?>

_________________
Only FREE Dating site for Desis.
Find all posts by MesumView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
mynukecops
Private
Private


Joined: Jun 19, 2003
Posts: 41


PostPosted: Mon Sep 08, 2003 6:27 am Reply with quoteBack to top

I have Contact Plus installed on phpnuke6.7/6.8, googletap enabled. Everything is fine and even googletapped contact.html is working. See it at www.natrindex.com.

Only one thing is important to me that I commented out the last exit() method before include("footer.php") in index.php file. Otherwise the googletapped footer.php will not be loaded.
Find all posts by mynukecopsView 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.282 Seconds - 224 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::