Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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
  #302  
Old 05-06-2006, 07:42 PM
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to have this pull code that displays random profiles or possibly random profile fields?

What I want to do is have it pull one profile field, and it be random for whatever user has it filled out.
Reply With Quote
  #303  
Old 05-14-2006, 08:01 AM
skip870 skip870 is offline
 
Join Date: Apr 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vbexternal problems:

hi! i've installed this mod but it don't work well.. this is my problem:
after i've followed the instrution file (the install.txt and usage.txt) appear:

Quote:
Warning: chdir(): No such file or directory (errno 2) in /home/mhd-01/www.nomesito.com/htdocs/sito/test.php on line 2

Warning: main(./vBExternal.php): failed to open stream: No such file or directory in /home/mhd-01/www.nomesito.com/htdocs/sito/test.php on line 3

Fatal error: main(): Failed opening required './vBExternal.php' (include_path='./:/usr/local/web/php/lib/pear') in /home/mhd-01/www.nomesito.com/htdocs/sito/test.php on line 3
i've upped in my space all files, changed the php code ./formus with ./vb and after i put this code in the really top of my indexpage.

after that i've used once of the code present in the file usage.txt:

(# Displaying Top Posters )
Codice PHP:
<?php
output_TopPosters(5);
?>

but it dont work....

after i try to connect to the page vBExternal.php: http://www.nomesito.com/vb/vBExternal.php

and appear this:

Quote:
Warning: main(./includes/db_mysql.php): failed to open stream: No such file or directory in /home/mhd-01/www.nomesito.com/htdocs/vb/vBExternal.php on line 67

Fatal error: main(): Failed opening required './includes/db_mysql.php' (include_path='./:/usr/local/web/php/lib/pear') in /home/mhd-01/www.nomesito.com/htdocs/vb/vBExternal.php on line 67
and this is the screen of the files structure on my space:
root:

./vb:


the file VBexternal.php is on the bottom of the page.

.vb/VBexternal:



someone can help me?
Reply With Quote
  #304  
Old 05-15-2006, 02:34 PM
hidjra hidjra is offline
 
Join Date: Jan 2002
Location: Amsterdam
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to display the logged-in user, os show a login form when there's no one logged in?

Grtz,
Hidjra
Reply With Quote
  #305  
Old 05-17-2006, 04:36 PM
randy. randy. is offline
 
Join Date: Apr 2006
Location: Ireland
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Whats the actual source code needed to put the info on your hompeage
Reply With Quote
  #306  
Old 05-19-2006, 03:11 PM
randy. randy. is offline
 
Join Date: Apr 2006
Location: Ireland
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cant get it to work what do i need to do?
Reply With Quote
  #307  
Old 05-19-2006, 11:24 PM
Thug Thug is offline
 
Join Date: Feb 2004
Location: Sheffield : uk
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

heres my code and it just doesnt work what am i doing wrong


PHP Code:
<?php
chdir
('./forum');
require_once(
'./vBExternal.php');
?>
<?php
output_UsersOnline
();
?>

<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
    <tr>
        <td class="thead" colspan="2">
            <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
            <a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
        </td>
    </tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
    <tr>
        <td class="alt2"><a href="online.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
        <td class="alt1" width="100%">
            <div class="smallfont">
                <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
                <div>$activeusers</div>
            </div>
        </td>
    </tr>
</tbody>
<!-- end logged-in users -->
</if>
Reply With Quote
  #308  
Old 05-19-2006, 11:31 PM
Thug Thug is offline
 
Join Date: Feb 2004
Location: Sheffield : uk
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

on this all iget is
http://www.globalvibez.com/test.html
code is
PHP Code:
<?php
chdir
('./forum');
require_once(
'./vBExternal.php');
?>


<?php
output_NewestMembers
(5);
?>

<table cellpadding='0' cellspacing='0' border='0'>
<tr>
<td width='1%' style='white-space:nowrap'><b>Username:</b> <a href='/forum/member.php?u={userid}'>{username}</a></td>
<td width='1%' style='white-space:nowrap'><b>Posts:</b> {posts}</td>
</tr>
</table>

<?php
output_NewestMembers
(5);
?>
Reply With Quote
  #309  
Old 05-23-2006, 04:54 PM
upnorth upnorth is offline
 
Join Date: Jul 2003
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For Newest Threads the default pulls from all forums if left blank. Is there a easy way to pull from all forums accept for select ones.
i.e. I want all Newest Threads from all forums accept for number 1 and 5

Any ideas on how to make this happen?
Reply With Quote
  #310  
Old 05-23-2006, 11:22 PM
webgeek247 webgeek247 is offline
 
Join Date: Mar 2006
Location: United Kingdom
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Thug
on this all iget is
http://www.globalvibez.com/test.html
code is
PHP Code:
<?php
chdir
('./forum');
require_once(
'./vBExternal.php');
?>


<?php
output_NewestMembers
(5);
?>

<table cellpadding='0' cellspacing='0' border='0'>
<tr>
<td width='1%' style='white-space:nowrap'><b>Username:</b> <a href='/forum/member.php?u={userid}'>{username}</a></td>
<td width='1%' style='white-space:nowrap'><b>Posts:</b> {posts}</td>
</tr>
</table>

<?php
output_NewestMembers
(5);
?>
You need to put in your forums path in the
PHP Code:
<?php
chdir
('./forum');
require_once(
'./vBExternal.php');
?>
section

create a blank php file and enter this into it

PHP Code:
<? print $PATH_TRANSLATED; ?>
name it path.php and upload it to the root of your server

now browse to your path.php file in your web broswer and you will see your servers path, this is what needs to be entered into that section eg:

PHP Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php
chdir
('/<server path from path.php file goes here>/forum');
require_once(
'/<server path from path.php file goes here>/forum/vBExternal.php');
?>
<html xmlns="http://www.w3.org/1999/xhtml">
Some servers can be case sentive so make sure the file name on the server is in exactly the same lettercase as the code above. also your page needs to have the .php extension, not .html

another way is to create a blank php for it - save the file with any name eg: vbexternal_script.php
PHP Code:
<?php
chdir
('/<server path from path.php file goes here>/forum');
require_once(
'/<server path from path.php file goes here>/forum/vBExternal.php');
?>
and then insert this into your webpage

PHP Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<? include 'vbexternal_script.php'; ?>
<html xmlns="http://www.w3.org/1999/xhtml">
Reply With Quote
  #311  
Old 05-23-2006, 11:27 PM
webgeek247 webgeek247 is offline
 
Join Date: Mar 2006
Location: United Kingdom
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by skip870
vbexternal problems:

hi! i've installed this mod but it don't work well.. this is my problem:
after i've followed the instrution file (the install.txt and usage.txt) appear:



i've upped in my space all files, changed the php code ./formus with ./vb and after i put this code in the really top of my indexpage.

after that i've used once of the code present in the file usage.txt:

(# Displaying Top Posters )
Codice PHP:
<?php
output_TopPosters(5);
?>

but it dont work....

after i try to connect to the page vBExternal.php: http://www.nomesito.com/vb/vBExternal.php

and appear this:



and this is the screen of the files structure on my space:
root:

./vb:


the file VBexternal.php is on the bottom of the page.

.vb/VBexternal:



someone can help me?

check your servers path is correct in the method i explained in my last post
Reply With Quote
Reply

Thread Tools

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:19 AM.


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.05326 seconds
  • Memory Usage 2,330KB
  • 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
  • (8)bbcode_php
  • (4)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