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)

morrow 06-06-2007 12:02 AM

Why would I use this over Webtemplates? (honest question, not looking to flame your hard work).

What are the differences?

Inferno Tech 06-12-2007 07:24 AM

Never heard of it so i wouldn't be able to honestly answer that question.

Acid Burn - Inferno Technologies Developer

Parm 06-12-2007 09:58 AM

Thanks for the great plugin, I've been looking for something just like this! :)

Quick question; is it possible when outputting newest threads / newest replies to specify all forums except private forums? I'd like it to fetch data from every forum section apart from the few admin only sections. I know that I can put all the other forum ID's in manually but having a lot of forum sections that can change from time to time, I'd be much better off with a way to do all except private. Any idea if that can be done?

Inferno Tech 06-12-2007 11:34 AM

in pro we are adding this feature that can be edited in the ACP, but atm it wouldnt work

Acid Burn - Inferno Technologies Developer

Parm 06-12-2007 12:12 PM

Thanks for the prompt response Inferno Tech, I'll keep an eye out for the pro version.

In the meantime, is there anyway to exclude an individual forum at all? My coding knowledge is next to non-existent but I seem to recall ! meaning no. So I tried:
Code:

<?php
output_NewestReplies(5,"!22");
?>

Naturally, it didn't work but I'm wondering if there's something like that I could do? :o

Inferno Tech 06-12-2007 12:24 PM

that would produce an error, you would need to run an if statement for vb to exclude it or if you went into vbexternal.php and then looked for the function you wanted you could add a check to exclude the forums you dont want

Acid Burn - Inferno Technologies Developer

CP, 06-18-2007 11:26 AM

cheers for that. Will this work for vb 3.5.4?

RedefiningFate 06-19-2007 01:41 PM

Hello...has this error been figured out?

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

I can't get past this...

Thanks...

Mikhailtech 06-20-2007 04:30 PM

Can't get this to work. My site is http://www.mikhailtech.com. My forums are at http://forum.mikhailtech.com. What do I put in for the chdir settings??

4 pages and not a single person has their forums located in a subdomain?

BTW it's located in a /forum folder under public_html, but ('./forum') or ('../forum
) don't work.

jags2ooo 06-22-2007 05:23 PM

How would i get it to show Total amount of registered members + total amount of people online

CP, 07-03-2007 11:46 PM

Quote:

Originally Posted by jags2ooo (Post 1274069)
How would i get it to show Total amount of registered members + total amount of people online

Yes i would like to know this please too, only thing holding me back..

upnorth 07-04-2007 08:22 PM

Any chance of adding the ability to show a poll and or poll results?

Morphangel 07-10-2007 07:50 PM

Will this work for vb 3.6.7 ?
Thanks a lot!

Jimandbob 07-11-2007 11:22 AM

Quote:

Originally Posted by Morphangel (Post 1287856)
Will this work for vb 3.6.7 ?
Thanks a lot!

Works fine on 3.6.7 for me

Rushyman 07-17-2007 11:39 AM

Her is something I really need to do with this. When you upload and attach an image then set it to [attach=right] or [attach=left] it embeds this image in the forum thread nicely either floated left or right when you use the attach button in the advanced editor.

vBExternal doesn't understand the BBcode and simply places the attachment 'id' in the news post instead of the image. What code needs to be added to vBexternal to make it work as a normal post would with image attachments and actually show the image that is attached?

Any help here would be greatly appreciated.

csian 07-17-2007 03:23 PM

Hello,
I'm using vBulletin 3.6.7 and get this error when I navigate to the home.php I created with your script.

Quote:

Warning: main(./includes/db_mysql.php) [function.main]: failed to open stream: No such file or directory in /homepages/17/d208193755/htdocs/hdglides/vBExternal.php on line 67

Fatal error: main() [function.require]: Failed opening required './includes/db_mysql.php' (include_path='.:/usr/local/lib/php') in /homepages/17/d208193755/htdocs/hdglides/vBExternal.php on line 67
I checked my site directory and have no file called db_mysql.php in the includes folder or any other folder for that matter. Any idea of what the name of the file this should point to in v3.6.7?

csian 07-17-2007 05:19 PM

Quote:

Originally Posted by csian (Post 1293717)
Hello,
I'm using vBulletin 3.6.7 and get this error when I navigate to the home.php I created with your script.



I checked my site directory and have no file called db_mysql.php in the includes folder or any other folder for that matter. Any idea of what the name of the file this should point to in v3.6.7?

Well I got past this by finding the appropriate version for 3.6.5 but now I get database error when I navigate to my home.php file?????????? Any ideas?

Uberguilds 07-25-2007 12:15 AM

Any news on the Fatal error: Cannot redeclare class vBulletinHook in /home/arturos/public_html/forums/vBExternal.php on line 121 error?

It occurs if you try and require_once the globals.php to use the userdata on the same page as the vBExternal script.

edit: This post fixed the issue.

https://vborg.vbsupport.ru/showpost....&postcount=107

darkblade25 07-26-2007 09:54 PM

Is it possible to have the date that the post was made when you do the news

Ryuk 07-27-2007 01:44 AM

im getting sick! goooooooood, everytime I call up a function, my template MESSES UP <_<!!!!!!! its so freaking annoying....
any faq on this? website is, d-gaming.org and as u can see -_- the news are too big.. altho ive set the width of the template (news.html) to 60.. it keeps doing the same <_<!

skepticality 08-09-2007 07:16 PM

I have about 3 different internal forms I don't want to show up through this. I don't see a way to exclude certain forums from showing up on my page using this.

Is there something I can do to 'exclude' certain forums?

And, if so, how exactly? I am not much of a whiz with php... but I can follow directions quite well!

TheBlackPoet 08-09-2007 09:10 PM

i like this a lot... very nice...

skepticality 08-09-2007 09:41 PM

Got it workin'! :)

Parm 08-09-2007 10:23 PM

Quote:

Originally Posted by skepticality (Post 1313992)
Got it workin'! :)

Oooooh please do tell! I've been wanting to do the same thing.

skepticality 08-09-2007 10:32 PM

If you look in the .txt doc that is in the archive when you unzip it... there is a ton of options and such in there with instructions on how to turn off certain forums from showing, etc...

I just don't know how vBulletin 'numbers' the forums, so I did a hunt and peck to find the ones I wanted! :D

Parm 08-10-2007 08:44 AM

Quote:

Originally Posted by skepticality (Post 1314026)
If you look in the .txt doc that is in the archive when you unzip it... there is a ton of options and such in there with instructions on how to turn off certain forums from showing, etc...

I just don't know how vBulletin 'numbers' the forums, so I did a hunt and peck to find the ones I wanted! :D

Ah, that I knew hehe. At the moment I've got it setup to display stuff from forums that I've listed. However, I have a lot of forum sections and they can change from time to time so I have a long list like 1, 3, 4, 5, 11, 13...etc etc that I need to update once in a while.

What I was looking for was a way to set it to output from all forums except the ones I'd specified. So lets say sections 2, 3 and 4 were private forums. I'd want to be able to just set it to do all forums except those. Couldn't find a way to do that though.

Nickbe 08-10-2007 09:52 AM

The problem I am having with this is that on firefox if the thread name is extremely long it does not take up a second line instead it stay on one line and expands the box I put it in distorting my entire home page.

I was looking for a way to constrain the number of characters in the thread name it shows.

djilou 08-10-2007 02:15 PM

Quote:

Originally Posted by harry_5 (Post 1255175)
Great Hack!

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

looking for this too

Pacman15 08-11-2007 10:17 AM

Can you add the Date an time? :) I really need that :D

TYorke 08-12-2007 01:49 PM

Can BBCodes, HTML, etc be parsed correctly with this addon?

azn_romeo_4u 08-12-2007 03:58 PM

yea i have this on my website

www.flyffworld.com Fully customizable btw. Works nicely. Anyone know if this works on the latest version of vb?

Pacman15 08-12-2007 10:08 PM

It works... at least on 3.6.7 PL1 :)

Isn't there a way, that we can images attached to the post to show up on news?? And again also the date and time would be a nice addition.. :D

jags2ooo 08-12-2007 10:29 PM

Quote:

Originally Posted by Pacman15 (Post 1315134)
Can you add the Date an time? :) I really need that :D

Not sure how safe/good this is, but after

PHP Code:

                                'threadid'     => $News['threadid'],
                                
'threadname'   => $News['title'],
                                
'postuserid'   => $News['postuserid'],
                                
'postusername' => $News['postusername'],
                                
'post'         => $bbcode_parser->parse(unhtmlspecialchars($News['pagetext']), $f),
                                
'comments'     => vb_number_format($News['replycount']), 

I added:

PHP Code:

'date'     => date("F j, Y, g:i a",$News['dateline']), 

And this automatically made the {date} substitution available, you can change the date part to whichever you want, again I'm not sure it's completely good, or which ever.

I'm really new to this :o

TYorke 08-13-2007 05:20 AM

Quote:

Originally Posted by azn_romeo_4u (Post 1315984)
yea i have this on my website

www.flyffworld.com Fully customizable btw. Works nicely. Anyone know if this works on the latest version of vb?

Awesome, but I really meant to ask if custom BB Codes were able to be used externally through this script/add-on?

If not, anyone know of a way to parse custom BB Codes?

Pacman15 08-13-2007 09:26 AM

bb codes are parsed automatically :)

Thanks jags2ooo ;)

TYorke 08-13-2007 04:14 PM

Quote:

Originally Posted by Pacman15 (Post 1316425)
bb codes are parsed automatically :)

Thanks jags2ooo ;)

but the question remains: will custom BB codes be parsed as well?

Pacman15 08-13-2007 06:09 PM

I suppose they will, its a matter of trying... This script basically will get you, what it shows on the thread, so if it looks fine on the thread, it will look fine where you export it :D

TYorke 08-14-2007 04:39 PM

Quote:

Originally Posted by Pacman15 (Post 1316715)
I suppose they will, its a matter of trying... This script basically will get you, what it shows on the thread, so if it looks fine on the thread, it will look fine where you export it :D

Thanks. I will give it a whirl and report back with the findings :)

azn_romeo_4u 08-14-2007 06:54 PM

Quote:

Originally Posted by TYorke (Post 1316634)
but the question remains: will custom BB codes be parsed as well?

Yes it will be parsed. As long as the text doesn't get cut off.

TYorke 08-17-2007 05:01 AM

Quote:

Originally Posted by azn_romeo_4u (Post 1317549)
Yes it will be parsed. As long as the text doesn't get cut off.

YES YES ... custom BB Codes work as well, sweet!


All times are GMT. The time now is 01:38 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.01380 seconds
  • Memory Usage 1,829KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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