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)

Zero Tolerance 06-12-2005 10:00 PM

vBExternal v1.6
 
Well, this doesn't modify any php, nor use a plugin, so i wasn't sure exactly where to stick it :p

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

C.Birch 06-13-2005 02:16 PM

and hope have adding basic bbcode support eg url and bold to the news part?

Zero Tolerance 06-13-2005 02:21 PM

Yup, full parsing for bbtags and emoticons/smilies + auto URL correction (no red-x's) :)

- Zero Tolerance

C.Birch 06-13-2005 02:46 PM

Thanx was a little unsure has it was not working on my 3.0.7 but i just seen that was my mistake when i was editing the code so it only pulls so much of the text and adds a read more link.

Heres a screen shot for anyone who wants to see what this hack does :)

Janiv 06-14-2005 02:33 AM

This is very, very nice and easy to use! I'm loving it. It's very well done and getting it to work and look how you want is just editing simple HTML. Thanks!

MrToasty 06-14-2005 09:50 AM

Is it just me getting database errors? I'll see if I can get the query which is failing on me...

Marco van Herwaarden 06-14-2005 10:41 AM

MrTosty,

If you want help on your query problem, please post the exact error you are getting.

Zero Tolerance 06-15-2005 04:00 AM

Quote:

Originally Posted by MrToasty
Is it just me getting database errors? I'll see if I can get the query which is failing on me...

Errors may occur if you have used a function incorrectly, please specify what you have used on your web page, thank you :)

- Zero Tolerance

Kirk Y 06-15-2005 04:38 AM

I used a smilie in one of my posts, it's not showing the image as its trying to retrieve it from "http://www.example.com/forums/images/smilies/smile.gif". How would I go about changing example.com/forums to fit me? I've looked over the directions several times, but may have missed something.

Zero Tolerance 06-15-2005 04:58 AM

Quote:

Originally Posted by acidburn0520
I used a smilie in one of my posts, it's not showing the image as its trying to retrieve it from "http://www.example.com/forums/images/smilies/smile.gif". How would I go about changing example.com/forums to fit me? I've looked over the directions several times, but may have missed something.

You need to update your vboptions, it uses your setting from there, go to your acp, vb options, site name / url etc..., update the forum url :)

- Zero Tolerance

Charged 06-15-2005 06:19 AM

I've just installed this and it was just along the lines of what I was looking for

Just wondered if there is an easy way to get the posts to show up just like the posts do in the forum rather than just a boring old box?

And also can it pull the footer from the forums to use on the main news page as well ?

Zero Tolerance 06-15-2005 06:40 AM

Quote:

Originally Posted by Charged
I've just installed this and it was just along the lines of what I was looking for

Just wondered if there is an easy way to get the posts to show up just like the posts do in the forum rather than just a boring old box?

And also can it pull the footer from the forums to use on the main news page as well ?

You can change the template of the output, look at the html files inside the vBExternal/ directory.

As for the forum footer, i'm afraid not, the purpose of this modification is to extract dta to your website, not make it look like your forum.

- Zero Tolerance

MrToasty 06-15-2005 02:17 PM

I think I've got problems beyond vBexternal... When upgrading my test forum to 3.5.0b1 from 3.0.7, it seemed like some of the updates applied extremely quickly, and i reckon something may have stuffed up... the DB error page isn't recognising my technical email addy, hence not sending the error via email with the query, so i can't seem to find out what specifically is going wrong...

Besides that, the page i'm pulling vBexternal news onto, has many many includes here and there, many of which are pulling data out of vbulletin here and there... on top of that, one of the includes is already calling global.php, which may be my problem?

Either way, i might do a fresh install as my test bed, then go from there. I'll just have to figure it out myself, because i have my own custom shonky coding all over the shop, and it's probably not a vBexternal problem at all, because everyone else seems to have no errors...

Cheers for the help anyways :)

Janiv 06-15-2005 06:59 PM

Sorry to bother, but I didn't see a function to pull out upcoming events and holidays? Would this be possible to do or is it too complex?

Thanks!

Bad Bunny 06-28-2005 01:28 AM

Quote:

Originally Posted by Janiv
Sorry to bother, but I didn't see a function to pull out upcoming events and holidays? Would this be possible to do or is it too complex?

Thanks!

How do you set the number of characters that appear with a news snippet? I would prefer to display the whole piece of news.

azmi 06-28-2005 07:34 AM

is it possible to display the message in the last news ?
maybe like in the last X posts 3.1 ?

and how get i the header to become shorter ?
(this is the header message.... -> this is the ...)

thx a lot for this hack :classic:

subnet_rx 07-23-2005 03:32 PM

is this mod able to put the next X calendar events on a page? If not, can that be added? I've downloaded mod like that for 3.0.7, but it doesn't work that well. It'd be nice if everything was in one script anyway.

dmatthams 07-23-2005 07:38 PM

hey there, just installed, and recieve this error

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

line 119:

class vBulletinHook { function fetch_hook() { return false; } }

any thoughts? great hack btw ;)

**edit** never mind, my bad, just a conflict **

Sai01 07-24-2005 03:42 PM

how do i change the templates? the way things look...

Martin64 07-25-2005 01:03 PM

Sai01: UPLOAD/news.html etc.

Great extension, I'm currently implenting it on one of my sites. :)

ohgenki 07-30-2005 02:03 PM

is it possible top truncate the news ? sometimes its tooo lengthy. hmm ?

for e.g.:

news news news news news news news news news news news news news news news news news news news news news news news news news news news news news news news news news news news news news news news news news news news news news news news news news news news

... more

delds 07-30-2005 02:24 PM

1st I assume this should also work in vb3.5 rc1
2nd if the forums are located on a different site than the page you wish to insert the top threads into...

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

how do you fill this out.

Mimoun 08-02-2005 10:57 AM

Hi Zero Tolerance I like your script.
Could you add this to your script:
I want to put the small login box that is on the right side inside the navbar on an external page.
Here is a screenshot of what I would like to extract:
https://vborg.vbsupport.ru/

IFor[You] 08-02-2005 03:48 PM

this mod has potential~
need updating with more functions though

TCattitude 08-06-2005 05:35 PM

<a href="https://vborg.vbsupport.ru/showpost.php?p=750786&postcount=119" target="_blank">https://vborg.vbsupport.ru/showp...&postcount=119</a>

please?

jalliday 08-10-2005 06:30 PM

great hack thanks a lot
i just have a little problem:
News Article: Londres attaquй instead of attaqu?.
What's my problem?

welo 08-13-2005 07:55 AM

Okay, this is pretty cool. Have it running on RC2.

Couple of things though:

1. Can something be done to more easily eliminate forums you don't want posts drawn from except leave them out of the whole list? Like for instance:
restrict_NewestThreads(5,"1,2,3");
...would draw from every forum except 1,2,3. Would make it a lot easier to exempt your admin and special usergroup forums.

2. Would be really nice if thread titles could be restricted to a certain specified character limit. So if the thread title is really long you could chop it off and add ... after 20 characters f.ex.

Otherwise very cool indeed :up:

jugo 08-15-2005 06:18 PM

Quote:

Originally Posted by welo
Okay, this is pretty cool. Have it running on RC2.

Couple of things though:

1. Can something be done to more easily eliminate forums you don't want posts drawn from except leave them out of the whole list? Like for instance:
restrict_NewestThreads(5,"1,2,3");
...would draw from every forum except 1,2,3. Would make it a lot easier to exempt your admin and special usergroup forums.

2. Would be really nice if thread titles could be restricted to a certain specified character limit. So if the thread title is really long you could chop it off and add ... after 20 characters f.ex.

Otherwise very cool indeed :up:


Change this line:

PHP Code:

        if($Forums){
        
$SQL " where forumid in({$Forums})";
        } 


To this:

PHP Code:

        if($Forums){
        
$SQL " where forumid NOT in({$Forums})";
        } 


jugo 08-15-2005 06:36 PM

Quote:

Originally Posted by welo
Okay, this is pretty cool. Have it running on RC2.

Couple of things though:

1. Can something be done to more easily eliminate forums you don't want posts drawn from except leave them out of the whole list? Like for instance:
restrict_NewestThreads(5,"1,2,3");
...would draw from every forum except 1,2,3. Would make it a lot easier to exempt your admin and special usergroup forums.

2. Would be really nice if thread titles could be restricted to a certain specified character limit. So if the thread title is really long you could chop it off and add ... after 20 characters f.ex.

Otherwise very cool indeed :up:


Change this line:

PHP Code:

        if($Forums){
        
$SQL " where forumid in({$Forums})";
        } 


To this:

PHP Code:

        if($Forums){
        
$SQL " where forumid NOT in({$Forums})";
        } 


matt2cacnio 08-16-2005 10:26 AM

I dont get what this hack does. It gives you a way to make another html page integrated into vbulletin so you can put any content with vbulletin headerS?

Zero Tolerance 08-16-2005 10:50 AM

Quote:

Originally Posted by matt2cacnio
I dont get what this hack does. It gives you a way to make another html page integrated into vbulletin so you can put any content with vbulletin headerS?

It allows you to export data from your forum and place it onto your own custom website easily.

- Zero Tolerance

matt2cacnio 08-16-2005 12:47 PM

oh ok thx. Ill go give it a try.

Vizionz 08-16-2005 12:51 PM

its used for people that say have a website that uses a different system or that they do from scratch and just want to display the forum stats on there actual website and not on the forum

like in the navigation you could have a table that shows the latest 3 posts from your forum then if they cli9ck the latest thread it will launch your forum..

Note: anyone know how to get the actual user count from this instead of the actual users online names, i justwant like 340 total Users | 200 members |140 guests

welo 08-16-2005 07:47 PM

Quote:

Originally Posted by jugo
Change this line:

PHP Code:

        if($Forums){
        
$SQL " where forumid in({$Forums})";
        } 

To this:

PHP Code:

        if($Forums){
        
$SQL " where forumid NOT in({$Forums})";
        } 


Ah! No wonder where NOT forumid in({$Forums}) wasn't working :). Thanks for that.

jtallen123 09-02-2005 07:45 PM

Quote:

Originally Posted by Mimoun
Hi Zero Tolerance I like your script.
Could you add this to your script:
I want to put the small login box that is on the right side inside the navbar on an external page.
Here is a screenshot of what I would like to extract:
http://www.freewebsitetemplates.com/...r/loginbox.gif


This would be great, I know it can be done but I don't have the time to work on it myself.

BamaStangGuy 09-03-2005 06:37 PM

Anyway to shortern the news that appears on the mainpage by total characters and once these characters are reached create a More link to the forum thread?

jtallen123 09-03-2005 07:32 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=91129" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=91129</a>

check that thread for some vb login stuff. I knew someone had done it already, just a matter of finding it.

Kayn 09-08-2005 05:57 PM

This is great! Way better than that horrendous Pluhnews I released a few years back... (total PHP newb I was, yes yes)

Anyway, I recommend giving some more options to the user without them having to hack it manually, like the time a news post was posted, who the last comment was by, etc. Just some ideas.

Kru 09-09-2005 04:23 AM

On my homepage : www.mirzone.net I am running vbexternal 1.6 https://vborg.vbsupport.ru/showthread.php?t=83005

Now, I wanted to run VB Login on a Non-VB Page vB3 RC3: https://vborg.vbsupport.ru/showthread.php?t=61112 from there, too.

I already got this hack succesfully to run on a test page, too: http://www.mirzone.net/testing.htm

However I don't get to run both hacks together.

The problem is that vbexternal want this code at the top:

PHP Code:

<?php
chdir
("/.../.../.../mirzone.net/html/forum/");
include(
'./vBExternal.php'); 
?>

and VB Login:

PHP Code:

<?php
  chdir
("/.../.../.../mirzone.net/html/forum/");
require(
'./global.php');  
chdir("/.../.../.../mirzone.net/html/"); 
?>

If I try to run both codes (above) I always get the following error message:

PHP Code:

Fatal errorCannot redeclare class vbulletinhook in /var/www/vhosts/mirzone.net/httpdocs/forum/includes/class_hook.php on line 29 

Have anybody an idea how I can fix this, please?

BamaStangGuy 09-10-2005 02:49 AM

anyway to show the contents of the quote tags on the mainpage news?


All times are GMT. The time now is 05:09 AM.

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.02612 seconds
  • Memory Usage 1,847KB
  • 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
  • (9)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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