Ravens PHP Scripts: Forums
 

 

Search found 1437 matches
Author Message
 Topic: ERROR: Invalid Email (Solved)
gregexp

Replies: 9
Views: 12223

PostForum: v2.4 RN Issues   Posted: Mon Jul 05, 2010 7:34 am   Subject: ERROR: Invalid Email (Solved)
Sorry about that, somehow the code got altered.


if ((!$user_email) || ($user_email == '') || (!preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@& ...
 Topic: e107 has virus, your phpnuke might go down as well
gregexp

Replies: 3
Views: 9063

PostForum: Security Issues   Posted: Sat Jul 03, 2010 8:19 pm   Subject: e107 has virus, your phpnuke might go down as well
Hi Dj,

If I could, I'd make a few suggestions:

1, change from apf to csf(much more concise and supported firewall rules).

2, add mod_security to your apache build(if not already there).

3, ...
 Topic: ERROR: Invalid Email (Solved)
gregexp

Replies: 9
Views: 12223

PostForum: v2.4 RN Issues   Posted: Sat Jul 03, 2010 8:10 pm   Subject: ERROR: Invalid Email (Solved)
What about changing it like this:


if ((!$user_email) || ($user_email == '') || (!eregi('^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z& ...
 Topic: changing theme causes internal server error
gregexp

Replies: 12
Views: 15085

PostForum: v2.4 RN Issues   Posted: Tue Jun 22, 2010 7:52 am   Subject: changing theme causes internal server error
Hi,


I'm figuring this is a theme designed to be installed with some sort of theme manager(it's been a while since I've had a nuke install for this type of stuff).

If so, you may need to instal ...
 Topic: Internal Error Server 500
gregexp

Replies: 2
Views: 6390

PostForum: NukeSentinel(tm) v2.6.x   Posted: Tue Jun 22, 2010 7:10 am   Subject: Internal Error Server 500
It's wrapped in an if module, so no error should be thrown.

I'm assuming you're using cPanel. If so, check your error logs(should be raw http logs).
 Topic: Optimize this Code!
gregexp

Replies: 25
Views: 76244

PostForum: BBtoNuke Mods   Posted: Tue Jun 22, 2010 7:09 am   Subject: Optimize this Code!
hi, sorry about that

this line:


$mcontent=$db->sql_fetchrow($result)

Should be:
$mcontent=$db->sql_fetchrow($result);

Just a ; at the end.

Sorry about that.
 Topic: Optimize this Code!
gregexp

Replies: 25
Views: 76244

PostForum: BBtoNuke Mods   Posted: Sun Jun 20, 2010 8:39 am   Subject: Optimize this Code!
At this point, we need to get the output of the stuff.

Find:

$sql = "SELECT p.topic_id, t.topic_id
FROM " . THANKS_TABLE . " p, ". TOPICS_TABLE ." t
WHERE p.topic_id = ...
 Topic: fatal call to undefined function ya_
gregexp

Replies: 4
Views: 6875

PostForum: v2.4 RN Issues   Posted: Sat Jun 19, 2010 6:50 pm   Subject: fatal call to undefined function ya_
hey drax,

What undefined errors did you get?

That code, include_once, should throw a warning if it can't find it.
require_once will break if it can't find it.

But the paths are the same, so ...
 Topic: Optimize this Code!
gregexp

Replies: 25
Views: 76244

PostForum: BBtoNuke Mods   Posted: Sat Jun 19, 2010 6:47 pm   Subject: Optimize this Code!
I'm not 100% positive, but you may want to index both topic_id and user_id.

This should help significantly.
 Topic: What are your favorite instant message services and clients?
gregexp

Replies: 9
Views: 13879

PostForum: Other - Discussion   Posted: Sat Jun 19, 2010 10:17 am   Subject: What are your favorite instant message services and clients?
Thanks Monetego,

wanted to get back into the community Very Happy
 Topic: What are your favorite instant message services and clients?
gregexp

Replies: 9
Views: 13879

PostForum: Other - Discussion   Posted: Fri Jun 18, 2010 2:30 pm   Subject: What are your favorite instant message services and clients?
AIM for the win!!.

For my serious clients(net only contact):
MSN

for my serious clients(face to face meetings and such):
skype

For the clients I could live without:
yahoo

for other deve ...
 Topic: Looking for a Content Solution!
gregexp

Replies: 12
Views: 10401

PostForum: General/Other Stuff   Posted: Fri Jun 18, 2010 2:25 pm   Subject: Looking for a Content Solution!
That's a major undertaking.

Though the system looks to have a decent amountof code, it is infact not that complex.

It would take a few days, but anyone who is familiar with RN modules and the co ...
 Topic: Looking for a Content Solution!
gregexp

Replies: 12
Views: 10401

PostForum: General/Other Stuff   Posted: Fri Jun 18, 2010 12:19 am   Subject: Looking for a Content Solution!
hi transit,

once you include the mainfile.php, your RN install creates a mysql connection. Anything using mysql_query, will then use that connection instead.

Things like: require "./includes/use ...
 Topic: Deprecated: Function eregi() is deprecated [FIXED]
gregexp

Replies: 46
Views: 214493

PostForum: v2.30.01 RN New Installation Issues   Posted: Thu Jun 17, 2010 11:57 pm   Subject: Deprecated: Function eregi() is deprecated [FIXED]
For linux, I recommend you become familiar with the command: sed


As for the php version of all this, I was wondering if anyone considered having apd installed?

I'm thinking it might be a bit m ...
 Topic: open in new window
gregexp

Replies: 1
Views: 4162

PostForum: v2.4 RN Issues   Posted: Wed Jun 16, 2010 10:16 am   Subject: open in new window
in the a tag, add: target='_blank'
 Topic: What are your favorite instant message services and clients?
gregexp

Replies: 9
Views: 13879

PostForum: Other - Discussion   Posted: Mon Jun 14, 2010 5:37 pm   Subject: What are your favorite instant message services and clients?
For linux, really there is no better client then pidgin. Of course it only provides the basic services(no webcam and voice is a pain to get setup).

I believe Kopete comes with Ubuntu, but I'm not s ...
 Topic: Optimize this Code!
gregexp

Replies: 25
Views: 76244

PostForum: BBtoNuke Mods   Posted: Sun Jun 13, 2010 2:22 pm   Subject: Optimize this Code!
nuke_q7,

I was going to suggest changing TOPIC_TABLE to POST_TABLE, but in reality, I don't see that making much of an improvement.

Is your thanks table large?

if so, we might be able to cha ...
 Topic: Optimize this Code!
gregexp

Replies: 25
Views: 76244

PostForum: BBtoNuke Mods   Posted: Sat Jun 12, 2010 3:46 pm   Subject: Optimize this Code!
Hi,

Really, this should not be causing your forums to load slowly. I could imagine if the mysql server was slow, this would increase the time to run these extra queries, but really, all you are doi ...
 Topic: Best method to do a prevent right click on RN
gregexp

Replies: 20
Views: 36657

PostForum: General/Other Stuff   Posted: Sat Jun 12, 2010 1:51 pm   Subject: Best method to do a prevent right click on RN
One thing you might want to look for, and use a right click menu. It's the same amount of security as having no-right click.

If this is for images, then one thing you could do is force a watermark ...
 Topic: Firefox 3.6 caching fix
gregexp

Replies: 22
Views: 82571

PostForum: Other - Discussion   Posted: Thu Jun 10, 2010 1:41 pm   Subject: Firefox 3.6 caching fix
I think you might be misinterpretting it:


<IfModule mod_expires.c>
ExpiresActive On
# ExpiresDefault A86400
ExpiresByType image/x-icon "access plus 1 month" #1 month c ...
 Topic: NSN Theme_System
gregexp

Replies: 4
Views: 6830

PostForum: Modules   Posted: Tue Jun 08, 2010 7:12 pm   Subject: NSN Theme_System
Did you upload it in ascii or binary?

Sometimes php scripts do that when uploaded incorrectly.


Try to reupload, but make sure your FTP client is set to binary, and not ascii or auto.
 Topic: Blocked Agents Not Being Blocked
gregexp

Replies: 31
Views: 46995

PostForum: NukeSentinel(tm) v2.6.x   Posted: Tue Jun 08, 2010 7:06 pm   Subject: Blocked Agents Not Being Blocked
dad7732,

Could you write a simple script that has the following:


<?php

if stristr("StrIng", "string"){
echo "Matched";
}else{
ech ...
 Topic: Where is the support?
gregexp

Replies: 26
Views: 77422

PostForum: Other - Discussion   Posted: Mon Jun 07, 2010 8:41 pm   Subject: Where is the support?
Sure Thing.

I'm trying to take a couple of hours a day just to keep an eye on the forums.

Hoping I can be of some help here.

I'm going to have to look over the new installation of ravennuke a ...
 Topic: Where is the support?
gregexp

Replies: 26
Views: 77422

PostForum: Other - Discussion   Posted: Mon Jun 07, 2010 4:42 pm   Subject: Where is the support?
Hey guys,

I agree wholeheartedly that people should donate.

But to be 100% honest, it's actually not as easy to sell ravennuke to the non-nuke user/new site owner.

Why? because a CMS as compl ...
 Topic: Correct way to update code
gregexp

Replies: 4
Views: 10382

PostForum: PHP   Posted: Mon Jun 07, 2010 4:19 pm   Subject: Correct way to update code
I personally would use the following:


if(isset($_POST) AND (count($_POST) > 0)){
extract($_POST, EXTR_PREFIX_ALL, "post");
unset ...
 

 Jump to:   

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