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)

djilou 08-22-2007 11:15 PM

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!
can you tell me how did you managed to display just a certain number of characters from the post on my news page?

thanks!

azn_romeo_4u 09-06-2007 07:43 PM

PHP Code:

array(
                                
'threadid'     => $News['threadid'],
                                
'threadname'   => $News['title'],
                                
'postuserid'   => $News['postuserid'],
                                
'postusername' => $News['postusername'],
                                
'post'         => $bbcode_parser->parse(unhtmlspecialchars(substr ($News['pagetext'],0,900)), $f), 
                                
'comments'     => vb_number_format($News['replycount']),
                                
'date'            => vbdate($vbulletin->options['dateformat'], $News['dateline']),
                                
'time'            => vbdate($vbulletin->options['timeformat'], $News['dateline']), 

I added

'post' => $bbcode_parser->parse(unhtmlspecialchars(substr ($News['pagetext'],0,900)), $f),

this to vbexternal. Change the 900 number to whatever u want. the ... you see at the end. I had to manually add that in there. LOL.

anyone know if this works in the lastest version? can anyone recommend me a script that is flexible like this?

Pacman15 09-07-2007 12:05 PM

There is one thing not working thought... I had to set my 'news forum' to put in moderation queue the threads created by members, so that it wouldn't show stupid things on my main page, but it doesn't work. Even if the thread is not aproved yet, it will apear on the main page.

Do you have any idea in how to fix that?

My temporary solution was to create a sub-forum 'propose news', so whenever I like a news from my members I'd move it to the main 'News Forum'. :D

PeteBlume 09-07-2007 12:40 PM

Is there any possibility to show the news in a template? Fpr example: I want to show 1 news-post in the template threadbit under the first post?

Do you know whta I mean? Can you help me?

azn_romeo_4u 09-07-2007 05:28 PM

Quote:

Originally Posted by Pacman15 (Post 1334198)
There is one thing not working thought... I had to set my 'news forum' to put in moderation queue the threads created by members, so that it wouldn't show stupid things on my main page, but it doesn't work. Even if the thread is not aproved yet, it will apear on the main page.

Do you have any idea in how to fix that?

My temporary solution was to create a sub-forum 'propose news', so whenever I like a news from my members I'd move it to the main 'News Forum'. :D

Just don't give permission to your members to post in that particular forum.

So does that mean on your board this works on 3.6.8?

txsbmw 09-07-2007 06:39 PM

Quote:

Originally Posted by azn_romeo_4u (Post 1334357)
Just don't give permission to your members to post in that particular forum.

So does that mean on your board this works on 3.6.8?

I run 3.6.8 and it works like a charm.

Mikhailtech 09-10-2007 07:55 PM

Can someone help me exclude a specific forum from the results? I have a forum that's just for mods/admins and is invisible to normal users, but the thread titles from this forum still show up in VBE. What code modification would I have to make to exclude this particular forum from the new threads/new posts results?

koby411 09-12-2007 08:55 AM

Is there someway I can combine this with this mod:
https://vborg.vbsupport.ru/showthread.php?t=99925
To give the news categories?
Like so on the news it can say
Filed Under: Square Enix
or w/e?

jGas 09-12-2007 11:44 AM

it's a very good mod...does it works with myspace?

i'd like to insert the last posts and news on "my" myspace page...

koby411 09-13-2007 03:21 PM

How to do I get this:


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

Set right if my sites are like this:

Forum:
forgottenmem/forums

Site:
khtrinity


I tried using this:

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

but it didn't work.. O.o

Okay got it working now, but I have another problem..

When I put an image into the news.html template like:
http://forgottenmem.net/images/news_arrow.gif

When it shows the news on the site it changes that link to:
http://forgottenmem.net/http://forum...news_arrow.gif

Why is it adding that in the middle of the link? O.o


All times are GMT. The time now is 05:00 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.01391 seconds
  • Memory Usage 1,753KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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