Register Members List Search Today's Posts Mark Forums Read

Showing results 1 to 25 of 150
Search took 0.02 seconds.
Search: Posts Made By: Mark Hensler
Forum: vBulletin 3.5 Add-ons 27 Oct 2005, 05:59
Replies: 174
Views: 75,257
Posted By Mark Hensler
I just created a usergroup called "Protected...

I just created a usergroup called "Protected Signature" and added myself to it. It seems to work. Can someone check my code? It's been a while since I've done any programming.
Forum: vBulletin 3.5 Add-ons 25 Oct 2005, 04:47
Replies: 174
Views: 75,257
Posted By Mark Hensler
Any chance of getting a revision to include...

Any chance of getting a revision to include usergroup exclusion?
Forum: Community Lounge 17 Jun 2002, 17:05
Replies: 4
Views: 898
Posted By Mark Hensler
Depending on your traffic, you may run it...

Depending on your traffic, you may run it everytime a page is hit, or once every X times. Or you could put it in a cron job and set it off every 5 minutes.
Forum: Community Lounge 17 Jun 2002, 03:50
Replies: 4
Views: 898
Posted By Mark Hensler
ascii flow chart (sort of) updating...

ascii flow chart (sort of)


updating session table..
--
ENTER

sql: DELETE FROM session_table WHERE timestamp>(now()-$session_timeout)

sql: UPDATE INTO session_table SET timestamp=now()...
Forum: vB3 Programming Discussions 14 Jun 2002, 05:42
Replies: 8
Views: 1,901
Posted By Mark Hensler
I think I gave you the wrong syntax... sorry ...

I think I gave you the wrong syntax... sorry

mysql -uUser -pPassword -e "DELETE FROM table_name" database_name
Forum: Community Lounge 12 Jun 2002, 21:47
Replies: 9
Views: 1,492
Posted By Mark Hensler
I'm a pirate. :pirate: 5 machines in our...

I'm a pirate. :pirate:

5 machines in our house... (more to come)
2 running licensed WinXP
1 running licensed Win98SE
2 running linux, no such thing as a license!

In my opinion, you pay for...
Forum: vB3 Programming Discussions 12 Jun 2002, 21:38
Replies: 8
Views: 1,901
Posted By Mark Hensler
Ya, looks like its calling nl2br twice.

Ya, looks like its calling nl2br twice.
Forum: vB3 Programming Discussions 12 Jun 2002, 03:55
Replies: 8
Views: 1,901
Posted By Mark Hensler
I doubt it's beyond Chen. Have a cron job...

I doubt it's beyond Chen.

Have a cron job fire off a shell script. Something like this...

#!/bin/sh

/path/to/mysql -uUser -pPassword -e "DELETE FROM table_name"
/path/to/mysql -uUser...
Forum: Community Lounge 06 Jun 2002, 04:01
Replies: 6
Views: 1,356
Posted By Mark Hensler
Bravo! Bravo!

Bravo! Bravo!
Forum: Community Lounge 27 May 2002, 05:31
Replies: 16
Views: 1,807
Posted By Mark Hensler
On almost all boards, my username is my real name...

On almost all boards, my username is my real name (Mark Hensler). But there are a few out there that still have my alias (Max Albert).
Forum: vBulletin 2.x Full Releases 23 May 2002, 18:28
Replies: 78
Views: 12,306
Posted By Mark Hensler
Smilie fix... // FIND: ...

Smilie fix...

// FIND:

$previewmessage=bbcodeparse($message,0,$allowsmilie);

// REPLACE:

$previewmessage = pmcodeparse($message);
Forum: Community Lounge 21 May 2002, 16:34
Replies: 4
Views: 879
Posted By Mark Hensler
What a way to start a flame war. Prolly...

What a way to start a flame war.

Prolly should delete this thread.
Forum: vB3 Programming Discussions 20 May 2002, 22:46
Replies: 5
Views: 1,130
Posted By Mark Hensler
$count=1; while(isset(${"test".$count})){ if...

$count=1;
while(isset(${"test".$count})){
if (${"test".$count}==1){
....
}
$count++;
}
Forum: vB3 Programming Discussions 18 May 2002, 04:46
Replies: 4
Views: 1,216
Posted By Mark Hensler
preg_replace is faster than eregi_replace ...

preg_replace is faster than eregi_replace

preg_replace is PERL compatable, so inside the quotes, it needs to look exactly like a PERL regular expression (so I use / as a delimeter).

The rest...
Forum: vB3 Programming Discussions 17 May 2002, 16:55
Replies: 4
Views: 1,216
Posted By Mark Hensler
$text=str_replace("\n\n\n", "\n\n", $text); ...

$text=str_replace("\n\n\n", "\n\n", $text);

or

$text=preg_replace("/\n\n\n/", "\n\n", $text);
Forum: vB3 Programming Discussions 17 May 2002, 06:30
Replies: 2
Views: 968
Posted By Mark Hensler
show table status from table_name add all...

show table status from table_name

add all the Data_length field and the Index_length fields
Forum: vB3 Programming Discussions 16 May 2002, 06:39
Replies: 3
Views: 1,131
Posted By Mark Hensler
Can we see the line? Has anyone modified...

Can we see the line?

Has anyone modified that file lately?
Forum: vB3 Programming Discussions 16 May 2002, 06:38
Replies: 7
Views: 1,212
Posted By Mark Hensler
Well, the problem is that he doesn't have...

Well, the problem is that he doesn't have anything finishing this statement:
userid<>

userid is not equal to what?
Forum: vB3 Programming Discussions 16 May 2002, 06:36
Replies: 3
Views: 1,193
Posted By Mark Hensler
A little homework reading: :) ...

A little homework reading: :)
http://www.vbulletin.com/forum/showthread.php?s=&threadid=37641
http://www.vbulletin.com/forum/showthread.php?s=&threadid=25182

Hope that helps.
Forum: vB3 Programming Discussions 16 May 2002, 06:28
Replies: 5
Views: 1,065
Posted By Mark Hensler
You want a variable to have a value for 6 hours? ...

You want a variable to have a value for 6 hours?
Why?
That won't do you any good unless you've got this one script running for that long (like a shell script, or daemon).

If you want to change...
Forum: vB3 Programming Discussions 15 May 2002, 18:21
Replies: 5
Views: 1,065
Posted By Mark Hensler
I'm not quite sure what you want. Do you...

I'm not quite sure what you want.

Do you want to adjust the timeout setting?
Forum: Community Lounge 15 May 2002, 18:16
Replies: 83
Views: 6,032
Posted By Mark Hensler
then subtract 7 ;)

then subtract 7 ;)
Forum: vB3 Programming Discussions 14 May 2002, 20:42
Replies: 8
Views: 999
Posted By Mark Hensler
I think he wants to change the ids for cetain...

I think he wants to change the ids for cetain posts so that he can import a previous DB dump.
Forum: Community Lounge 14 May 2002, 02:57
Replies: 83
Views: 6,032
Posted By Mark Hensler
I showed mine, now show me yours. :)

I showed mine, now show me yours. :)
Forum: vB3 Programming Discussions 13 May 2002, 19:01
Replies: 9
Views: 1,330
Posted By Mark Hensler
I don't think the register_globals is not biggy....

I don't think the register_globals is not biggy. It's not compiled in, its in the config file. But then again, I have access to that on my box, and not everone does.
Showing results 1 to 25 of 150

 

New To Site? Need Help?

All times are GMT. The time now is 18:19.

Layout Options | Width: Wide Color: