vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Next X Events (https://vborg.vbsupport.ru/showthread.php?t=80902)

Steve Ollis 05-02-2005 10:00 PM

Next X Events
 
Hi.

Please find attached a little hack of the `Last X Posts' by TRE@phase1media.com.

I needed to the be able to display upcoming events on a website I maintain, and couldn't find anything that did this.. so I coughed this little furball up.

Download it, and edit it to put in your database details. If you are using this, and your client base is primarily US Centric, search for "US Users" in the script. Then insert the following into your index.php file...
<?php
include ("next_x_events.php");
?>

An example of this in action can be seen at the VATPAC website

Please let me know if you find this useful..

Thanks

Steve Ollis

Reeve of shinra 05-03-2005 12:18 AM

Could you possible provide a screen shot or example of this in action? Thanks!

Lionel 05-03-2005 01:02 AM

Cool. Thanks. You just saved me some work :-)

dkny 05-08-2005 01:12 PM

great hack!
How would I add this to vbindex?

subnet_rx 07-04-2005 05:57 PM

This hack doesn't seem to include the current day's events for some reason. I checked the source and it has >= $todaysdate, but the current day's events are missing.

htscpl 12-29-2005 10:06 PM

Can't seem to get this to work on my site. I'm sure I'm missing something. When I put the
Code:

include ("next_x_events.php");
in my index.php file it displays all my database info including password! can anyone help me with this as I am not very good at PHP.

Thanks

htscpl 01-04-2006 08:22 PM

**bump**
ANYBODY ?


All times are GMT. The time now is 01:50 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.01089 seconds
  • Memory Usage 1,719KB
  • 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)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete