vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - News & Announcements (https://vborg.vbsupport.ru/showthread.php?t=239284)

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

Quote:

Originally Posted by Astral001 (Post 2054330)
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

Code:

<center>
<br/>
<br/>
<a href="http://www.bdpplz.com/vforum/adiinviter.php?adiinviter_service=adiinviter_supported"><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:
Code:

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/v...lash/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

Quote:

Originally Posted by Wifey (Post 2142006)
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/v...lash/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

Quote:

Originally Posted by xmutan (Post 2179411)
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

1 Attachment(s)
It is a great Mod and like it. However, I had issue with when turning it on, as shown below:

Attachment 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
Code:

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.
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

Quote:

Originally Posted by Nirjonadda (Post 2354786)
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/attachmen...4&d=1269799813

Syxguns 08-05-2012 08:27 PM

1 Attachment(s)
Quote:

Originally Posted by ProFifaLeagues (Post 2354789)

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

Quote:

Originally Posted by Madita (Post 2375409)
This one does not work with 4.2 :(


Works fine on 4.2 mate here

betts02 10-23-2012 08:20 PM

Quote:

Originally Posted by betts02 (Post 2011828)
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:

Code:

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

Quote:

Originally Posted by ozzy47 (Post 2451943)
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:

Code:

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 ?


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