Back to vBulletin 3.6 Add-ons

Advanced Info Center
Mod Version: 1.51, by LaCN

This modification is in the archives.
vB Version: 3.6.x Rating: (6 votes - 5.00 average) Installs: 87
Released: 30 May 2007 Last Update: 08 Jun 2007 Downloads: 455
Not Supported Uses Plugins Template Edits Additional Files  

Description:

This is a newsheader, welcome header, global announcement, newsticker in one.
It contains 2 independent and dynamic area's which contents can differ per usergroup.

For example, you can send multiple messages to everyone, and to members only, at the same time.

Message types:
Guests welcome header
Accounts awaiting email confirmation receive a message to check their email.
NonMembers receive a message where to apply for membership
Members receive messages for members only (?

Spoiler (click to open)


Quote by RedGTiVR6
This might seem like a pretty self explanitory question, but what exactly are "nonmembers"?

Is this referring to groups? I'm not sure what this would apply to.
We ourselves are an online game clan.
So, on our board, when someone registers an account, it doesn't mean he is a member of our clan, but he can just post in the public area's.

We have an area where registered users can apply for membership, and if accepted, they're seen as members. The rest are nonmembers (regged accounts with only public access).

It can also be used for paid access forums.
Once someone paid, he receives a new usergroup, has more access, etc..

Or you can choose to show that InfoCenter bit to mods and admins.
In that case, just put the usergroups 6,5,7 as "members"..

It was just a name for the field I had to give
It's optional to use that field

Close
)
Everyone receive global public messages
Idlers receive a pm to start posting again
NonPosters also receive a pm to start posting
Unread Pm's: users receive a message when they have unread pm's, if they turned the popup off.

All messages, usergroups, on/off switches, and some style variables are manageable via the admin-cp.
The 2 biggest text area's you'll be using often are separated from the other options to make things easy on the eyes

This mod is style-friendly as it automatically changes with your style and is fully phrased.
The looks and feel of the container is adjustable in a template.
The messages you want to show support any html and css.

The Info Center also runs on custom forum pages, like portals, that aren't in the same forum folder.

Installation Time:

Uploading various files, like style sheets, installing the product, add 1 word in a template will take about 3minutes.
Configuring the settings on on/off switches, usergroups and the text you would like to show can take from 5mins up to what ever you want to make of it.

Installation Steps:

1.
Upload the files that are located in the upload-folder, within the zip-file, to their respective places:
- /forum
- - /includes
- - - contentslider.css
- - - contentslider.js
- - - /xml
- - - - cpnav_LaCN.xml

2.
Install the product using the LaCN_InfoCenter.xml file.

3.
Go to your Templates.
Find in templates: Navigation / Breadcrumb Templates --> navbar
Find this line:
Code:
<!-- / nav buttons bar -->
Add beneath:
Code:
$LaCN_InfoCenter
Save it, and u're done in the templates.
You can choose where ever you'd like to place it, since it will pretty much load in any template. Some alternate locations are: footer and FORUMHOME.

4.
Refresh the menu frame in the admin-cp.
U'll see a new menu: LaCN, containing the 2 Info Center links.

5.
Go to the Info Center Options.
The first switch is to turn the whole Info Center on.
It's turned off by default.
Per set of usergroups you can show a message.
But there's only 2 message area's:
Code:
 ______________________________
|                              |
|           top area           |
| _  _  _  _  _  _  _  _  _  _ |
|                              |
|         bottom area          |
|______________________________|
The bottom could be set for anyone to read.
(you can use a 0 in the usergroups field to make it show to everyone)

The top area is shared amongst different sets of usergroups:
- guests (if turned on)
- nonactivated accounts (if turned on)
- registered accounts, but not seen as members (if turned on)
- members (if turned on)
A guest will never see the other messages, same for the rest.

The bottom area could be used for any group, as second set of messages.
For example to everyone, if u set the usergroups to 0 in there.

You could turn all switches in the top area off, and it will only show the bottom area.
You could also turn that bottom area off, and it will show nothing at all

6.
Within a message box, for example for Guests, you can have multiple messages, that will slide behind eachother. This will save space.
A message in every box must be within
<div class="contentdiv"> and </div> tags.
For example:
Code:
<div class="contentdiv">
  <br />Welcome Guest
</div>
<div class="contentdiv">
  <br />Welcome to our board
</div>
If you don't add those tags, the Info Center will NOT work properly !!
So even with 1 line you need to add those tags.

Remove vBulletins Guest Welcome header:

vBulletin comes with a nice guest message already:
Welcome to the ....
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Together with the Info Center, this takes up too much space, and frankly becomes unnecessary.
Here's how to remove it:
Go to your template: Forum Home Templates --> FORUMHOME
Find:
Code:
<if condition="$show['guest']">
<!-- guest welcome message -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
	<td class="alt1">
		<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
	</td>
</tr>
</table>
<!-- / guest welcome message -->
<br />
</if>
Remove that part.

Add on:

The GMT-mod is being used in this mod, to show the gmt time and date.
GMT time on your forumpages

Demo:

http://test.lacnfamily.com

Integration with Inferno's vbShout ShoutBox

The ShoutBox can be placed into the Info Center.
See here

Spoiler (click to open)


I noticed that the ones who posted here, and had a forum in their sig, use a shoutbox.
As I hate scrolling down on forums I looked into integrating vbShout into the Info Center.

And it went easy

Since the Info Center would become too high with 2 blocks (message + vbShout), I switch off one of the textblocks in the Info Center options.

Here's how to place vbShout into the Info Center:

1.
Install the vbShout mod, according to its installation steps. But do NOT add "<!--{%SHOUTBOX%}-->" into any template.

2.
In the vbShout options, turn it on, and change the height to a little less high.
I have it at 50.
Also set the Editor Position to below the messages.

3.
Edit this template: inferno_shoutbox_box
Remove the following part:
Code:
<tr>
	<td class="tcat" align="center">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_infernoshout')"><img id="collapseimg_forumhome_infernoshout" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_infernoshout].gif" alt="" border="0" /></a>
		Shoutbox
	</td>
</tr>
That will remove the header, as it looks ugly to have 2 headers right below eachother.

4.
Go to the Info Center options.
You have two options: use the top area, or use the bottom area.
If you use the top area, and have the welcome guests switch on, guests won't see the ShoutBox.
If you use the bottom area, u can show it to everyone, but guests won't see their welcome header.

I'd choose to add it to the top area, but in the demo forum, I placed it into the bottom one, otherwhise you woulnd't see it

To add it in the top area:
Switch the bottom area off.
Add this code into the top message box:
Code:
<div class="contentdiv">
<!--{%SHOUTBOX%}-->
</div>
You might want to edit the speed of the top slides.

Don't forget, that if your visitors click on the little numbers or "next" link below the Info Center, that the automatic slide changing will stop
So, if u want to only see the shoutbox, click on it's number, or next till u're there, and you can sit back and watch
Attached Thumbnails
Click image for larger version
Name:	oa_with_vbShout.jpg
Views:	122
Size:	37.3 KB
ID:	64921   Click image for larger version
Name:	ob_with_vbShout.jpg
Views:	95
Size:	30.3 KB
ID:	64922  

Close
(#11) on how to.

Version History

1.51
  • Added dynamic links in the template, so the InfoCenter can also show outside the forum folder, like in portals and custom forum pages.
  • Made the default guest message smaller to fit on the default hight.
When upgrading from 1.5:
Edit 1 template: See here

Spoiler (click to open)


I noticed that the ones who posted here, and had a forum in their sig, use a shoutbox.
As I hate scrolling down on forums I looked into integrating vbShout into the Info Center.

And it went easy

Since the Info Center would become too high with 2 blocks (message + vbShout), I switch off one of the textblocks in the Info Center options.

Here's how to place vbShout into the Info Center:

1.
Install the vbShout mod, according to its installation steps. But do NOT add "<!--{%SHOUTBOX%}-->" into any template.

2.
In the vbShout options, turn it on, and change the height to a little less high.
I have it at 50.
Also set the Editor Position to below the messages.

3.
Edit this template: inferno_shoutbox_box
Remove the following part:
Code:
<tr>
	<td class="tcat" align="center">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_infernoshout')"><img id="collapseimg_forumhome_infernoshout" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_infernoshout].gif" alt="" border="0" /></a>
		Shoutbox
	</td>
</tr>
That will remove the header, as it looks ugly to have 2 headers right below eachother.

4.
Go to the Info Center options.
You have two options: use the top area, or use the bottom area.
If you use the top area, and have the welcome guests switch on, guests won't see the ShoutBox.
If you use the bottom area, u can show it to everyone, but guests won't see their welcome header.

I'd choose to add it to the top area, but in the demo forum, I placed it into the bottom one, otherwhise you woulnd't see it

To add it in the top area:
Switch the bottom area off.
Add this code into the top message box:
Code:
<div class="contentdiv">
<!--{%SHOUTBOX%}-->
</div>
You might want to edit the speed of the top slides.

Don't forget, that if your visitors click on the little numbers or "next" link below the Info Center, that the automatic slide changing will stop
So, if u want to only see the shoutbox, click on it's number, or next till u're there, and you can sit back and watch
Attached Thumbnails
Click image for larger version
Name:	oa_with_vbShout.jpg
Views:	122
Size:	37.3 KB
ID:	64921   Click image for larger version
Name:	ob_with_vbShout.jpg
Views:	95
Size:	30.3 KB
ID:	64922  

Close

Edit 1 phrase: See here

Spoiler (click to open)


I noticed that the ones who posted here, and had a forum in their sig, use a shoutbox.
As I hate scrolling down on forums I looked into integrating vbShout into the Info Center.

And it went easy

Since the Info Center would become too high with 2 blocks (message + vbShout), I switch off one of the textblocks in the Info Center options.

Here's how to place vbShout into the Info Center:

1.
Install the vbShout mod, according to its installation steps. But do NOT add "<!--{%SHOUTBOX%}-->" into any template.

2.
In the vbShout options, turn it on, and change the height to a little less high.
I have it at 50.
Also set the Editor Position to below the messages.

3.
Edit this template: inferno_shoutbox_box
Remove the following part:
Code:
<tr>
	<td class="tcat" align="center">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_infernoshout')"><img id="collapseimg_forumhome_infernoshout" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_infernoshout].gif" alt="" border="0" /></a>
		Shoutbox
	</td>
</tr>
That will remove the header, as it looks ugly to have 2 headers right below eachother.

4.
Go to the Info Center options.
You have two options: use the top area, or use the bottom area.
If you use the top area, and have the welcome guests switch on, guests won't see the ShoutBox.
If you use the bottom area, u can show it to everyone, but guests won't see their welcome header.

I'd choose to add it to the top area, but in the demo forum, I placed it into the bottom one, otherwhise you woulnd't see it

To add it in the top area:
Switch the bottom area off.
Add this code into the top message box:
Code:
<div class="contentdiv">
<!--{%SHOUTBOX%}-->
</div>
You might want to edit the speed of the top slides.

Don't forget, that if your visitors click on the little numbers or "next" link below the Info Center, that the automatic slide changing will stop
So, if u want to only see the shoutbox, click on it's number, or next till u're there, and you can sit back and watch
Attached Thumbnails
Click image for larger version
Name:	oa_with_vbShout.jpg
Views:	122
Size:	37.3 KB
ID:	64921   Click image for larger version
Name:	ob_with_vbShout.jpg
Views:	95
Size:	30.3 KB
ID:	64922  

Close


1.50
  • The following messages changed into phrases:
    • Guest welcome
    • Account not activated by email user
    • nonmember
  • Updated the contentslider.css file:
    • Updated the padding from the pagination
  • Added the following in the template LaCN_InfoCenter:
    • Added global phrases InfoCenter title and description
    • Added support for styles who have round corners
  • The following groups have been added (phrased):
    • Idler message
      posted long ago (how long ago, is settable)
    • Low post count
      users with a low postcount get a message (post count is settable)
    • Unread pm's
      users with one or more unread pm's will get a message if their pm-popup is turned off
When upgrading:
  1. Save all your messages in a text file
  2. Overwrite or edit the /includes/contentslider.css file with the new version.
  3. Install the product, and overwrite the current one
  4. Revert the template LaCN_InfoCenter
  5. Go check the InfoCenter options, open the phrases, and edit the ones using your notepad
1.0
Original release.

Support:
  • If the css and js files and the plugins aren't changed, I'll help you.
  • In time I won't be visiting this forum every day, so you'll have to help eachother in the meantime.
  • To share the knowledge on bugs and solutions, I'll maintain a link-list to the appropriate posts in here.
  • If needed, I will make modifications after forum upgrades, as we use this one too ourselves.
    But unless vBulletin is going to change their php and variables structure, there's no concerns for having to change this mod for any upgrade.
    After each forum upgrade that "resetted" your template, you can simply add this mod back on by placing the "$LaCN_InfoCenter" back in.
  • If there are any suggestions or whishes from multiple people, I'll do my best to make it

So all in all, I think I give the same support as others, but I choose to mark this mod as not-supported, to have nobody wait for me replying, and that you'll help eachother when you can

HELP FAQ:
  1. I see only one text area, the other is vanished
    But I see the to be placed text in the source code o_0

    You forgot the <div class="contentdiv"> and </div> tags in one of the text areas in the Info Center options.
  2. The $gmt (gmt time) isn't showing
    post #30

    Spoiler (click to open)


    I found out the real problem, when $gmt isn't showing..

    It's because both the GMT and the Info Center plugin are using the same Execution Order in the same hook.
    And with some forums, vbulletin loads the Info Center first..
    So when it reads the Info Center it sees an unknown variabable $gmt, and skips it.

    So, the real solution is to change the Execution Order in the GMT plugin from 5 to 4.
    Or change the Info Center to 6.
    W/e number u use, the GMT plugin must be lower than the one from the Info Center

    Close
  3. The InfoCenter isn't working well on my custom pages outside the forum directory, like a portal
    See solution in post 62

    Spoiler (click to open)


    Quote by Renes4
    Thanks for your effort already...
    I'll activate it again, so you can check it out:
    http://www.voetbalportaal.nl/ (mainpage vBAdvanced)
    http://www.voetbalportaal.nl/forum (forum...duh)
    Okay, try this:

    Open the LaCN_InfoCenter template.
    Find for the lines:
    Code:
    	<link rel="stylesheet" type="text/css" href="includes/contentslider.css" />
    	<script type="text/javascript" src="includes/contentslider.js"></script>
    Replace with:
    Code:
    	<link rel="stylesheet" type="text/css" href="$vboptions[bburl]/includes/contentslider.css" />
    	<script type="text/javascript" src="$vboptions[bburl]/includes/contentslider.js"></script>
    What I did is added the forum url ($vboptions[bburl]) in front of the links

    Close

    (This improvement will be standard added into next version (newer than 1.50))


This is my first real mod, so bare with me

Download

This modification is archived, downloads are still allowed.

File Type: %1$s LaCN_InfoCenter.zip (10.8 KB, 346 downloads)

Screenshots

Click image for larger version
Name:	1_Guest.jpg
Views:	1676
Size:	38.1 KB
ID:	64897   Click image for larger version
Name:	2_notactivated.jpg
Views:	1349
Size:	36.2 KB
ID:	64898   Click image for larger version
Name:	3_nonmember.jpg
Views:	986
Size:	33.0 KB
ID:	64899   Click image for larger version
Name:	4_member.jpg
Views:	1034
Size:	33.5 KB
ID:	64900  

Click image for larger version
Name:	5a_admincp.jpg
Views:	781
Size:	60.2 KB
ID:	64901   Click image for larger version
Name:	5b_admincp.jpg
Views:	646
Size:	247.1 KB
ID:	64902  

Similar Mods

[Release] Advanced Header Info. v2 [updated] vBulletin 2.x Template Modifications

vblts.ru supports vBulletin®, 2022-2024