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

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: Kevitt
Forum: vB3 Programming Discussions 01-01-2003, 12:06 AM
Replies: 7
Views: 1,102
Posted By Kevitt
I've adjusted your code to spit out the first 100...

I've adjusted your code to spit out the first 100 chars. Look at the line where $story_text is located. Notice $story_text has now become ".substr($story_text,0,100)."

Hope that helps :)
<?
...
Forum: vB3 Programming Discussions 01-01-2003, 12:00 AM
Replies: 7
Views: 1,102
Posted By Kevitt
whoa! instaposted! :p

whoa! instaposted! :p
Forum: vB3 Programming Discussions 12-31-2002, 11:59 PM
Replies: 7
Views: 1,102
Posted By Kevitt
For this use the SUBSTR() function like so... ...

For this use the SUBSTR() function like so...

echo substr($MY_SNIPPET,0,100);

this would show the first 100 characters in that snippet.
Forum: vB3 Programming Discussions 12-31-2002, 01:14 AM
Replies: 1
Views: 980
Posted By Kevitt
Well... This query will select table entries from...

Well... This query will select table entries from withing the last 14 days. Assuming that your date_column is a datetime type.

SELECT * FROM `TBL_NAME` WHERE TO_DAYS(NOW()) - TO_DAYS(date_column)...
Forum: vB3 Programming Discussions 12-31-2002, 12:47 AM
Replies: 1
Views: 1,123
Posted By Kevitt
No, I'm thinking that line is simply where a...

No, I'm thinking that line is simply where a database call exists. I think you need to do what the error specifically states.

But... I think for mysqladmin flush-hosts you need to at least be...
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT. The time now is 03:05 AM.


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.01211 seconds
  • Memory Usage 1,904KB
  • 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)post_thanks_navbar_search
  • (1)search_results
  • (5)search_results_postbit
  • (1)spacer_close
  • (1)spacer_open 

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
  • forumjump
  • search_complete
  • navbits
  • navbits_complete