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
  #152  
Old 11-25-2005, 12:04 AM
Eggie Eggie is offline
 
Join Date: Jun 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, but does vbexternal.php and the vbexternal folder go into /public_html for my portal index I'm trying to create or in my /forums folder where vB is? I tried both but only get a blank page
Reply With Quote
  #153  
Old 11-26-2005, 05:03 AM
Eggie Eggie is offline
 
Join Date: Jun 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone???
Reply With Quote
  #154  
Old 11-26-2005, 08:01 AM
RealityDesign RealityDesign is offline
 
Join Date: Mar 2005
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"$config['MasterServer']['servername']," is not anywhere in my vbexternal.php

Do I have some messed up version? I just downloaded it 5 mins ago so I would asume it's up to date...

Anyway, because I cannot find that line, I cannot apply the fix.
Reply With Quote
  #155  
Old 11-26-2005, 08:07 AM
RealityDesign RealityDesign is offline
 
Join Date: Mar 2005
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Re-downloaded the hack and the vbexternal.php file was a different size after I unzipped it. Opened it up, and the line I needed was there this time. VERY WEIRD.

Anyway, it works!

Thanks
Reply With Quote
  #156  
Old 12-01-2005, 08:23 AM
Milez Milez is offline
 
Join Date: Jan 2002
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any chance of pulling news from more than 1 forum ID? Please please.
Reply With Quote
  #157  
Old 12-04-2005, 10:02 PM
mathias mathias is offline
 
Join Date: Feb 2002
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

on newestthread I want to limit the characters how can I do that?
Reply With Quote
  #158  
Old 12-05-2005, 02:04 AM
jugo jugo is offline
 
Join Date: Feb 2004
Location: Reading your emails.
Posts: 573
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Eggie
Sorry, but does vbexternal.php and the vbexternal folder go into /public_html for my portal index I'm trying to create or in my /forums folder where vB is? I tried both but only get a blank page
Everything goes in your forums dir.

Quote:
Originally Posted by Milez
Any chance of pulling news from more than 1 forum ID? Please please.
Yes... Just let me know which function and i'll generate the code for you.

Quote:
Originally Posted by mathias
on newestthread I want to limit the characters how can I do that?
if you mean in the thread title....
change this:

Code:
'threadname'   => $Thread['title'],
to this (the 20 is the number of characters to display):
Code:
substr($Thread['title'],0,20),
Reply With Quote
  #159  
Old 12-05-2005, 02:09 AM
jugo jugo is offline
 
Join Date: Feb 2004
Location: Reading your emails.
Posts: 573
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mikehawk
Alright it is now working on my index.


Now, how do I change the font, etc? It is taken strictly from my html code specs in my index.html or from VBexternal.php?
USE CSS. Very Simple.
Reply With Quote
  #160  
Old 12-07-2005, 05:56 AM
wiredinoc wiredinoc is offline
 
Join Date: Nov 2005
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xtrm2Matt
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";
?>

Quote:
Originally Posted by i-Symbian.Com
I will answer my own question here

How to limit News to certain characters?

Open vBexternal.php

Find

PHP Code:
'post'         => $bbcode_parser->parse(unhtmlspecialchars($News['pagetext']), $f), 
Replace with
PHP Code:
'post'         => $bbcode_parser->parse(unhtmlspecialchars(substr ($News['pagetext'],0,250)), $f), 
Change 250 to any numbers you wish and this will be pulled from the database.

Guys, this kicks complete ass! I'm a new user, but I'm quickly getting up to speed with the help of you fine folks!!

I have 2 questions:

1. Considering the code above, how would I apply it to the title of latest posts, and display "..." if the title goes beyond the desired limit?

2. Where do I place the "total members" code above? I'm kinda at a loss with this one. Does it go into vbexternal.php? How is it called?

Thanks soo much guys, this is awesome.

MD
Reply With Quote
  #161  
Old 12-09-2005, 10:35 AM
Freakpyromaniac Freakpyromaniac is offline
 
Join Date: Feb 2005
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The script is working fine, thanks!

But i still have one problem!

It disabled another script which i was using in the website:

PHP Code:
      <?PHP
                          

function checkPage($page) {
    
//Controle
    
if($page=="index") return false;
    
$page.=".php";
    return 
file_exists($page);
}


$page=$_GET['page'];

if(!isset(
$page) || empty($page)) $page="nl/home";

if(
checkPage($page)) include($page.".php");

?>


it is just a page script,but not working anymore when i put:

PHP Code:
<?php
chdir
("../../HTML/testforum/");
include(
'./vBExternal.php'); 
?>
in the head of the index.

Anybody know the reason, and has a solution?
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 05:50 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.05185 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
  • (2)bbcode_code
  • (5)bbcode_php
  • (6)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