Ravens PHP Scripts: Forums
 

 

Search found 49 matches
Author Message
 Topic: running sql queries are dynamic pages.
tommyb

Replies: 16
Views: 17431

PostForum: phpnuke 7.6   Posted: Tue Jun 26, 2007 7:03 am   Subject: running sql queries are dynamic pages.
Sorry about that I guess I should have posted the whole code up. Was just so busy trying to get the module to work myself sometimes I forget to be more specific in my post. Plus I thought it was more ...
 Topic: running sql queries are dynamic pages.
tommyb

Replies: 16
Views: 17431

PostForum: phpnuke 7.6   Posted: Mon Jun 25, 2007 3:55 am   Subject: running sql queries are dynamic pages.
Well I managed to get this work using the mainfile includes. When I was displaying the image I was doing it in the format

<img src="modules/mymodule/image.php?id=1" alt="meh" ...
 Topic: Readfile() issues
tommyb

Replies: 3
Views: 7222

PostForum: PHP   Posted: Thu Jun 21, 2007 1:52 am   Subject: Readfile() issues
Hi,

I've uploaded a file via ftp as you suggested and i am still getting the same issue. The files just come up totally empty. Whats weird is the file sizes are shown as what they should be and n ...
 Topic: Readfile() issues
tommyb

Replies: 3
Views: 7222

PostForum: PHP   Posted: Wed Jun 20, 2007 11:45 am   Subject: re: Readfile() issues
Hi Raven,

Out of everything i checked that was the one thing I forgot Embarassed

I wont be able to check until tomorrow now but thanks for the suggestion. I'll post back tomorrow.

many thanks
 Topic: Readfile() issues
tommyb

Replies: 3
Views: 7222

PostForum: PHP   Posted: Wed Jun 20, 2007 7:48 am   Subject: Readfile() issues
Hi,

I'm currently working on a script that uses readfile to open documents outside of the web root that are all located in the same folder/path.

The script sends the correct headers for the type ...
 Topic: Forum Spell Checking
tommyb

Replies: 1
Views: 5386

PostForum: BB2Nuke   Posted: Mon Jun 18, 2007 10:07 am   Subject: Forum Spell Checking
Hi all,

I've been working on using pspell within the forums to accomodate a spell check in forum preview (pspell must be an activated module). The file I edited to do this was
modules/Forums/post ...
 Topic: libogg installation
tommyb

Replies: 5
Views: 8344

PostForum: Apache   Posted: Fri Jun 15, 2007 2:22 am   Subject: libogg installation
Hi,

Thanks for that it worked a treat. I'm trying to install ffmpeg and all its dependencies and i couldn't get past ligobb. After that I installed libvorbis and everything else but when it comes ...
 Topic: libogg installation
tommyb

Replies: 5
Views: 8344

PostForum: Apache   Posted: Thu Jun 14, 2007 11:12 am   Subject: libogg installation
Its Fedora Core 4. I've tried doing ./configure and thats when i get the error. It gave me a log I don't know if that would be any use to you?
 Topic: libogg installation
tommyb

Replies: 5
Views: 8344

PostForum: Apache   Posted: Thu Jun 14, 2007 6:48 am   Subject: libogg installation
Hi,

Does anyone here have any experience with install libogg? I need to install it. I have the extracted it but when running make it throws up some errors. I'm new to fully managing a server and ...
 Topic: running sql queries are dynamic pages.
tommyb

Replies: 16
Views: 17431

PostForum: phpnuke 7.6   Posted: Wed Jun 13, 2007 8:01 am   Subject: running sql queries are dynamic pages.
Just tried it and I get no errors displayed. They displayed in other areas so I know it isnt that the error reporting was disabled at server level. I've tried the require_once as mainfile.php and th ...
 Topic: running sql queries are dynamic pages.
tommyb

Replies: 16
Views: 17431

PostForum: phpnuke 7.6   Posted: Wed Jun 13, 2007 7:11 am   Subject: running sql queries are dynamic pages.
It works until I do a require_once('mainfile.php') and change the mysql_query to $db->sql_query (and remove db connection info) which is why i figured it has to be to do with mainfile.

I don't h ...
 Topic: running sql queries are dynamic pages.
tommyb

Replies: 16
Views: 17431

PostForum: phpnuke 7.6   Posted: Wed Jun 13, 2007 2:18 am   Subject: running sql queries are dynamic pages.
Hi Again,

I have tried the define('MODULE_FILE' ,TRUE) <- works for my version
and then include mainfile.php and this allows me to perform the queries.

If i was using the page to generate an ...
 Topic: Comparing Dates
tommyb

Replies: 2
Views: 5375

PostForum: PHP   Posted: Thu May 31, 2007 5:05 am   Subject: Comparing Dates
Nevermind I sorted it by making the date go y-m-d and also i think i might have put a brace in somewhere i shouldnt have.

The code now looks like this


$selected = strtotime(date('Y-m-d ...
 Topic: Comparing Dates
tommyb

Replies: 2
Views: 5375

PostForum: PHP   Posted: Thu May 31, 2007 4:56 am   Subject: Comparing Dates
Hi,

I'm trying to compare a couple of dates in PHP using the following.
$sm is the selected month
$sd is the selected day
and $sy is the selected year.

I have tried
$actual = strtotime(date ...
 Topic: running sql queries are dynamic pages.
tommyb

Replies: 16
Views: 17431

PostForum: phpnuke 7.6   Posted: Thu May 24, 2007 3:31 pm   Subject: running sql queries are dynamic pages.
Yeah its just normal nuke.

Many thanks Raven and fkelly
 Topic: running sql queries are dynamic pages.
tommyb

Replies: 16
Views: 17431

PostForum: phpnuke 7.6   Posted: Thu May 24, 2007 2:58 pm   Subject: running sql queries are dynamic pages.
I'll try including them and see if it works then. I'll let you know my results

Many thanks
 Topic: running sql queries are dynamic pages.
tommyb

Replies: 16
Views: 17431

PostForum: phpnuke 7.6   Posted: Thu May 24, 2007 1:11 pm   Subject: re: running sql queries are dynamic pages.
Thanks for replying. I understand how to create modules and i know that first i include mainfile and then on any page include header.php and that puts in the the header left, the links logo etc. If i ...
 Topic: running sql queries are dynamic pages.
tommyb

Replies: 16
Views: 17431

PostForum: phpnuke 7.6   Posted: Thu May 24, 2007 9:47 am   Subject: running sql queries are dynamic pages.
Hi,

Wasn't too sure whereabouts to ask this question so here we go.

If i had a php page that was used to create an image: e.g


header("Content-Type:image/jpg");
heade ...
 Topic: syntax explanation
tommyb

Replies: 1
Views: 4427

PostForum: PHP   Posted: Tue Feb 13, 2007 3:24 am   Subject: syntax explanation
Hi,

Can someone give me an explanation of the following in terms of the format?

$start = ( isset($HTTP_GET_VARS['start']) ) ? intval($HTTP_GET_VARS['start']&# ...
 Topic: Forum and user cookies different
tommyb

Replies: 12
Views: 9899

PostForum: Modules   Posted: Tue Jul 18, 2006 3:02 am   Subject: Forum and user cookies different
Hi,

Each group does indeed have a moderator, and the groups are appearing in the nuke_bbgroups table and in the nsngr_group table. Just something in between must be throwing it out.

Sad
 Topic: Forum and user cookies different
tommyb

Replies: 12
Views: 9899

PostForum: Modules   Posted: Mon Jul 17, 2006 8:16 am   Subject: Forum and user cookies different
I think i managed to get registering working again but i still have issues with the groups. Groups i create in nsn groups do not appear in the groups tab in the forums but they appear to be in the da ...
 Topic: Forum and user cookies different
tommyb

Replies: 12
Views: 9899

PostForum: Modules   Posted: Mon Jul 17, 2006 7:49 am   Subject: Forum and user cookies different
4.4.2 I've also noticed that users can not register as well. I've added the agreedtos field in nuke_users and the realname field innuke_users_temp but its still not letting people register as well e ...
 Topic: Forum and user cookies different
tommyb

Replies: 12
Views: 9899

PostForum: Modules   Posted: Mon Jul 17, 2006 5:01 am   Subject: Forum and user cookies different
I am using ravennuke but have ported all the data over from an old site based on 7.7.I ran the downgrader script first then updated the 7.7 tables to v2.0.20 (the same version as was in my raven insta ...
 Topic: Forum and user cookies different
tommyb

Replies: 12
Views: 9899

PostForum: Modules   Posted: Mon Jul 17, 2006 3:20 am   Subject: Forum and user cookies different
Hi,

I have an issue where my users can log out of my main nuke site yet they remain logged into the forums. I have tried emptying the cookies and logging in again etc and the issue still remains. ...
 Topic: Problems with groups after port
tommyb

Replies: 3
Views: 5370

PostForum: Modules   Posted: Mon Jul 17, 2006 2:43 am   Subject: Problems with groups after port
They can log into the site etc the can post in forums and do everything apart from where there are group specific forums users are saying they can no longer log into these. The groups tab in the foru ...
 

 Jump to:   

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