vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Announcing VBExtern (https://vborg.vbsupport.ru/showthread.php?t=12276)

Haoshiro 06-11-2001 04:45 PM

Well that's true, but how much more of a load will that be then the Reply Notification already used?

I received an e-mail notification that you had replied to this post, all i'm saying is instead of just notifying me, send the post too :)

Sean 06-11-2001 04:47 PM

Oh, now I understand. Yeah, I guess that wouldn't be such a server hog. Sorry, I misunderstood. ;)

Mas*Mind 06-11-2001 04:52 PM

Quote:

Originally posted by Haoshiro
After looking at your examples, I thought I'd suggest putting the script into a function. Instead of including the script multiple times, just include it once and call the function more than once:

PHP Code:

include_once ("vbextern.php");

vbextern ("asc""topthreads"$max="25");
vbextern ("asc""listusers"$max="10"$memberorder="posts"); 

Just a suggestion, but since many people will likely use multiple features of the script, it seemed logical.

Also, is there any way to allow users to get full posts emailed to them? Like, if i want to receive this thread by email, any time a post is made i get the full post mailed to me?

That would be a nice feature... I'm myself will be looking into adding it ;)

Good point, but right now the structure is one of actions:

$action = "bla";
include("vbextern.php");

while then vbextern has the following structure:

switch($action)
{ case "bla" :
doThis();
exit;
case ".." :
...
exit;
default :
doThat();
}

But I may take a look at it....

As for your other suggestion: This would be a totally different hack, so it wouldn't be included in it...

Haoshiro 06-11-2001 05:03 PM

Well that would be a very easy mod:

vbextern.php:
PHP Code:

function vbextern($action "") {
  switch(
$action)
  {  case 
"bla" :
      
doThis();
      exit;
      case 
".." :
      ...
      exit;
      default :
      
doThat();
  }


and to use it:
PHP Code:

include_once("vbextern.php");

vbextern($action "bla");
vbextern($action "do_something_else"); 


Mas*Mind 06-11-2001 05:13 PM

yeah, I noticed that while I was typing my previous message :)

Ed FvC 06-16-2001 06:22 PM

This hack looks great! I can't wait to get my hands on it and use it. :D Keep up the great work, Mas*Mind.

TechTalk 07-03-2001 07:04 PM

Ummmm......

WHERE IS IT?

Robert Basil 07-04-2001 08:06 AM

I think MAS does not have enough time to work on it and has given up on the project.

MAS, if you like I would be more than happy to take up where you left off, (as I am sure others would also) Can you release the code you currently have?

Mas*Mind 07-04-2001 08:40 AM

Well, maybe that wouldn't be a bad idea. I'm really running out of time lately. The thing is that I will go to South Africa for a year and that takes a time to settle things amongst my work, study and coming vacation (friday: Finland here I come :))

TechTalk 07-04-2001 07:02 PM

DOH! Someone please close this thread since this is not a vb 2.0 release but instead a hoax! :p


All times are GMT. The time now is 09:32 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.01221 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
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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