31
nuker
pdf images for news 1.4
  • 2005/9/8 18:39

  • nuker

  • Not too shy to talk

  • Posts: 129

  • Since: 2002/12/14


when i produce the pdf in the News 1.4 module, any attached images do not show. is this how it is?



32
nuker
Re: xfsection 1.07 upload problem
  • 2005/9/2 14:11

  • nuker

  • Not too shy to talk

  • Posts: 129

  • Since: 2002/12/14


nobody else having this problem?



33
nuker
xfsection 1.07 upload problem
  • 2005/8/31 15:34

  • nuker

  • Not too shy to talk

  • Posts: 129

  • Since: 2002/12/14


Hi

on XOOPS 2.0.13.1 and wfsection 1.07

when i try to upload files attached to an article, the following happens:

i receive a "Page not found error" after attaching the file.
when i refresh the page i receive this error:

Update failed.
Filename:
The upload file is not setted
Error code = 6

In this case I am trying to upload a PDF file. This does not occur for ALL pdf files, just some of them, and i don't know what the difference between the files, other than file sizes.

is this a known bug? and is there a fix?



34
nuker
xDIRECTORY MODULE REQUEST
  • 2005/6/14 20:32

  • nuker

  • Not too shy to talk

  • Posts: 129

  • Since: 2002/12/14


here's a good request, that i think shouldn't be very hard to do... for a programmer!

can someone have the mapping function of xDirectory use Google Maps instead of Yahoo?



35
nuker
Re: image manager question
  • 2005/5/27 15:54

  • nuker

  • Not too shy to talk

  • Posts: 129

  • Since: 2002/12/14


wow thanks for the fast reply.

is there generic javascript for this type of action? also, is there a term for this type of action?

i'm not a coder so i'm kinda lookin for a how-to or a c&p solution.



36
nuker
image manager question
  • 2005/5/27 15:46

  • nuker

  • Not too shy to talk

  • Posts: 129

  • Since: 2002/12/14


this is sorta off XOOPS topic but i have a question.

i'd like to know how to make a feature like the image manager work.. sorta.

basically, when you click the image manager, a window pops up. when yo uselect the image you want, and it's position (left, right), the pop-up closes, and then then the code is inserted into the main browser page, adn into the text box.

how is that done? i assume it's javascript, but i'd like to know where i can find the code for that...

any help would be greatly appreciated!



37
nuker
AMS Problem
  • 2004/12/20 20:26

  • nuker

  • Not too shy to talk

  • Posts: 129

  • Since: 2002/12/14


I just insalled the released AMS module and i came across a problem.

I after i create a topic in the topics manager, they do not appear in the dropdown when i attempt to submit an article.

am i forgetting to do something?

nuker.



38
nuker
Re: help with php config between MDK10 and FC3
  • 2004/12/6 15:21

  • nuker

  • Not too shy to talk

  • Posts: 129

  • Since: 2002/12/14


i took care of that already too.

the problem i had with selinux was changing the document root.

i still can't figure out what the problem is. i'd switch to mdk but i won't be able to get updates to the system without subscribing.

fedora gives me system updates for free...



39
nuker
Re: help with php config between MDK10 and FC3
  • 2004/12/2 20:11

  • nuker

  • Not too shy to talk

  • Posts: 129

  • Since: 2002/12/14


i have register globals on.

it's weird because the app works in mandrake 10 and it's apache/mysql/php setup.

i put it to fc3 and it get all these errors. so i'm not sure if the solution is within php.ini or in the code.

i've matched the php.ini setings in rc3 to that of mdk but still no luck.



40
nuker
Re: help with php config between MDK10 and FC3
  • 2004/12/2 18:39

  • nuker

  • Not too shy to talk

  • Posts: 129

  • Since: 2002/12/14


here's the code for validate.php

include("appConfig.php");

header("Pragma: ");
header("Cache-Control: ");
header("Expires: Mon, 26 Jul 2004 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate, proxy-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
//set global variables
//global $username,$password;$dept_code;$level;


//The Login Page --> where the user goes according to their levels.

$login_page = "index.php";

$sucess_admin_page = "admin.php"; //First level
$sucess_department_page ="department.php"; // department level
$sucess_workgroup_page = "workgroup.php"; // workgroup level
$sucess_subWorkgroup_page ="subworkgroup.php";// sub workgroup level
$sucess_suspended_page ="4.php";// sub workgroup level

$validate_path ="/temp/users/validate.php";

// ERROR messages

$login_err = ' <div align="center"><font color=red> Your User Name Or Password was incorrect </font></b></div>';

$empty_err = '<div align="center"><b>You need to login with your User Name and Password</b></div>';
//something entered that wasn't a letter or number error message
$chr_err = '<div align="center"><b>You have to enter valid characters.</b></div>';


//if the form is empty and the cookie isn't set
//then display error message the return to login
if($username == "" && $password == "" && !isset($this_cookie)){
print($empty_err);
include($login_page);
exit();
}

//if the form is not empty and the cookie isn't set
//then make sure that only letters and numbers are entered
//if there are then display error message the return to login
if($username != "" || $password != "" && !isset($this_cookie)){
if (preg_match ("/[^a-zA-Z0-9]/", $username.$password)){
print($chr_err);
include($login_page);
exit();
}
}

//if the cookie isn't set
if (!isset($this_cookie) ){
$user_count = count($uname);
$user_exists = false;
// check through all the users to see if they exist
$get_list = "SELECT username, password, accessLevel, Dept_Code, EMP_NUM FROM members WHERE username= '$username' AND password ='$password'";

$get_list_res = mysql_query($get_list) or die(mysql_error());
if (mysql_num_rows($get_list_res) > 0) {
$recs = mysql_fetch_array($get_list_res);
$username = $recs['username'];
$password = $recs['password'];
$level = $recs['accessLevel'];
$dept_codex = $recs['Dept_Code'];
$emp_num2 = $recs['EMP_NUM'];
$user_exists = true;

}

if(!$user_exists){


print ($login_err);
include($login_page);
exit();
}
//if the login is correct then set the cookie
$cookie_val=crypt($uname[$user_id]);
//set the cookie so it dies when the browser is closed
session_start();
$_SESSION[username] = $username;
$_SESSION[dept_codex] = $dept_codex;
$_SESSION[level] = $level;
$_SESSION[password] = $password;
$_SESSION[emp_num2] = $emp_num2;

setcookie("this_cookie", $cookie_val, 0);

// Log the user
$hostname = 'localhost';
$dbname = "trainingreport1";
$dbusername = 'likitung';
$dbpassword = '3l3ctr0d3';
$id_link = mysql_connect("localhost", "$dbusername", "$dbpassword")
or die(mysql_error());
mysql_select_db($dbname,$id_link) or die(mysql_error());
$log ="User Login ";
$Query="INSERT INTO systeLog(date, user, action, time, dept_code)VALUES(now(), '$username', '$log', curtime(),$dept_codex)";
mysql_query($Query,$id_link) or die(mysql_error());


if($level==1)
{
header("Location: $sucess_suspended_page");
}
else if($level ==5)
{
header("Location: $sucess_subWorkgroup_page");

}
else if($level ==10)
{
header("Location: $sucess_workgroup_page");

}
else if($level==15)
{
header("Location: $sucess_department_page");
}
else if($level == 20)
{
header("Location: $sucess_admin_page");
}

}


//if a user tries to access validate.php directly and they are logged in
if($REQUEST_URI == $validate_path){
echo "<html>\n<head>\n";
echo "<title>Yor are logged in</title>\n";
echo "</head>\n";
echo "<body bgcolor=\"white\">\n";
echo "You are logged in. <a href=\"".$success_page."\">Continue</a>\n";
echo "</body>\n";
echo "</html>\n";
}



?>




TopTop
« 1 2 3 (4) 5 6 7 ... 12 »



Login

Who's Online

195 user(s) are online (122 user(s) are browsing Support Forums)


Members: 0


Guests: 195


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