Go Back   vb.org Archive > Search Forums
FAQ Community Calendar Today's Posts Search

Showing results 1 to 25 of 328
Search took 0.01 seconds.
Search: Posts Made By: Mark Hensler
Forum: vBulletin 3.5 Add-ons 10-27-2005, 04:59 AM
Replies: 174
Views: 77,516
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 10-25-2005, 03:47 AM
Replies: 174
Views: 77,516
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 06-17-2002, 04:05 PM
Replies: 4
Views: 970
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 06-17-2002, 02:50 AM
Replies: 4
Views: 970
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 06-14-2002, 04:42 AM
Replies: 8
Views: 2,142
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 06-12-2002, 08:47 PM
Replies: 9
Views: 1,569
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 06-12-2002, 08:38 PM
Replies: 8
Views: 2,142
Posted By Mark Hensler
Ya, looks like its calling nl2br twice.

Ya, looks like its calling nl2br twice.
Forum: vB3 Programming Discussions 06-12-2002, 02:55 AM
Replies: 8
Views: 2,142
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-06-2002, 03:01 AM
Replies: 6
Views: 1,426
Posted By Mark Hensler
Bravo! Bravo!

Bravo! Bravo!
Forum: Community Lounge 05-27-2002, 04:31 AM
Replies: 16
Views: 2,084
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 05-23-2002, 05:28 PM
Replies: 78
Views: 13,012
Posted By Mark Hensler
Smilie fix... // FIND: ...

Smilie fix...

// FIND:

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

// REPLACE:

$previewmessage = pmcodeparse($message);
Forum: Community Lounge 05-21-2002, 03:34 PM
Replies: 4
Views: 948
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 05-20-2002, 09:46 PM
Replies: 5
Views: 1,272
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 05-18-2002, 03:46 AM
Replies: 4
Views: 1,316
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 05-17-2002, 03:55 PM
Replies: 4
Views: 1,316
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 05-17-2002, 05:30 AM
Replies: 2
Views: 1,049
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 05-16-2002, 05:39 AM
Replies: 3
Views: 1,246
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 05-16-2002, 05:38 AM
Replies: 7
Views: 1,345
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 05-16-2002, 05:36 AM
Replies: 3
Views: 1,419
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 05-16-2002, 05:28 AM
Replies: 5
Views: 1,156
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 05-15-2002, 05:21 PM
Replies: 5
Views: 1,156
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 05-15-2002, 05:16 PM
Replies: 83
Views: 7,741
Posted By Mark Hensler
then subtract 7 ;)

then subtract 7 ;)
Forum: vB3 Programming Discussions 05-14-2002, 07:42 PM
Replies: 8
Views: 1,103
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 05-14-2002, 01:57 AM
Replies: 83
Views: 7,741
Posted By Mark Hensler
I showed mine, now show me yours. :)

I showed mine, now show me yours. :)
Forum: vB3 Programming Discussions 05-13-2002, 06:01 PM
Replies: 9
Views: 1,434
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 328

 
Forum Jump

All times are GMT. The time now is 04:44 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01970 seconds
  • Memory Usage 2,051KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)forumjump
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (2)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)search_results
  • (25)search_results_postbit
  • (1)spacer_close
  • (1)spacer_open
  • (17)threadbit_pagelink 

Phrase Groups Available:
  • global
  • inlinemod
  • prefix
  • search
Included Files:
  • ./search.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_search.php
  • ./includes/functions_databuild.php
  • ./includes/functions_forumlist.php
  • ./includes/functions_misc.php
  • ./includes/functions_forumdisplay.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • search_before_process
  • search_start
  • search_results_start
  • search_results_query_posts
  • search_results_prebits
  • threadbit_process
  • search_results_postbit
  • pagenav_page
  • pagenav_complete
  • forumjump
  • search_complete
  • navbits
  • navbits_complete