1
Shijk
Re: After importing more than 400 user accounts, it can't send e-mail to the users ?!
  • 2004/6/21 6:04

  • Shijk

  • Just popping in

  • Posts: 51

  • Since: 2003/8/7 2


I've got the same problem...
I'm running 2.07..with 747 users..



2
Shijk
Re: Blank page when opening Extreme Guestbook
  • 2004/6/18 12:04

  • Shijk

  • Just popping in

  • Posts: 51

  • Since: 2003/8/7 2


I'm now running 2.07...

And no, I have not contacted the author..

Greetzz

Mark



3
Shijk
Re: Blank page when opening Extreme Guestbook
  • 2004/6/17 21:48

  • Shijk

  • Just popping in

  • Posts: 51

  • Since: 2003/8/7 2


Yes, It workt perfect before...

After changing the code to,

$textarea .= xoopsCodeTarea("message");

I got a white page with the field to fil in your text but the rest was white....it wasn't ok so I changed it back to the old file...so I still got the problem

Any other suggestions?

Mark



4
Shijk
Re: Blank page when opening Extreme Guestbook
  • 2004/6/17 14:34

  • Shijk

  • Just popping in

  • Posts: 51

  • Since: 2003/8/7 2


This is in my sign.php

I don't get it..


--->>



include("header.php");
include("include/functions.php");

$xoopsOption['template_main'] = 'xtremguestbook_sign.html';

if($xoopsConfig['startpage'] == "xtremguestbook"){
$xoopsOption['show_rblock'] =1;
include(XOOPS_ROOT_PATH."/header.php");
make_cblock();
echo "<br />";
} else {
$xoopsOption['show_rblock'] =0;
include(XOOPS_ROOT_PATH."/header.php");
}

//include config file
include("cache/config.php");
$myts =& MyTextSanitizer::getInstance();

//assign variable of xoopsuser to form
if (isset($HTTP_POST_VARS["message"]))
$message = $myts->makeTboxData4PreviewInForm($HTTP_POST_VARS["message"]);
else
$message="";
if (isset($HTTP_POST_VARS["title"]))
$title_v = $myts->makeTareaData4PreviewInForm($HTTP_POST_VARS["title"]);
else
$title_v="&nbsp;";
if (isset($HTTP_POST_VARS["email"]))
$email_v=$myts->makeTareaData4Edit($HTTP_POST_VARS["email"]);
else
$email_v = !empty($xoopsUser) ? $xoopsUser->getVar("email", "E") : "";
if (isset($HTTP_POST_VARS["username"]))
$name_v=$myts->makeTareaData4Edit($HTTP_POST_VARS["username"]);
else
$name_v = !empty($xoopsUser) ? $xoopsUser->getVar("uname", "E") : "";
if (isset($HTTP_POST_VARS["url"]))
$url_v=$myts->makeTareaData4Edit($HTTP_POST_VARS["url"]);
else
$url_v = !empty($xoopsUser) ? $xoopsUser->getVar("url", "E") : "";

//show preview mode
if(isset($HTTP_GET_VARS["preview"]))
{
$xoopsTpl->assign('gb_show_preview', true);

//sanitize text before show
$a_msg = array();

if ($poster = get_user_data($xoopsUser))
{
$a_msg = &$poster;
$a_msg['is_user'] = true;
}
else
{
$a_msg = array();
$a_msg['is_user'] = false;
$a_msg['poster'] = $name_v;
if ($url_v)
$a_msg['url'] = "<a href='" . $url_v . "' target='_blank'><img src='".XOOPS_URL."/images/icons/www.gif' alt='"._VISITWEBSITE."'/></a>";
if ($email_v)
$a_msg['email'] = "<a href='mailto:".$email_v."'><img src='".XOOPS_URL."/images/icons/email.gif' alt='".sprintf(_SENDEMAILTO,$name_v)."' /></a>";
}

$a_msg['i'] = 'x';
$a_msg['title'] = $myts->sanitizeForDisplay($title_v);
$a_msg['msg'] = $myts->sanitizeForDisplay($message, $allowhtml, $allowsmileys, $allowbbcode);
$a_msg['date'] = formatTimestamp(mktime(),"m");

$xoopsTpl->assign('post', $a_msg);
}

if($xoopsUser)
$disabled = "disabled='disabled'";
else
$disabled = '';

$xoopsTpl->assign('gb_sign', _XTG_SIGNGUESTBOOK);
$xoopsTpl->assign('gb_back', "<a href='index.php'>"._XTG_BACKGUESTBOOK."</a>");
$xoopsTpl->assign('gb_desc', _XTG_DESC);

$xoopsTpl->assign('tbl_name', _XTG_NAME);
$xoopsTpl->assign('tbl_email', _XTG_EMAIL);
$xoopsTpl->assign('tbl_url', _XTG_URL);
$xoopsTpl->assign('tbl_title', _XTG_TITLE);
$xoopsTpl->assign('tbl_message', _XTG_MESSAGE);

$xoopsTpl->assign('frm_name', "<input name='username' type='text'$disabled value='$name_v' />");
$xoopsTpl->assign('frm_email',"<input name='email' type='text'$disabled value='$email_v' />");
$xoopsTpl->assign('frm_url', "<input name='url' type='text'$disabled value='$url_v' />");
$xoopsTpl->assign('frm_title', "<input name='title' id='title' type='text' value='$title_v' />");

$textarea = '';
include_once(XOOPS_ROOT_PATH."/include/xoopscodes.php");
if ($GLOBALS['allowbbcode']==1)
$textarea .= xoopsCodeTareaRet("message");
else
$textarea .= "<textarea id='message' name='message' wrap='virtual' cols='50' rows='10'></textarea><br />";
if ($GLOBALS['allowsmileys']==1)
$textarea .= xoopsSmiliesRet("message");
$xoopsTpl->assign('frm_message', $textarea);

$xoopsTpl->assign('frm_preview', "<input name='previewbutton' id='previewbutton' type='submit' onclick='document.forms.guestbook.action=\"sign.php?preview=1\";' value='"._XTG_PREVIEW."'>");
$xoopsTpl->assign('frm_submit', "<input name='submitbutton' id='submitbutton' type='submit' value='"._XTG_SEND."'>");

$notfull = _XTG_NOTFULL;
$msg_toolong = _MESSAGETOOLONG;
$char_allowed = _ALLOWEDCHAR;
$char_current = _CURRCHAR;
$js = <<<EOF
function xoopsValidateXtrem(subjectId, textareaId, nameId, submitId) {
var maxchars = 65535;
var subjectDom = xoopsGetElementById(subjectId);
var textareaDom = xoopsGetElementById(textareaId);
var submitDom = xoopsGetElementById(submitId);
var nameDom = xoopsGetElementById(nameId);

if (textareaDom.value == "" || subjectDom.value == "" || nameDom.value == "") {
alert("$notfull");
return false;
}
if (maxchars != 0) {
if (textareaDom.value.length > maxchars) {
alert("$msg_toolong\\n\\n$char_allowed" + maxchars + "\\n$char_current" + textareaDom.value.length + "");
textareaDom.focus();
return false;
} else {
submitDom.disabled = true;
return true;
}
} else {
submitDom.disabled = true;
return true;
}
}
EOF;

$xoopsTpl->assign('xoops_js', $xoopsTpl->_tpl_vars['xoops_js'] . $js);

include(XOOPS_ROOT_PATH."/footer.php");
?>


Please help me,

thanks a lot!



5
Shijk
Re: Blank page when opening Extreme Guestbook
  • 2004/6/17 13:14

  • Shijk

  • Just popping in

  • Posts: 51

  • Since: 2003/8/7 2


Thanks for your reply,

I didn't change anything..

I Only updated my XOOPS 2.06 to 2.07.. but that's wasn't working so I fixed it with the 2.05 to 2.06 patch..

So now I'm running 2.06 again..

I don't know if that's the problem because I received a mail from a member that is wasn't working...



6
Shijk
Blank page when opening Extreme Guestbook
  • 2004/6/17 9:59

  • Shijk

  • Just popping in

  • Posts: 51

  • Since: 2003/8/7 2


Please help me , my guestbook doesn't work anymore

When I Click Guestbook at the menu I get a blank page..
When I turn PHP Debug on I get this..


Fatal error: Call to undefined function: xoopscodetarearet() in /home/shijk/domains/shijk.nl/public_html/modules/xtremguestbook/sign.php on line 121
Notice [PHP]: Use of undefined constant _MI_NEWBB_BNAME5 - assumed '_MI_NEWBB_BNAME5' in file /home/shijk/domains/shijk.nl/public_html/modules/newbb/xoops_version.php line 113
Notice [PHP]: Undefined variable: boxstuff in file /home/shijk/domains/shijk.nl/public_html/modules/shoutbox/blocks/shoutbox.php line 55
Notice [PHP]: Use of undefined constant Kwats - assumed 'Kwats' in file /home/shijk/domains/shijk.nl/public_html/modules/shoutbox/blocks/shoutbox.php line 85
Notice [PHP]: Use of undefined constant Ververs - assumed 'Ververs' in file /home/shijk/domains/shijk.nl/public_html/modules/shoutbox/blocks/shoutbox.php line 113


Please help me!

Mark



7
Shijk
Re: Script execution not allowed after update to 2.0.6 -> 2.0.7
  • 2004/6/14 21:32

  • Shijk

  • Just popping in

  • Posts: 51

  • Since: 2003/8/7 2


I've got the same problem too!



8
Shijk
Re: Flatview in forum
  • 2004/3/30 13:17

  • Shijk

  • Just popping in

  • Posts: 51

  • Since: 2003/8/7 2


Quote:
Only helps new users, doesn't change existing accounts though.


Ok thanks for your reply..

But I want to change it for existing users..

Greets

Mark



9
Shijk
Re: Flatview in forum
  • 2004/3/30 10:57

  • Shijk

  • Just popping in

  • Posts: 51

  • Since: 2003/8/7 2


How Can I make this also the default for all of my users??

Ps: I had this a few months ago..with a older XOOPS version and then they told me to change something in a php file???

Greets

Mark



10
Shijk
Re: need to mail out newsletter to 1000 people
  • 2004/3/25 22:03

  • Shijk

  • Just popping in

  • Posts: 51

  • Since: 2003/8/7 2


Hi there, Thanks for the reply!

Line 342 was ok!

I installed Xmail..but when I click on E-mail system?
I get a blank page..I can only change the parameters in admin..but configuration,Entered message etc I get also a blank page

Mark




TopTop
(1) 2 3 4 ... 6 »



Login

Who's Online

153 user(s) are online (98 user(s) are browsing Support Forums)


Members: 0


Guests: 153


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