Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBExternal v1.6 Details »»
vBExternal v1.6
Version: 1.00, by Zero Tolerance Zero Tolerance is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.0 Beta 1 Rating:
Released: 06-12-2005 Last Update: Never Installs: 213
 
No support by the author.

Well, this doesn't modify any php, nor use a plugin, so i wasn't sure exactly where to stick it

Anyhow, this is a port of the vBExternal for vb 3.0.7, so look at this thread for more information: https://vborg.vbsupport.ru/showthrea...threadid=81943

Enjoy

- Zero Tolerance

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #122  
Old 10-27-2005, 01:36 PM
nokturno nokturno is offline
 
Join Date: Sep 2005
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool!!
Reply With Quote
  #123  
Old 10-29-2005, 06:18 PM
subnet_rx subnet_rx is offline
 
Join Date: Mar 2005
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would still like to see a calendar function added to this
Reply With Quote
  #124  
Old 10-29-2005, 06:21 PM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
Warning: main(./includes/db_mysql.php): failed to open stream: No such file or directory in /home/nikzad0/public_html/forum/vBExternal.php on line 67

Fatal error: main(): Failed opening required './includes/db_mysql.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nikzad0/public_html/forum/vBExternal.php on line 67
Any idea what I did wrong?
Reply With Quote
  #125  
Old 10-29-2005, 10:37 PM
Simms Simms is offline
 
Join Date: Feb 2002
Location: Woodbridge, VA
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jugo
Change this line (towards the end of the file):

Code:
	$Data = str_replace('images/',"{$vbulletin->options[bburl]}/images/",$Data);
to

Code:
// 	$Data = str_replace('images/',"{$vbulletin->options[bburl]}/images/",$Data);
Delayed response, but wanted to let you know this worked perfectly. Thanks!
Reply With Quote
  #126  
Old 11-04-2005, 09:40 PM
Xtrm2Matt Xtrm2Matt is offline
 
Join Date: Aug 2002
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jugo
@Xtrm2matt does it still give you an error if so, please post your vBExternal here so I can hae a look.

People...if you want to pull threads from another site's vBulletin install use EXTERNAL.PHP
I seem to have gotten it fixed now

Thanks for all the help,

Matt
Reply With Quote
  #127  
Old 11-05-2005, 03:52 PM
apdcanari apdcanari is offline
 
Join Date: May 2005
Location: Belgique
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

How to post the total number members and posts on a page of its site?

For example : The forum had 55.000 posts and 2.000 members

My code with Vbulletin 3.0.7

Count member
PHP Code:
<?php
$countposts
=$DB_site->query_first('SELECT COUNT(*) AS posts FROM vb3_post');
$totalposts=number_format($countposts['posts']);
$numbersmembers=$DB_site->query_first('SELECT COUNT(*) AS users,MAX(userid) AS max FROM vb3_user');
$numbermembers=number_format($numbersmembers['users']);
echo 
"$numbermembers";
?>
Count Posts
PHP Code:
<?php
$countposts
=$DB_site->query_first('SELECT COUNT(*) AS posts FROM vb3_post');
$totalposts=number_format($countposts['posts']);
$numbersmembers=$DB_site->query_first('SELECT COUNT(*) AS users,MAX(userid) AS max FROM vb3_user');
$numbermembers=number_format($numbersmembers['users']);
echo 
"$totalposts";
?>
Thank you very much,

Good evening

C?dric

PS : I'm french and i don't speak English very well... :ermm:
Reply With Quote
  #128  
Old 11-05-2005, 04:36 PM
Xtrm2Matt Xtrm2Matt is offline
 
Join Date: Aug 2002
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by apdcanari
Hello,

How to post the total number members and posts on a page of its site?

For example : The forum had 55.000 posts and 2.000 members

My code with Vbulletin 3.0.7

Count member
PHP Code:
.. 
Count Posts
PHP Code:
.. 
Thank you very much,

Good evening

C?dric

PS : I'm french and i don't speak English very well... :ermm:
I fixed your script for you -> http://www.opticalgaming.com/forums/test2.php

Code changes:

PHP Code:
<?php 
$countposts
=$vbulletin->db->query_first('SELECT COUNT(*) AS posts FROM prefix_post'); 
$totalposts=number_format($countposts['posts']); 
$numbersmembers=$vbulletin->db->query_first('SELECT COUNT(*) AS users,MAX(userid) AS max FROM prefix_user'); 
$numbermembers=number_format($numbersmembers['users']); 
echo 
"Total Posts: $totalposts";
echo 
"<br>";
echo 
"Total Members: $numbermembers";
?>
I made a small change - didn't see the need for 2 scripts where 1 could be used.

Hope this helps

Matt
Reply With Quote
  #129  
Old 11-05-2005, 04:48 PM
apdcanari apdcanari is offline
 
Join Date: May 2005
Location: Belgique
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot !!!

It's ok

Cédric :nervous:
Reply With Quote
  #130  
Old 11-07-2005, 01:34 PM
gopherhockey's Avatar
gopherhockey gopherhockey is offline
 
Join Date: Jul 2002
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice!
Reply With Quote
  #131  
Old 11-07-2005, 02:03 PM
Xtrm2Matt Xtrm2Matt is offline
 
Join Date: Aug 2002
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lovely edit there, gopher!! :P Was about to reply!!

Back on topic..

Will there be any further extensions to this? I love it and would like to see a bit more Possible following on from the news.. how about a Poll-pulling function?

Hard to explain, but: I have a "dedicated poll forum" on my forum where polls are (and can only be) created. Would it be possible to pull the latest poll made by -->AN ADMIN<-- (would work by specifying the Admin usergroup or a group that could display polls on the front page?) and have it put it on the front page?

Hope it's clear

Matt
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:19 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05512 seconds
  • Memory Usage 2,331KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (5)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete