vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBExternal v1.6 (https://vborg.vbsupport.ru/showthread.php?t=83005)

activa 02-28-2006 01:12 AM

it still work in vb 3.5.4 ???
any change to make from vb 3.5.0 rc1 to work fine in vb 3.5.4 .

thanks in advance .

GetGamer.com 03-01-2006 11:56 PM

Yes, this still works in 3.5.4.

By the way, a really, really nice additional module for this mod would plop a POLL on any external page (similar to the vBAdvanced poll module). Doable?

Lynk Former 03-04-2006 06:28 AM

Hey guys, I have a bit of a request here... I'm looking to add a pseudo blog style comments system using vBExternal.

I have certain pages on my web site, reviews and articles and such which have a link at the bottom saying "You can post your comments about this review here." This leads people to a thread set up to let people make comments about that review or article or whatever.

What I'd like to do is to be able to show how many comments have been been made in a selected thread on the review page using vBExternal as "Comments (#)


Example:
Review page

Comment thread

GetGamer.com 03-05-2006 02:41 PM

Quote:

Originally Posted by Lynk Former
Hey guys, I have a bit of a request here... I'm looking to add a pseudo blog style comments system using vBExternal.

I have certain pages on my web site, reviews and articles and such which have a link at the bottom saying "You can post your comments about this review here." This leads people to a thread set up to let people make comments about that review or article or whatever.

What I'd like to do is to be able to show how many comments have been been made in a selected thread on the review page using vBExternal as "Comments (#)


Example:
Review page

Comment thread

You can do a blog-like comment system with a modified style. Check out the posts on this page (created with vbExternal). You'll see a comment count. Click on the headline or the comment links and you'll go to the "article" with comments, just like you'd see in a blog. It's actually just a customized style applied to those "forums" that I want to appear that way. In my case, I use it for news.

vktechnology 03-05-2006 04:07 PM

Thank for this fix
it worl perfect with VB3.5 Gold

Quote:

Originally Posted by Kusadasi-Guy
:banana:

<---------- Problem Solved ------------>


i think i solved the slight issue. I have tested this in my local server and vBexternal worked as expected.

here is the solution:

1. Open Vbexternal.php and find:
$config['MasterServer']['servername'],

2. add below:
$config['MasterServer']['port'],

</---------- Problem Solved ------------>

----
optionally:
find: $config['SlaveServer']['servername'],
add below: $config['SlaveServer']['port'],
----

Please let me know if it isnt useful solution for your forums.


Tannerman 03-05-2006 11:00 PM

I was pointed to this hack after my longtime use of the PluhNews mod seemed to break down after the 3.5 upgrade. Attempting to get this to work now on my blog-like site, but having some problems. I have read all posts in this and related threads. I have a couple questions if anyone is willing to chime in to help a long-time vB user, but programming clueless-guy...

My forums are located at:
http://forums.tannerworld.com, a subdomain which I assume is the same as http://www.tannerworld.com/forums

Since 2002, I've run a blog using content pulled from a forum on my vB. That content was pulled by PluhNews onto this subdomain page on the same server:
http://steveandamysly.tannerworld.com/index.php

Unable to get any additional support for PluhNews with the 3.5 upgrade, I thought I might give vBExternal a try. Unfortunately, I've been unsuccessful at this time. I've been testing the new page at http://steveandamysly.tannerworld.com/index3.php

Per the instructions, I've added the PHP call to the top of my page. The format for that has been:

Code:

<?php
chdir('./home/tannerwo/public_html/forums');
require_once('./home/tannerwo/public_html/forums/vBExternal.php');
?>

Unfortunately, this does not seem to do anything. I get the following error message:
Quote:

Warning: chdir(): No such file or directory (errno 2) in /home/tannerwo/public_html/steveandamysly/index3.php on line 2

Warning: main(./home/tannerwo/public_html/forums/vBExternal.php): failed to open stream: No such file or directory in /home/tannerwo/public_html/steveandamysly/index3.php on line 3

Fatal error: main(): Failed opening required './home/tannerwo/public_html/forums/vBExternal.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tannerwo/public_html/steveandamysly/index3.php on line 3
Even when using the more basic call (removing the full directory path, I still get problems). For example, this does not work:
Code:

<?php
chdir('./forums');
require_once('./vBExternal.php');
?>

As has been noted, I've modified the vBExternal.php file as noted here, adding the $config['MasterServer']['servername'], element. Still no dice. My end result goal is to once again get my blog up and running again, very similar in format to what GetGamer.com did as noted in his post (with post title, date, full post content, "Posted by" and "Comments" link). This is what I had going when using the PluhNews mod (which, for reference, sits broken here with a handy "Could not select database" error since the 3.5 upgrade).

The fact that I can't even get the initial call to vBExternal working correctly, even though I've tried a bunch of combinations, makes me think that I'm missing something rather simple -- perhaps tied to my use of subdomains for content.

Can anyone take a look at what I've got and provide a possible course of action? I'd sure appreciate the direction.

Thanks,
Steve

TYorke 03-06-2006 04:39 PM

Quote:

Originally Posted by GetGamer.com
You can do a blog-like comment system with a modified style. Check out the posts on this page (created with vbExternal). You'll see a comment count. Click on the headline or the comment links and you'll go to the "article" with comments, just like you'd see in a blog. It's actually just a customized style applied to those "forums" that I want to appear that way. In my case, I use it for news.

That's awesome work could you possibly show me how you got that to work like that? I've been looking for a way to ditch the traiditional 'news scripts' for the front page of my site and looking to integrating vbulletin with a news script but this would work just great. I'd be very interested in knowing how you accomplish.

TYorke 03-06-2006 04:43 PM

Quote:

Originally Posted by Tannerman
I was pointed to this hack after my longtime use of the PluhNews mod seemed to break down after the 3.5 upgrade. Attempting to get this to work now on my blog-like site, but having some problems. I have read all posts in this and related threads. I have a couple questions if anyone is willing to chime in to help a long-time vB user, but programming clueless-guy...

My forums are located at:
http://forums.tannerworld.com, a subdomain which I assume is the same as http://www.tannerworld.com/forums

Since 2002, I've run a blog using content pulled from a forum on my vB. That content was pulled by PluhNews onto this subdomain page on the same server:
http://steveandamysly.tannerworld.com/index.php

Unable to get any additional support for PluhNews with the 3.5 upgrade, I thought I might give vBExternal a try. Unfortunately, I've been unsuccessful at this time. I've been testing the new page at http://steveandamysly.tannerworld.com/index3.php

Per the instructions, I've added the PHP call to the top of my page. The format for that has been:

Code:

<?php
chdir('./home/tannerwo/public_html/forums');
require_once('./home/tannerwo/public_html/forums/vBExternal.php');
?>

Unfortunately, this does not seem to do anything. I get the following error message:
Even when using the more basic call (removing the full directory path, I still get problems). For example, this does not work:
Code:

<?php
chdir('./forums');
require_once('./vBExternal.php');
?>

As has been noted, I've modified the vBExternal.php file as noted here, adding the $config['MasterServer']['servername'], element. Still no dice. My end result goal is to once again get my blog up and running again, very similar in format to what GetGamer.com did as noted in his post (with post title, date, full post content, "Posted by" and "Comments" link). This is what I had going when using the PluhNews mod (which, for reference, sits broken here with a handy "Could not select database" error since the 3.5 upgrade).

The fact that I can't even get the initial call to vBExternal working correctly, even though I've tried a bunch of combinations, makes me think that I'm missing something rather simple -- perhaps tied to my use of subdomains for content.

Can anyone take a look at what I've got and provide a possible course of action? I'd sure appreciate the direction.

Thanks,
Steve

Try using this instead

Code:

<?php
chdir('/home/tannerwo/public_html/forums');
require_once('/home/tannerwo/public_html/forums/vBExternal.php');
?>


TYorke 03-06-2006 04:46 PM

I have a request myself now :)

In the Who's Online output, can line can I add (and where) so that when no users are browsing the forums, I can add a message saying so. Currently nothing is displayed and the output is just blank.

Any ideas?

Freesteyelz 03-06-2006 11:59 PM

I had to use the full paths (/home/name/public_html/...) to all .php files to work. Is that normal and is it a security risk?


All times are GMT. The time now is 01:56 PM.

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.01613 seconds
  • Memory Usage 1,785KB
  • 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
  • (5)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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