1
roujinz
Re: User registration no longer working!
  • 2005/12/16 20:29

  • roujinz

  • Just popping in

  • Posts: 32

  • Since: 2005/10/5


Hey Markian

Head over to this thread:
https://xoops.org/modules/newbb/viewtopic.php?forum=7&topic_id=44632

My buddy posted the same problem at that thread. And atleast that thread has gotten a some sort of a response!

Also check out this other thread:
http://xoops-tips.com/newbb-viewtopic.topic_id-57-forum-4.htm

Seems to be a general problem but no one seems to know how to fix it!

It a serious issue for us since we depend on new membership registration but cant get any since thier is no solution for it!



2
roujinz
Re: New User Can Not Register
  • 2005/12/14 18:53

  • roujinz

  • Just popping in

  • Posts: 32

  • Since: 2005/10/5


Just an FYI i do recall doing some configuring to the XOOPS Protector 2.52 module which suggested some changes to make the site more secure, but I have since deactivated it to try and see if I could register a new user, unfortunately it the same thing still happens.

Also when turning on PHPDebug and trying to register a new user I do not see any PHP error messages on the page that has the error. We still continue to get the following message everytime we hit Finish:
Quote:
Not Acceptable
An appropriate representation of the requested resource /modules/profile/register.php could not be found on this server.


Any help in getting this quickly resolved would be greatly appreciated!



3
roujinz
Re: Yet another CBB 2.2 problem.
  • 2005/12/14 18:28

  • roujinz

  • Just popping in

  • Posts: 32

  • Since: 2005/10/5


Well it seems to be working now, so i believe that helped fix my problem. Thanks!



4
roujinz
Re: Yet another CBB 2.2 problem.
  • 2005/12/13 19:54

  • roujinz

  • Just popping in

  • Posts: 32

  • Since: 2005/10/5


Ok so I tried your suggestion but it seems that somehwere along the way I screwed up some other lines. No I get the following error:
Quote:
Parse error: parse error, unexpected $ in /home/site/public_html/modules/newbb/delete.php on line 121


So in an effort to be a bit more detailed here is my entire delete.php file:
Quote:

<?php
// $Id: delete.php,v 1.5 2005/05/15 12:24:47 phppp Exp $
// ------------------------------------------------------------------------ //
// XOOPS - PHP Content Management System //
// Copyright (c) 2000 XOOPS.org //
// <https://xoops.org/> //
// ------------------------------------------------------------------------ //
// 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, or //
// (at your option) any later version. //
// //
// You may not change or alter any portion of this comment or credits //
// of supporting developers from this source code or any supporting //
// source code which is considered copyrighted (c) material of the //
// original comment or credit authors. //
// //
// This program is distributed in the hope that it will be useful, //
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
// GNU General Public License for more details. //
// //
// You should have received a copy of the GNU General Public License //
// along with this program; if not, write to the Free Software //
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
// ------------------------------------------------------------------------ //
// Author: Kazumi Ono (AKA onokazu) //
// URL:http://www.myweb.ne.jp/,https://xoops.org/,http://www.xoopscube.jp/ //
// Project: The XOOPS Project //
// ------------------------------------------------------------------------- //

include 'header.php';

$ok = isset($_POST['ok']) ? intval($_POST['ok']) : 0;
foreach (array('forum', 'topic_id', 'post_id', 'order', 'pid', 'act') as $getint) {
${$getint} = isset($_POST[$getint]) ? intval($_POST[$getint]) : 0;

}
foreach (array('forum', 'topic_id', 'post_id', 'order', 'pid', 'act') as $getint) {
${$getint} = (${$getint})?${$getint}:(isset($_GET[$getint]) ? intval($_GET[$getint]) : 0);

}
$viewmode = (isset($_GET['viewmode']) && $_GET['viewmode'] != 'flat') ? 'thread' : 'flat';
$viewmode = ($viewmode)?$viewmode: (isset($_POST['viewmode'])?$_POST['viewmode'] : 'flat');

if ( empty($forum) ) {
redirect_header("index.php", 2, _MD_ERRORFORUM);
exit();
}

$forum_handler =& xoops_getmodulehandler('forum', 'newbb');
$_forum =& $forum_handler->get($forum);
if (!$forum_handler->getPermission($_forum)){
redirect_header("index.php", 2, _MD_NORIGHTTOACCESS);
exit();
}

$isadmin = newbb_isAdmin($_forum);

$uid = is_object($xoopsUser)? $xoopsUser->getVar('uid'):0;

$post_handler =& xoops_getmodulehandler('post', 'newbb');
$forumpost =& $post_handler->get($post_id);

$topic_handler =& xoops_getmodulehandler('topic', 'newbb');
$topic = $topic_handler->get($topic_id);
$topic_status = $topic->getVar('topic_status');
if ( $topic_handler->getPermission($forum, $topic_status, 'delete')
&& ( $isadmin || $forumpost->checkIdentity() )){}
else{
redirect_header("viewtopic.php?topic_id=$topic_id&order=$order&viewmode=$viewmode&pid=$pid&forum=$forum", 2, _MD_DELNOTALLOWED);
exit();
}

$post_handler =& xoops_getmodulehandler('post', 'newbb');
$forumpost =& $post_handler->get($post_id);

if (!$isadmin && !$forumpost->checkTimelimit('delete_timelimit'))
{
redirect_header("viewtopic.php?forum=$forum&topic_id=$topic_id&post_id=$post_id&order=$order&viewmode=$viewmode&pid=$pid",2,_MD_TIMEISUPDEL);
exit();
}

if ($xoopsModuleConfig['wol_enabled']){
$online_handler =& xoops_getmodulehandler('online', 'newbb');
$online_handler->init($_forum);
}

if ( $ok ) {
$isDeleteOne = (NEWBB_DELETEONE == $ok)? true : false;
if($forumpost->isTopic() && $topic->getVar("topic_replies")==0) $isDeleteOne=false;
if($isDeleteOne && $forumpost->isTopic() && $topic->getVar("topic_replies")>0){
$post_handler->emptyTopic($forumpost);
}else{
$post_handler->delete($forumpost, $isDeleteOne);
sync($forum, "forum");
sync($topic_id, "topic");
}

if ( $isDeleteOne ){
insertlog("Post Deleted");
redirect_header("viewtopic.php?topic_id=$topic_id&order=$order&viewmode=$viewmode&pid=$pid&forum=$forum", 2, _MD_POSTDELETED);
}else {
insertlog("Post Deleted");
redirect_header("viewforum.php?forum=$forum", 2, _MD_POSTSDELETED);
exit();

if
(include XOOPS_ROOT_PATH."/header.php");
if ( $act == 1 )
{
xoops_confirm(array('post_id' => $post_id, 'viewmode' => $viewmode, 'order' => $order, 'forum' => $forum, 'topic_id' => $topic_id, 'ok' => NEWBB_DELETEONE), 'delete.php', _MD_DEL_ONE);
}
if ( $act == 99 )
{
xoops_confirm(array('post_id' => $post_id, 'viewmode' => $viewmode, 'order' => $order, 'forum' => $forum, 'topic_id' => $topic_id, 'ok' => NEWBB_DELETEONE), 'delete.php', _MD_DEL_ONE);
xoops_confirm(array('post_id' => $post_id, 'viewmode' => $viewmode, 'order' => $order, 'forum' => $forum, 'topic_id' => $topic_id, 'ok' => NEWBB_DELETEALL), 'delete.php', _MD_DEL_RELATED);
}
}
include XOOPS_ROOT_PATH.'/footer.php';
?>


I do appreciate all the help! Thanks!!

PS. sorry for the big long quote, but i dont know how to add the scroll bars....



5
roujinz
User registration no longer working!
  • 2005/12/13 6:58

  • roujinz

  • Just popping in

  • Posts: 32

  • Since: 2005/10/5


My user registration no longer works.

Every time a new user fills out the new user information and they click submit it takes them to another page that shows them a brief summary of that they filled out and when they click Finished it takes them to another page that gives them the following error message:
Quote:
Not Acceptable
An appropriate representation of the requested resource /modules/profile/register.php could not be found on this server.


Using the latest XOOPS with Advanced Profiles 0.1.

Any ideas?

Thanks!



6
roujinz
Re: Yet another CBB 2.2 problem.
  • 2005/12/13 6:38

  • roujinz

  • Just popping in

  • Posts: 32

  • Since: 2005/10/5


Bump Bump!

Any help?



7
roujinz
Yet another CBB 2.2 problem.
  • 2005/12/5 23:57

  • roujinz

  • Just popping in

  • Posts: 32

  • Since: 2005/10/5


Using latest XOOPS and CBB 2.2.

I am having problems trying to delete posts wether it be my own or someone elses. I recieve the following error message:
Quote:
Parse error: parse error, unexpected T_ELSE in /home/site/public_html/modules/newbb/delete.php on line 103


heres a few lines from my delete.php file:
Quote:
if ( $ok ) {
$isDeleteOne = (NEWBB_DELETEONE == $ok)? true : false;
if($forumpost->isTopic() && $topic->getVar("topic_replies")==0) $isDeleteOne=false;
if($isDeleteOne && $forumpost->isTopic() && $topic->getVar("topic_replies")>0){
$post_handler->emptyTopic($forumpost);
}else{
$post_handler->delete($forumpost, $isDeleteOne);
sync($forum, "forum");
sync($topic_id, "topic");
}

100: if ( $isDeleteOne )
101: insertlog("Post Deleted");
102: redirect_header("viewtopic.php?topic_id=$topic_id&order=$order&viewmode=$viewmode&pid=$pid&forum=$forum", 2,_MD_POSTDELETED);
103: else
104: insertlog("Post Deleted");
redirect_header("viewforum.php?forum=$forum", 2, _MD_POSTSDELETED);
exit();



Anyone have any idea how to fix this?

Thanks!



8
roujinz
CBB 2.2 Forum preferences question!
  • 2005/12/5 22:19

  • roujinz

  • Just popping in

  • Posts: 32

  • Since: 2005/10/5


I am using XOOPS 2.13 with the CBB 2.2 forums and have a question regarding the one part in the Module preferences where it has the option for:
Quote:
Forum for welcoming new user --
A profile post will be published when a user visits Forum module for the first time
than it gives you a drop down choice for which thread is the default.

My question pertains to how do I set which info is listed by default when i use this preference.

Example of what is currently shown by default:
Hi, Hudspath has joined you. Let's start ...

Profile: Hudspath | PM


All about :

Member Since: 2005/12/6
Last Login: 2005/12/6
PM Link: Write a message to Hudspath


I would like to adjust the settings so it shows only certain info by default or atleast have it pull info from certain areas only that is filled out in the member profile.

This make sense to anyone?

Thanks for your help!

-RoujinZ



9
roujinz
Re: Xoop-Stats counter has stopped counting!
  • 2005/11/9 7:57

  • roujinz

  • Just popping in

  • Posts: 32

  • Since: 2005/10/5


ahh yes!

that indeed was my problem.
thanks for the quick reply and fix!! :)



10
roujinz
Re: Xoop-Stats counter has stopped counting!
  • 2005/11/9 4:29

  • roujinz

  • Just popping in

  • Posts: 32

  • Since: 2005/10/5


oh yeah, sorry forgot the important info.

-xoops 2.2.3
-xoops-stats 0.45

actually now that you mention it, the only think i can think of that has changed was the XOOPS upgrade from version 2.2.2 to version 2.2.3

the last recorded hit was on the nov 5th which is right around the time i think another admin upgrade the site.
now that i am looking at the modules menu i notice that all of the modules say last updated 11/05/2005.

coincidence? hmmm...




TopTop
(1) 2 3 4 »



Login

Who's Online

218 user(s) are online (151 user(s) are browsing Support Forums)


Members: 0


Guests: 218


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