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
  #292  
Old 04-24-2006, 05:39 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try reversing the include, not sure if that will help.
Reply With Quote
  #293  
Old 04-24-2006, 05:45 PM
Jay... Jay... is offline
 
Join Date: Jan 2006
Location: Sunderland, UK
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tried that and get a totally different error

Quote:
Fatal error: Cannot instantiate non-existent class: vb_registry in /home/donkedne/public_html/forums/vBExternal.php on line 66
Reply With Quote
  #294  
Old 04-24-2006, 06:29 PM
chrisjp88 chrisjp88 is offline
 
Join Date: Apr 2006
Location: Cheltenham, England
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Useful hack, but I've got a big problem. It isn't showing stuff with QUOTE tags. I would like to know how to fix this please

Thanks
Reply With Quote
  #295  
Old 04-27-2006, 06:58 PM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Couple of pre-install questions to those guys on this thread (since Zero Tolerance hasn't been around for 3 months). First, I need to display the contents of one specific thread (via the thread id) as an 'include' type function on a different website on the same server. And possibly on a different website on a different server.
Will vBexternal do this? If not is there a hack which can?
The reason I ask is because I want to integrate my forum into a new website (or two) and use it for discussing specific reviews. So those specific threads are displayed on a page below the review.

And secondly since Zero Tolerance isn't around any more, is it 'safe' to install this hack if it, indeed is appropriate for my needs?
Thanks
Reply With Quote
  #296  
Old 04-30-2006, 03:51 AM
SupremeWeapon SupremeWeapon is offline
 
Join Date: Jan 2005
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
There seems to have been a problem with the database.
Please try again by clicking the Refresh button in your web browser.

An E-Mail has been dispatched to our Technical Staff, whom you can also contact if the problem persists.

We apologise for any inconvenience.

I get that anytime i add the includes and chdir to the php pages.
Reply With Quote
  #297  
Old 05-02-2006, 04:11 PM
Phlex's Avatar
Phlex Phlex is offline
 
Join Date: Jul 2005
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SupremeWeapon
I get that anytime i add the includes and chdir to the php pages.
same problem
Reply With Quote
  #298  
Old 05-02-2006, 08:26 PM
Dave-ahfb Dave-ahfb is offline
 
Join Date: Mar 2002
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am going to take another look at the include issue tonight, I will let you all know if I come up with anything. I did manage to solve the issue of date and time on threads and replies incase there is any interest.

Dave
Reply With Quote
  #299  
Old 05-04-2006, 12:21 PM
Phlex's Avatar
Phlex Phlex is offline
 
Join Date: Jul 2005
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

would be nice thx
Reply With Quote
  #300  
Old 05-04-2006, 04:48 PM
Dave-ahfb Dave-ahfb is offline
 
Join Date: Mar 2002
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had a couple of things I wanted to try so that global.php would include properly, none of my ideas worked.

In regards to date and time

find
Code:
	function output_NewestThreads($a = 5,$f = ""){
	global $db, $Data;
replace with
Code:
	function output_NewestThreads($a = 5,$f = ""){
	global $db, $Data, $vbulletin;
find
Code:
	$NewestThreads = $db->query("select * from ".TABLE_PREFIX."thread{$SQL} order by dateline desc limit 0,$Amount");

		while($Thread = $db->fetch_array($NewestThreads)){
		$Data .= ParseTemplate($Template,
							array(
								'threadid'     => $Thread['threadid'],
								'threadname'   => $Thread['title'],
								'postuserid'   => $Thread['postuserid'],
								'postusername' => $Thread['postusername'],
								'replies'      => vb_number_format($Thread['replycount']),
								'views'        => vb_number_format($Thread['views']),
								'lastposter'   => $Thread['lastposter'],
replace with
Code:
	$NewestThreads = $db->query("select * from ".TABLE_PREFIX."thread{$SQL} order by dateline desc limit 0,$Amount");

		while($Thread = $db->fetch_array($NewestThreads)){
		$Data .= ParseTemplate($Template,
							array(
								'threadid'     => $Thread['threadid'],
								'threadname'   => substr($Thread['title'],0,100),
								'postuserid'   => $Thread['postuserid'],
								'postusername' => $Thread['postusername'],
								'replies'      => vb_number_format($Thread['replycount']),
								'views'        => vb_number_format($Thread['views']),
								'lastposter'   => $Thread['lastposter'],  
                                                                                                                                       
'date'     => vbdate($vbulletin->options['dateformat'], $Thread['dateline']),
                                                                                                                                        
'time'     => vbdate($vbulletin->options['timeformat'], $Thread['dateline']),

This obviously is for the new thread section. For newest replies it looks (but untested) like the first edit is the same and the second just add the date and time lines to the correct section.

Dave
Reply With Quote
  #301  
Old 05-04-2006, 05:08 PM
Dave-ahfb Dave-ahfb is offline
 
Join Date: Mar 2002
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I forgot to add that you must open the template and include
Code:
{date}
{time}
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 04:38 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.04876 seconds
  • Memory Usage 2,304KB
  • 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
  • (5)bbcode_code
  • (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