71
dizzymarkus
Re: Cannot display anything in custom block

goto admin -- groups-- and allow privledges to see it

be it to anon, registered, or webmaster.

Hope this helps

Markus



72
dizzymarkus
how to change blocks name

How may I change the name of the block. EX i am using xp-weather and changed the name of the module to Local Weather which shows as I want in the main menu, however the block that shows the weather still has the "xp-weather" name at the top. Can I change this?

Thanks,
Markus



73
dizzymarkus
Re: custom block question ((css))

the custom blocks must be in a div container?

the css doesnt need to be in the <head> ?

sorry about the silly sounding questions I am faily new here and thanks for the great code rework.


Lemme rephrase this lol how can I add css to the custom block with it affecting the whole page. I use dreamweaver then copy and pate code to custom block (i dont know much html)


thanks again,
Markus



74
dizzymarkus
custom block question ((css))

I must be missing something here, if i create a custom block ------- centerblock / center -------- and add html to that block it displays the way I want but changes the css on the whole page to that of the custom block. Must it be in an <iframe> to not control the css on the whole page? Thanks prolly seems like a dumb question to some and sorry. I read around a bunch with the css and fairly understand it for XOOPS but the custom block has me swinging lol.


Thanks ,
Markus

xoops version 2.0.13
php version 4.4.1
sql version 4.1.14-standard-log



heres the custom block code


<!-- code starts here -->


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Board meeting minutes</title>
<style type="text/css">
<!--
.style1 {
font-size: 16px;
font-weight: bold;
color: #000000
}
.style2 {font-family: "Times New Roman", Times, serif}
a:link {
color: #0000FF;
text-decoration: none;
font-size: 16px;
}
a:visited {
color: #0000FF;
text-decoration: none;
font-size: 16px;
}
a:hover {
color: #FF0000;
text-decoration: none;
font-size: 16px;
}
a:active {
text-decoration: none;
font-size: 16px;
}
.style3 {
color: #FF0000;
font-weight: bold;
}
.style4 {color: #FF0000}
.style6 {font-family: "Times New Roman", Times, serif; color: #000000; }
.style7 {
font-size: 24px;
color: #000000;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
}
.style8 {
font-size: 16px;
font-weight: bold;
}
-->
</style>
</head>
<body>
<table width="724" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="724" height="281" valign="top" bgcolor="#FFFF66"><div align="center" class="style1">Here you will find the latest minutes from the last BOARD MEETING </div><p></p>
<ul>
<li><strong>Syracuse quater midget club is looking for some help and volunteers to help with their big 2006 race. Please contact </strong><a href="mailto:noone@nowhere.com">noone@nowhere.<strong>com</strong></a><strong> for information. </strong></li>
<p>
<li><span class="style8">Season schudule set in place <span class="style4"><span class="style6">and is viewable </span></span></span><span class="style3"><span class="style2"><strong><a href="http://www.ocqmc.com/modules/agendax/index.php?op=cal">" here "</a></strong><p>
<center><a href="http://www.ocqmc.com/modules/xoopsfaq/">Please see the FAQ for easy instructions on using the Calender and Photo galleries</a></center></p>
<a href="http://www.oswegoquartermidgetclassic.com/ocqmc/modules/agendax/index.php?op=cal"></strong></a></p></span></span>
<p><div align="center"><span class="style3">--PLEASE NOTE TRACK CLEAN UP TIMES-- </span></div></p>
</li>
</ul>
<p align="center"><strong>Any comments or concerns please feel free to contact the club president below</strong></p>
<p align="center" class="style7"> <span class="style2"><a href="mailto:ejcrossman@twcny.rr.com"><strong>Eric Crossman</strong><strong>&nbsp;&nbsp;&nbsp;&nbsp;OCQMC President</strong></a></p></td>
</tr>
<tr>
<td height="87" valign="top" bgcolor="#FFFF00" class="style1"><div align="center">Here you will find an archieve of past meetings & minutes </div> <p align="center" class="style2">
<a href="http://www.ocqmc.com/modules/news/archive.php"><strong>"CLICK HERE"</a></p></td>
</tr>
</table>
</body>
</html>


<!-- code ends here -->



thanks again



75
dizzymarkus
user.php

<?php
// $Id: user.php,v 1.16 2005/06/26 15:38:21 mithyt2 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 //
// ------------------------------------------------------------------------ //

$xoopsOption['pagetype'] = 'user';
include 'mainfile.php';

$op = 'main';

if ( isset($_POST['op']) ) {
$op = trim($_POST['op']);
} elseif ( isset($_GET['op']) ) {
$op = trim($_GET['op']);
}

if ($op == 'main') {
if ( !$xoopsUser ) {
$xoopsOption['template_main'] = 'system_userform.html';
include 'header.php';
$xoopsTpl->assign('lang_login', _LOGIN);
$xoopsTpl->assign('lang_username', _USERNAME);
if (isset($_COOKIE[$xoopsConfig['usercookie']])) {
$xoopsTpl->assign('usercookie',$_COOKIE[$xoopsConfig['usercookie']]);
}
if (isset($_GET['xoops_redirect'])) {
$xoopsTpl->assign('redirect_page', htmlspecialchars(trim($_GET['xoops_redirect']), ENT_QUOTES));
}
$xoopsTpl->assign('lang_password', _PASSWORD);
$xoopsTpl->assign('lang_notregister', _US_NOTREGISTERED);
$xoopsTpl->assign('lang_lostpassword', _US_LOSTPASSWORD);
$xoopsTpl->assign('lang_noproblem', _US_NOPROBLEM);
$xoopsTpl->assign('lang_youremail', _US_YOUREMAIL);
$xoopsTpl->assign('lang_sendpassword', _US_SENDPASSWORD);
$xoopsTpl->assign('mailpasswd_token', $GLOBALS['xoopsSecurity']->createToken());
include 'footer.php';
} elseif ( $xoopsUser ) {
header('Location: '.XOOPS_URL.'/userinfo.php?uid='.$xoopsUser->getVar('uid'));
}
exit();
}

if ($op == 'login') {
include_once XOOPS_ROOT_PATH.'/include/checklogin.php';
exit();
}

if ($op == 'logout') {
$message = '';
$_SESSION = array();
session_destroy();
if ($xoopsConfig['use_mysession'] && $xoopsConfig['session_name'] != '') {
setcookie($xoopsConfig['session_name'], '', time()- 3600, '/', '', 0);
}
// clear entry from online users table
if (is_object($xoopsUser)) {
$online_handler =& xoops_gethandler('online');
$online_handler->destroy($xoopsUser->getVar('uid'));
}
$message = _US_LOGGEDOUT.'<br />'._US_THANKYOUFORVISIT;
redirect_header('index.php', 1, $message);
exit();
}

if ($op == 'actv') {
$id = intval($_GET['id']);
$actkey = trim($_GET['actkey']);
if (empty($id)) {
redirect_header('index.php',1,'');
exit();
}
$member_handler =& xoops_gethandler('member');
$thisuser =& $member_handler->getUser($id);
if (!is_object($thisuser)) {
exit();
}
if ($thisuser->getVar('actkey') != $actkey) {
redirect_header('index.php',5,_US_ACTKEYNOT);
} else {
if ($thisuser->getVar('level') > 0 ) {
redirect_header('user.php',5,_US_ACONTACT);
} else {
if (false != $member_handler->activateUser($thisuser)) {
$config_handler =& xoops_gethandler('config');
$xoopsConfigUser =& $config_handler->getConfigsByCat(XOOPS_CONF_USER);
if ($xoopsConfigUser['activation_type'] == 2) {
$myts =& MyTextSanitizer::getInstance();
$xoopsMailer =& getMailer();
$xoopsMailer->useMail();
$xoopsMailer->setTemplate('activated.tpl');
$xoopsMailer->assign('SITENAME', $xoopsConfig['sitename']);
$xoopsMailer->assign('ADMINMAIL', $xoopsConfig['adminmail']);
$xoopsMailer->assign('SITEURL', XOOPS_URL."/");
$xoopsMailer->setToUsers($thisuser);
$xoopsMailer->setFromEmail($xoopsConfig['adminmail']);
$xoopsMailer->setFromName($xoopsConfig['sitename']);
$xoopsMailer->setSubject(sprintf(_US_YOURACCOUNT,$xoopsConfig['sitename']));
include 'header.php';
if ( !$xoopsMailer->send() ) {
printf(_US_ACTVMAILNG, $thisuser->getVar('uname'));
} else {
printf(_US_ACTVMAILOK, $thisuser->getVar('uname'));
}
include 'footer.php';
} else {
redirect_header('user.php',5,_US_ACTLOGIN);
}
} else {
redirect_header('index.php',5,'Activation failed!');
}
}
}
exit();
}

if ($op == 'delete') {
$config_handler =& xoops_gethandler('config');
$xoopsConfigUser =& $config_handler->getConfigsByCat(XOOPS_CONF_USER);
if (!$xoopsUser || $xoopsConfigUser['self_delete'] != 1) {
redirect_header('index.php',5,_US_NOPERMISS);
exit();
} else {
$groups = $xoopsUser->getGroups();
if (in_array(XOOPS_GROUP_ADMIN, $groups)){
// users in the webmasters group may not be deleted
redirect_header('user.php', 5, _US_ADMINNO);
exit();
}
$ok = !isset($_POST['ok']) ? 0 : intval($_POST['ok']);
if ($ok != 1) {
include 'header.php';
xoops_confirm(array('op' => 'delete', 'ok' => 1), 'user.php', _US_SURETODEL.'<br/>'._US_REMOVEINFO);
include 'footer.php';
} else {
$del_uid = $xoopsUser->getVar("uid");
$member_handler =& xoops_gethandler('member');
if (false != $member_handler->deleteUser($xoopsUser)) {
$online_handler =& xoops_gethandler('online');
$online_handler->destroy($del_uid);
xoops_notification_deletebyuser($del_uid);
redirect_header('index.php', 5, _US_BEENDELED);
}
redirect_header('index.php',5,_US_NOPERMISS);
}
exit();
}
}
?>



76
dizzymarkus
login redirect help please

I have my domain set up as an add on domain. ((www.ocqmc.com))

www.oswegoquartermidgetclassic.com/ocqmc with the dns pointing to it. I goto www.ocqmc.com and it directs me to the right page----- but when trying to log in it redirects me to the blank index of oswegoquartermidgetclassic
even says thanks for loggin in dizzy


If i go to www.oswegoquartermidgetclassic.com/ocqmc then try to log in it is successful.

Can someone tell me if they have run across this or how to maybe fix it? Its kinda ruff being i have several hours into this thing :0)


Try the two for yourself the name dizzy and the pass tiger will get ya access.

i am running xoopsversion 2.0.13
php 4.4.1
sql 4.4.14-standard-log

thanks greatly for any advice given. I have looking in user.php and the http's seem correct. I'll drop the user.php in a post below.

thank you
Markus



77
dizzymarkus
Re: blocks question help please!

Bump ------------------- please lol



78
dizzymarkus
blocks question help please!

I am trying to make a custom block and have it appear in anon group but everytime i make a custom block it goes to registered. Even if i choose anon group and then creat block it still goes to registered ??????


Sorry fairly new here and its driving me nutz lol.

Thanks ,
Markus



79
dizzymarkus
Re: A racing log module

I sure will, thank you---- I did :0) waiting on response

again thanky ou for the shout

Markus



80
dizzymarkus
A racing log module

Howdy guys,
I asked a few weeks back and searched till my fingers turned purple lol. I am currently running XOOPS for a childrens non profit 1/4 midget racing league that has been around for years. They are now deciding they would like to join the web lol (bout time)

I am looking for a module that will allow me to enter weekly info and have it processed and sent to the right fileds. Like weekly stats, finishs, and archieve.

Like this kinda.

OCQMC.com

I would like to be able to enter the new points and have it added to the list then processed and put in order accordingly. of course with an archieve for past results.

Another way I have tried is to find a script capable of this and I frame it into the site. I couldnt find one so I tried modding a simple news script to do this and it just wasnt willing to work with me lol. Any help will be greatly appreciated by me and the children that are going to use this site.

I know the site goes to a .php extension, unfortunataly the sites files are locked and the fella that was messing with it has dissappeared. Another words I cannot get to those files. The provider wants a name and pass lol arrrrrgggg! Its kids and non profit hahahah


Markus

and thanks greatly guys for any help even a little




TopTop
« 1 ... 5 6 7 (8) 9 10 11 »



Login

Who's Online

162 user(s) are online (126 user(s) are browsing Support Forums)


Members: 0


Guests: 162


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits