![]() |
Quote:
can you tell me how did you managed to display just a certain number of characters from the post on my news page? thanks! |
PHP Code:
'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? |
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 |
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? |
Quote:
So does that mean on your board this works on 3.6.8? |
Quote:
|
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?
|
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? |
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... |
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 |
Works so far for me, but the Output ignores all
Code:
[quote] or [PHP] etc. Does someone has any idea? |
Is there any chance of a "Read More" option being added for this?
|
Very nice!! It's just what I was looking for.
If anyone wants an avatar, you can use this: <img src='{url}/image.php?u={postuserid}' alt='Avatar' /> |
Hi all, This mod looks great.
Anyone got it working with phpnuke module in the home page and vb in /forum? |
Great addition to my own vBulletin system! This should be a 'standard' feature in the system out of the 'box'! :D
|
I'm excited! This is exactly what I was looking for.
But, i'm a bit lost. What I was hoping to use this for was to populate some sidebar boxes on the same page as my forum. Ive dropped in the head code: <?php require_once('vBExternal.php'); ?> And I drop the output code into my sidebar box... But I get a blank sidebar, nothing had changed. Here is the code for the sidebar, perhaps you can see my mistake? <table> <div class="thead" align="left">Newest Member</div> <td height="125px" class="lftbox1" height="25px"><?php output_NewestMembers(1); ?></td> </table> Visually the box (or I should say 'table' in this case), appears as I want it to, with the one noticeable exception being that is is empty! Any thoughts? :( |
Hi JtChurch925,
Looks similar to my problem with phpnuke I've got it working by adding forum/ to the includes in vBExternal.php but it stops the rest of nuke from finishing, I think its a dir problem. |
Thanx for replying Steveneff,
I would be willing to try anything. I'm guessing that you're referring to the code inside vBExternal.php Looking at the code though im not shure what you mean by adding forum/ if( !file_exists('./includes/config.php')) { echo "includes/config.php does not exist. Cannot continue."; exit; } require_once('./includes/class_core.php'); require('./includes/config.php'); is forum/ going in the place of the ./ ? Again, I appreciate your reply. :) |
Quote:
|
yep, it's forum/ for me.
I'll try that and let you know how it goes, Going replace ./ with forum/ all the way down. <!-- Fingers Crossed --> |
<sigh>
...bupkis, nothing, nada... I assume this must have something to do with the fact that I am trying to display the information on the same page as the forum -and so you'd be right about it be a linkage (or directory) problem. I also have a main page built in Joomla, and it will display there ok. -of course the head code for that page is: <?php chdir('./forum'); require_once('./vBExternal.php'); ?> because it's a different directory. but I drop in the php output code on that page and it works just fine. but nothin' doin' on http://n81street.com/forum/index.php hrmmm... :confused: |
I'm no master, but I don't think you need the chdir at all if you're including vBExternal.php in the same directory.
|
Got this working in a nuke module.
in modules/mymodule/index.php PHP Code:
in vBExternal.php change each instance of $db to $vbdb Not sure if this is the right thing to do but it works :) Anyone know how to list a preview of each tread? |
Quote:
Congrats on getting it working steveneff, I'm jealous, tried changing the $db to $vbdb and that didnt seem to help either. :confused: |
I've managed to get the post text displayed with the code below but would now like to add the parent forum.
PHP Code:
Anyone done this already? |
What has to be edited to control the length of the thread title? I dont see an option and I havent seen it pointed out.
Also anyone get this working with VBSEO? |
Quote:
PHP Code:
|
I liked this, its really good! And easy to code, thanks ^^
Oh I don't know if anyone else has posted but I added a printable option and to reply to the post. Add reply Code:
<a href='{url}/newreply.php?do=newreply&noquote=1&p={threadid}'> Code:
<a href='{url}/printthread.php?t={threadid}' target='_new'> <small>Print Article</small></a> |
Dude! You just made my year with this hack!
Goodbye vBAdvanced!.... you boxy, boooooring POS! |
Finally got it to work, thanks mate.
|
Thanks for a great mod! I'd really like to show the number of guest users along with the registered members online too, though. Has no one figured out how to do this?
I'd also appreciate it if someone could post how we can list only the forums we want to EXCLUDE from the newest threads and newest replies... with a few dozen forums listing all of them but 2 or 3 isn't really practical. |
Anyone know the solution to the problem with images?
When I add an image via HTML or through IMG tag it always adds my forums url before the image again. So it ends up being http://www.domain.ext/http://www.dom.../filename.file. The news page is: PHP Code:
|
Comment out this line:
$Data = str_replace('images/',"{$vbulletin->options[bburl]}/images/",$Data); |
Hey,
it is an awesome addon! I love it but I have one question: Is it possible to add more then one forumID to the news section? Because I have more than one news forum. I really need it! Thanks and greetings! Charmedfan |
Hi,
I believe someone had asked this question already but did not get any answers. I have my vBulletin Forum on a subdomain, but want to run this on my main directory. How do I do it? Calvin |
Hey,
I have another problem. I use this string for the date: PHP Code:
PHP Code:
Why? Thanks for help! |
Quote:
|
I'm trying to use vbexternal to pull data from a post, but all my code is stored inside a template. How can I call the news from within a vb template?
If I just add the output_News(5,4); straight to the PHP file it is displayed at the top of the page with no formatting. Here is my php code that calls for the template where all the html is stored. PHP Code:
|
Has anyone figured out how to make it respect no conversion of text into smilies? It doesn't respect the post setting and converts text into smilies anyway...
|
what is the main difference between the pro and the lite version? will we be able to include capture images from the forums ?
|
All times are GMT. The time now is 10:24 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|