PDA

View Full Version : Forum Home Enhancements - News & Announcements


ry215
03-27-2010, 10:00 PM
Description:
Show News & Announcements on FORUMHOME or All Pages

Features:
- On/Off Hack?
- Allowed Usergroups
- Where is News? only index or all pages
.... and more :rolleyes:

How to install?

ACP >> Plugins & Products >> Add/Import Product and upload the XML you downloaded.

And you are done :)


Polish Version by Marek58 (https://vborg.vbsupport.ru/member.php?u=115688): Download here (https://vborg.vbsupport.ru/attachment.php?attachmentid=115021&d=1269956145)

steven s
03-28-2010, 05:13 PM
I could use something like this as a CMS widget.
Good luck with the mod.
I think it will be useful to a lot of people.

basilrath
03-28-2010, 05:14 PM
Any vb4 demo?

ry215
03-28-2010, 05:16 PM
update man ^^

ProFifaLeagues
03-28-2010, 05:30 PM
Top stuff installed thanks

Candostum
03-28-2010, 06:15 PM
Thanks but problem with sub forum manager https://vborg.vbsupport.ru/showthread.php?t=229148

Greight
03-28-2010, 06:16 PM
Great mod, thank you.

Any way to put it right under the navbar?

ry215
03-28-2010, 06:17 PM
To set options:
Go to: AdminCP > vBulletin Options > Tùy chọn: Thông Báo Mới Nhất

Greight
03-28-2010, 06:26 PM
Please consider this:
Any way to put it right under the navbar?

firefoxextreme
03-28-2010, 06:26 PM
Great news mods marked as installed ;)

ry215
03-28-2010, 06:42 PM
sry all friend
im attach wrong language vietnamese
pls download file XML again and import again to your forum
@Greight if u want put it right under the navbar
install again, and AdminCP > vBulletin Options > News & Announcements
and u can see variables add template to navbar

firefoxextreme
03-28-2010, 06:59 PM
Thanks for update

betts02
03-28-2010, 07:23 PM
Another great addition to my site

Would it be possible to make it so you have an option to pull the data from a certain thread ?

Greight
03-28-2010, 07:42 PM
Thank you for the fast reply and update. However I assume my lack of php knowledge did not allow me to utilize the new feature. I added the code to the bottom of navbar template but while the text is shown correctly, the frame is not visible.

wayne.richards@
03-28-2010, 09:01 PM
Top Banana Mate, Installed & Nominated, Simple & To The Point, Just What I Was Looking For!

Dr.osamA
03-29-2010, 12:28 PM
great mod

installed + 5 Stars

can i translate it to Arabic plzz ??

ry215
03-29-2010, 12:38 PM
yes you can translate to your coutry
it no proplem ^^

Marek58
03-30-2010, 12:36 PM
Polish version

ndut
03-30-2010, 06:12 PM
installed. thank you

SpaceStar
03-31-2010, 08:02 PM
Is there any difference between this mod and the default Notices sysstem integrated in vb?

And this is not working when you have this hack installed:
https://vborg.vbsupport.ru/showthread.php?t=233135&highlight=tfh-module

ry215
04-01-2010, 05:35 AM
have option add template to navbar bro
your tab have active
it not same integrated in vb
you can see demo bro

badawidollah
04-01-2010, 09:00 AM
hello
not look as the first page.
can put this mods to all page

http://iklan.nusantaraku.org/announcement.png

thanks

COL NIL SATIS
04-01-2010, 02:27 PM
brilliant!!!!

Candostum
04-02-2010, 04:32 AM
Problem with subforum.

http://img51.imageshack.us/img51/2374/unbenannt2tb.jpg (http://img51.imageshack.us/i/unbenannt2tb.jpg/)



http://img13.imageshack.us/img13/8405/unbenanntfev.jpg (http://img13.imageshack.us/i/unbenanntfev.jpg/)

ry215
04-02-2010, 05:10 AM
vboption >> News & Announcements

Auto Add Template? < click NO

then you insert variables below the Template that you want to show.

{vb:raw template_hook.news}


mysite add it to forumhome
done man

Phil K?vin
04-11-2010, 06:44 PM
¿how I can create a list of random banners to be displayed in this add-on?

ry215
04-12-2010, 03:28 PM
you can use HTML bro ^^

alawee.blawee
04-14-2010, 08:46 PM
you can use HTML bro ^^



can you please check the MOD for the 4.0.3

they changed some values in the forumhome and forumdisplay so the MOD is causing problems now... i had to remove it waiting for the update.

johnny713
04-18-2010, 07:16 AM
This is what I been waiting for :). Thank you Thien.

By the way, I about to upgrade to version 4.0.3. It this compatible with version 4.0.3 as well?

Oh man, I just ask this question and saw the above post said got a bug with 4.0.3. Well, I wait for you release the update then :).

gbml4u
04-18-2010, 08:22 PM
Error?.

andyv72
04-20-2010, 06:43 PM
It works Uunder 4.0.3 Perfect !!!

werewolves69
04-21-2010, 02:49 AM
Very Nice Mod, Installed and working great

ry215
04-25-2010, 03:35 PM
yes good for 4.0.3 :D

pipibunny
04-26-2010, 07:54 AM
It's great.
However I have little problem ?
If I want every box have different announcements, how can I do ?
This mod only display on index or all page. I can't edit an another news for every box. I thinks that's a limit.

ry215
04-26-2010, 08:44 AM
want set to every pages
you click no enable template
and copy template pate to template navbar

prevb
04-28-2010, 04:15 PM
thank bro its nice :D

ry215
05-01-2010, 04:50 PM
GOOD JOB FOR new think update :)

sticky
05-01-2010, 07:17 PM
Installed, works great!

Videx
05-17-2010, 06:23 PM
Any way we can allow Moderators to handle the News?

sniranjan
05-19-2010, 11:41 AM
Will this show news and announcements in CMS pages as well?

chjp
06-12-2010, 03:37 AM
Thank you very much.

homanhtruong
06-15-2010, 11:45 PM
Installed and it's great with firefox.
But i have the problem attached hereafter with Internet explorer 7 about Compatibility.
Any reason for it?
Thanks so much
https://vborg.vbsupport.ru/external/2010/06/54.jpg

Astral001
06-16-2010, 05:19 AM
I have exactly the same problem, without it, it would be great

homanhtruong
06-16-2010, 06:07 AM
I have exactly the same problem, without it, it would be great
Waiting an Answer from ry215 & haothiencz.
Waitting..........
Thanks :D

tahrim
08-20-2010, 05:43 AM
<center>
<br/>
<br/>
<a href="http://www.bdpplz.com/vforum/adiinviter.php?adiinviter_service=adiinviter_suppo rted"><font size="6" color="red"><strong>♥ ♫ ♥ ♫>||Invite your Friends to Bdpplz||<♫ ♥ ♫ ♥</font></a>
<br/>
<br/>
<br/>
</center>

i use this code but link is not clickable please help

userform3
08-31-2010, 10:41 AM
Hi,

in forum, vbulletin 4.0.6 I have not category.
If user call the form, they get immediately the complte list of the topic. I realize this over plugin:

if ( THIS_SCRIPT == ?forumdisplay? AND $forumid == 0 AND $_REQUEST['forumid'] == 0)
{
$_REQUEST['forumid'] = 2 # <? forum id;
}


And I after create this plugin I remember the file forumdisplay.php in to forum.php, the old forum.php was deleted.

My question, is it possible to youse the plugin "News & Announcements"?
If yes, how?

Regards
userform3

Wifey
12-31-2010, 07:59 PM
This is not compatible above 4.0.3. When you use it in anything higher, it removes the status icons and just sticks ONE up at the top, on the forum home page

Screenshot:

http://i683.photobucket.com/albums/vv194/merrillash/error.gif

Any possibility of this being upgraded to be compatible with vB 4.1.x? It's a great mod, but I can't have it on my board when it's not working properly.

ProFifaLeagues
12-31-2010, 09:28 PM
Working fine on 4.06 mate no problems at all.

demonfatal
12-31-2010, 10:53 PM
This is not compatible above 4.0.3. When you use it in anything higher, it removes the status icons and just sticks ONE up at the top, on the forum home page

Screenshot:

http://i683.photobucket.com/albums/vv194/merrillash/error.gif

Any possibility of this being upgraded to be compatible with vB 4.1.x? It's a great mod, but I can't have it on my board when it's not working properly.

I use it since vB4.0.2 and I never had this problem.
Works fine too with vB4.1, try to clear your browser cache or try with firefox if you get the same error.
Good Luck.

Wifey
01-01-2011, 02:03 PM
It's an IE issue. And it's this code <div class="forumrow table"> No idea what to do to fix it.

MalluParadise
02-07-2011, 01:50 AM
is it any way i can make ma mod to edit news for me with out giving them admincp power ?

xmutan
03-31-2011, 02:20 PM
hi, i'm using vb 4.1.2, but can't see options for Where is News? only index or all pages

only showing on the front page only.

how to enable so that all pages can see the news and annoncement?

thanks

NTT
04-01-2011, 09:37 AM
hi, i'm using vb 4.1.2, but can't see options for Where is News? only index or all pages

only showing on the front page only.

how to enable so that all pages can see the news and annoncement?

thanks
MOD I can help this problem, and it is equipped with a lot of features well.
P.S: Use fine with 4.1.2. It here https://vborg.vbsupport.ru/showthread.php?t=258280

Mikevet1984
07-31-2011, 02:27 PM
Can the mod please be updated so as the bold letters to be visible inside the mod's window cause the <strong>...</srong> html script does not work at all.

Could the coder please fix this problem?

victorvu
09-23-2011, 11:34 PM
It is a great Mod and like it. However, I had issue with when turning it on, as shown below:

133196

I got it twice! Please help!

Thanks and greatly appreciated.

Victor:up:

mountainlife
11-03-2011, 06:25 PM
its not displaying the where is news option in settings

mountainlife
11-04-2011, 01:13 AM
its not displaying the where is news option in settings

Slipperyduck
06-11-2012, 08:21 AM
Hi,

Is there any way to have this mod use BBCode rather than HTML?

Slipperyduck
06-12-2012, 11:34 AM
THE ORIGINAL CODE FOR TEXT IN NEWS/ANNOUCE
if($vbulletin->options['enable_lns'] AND in_array($vbulletin->userinfo['usergroupid'], explode(',', $vbulletin->options['lns_ug'])))
{
$lns=array();

$lns['title']=$vbulletin->options['lns_title'];
$lns['text']=$vbulletin->options['lns_text'];

$templater=vB_Template::create('forumhome_lastest_ news');
$templater->register('lns',$lns);


if($vbulletin->options['enable_lns_place'])
{

$template_hook[forumhome_above_forums].=$templater->render();


}
else
{
$template_hook[news].=$templater->render();

}


}

What I'm trying to do, is then take the
lns_text --> then parse it through the class_bbcode.php

this is so that my old Admin/Moderators can simply use BBCode as they do not quite know how to do HTML.... I'm the only one that knows how and it's a burden.

I'm by no means a web specialist, but I'm not completely stupid.
I've tried several things and just can't seem to get it to parse.

here's some dummy code, that I've tryed and failed with (bottom snippet)
*Note that I've ADDED "-->" here to illustrate my additions - the arrows are not actually in my code.


$templater=vB_Template::create('forumhome_lastest_ news');
$templater->register('lns',$lns);

-->require_once('includes/class_bbcode.php');
-->$parser = new vB_BbCodeParser($vbulletin, fetch_tag_list());
-->$lns_text = $parser->do_parse($lns_text);

if($vbulletin->options['enable_lns_place'])
{

$template_hook[forumhome_above_forums].=$templater->render();


}
else
{
$template_hook[news].=$templater->render();



It's probably obvious to coders out there, but since I don't quite have a clear understanding, I'm clearly doing it wrong. Can anyone help?

Many thanks

Slipperyduck
06-18-2012, 11:07 AM
Ok, no reponse yet, but how about a WYSIWYG Editor for the News & Annoucements? That would really take the cake! possibly pull in the editor.php ?

I really like this MOD and would like to see it go a little further....

Syxguns
08-05-2012, 08:00 PM
Installed on vB 4.2.0 PL2 and appears to work fine.

Nirjonadda
08-05-2012, 08:13 PM
I can't see options for Where is News? only index or all pages ? Please You can update work on this option?

ProFifaLeagues
08-05-2012, 08:19 PM
I can't see options for Where is News? only index or all pages ? Please You can update work on this option?


https://vborg.vbsupport.ru/attachment.php?attachmentid=114864&d=1269799813

Syxguns
08-05-2012, 08:27 PM
https://vborg.vbsupport.ru/attachment.php?attachmentid=114864&d=1269799813

Hmm, my adminCP doesn't look like that. Did you make a change to the XML file?

ProFifaLeagues
08-05-2012, 08:42 PM
No changes mate Just make sure auto template is set to off

Syxguns
08-16-2012, 12:37 AM
Love this mod, but I have a question if anyone knows a little HTML to help me out.

I want padding on the width of the content. The problem is that because of different aspect ratio's the screen is going to look different on almost all computers. If I center the text then everything looks okay, but I want some text justified, and when I do that the text will go all the way against the side boarders of the announcement box.

Is anyone familiar with how to code the HTML to give side padding for this? Say like around 10px.

Madita
10-23-2012, 05:28 PM
This one does not work with 4.2 :(

ProFifaLeagues
10-23-2012, 07:47 PM
This one does not work with 4.2 :(


Works fine on 4.2 mate here

betts02
10-23-2012, 08:20 PM
Another great addition to my site

Would it be possible to make it so you have an option to pull the data from a certain thread ?

Any news on this ?
Cheers

xPonyx
11-29-2012, 06:53 PM
As mentioned by two previous posters, it would be great if this could be modified so that moderators could change the News & Announcements.

Slipperyduck
10-10-2013, 07:08 PM
4.2.2 This plugin starts generating errors:

In my case:
Warning: Assigning the return value of new by reference is deprecated in ..../includes/class_bootstrap.php(561) : eval()'d code on line 26

ozzy47
10-10-2013, 07:27 PM
Warning: Assigning the return value of new by reference is deprecated in ....Bla Bla Bla

Try this fix, (Untested)

Edit the plugin titled, Templating Starting under the group, News & Announcements

Replace everything in there with this:

if($vbulletin->options['enable_lns'] AND in_array($vbulletin->userinfo['usergroupid'], explode(',', $vbulletin->options['lns_ug'])))
{
$lns=array();

$lns['title'] = $vbulletin->options['lns_title'];
$lns['text'] = $vbulletin->options['lns_text'];

$templater = vB_Template::create('forumhome_lastest_news');
$templater->register('lns',$lns);

if($vbulletin->options['enable_lns_place'])
{
$template_hook['forumhome_above_forums'] .= $templater->render();
}
else
{
$template_hook['news'] .= $templater->render();
}
}

Slipperyduck
10-12-2013, 12:19 PM
Warning: Assigning the return value of new by reference is deprecated in ....Bla Bla Bla

Try this fix, (Untested)

Edit the plugin titled, Templating Starting under the group, News & Announcements

Replace everything in there with this:

if($vbulletin->options['enable_lns'] AND in_array($vbulletin->userinfo['usergroupid'], explode(',', $vbulletin->options['lns_ug'])))
{
$lns=array();

$lns['title'] = $vbulletin->options['lns_title'];
$lns['text'] = $vbulletin->options['lns_text'];

$templater = vB_Template::create('forumhome_lastest_news');
$templater->register('lns',$lns);

if($vbulletin->options['enable_lns_place'])
{
$template_hook['forumhome_above_forums'] .= $templater->render();
}
else
{
$template_hook['news'] .= $templater->render();
}
}

GREAT WORK OZZY47 - that did indeed fix it :) :up:

**NOTE above fix from OZZY47 for the 4.2.2 patch upgrade of vbulletin

ozzy47
10-12-2013, 01:52 PM
Cool, I thought it would.

john7911
10-12-2013, 07:21 PM
Thank you

tanzeelniazi
10-26-2013, 08:09 PM
When i tick Auto Add Template? (No) i cant see announcement
when i tick yes (Auto Add Template?) i see but both i try i only see but other members cant see latest announcement why ? help please

john7911
10-26-2013, 09:41 PM
Thank you
Installed on 4.2.1 :)
What is the variable to put below the navbar?

LordVader!
06-02-2014, 09:05 AM
5/5
installed and it's exact what i was looking for!

ProFifaLeagues
09-05-2015, 07:09 PM
Is there a way to add a background image into the news box?

tanzeelniazi
09-09-2015, 03:14 PM
why its not working in my side i have 4.2.0 ?
Only admin can see and guest not members see why ?

steviewonder44
09-29-2016, 02:27 PM
Edit: can see it now

MarkFL
09-29-2016, 02:36 PM
NO ONE CAN SEE WITH VB4.24 BETA1

Please don't post in all caps...this is equivalent to shouting. Also, please note the vB version stated for this product. A more appropriate post would be to ask the developer to update the product for vB 4.2.x :)

Take a look a few posts back at a fix by Ozzy...this might work for you. ;)

steviewonder44
09-29-2016, 04:34 PM
Thanks for your help sorry caps were on, not intentional, I had to move vbdonate bar to footer and now it works

Gn_Snake
06-23-2017, 09:50 AM
Is there a way to define the size of busy space?
I need to include responsive ads and I would like to limit it to a defined space.

Thx