Ravens PHP Scripts: Forums
 

 

Search found 734 matches
Author Message
 Topic: Iterate through array_keys
Donovan

Replies: 3
Views: 8010

PostForum: PHP   Posted: Fri Oct 08, 2010 7:38 am   Subject: re: Iterate through array_keys
So you think something like this?

$array_haystack = array_combine($letters, $raw_points);

reset($array_haystack);
unset($correct_answer);
unset($key);

$cor ...
 Topic: Iterate through array_keys
Donovan

Replies: 3
Views: 8010

PostForum: PHP   Posted: Mon Oct 04, 2010 9:32 am   Subject: Iterate through array_keys
I have a page that displays correct answers to an exam. It shows a frequency count of answers, and the correct frequency count was bold. I need to add another column and add the correct answer in th ...
 Topic: End session on browser close.
Donovan

Replies: 18
Views: 38113

PostForum: PHP   Posted: Wed Jun 02, 2010 1:28 pm   Subject: End session on browser close.
This is still an issue. Can't seem to find a cure. I pass the SSID in the URL and can also access authenticated SSID by using the browser history. Was looking into the use of ...

If ($_SERVER['H ...
 Topic: Multiple GCalnedar installs
Donovan

Replies: 1
Views: 5257

PostForum: v2.30.01 RN All Other Issues   Posted: Sat Jun 06, 2009 8:30 am   Subject: Multiple GCalnedar installs
Is it possible? I need one for the swim team events during the season and another for swim club activities for the board that manages the club.
 Topic: End session on browser close.
Donovan

Replies: 18
Views: 38113

PostForum: PHP   Posted: Wed Apr 08, 2009 11:50 am   Subject: re: End session on browser close.
So your saying?


ignore_user_abort(true);
while (true) {
echo "\n";
if (connection_status() == CONNECTION_TIMEOUT) {
session_destroy(& ...
 Topic: End session on browser close.
Donovan

Replies: 18
Views: 38113

PostForum: PHP   Posted: Wed Apr 08, 2009 7:05 am   Subject: End session on browser close.
?

How do I run code for a user who no longer has a connection? They closed the browser before logging out. Are you saying I need to run a cron job every 5 minutes or whatever?

Every place I re ...
 Topic: End session on browser close.
Donovan

Replies: 18
Views: 38113

PostForum: PHP   Posted: Tue Apr 07, 2009 5:13 pm   Subject: End session on browser close.
But I don't want to do any processing after the user exits. I just want to make sure their session is destroyed so they have to login again when they open a new browser.
 Topic: End session on browser close.
Donovan

Replies: 18
Views: 38113

PostForum: PHP   Posted: Tue Apr 07, 2009 3:10 pm   Subject: End session on browser close.
No I haven't but they seem to take me in a different direction that where I need to go.
 Topic: End session on browser close.
Donovan

Replies: 18
Views: 38113

PostForum: PHP   Posted: Wed Apr 01, 2009 7:57 am   Subject: re: End session on browser close.
I still need help here.

If this returns 1 result...

$sql = $db->sql_query("SELECT * FROM ".$prefix."_tl_students WHERE LDAP_USER = '$authuser'");
if ($d ...
 Topic: End session on browser close.
Donovan

Replies: 18
Views: 38113

PostForum: PHP   Posted: Thu Mar 26, 2009 7:36 am   Subject: re: End session on browser close.
I don't have any other tabs open. I don't use a remember me function.
 Topic: End session on browser close.
Donovan

Replies: 18
Views: 38113

PostForum: PHP   Posted: Wed Mar 25, 2009 8:37 am   Subject: End session on browser close.
As this site is on a college campus and most of the public computers in the lab are Mac's the primary browser is Safari.

I am trying to ensure that when the browser is closed the session expires wi ...
 Topic: if (defined('INDEX_FILE')) {
Donovan

Replies: 13
Views: 18639

PostForum: Modules   Posted: Wed Mar 04, 2009 7:18 pm   Subject: if (defined('INDEX_FILE')) {
Darnit that was it. I did not have include("footer.php"); in each function.
 Topic: if (defined('INDEX_FILE')) {
Donovan

Replies: 13
Views: 18639

PostForum: Modules   Posted: Wed Mar 04, 2009 3:59 pm   Subject: re: if (defined('INDEX_FILE')) {
My index.php page. This is a new module for my kids swim team I have been working on for a week.


<?php

/************************************************************************
* Idle Hou ...
 Topic: if (defined('INDEX_FILE')) {
Donovan

Replies: 13
Views: 18639

PostForum: Modules   Posted: Wed Mar 04, 2009 6:31 am   Subject: re: if (defined('INDEX_FILE')) {
My module says
define('INDEX_FILE', true);

My themefooter says
if (defined('INDEX_FILE')) {

My themeheader says
if (defined('INDEX_FILE')) { ...
 Topic: if (defined('INDEX_FILE')) {
Donovan

Replies: 13
Views: 18639

PostForum: Modules   Posted: Wed Mar 04, 2009 5:52 am   Subject: if (defined('INDEX_FILE')) {
Well my theme is not very old as I said it has this code...

if (defined('INDEX_FILE')) {
 Topic: if (defined('INDEX_FILE')) {
Donovan

Replies: 13
Views: 18639

PostForum: Modules   Posted: Tue Mar 03, 2009 9:14 pm   Subject: if (defined('INDEX_FILE')) {
My right side block wont show in my module. I can't figure this out. Everything looks right.

Running the latest RN.

My theme looks right.

if (defined('INDEX_FILE')) { ...
 Topic: Loading a Multidimensional Array
Donovan

Replies: 2
Views: 6814

PostForum: PHP   Posted: Tue Mar 03, 2009 10:55 am   Subject: re: Loading a Multidimensional Array
If this...

$range_data = (array_keys($discri_data));

echo"<pre>";
print_r ($range_data);
echo"</pre>";
die();


gives me
...
 Topic: Loading a Multidimensional Array
Donovan

Replies: 2
Views: 6814

PostForum: PHP   Posted: Tue Mar 03, 2009 10:17 am   Subject: Loading a Multidimensional Array
I have this graph that I am STILL working on.

I made an array and am loading data into it. I want to then extract the data and use this data to graph.

The count of descriminator values is on th ...
 Topic: Firefox error but not in IE
Donovan

Replies: 13
Views: 21969

PostForum: v2.3 RN Issues   Posted: Mon Mar 02, 2009 3:20 pm   Subject: Firefox error but not in IE
It was my default theme and yes I upgraded from 2.20.10 and yes I did run rndb_upgrade.php

Last year I was using IE almost all the time but I got hooked on FF. This year is the first I noticed it. ...
 Topic: Firefox error but not in IE
Donovan

Replies: 13
Views: 21969

PostForum: v2.3 RN Issues   Posted: Sun Mar 01, 2009 6:07 pm   Subject: Firefox error but not in IE
I did twice.
 Topic: Firefox error but not in IE
Donovan

Replies: 13
Views: 21969

PostForum: v2.3 RN Issues   Posted: Sun Mar 01, 2009 3:13 pm   Subject: Firefox error but not in IE
I haven't a clue why this is happening. Running 2.30.01

I get this in FF3 but not in IE7. It posts fine in IE.

http://www.idlehourswimteam.org/Untitled.jpg
 Topic: switch statement issue
Donovan

Replies: 10
Views: 10348

PostForum: Modules   Posted: Sun Mar 01, 2009 1:23 pm   Subject: re: switch statement issue
How about this?

http://www.idlehourswimteam.org/themes/PH2BLUE/images/add_l.jpg
 Topic: switch statement issue
Donovan

Replies: 10
Views: 10348

PostForum: Modules   Posted: Sun Mar 01, 2009 11:35 am   Subject: switch statement issue
"restore" I never took it off. Would this be in the themefooter()?

So if I use RavenNuke like I have been doing for years I have to edit my theme?
 Topic: switch statement issue
Donovan

Replies: 10
Views: 10348

PostForum: Modules   Posted: Sun Mar 01, 2009 8:46 am   Subject: re: switch statement issue
If I change the statement and move information to the top then the page displays information instead of the swimmenu.

It's not going through the switch statement.

switch ($view) {
...
 Topic: switch statement issue
Donovan

Replies: 10
Views: 10348

PostForum: Modules   Posted: Sat Feb 28, 2009 11:17 pm   Subject: switch statement issue
Different page. I am moving everything under a single index.php and making functions.
 

 Jump to:   

Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©