![]() |
News in Portal module for vBCMPS
-! News in Portal Module For vBCMPS !- -! Thanks to Oyadus, M4GN3T and Dexter 145 ! - This is for use with the vBadvanced Portal not the vBCMS! Hi all, This is my first mod here on vB.org. I'm not really experienced in coding for vBulletin but i did achieve something i wanted to. I created a module which basically loads a news topic out of your forum within the vBCMPS portal. This gives the website a better look instead of everything looking forum-based. I would also like to say that everyone is free to add or enchance the script, the only thing i ask is upload the one you modded/enchanced here in the topic ;). Demo; http://www.ps3-sense.nl/?pageid=nieuws&t=5445 Install: 1) Upload all contents in the upload folder. 2) Go to the admincp of your vBulletin installation and navigate to the vBCMPS tab. Click on 'Add Page' and select Module page. Settings for page; Page title: news Page identifier: news now save. 3) Now go to the vBCMPS tab again and hit 'Add module', now choose for PHP File Module. Under file to include choose news_in_portal.php Settings for module; Module title; Just type something Module parent; none Initialize BB Code Parser; yes Initialize Forum Permissions; yes Clean file output; yes Use Module Wrapper Template; no 4) Now place the module on the page you created @ step 2. 5) Type the following url in the browser; http://www.your_forum.com/?pageid=[Page identifier (step2!)]&t=[Thread number] 6) For a demo check out here: http://www.ps3-sense.nl/?pageid=nieuws&t=5445 |
Any photobucket screens? Your demo is blocked at my company.
|
Doesn't vBACMPS do this by default?
|
yep it can be accomplish by default..but time was taken to create this so good job:up:
|
Would love to see something as nice as this or vbAdvanced. Nice work!
|
What are the differences between this and the default vBadvanced module for news?
|
Hello
is to vbadvanced [vBa CMS] and not to vBCMS ... vBa CMS - www.vbadvanced.com vBCMS - www.vbdesigns.de in my opinion, of course ... all the best and happy new year joao barroca aka beduino |
Quote:
|
Quote:
|
Quote:
<span class="smallfont"><a href="{1}?pageid=[page identifier]&{3}t={2}"><b>[read more]</b></a></span> All your newsposts gets loaded inside the portal, something vBCMPS never accomplished. For example; Redirect with vBCMPS: http://www.ps3-sense.nl/showthread.p...45.html?t=5445 With this module: http://www.ps3-sense.nl/?pageid=nieuws&t=5445 |
Thanks, I think that's very usefull ;)
|
Quote:
|
Installed 2 times,,,, will not show any threads from my forums.
vba 3.1.0 vb 3.7.4 |
Ok I figured it out. there is a line in the PHP file you need to edit to tell the module which forums it is allowed to use threads from. Got it working now.
|
Does this comply with Google news qualifications?
|
This mod needs a preview module. I have sort of faked it on my site by making a hidden preview thread. I took a look at the news.php and am not quite sure how to pass the generated [read more] as a link to this portal mod.
this is the line out of news.php that I would need to modify to make the [read more] links go to the new page. Code:
$news['message'] .= '...' . construct_phrase($vbphrase['read_more'], $vbulletin->options['bburl'], $news['threadid'], $vbulletin->session->vars['sessionurl']); http://www.microracing.com/?pageid=columns&t=5080 to see how I using this mod check http://www.microracing.com/index.php...ticles_columns |
Quote:
Code:
<span class="smallfont"><a href="{1}?pageid=columns&{3}t={2}"><b>[Read more]</b></a></span> |
I have the same problem. Can't get any threads to show.
Where can I find the news.php file? Many thanks for putting up with a newbie Thanks. |
What's this mean?
Quote:
|
Quote:
|
me too
|
Quote:
You must call this script with a thread indicator |
Important note left out of the instructions:
Line 25 in the news_in_portal.php file. Update to reflect your forums. |
Any chance with the following updates?
1. Add attached images 2. Add Multi-page support |
Quote:
|
wondering the same
|
Quote:
Quote:
Quote:
|
|
never midn i get it but it's not showing anything like what he has...* lost*
|
Quote:
Code: Code:
http://www.dancehallareaz.com/index.php?page=news&{t}=34761 |
i ended up deleting it did show but only showed ONE thread i thought it was going to show more then one like in the demo
Thanks tho :) |
Quote:
|
All times are GMT. The time now is 02:08 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:
|