vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   mYvBindex v3.1 (https://vborg.vbsupport.ru/showthread.php?t=44691)

mv540 12-18-2002 04:46 PM

i checked, there is nothing in news id :confused:

mv540 12-18-2002 04:58 PM

what should the news ID be? or where can this ID be retrieved?

Tigga 12-18-2002 05:03 PM

That would be your problem then. ;)
To figure out what the id is, just go to your forum and click on your news forum. Then look at the URL and you will see something like:
http://yoursite.com/forum/forumdispl...?s=&forumid=XX
The "XX" at the end of that will be a number and that will be the forum id.

mv540 12-18-2002 05:09 PM

OMG thank you so much...its back again!!!!!!!!

THANK YOU THANK YOU THANK YOU THANK YOU
THANK YOU THANK YOU THANK YOU THANK YOU
THANK YOU THANK YOU THANK YOU THANK YOU
THANK YOU THANK YOU THANK YOU THANK YOU
THANK YOU THANK YOU THANK YOU THANK YOU
THANK YOU THANK YOU THANK YOU THANK YOU
THANK YOU THANK YOU THANK YOU THANK YOU
:banana:

Tigga 12-18-2002 05:10 PM

LOL! No problem at all. :)

Tigga 12-19-2002 08:17 AM

There we go, the new version's up. :)
Upgrading should take less than a couple of minutes and the upgrade instructions can be found at the bottom of the readme.html file. Enjoy! :)

EvilLS1 12-19-2002 09:15 AM

Nice job Plur! :)

alkatraz 12-19-2002 01:31 PM

Fantastic job!

I see how you've added "Events happening today" below the calendar, is there any way to add a Section called "Events happening soon" that lists all of the event happening durring the next X amount of days?

Tigga 12-19-2002 09:43 PM

Yup, that can be done fairly easily. Just open up myvbindex.php and look for:
PHP Code:

if ($showtodaysevents AND $event[eventdate]==vbdate("Y-m-d",time())) { 

Replace that with:
PHP Code:

if ($showtodaysevents AND $event[eventdate]>=vbdate("Y-m-d",time()) AND $event[eventdate]<=vbdate("Y-m-d",time()+604800)) { 

That will display all events happening in the next week (the number 604800 there is the time limit in seconds). Though the only problem with that is once you get near the end of the month, it will only show the events happening within the next week and before the end of the month because of the way the query above it is set up. If you don't mind adding an extra query to the page I can play with it a bit and try to make it where that wouldn't happen.

DarkDraco07 12-22-2002 07:10 PM

would be nice to add the shoutbox on the homepage


All times are GMT. The time now is 12:47 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.01763 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete