vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - [ITech] vBExternal Lite (https://vborg.vbsupport.ru/showthread.php?t=147344)

Inferno Tech 05-25-2007 09:44 AM

Quote:

Originally Posted by toonysnn (Post 1253927)
Awesome! I used this to make a new homepage for my website, very easy. Are we able to use <if condition="$..."> and stuff like that?
[high]* toonysnn clicks install[/high]

Yes you can

Quote:

Originally Posted by carwash (Post 1253586)
I am getting the same error:

Fatal error: Cannot redeclare class vbulletinhook in /home/user/public_html/forum/vBExternal.php on line 121

Someone else had this problem with 1.6 and said they fixed it by resolving some conflict. What conflict would be causing this?

Give me a day or so to do a lil research into the problems from the old product andf i will get back to you

Acid Burn - Inferno Technologies Developer

harry_5 05-26-2007 08:24 PM

Great Hack!

One question: I want to display just a certain number of characters from the post on my news page... how?

Apfelfrucht 05-28-2007 09:27 PM

To Inferno Tech,

Installed ;) and could you integrate the Search Form too ? like this one :
Code:

<form action="forum/search.php" method="post">
        <input type="hidden" name="forumchoice[]" value="23" />
        <input type="hidden" name="do" value="process" />
        <input type="hidden" name="showposts" value="0" />
        <input type="hidden" name="quicksearch" value="1" />
        <input type="hidden" name="s" value="$session[sessionhash]" />
        <input type="text" class="bginput" name="query" size="20"/>&nbsp;$gobutton<br />
</form>

* <input type="hidden" name="forumchoice[]" value="23" /> = Forum ID.

Inferno Tech 05-29-2007 09:16 AM

I will look at doing this for the pro version or maybe the lite, it depends on a few things.

@Harry 5: within vBExternal.php it is referenced all over in each function.

Acid Burn - Inferno Technologies Developer

harry_5 05-29-2007 08:52 PM

Quote:

Originally Posted by Inferno Tech (Post 1256748)

@Harry 5: within vBExternal.php it is referenced all over in each function.

Sorry, can?t find it...

Apfelfrucht 05-30-2007 04:52 PM

Quote:

Originally Posted by Inferno Tech (Post 1256748)
I will look at doing this for the pro version or maybe the lite, it depends on a few things.

@Harry 5: within vBExternal.php it is referenced all over in each function.

Acid Burn - Inferno Technologies Developer

Thanks in advance :rolleyes:

Hornstar 06-01-2007 07:37 AM

Thinking about buying pro version, just hope there will be a discount for people who have rpg and shoutbox and for it to be a bargain ^^

however, im having problems using it right now.

this is the error that is coming up on my homepage which im trying to put the users online on.

Code:

Parse error: syntax error, unexpected '<' in /home/*******/public_html/right.php on line 176
on line 176 i have this
<?php
output_UsersOnline();
?>


I have included

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

at the top of the php file as well.

Any ideas what is wrong?



Edit again: i removed the users online, and checked to see if the code at the top was working, it was not,
I changed the code at the top of the page to:
Code:

<?php
require_once('http://www.gamerzneeds.net/forums/vBExternal.php');
?>

, now that works.

then put the code back in for online users to show up, and get this error

Code:

Fatal error: Call to undefined function: output_usersonline() in /home/******/public_html/right.php on line 174
line 174 is: output_UsersOnline();

Any ideas whats wrong?



Edit again:

decided to keep trying to modify it, to see if i could get it working, and came up with a different error this time

Code:

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/***********/public_html/right.php on line 2

Warning: main(./vBExternal.php) [function.main]: failed to open stream: No such file or directory in /home/*****/public_html/right.php on line 3

Fatal error: main() [function.require]: Failed opening required './vBExternal.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*******/public_html/right.php on line 3

I changed the code at the top of the page to:
Code:

<?php
chdir('http://www.gamerzneeds.net/forums');
require_once('./vBExternal.php');
?>

Edit again:
Changed the top to:
Code:

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

and im now getting this error:
Code:

There was an error while processing vBExternal:
System was unable to find the template 'vBExternal/users_online.html'

I edited vbexternal.php and changed where the template is found to:
$template = "http://www.gamerzneeds.net/forums/vBExternal/{$template}";

I then get this error:
Code:

There was an error while processing vBExternal:
System was unable to find the template 'http://www.gamerzneeds.net/forums/vBExternal/users_online.html'

I then go to http://www.gamerzneeds.net/forums/vB...rs_online.html to check it is a page, and it is, so whats wrong, it should be able to find it.

I have tried everything i can think of, will have to put back my old code, until you can help me solve this.

Thanks.




Final Edit:

I finally had the idea to do this and change the code to:

Code:

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

and now everything works.

I just now need to work out how to display it, so it looks nicer, more integrated into my homepage, and more like a vbulletin way of displaying it, if anyone could help, id like to display it in my footer here www.gamerzneeds.net

I would also like to have the links vbseo links otherwise i will have duplicate content.

Thanks.

Hornstar 06-01-2007 10:57 AM

Ive also got it working on a different domain, but now ive been trying to get it to use vbseo url's ive included

Code:

## VBSEO SETTINGS  #####################################################
include_once "forums/includes/functions_vbseo.php"; // change this path to reflect where your forum is
vbseo_startup(); // if you have a vbSEO version under 3, comment this line and uncomment the next three
// vbseo_get_options();
// vbseo_prepare_seo_replace();
// get_forum_info();

not sure which files it should be included in, but i tried them all.

I then tried editing the threadid part, and got lost again lol.

anyway, i know its simple, and ill most likely get it when im not so tired.

I just now need to learn how to make it look good and fit the layout better, because i appear to be hopeless at design. any tips would be appreciated.

thanks.

gforce75 06-02-2007 12:23 AM

Great idea. I've been looking for something like this. I'll give it a crack.

Inferno Tech 06-04-2007 07:51 AM

vBEXternal was never intended to be used with vbSEO but i may and try to add it in for the Pro release, but there are no promises.

Acid Burn - Inferno Technologies Developer


All times are GMT. The time now is 10:36 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.01229 seconds
  • Memory Usage 1,756KB
  • 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
  • (11)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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