Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Advanced Info Center Details »»
Advanced Info Center
Version: 1.51, by LaCN LaCN is offline
Developer Last Online: May 2019 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.6.x Rating:
Released: 05-29-2007 Last Update: 06-07-2007 Installs: 87
Uses Plugins Template Edits
Additional Files  
No support by the author.

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 (?)
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:
Quote:
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.
https://vborg.vbsupport.ru/showthread.php?t=130818



Demo:

http://test.lacnfamily.com



Integration with Inferno's vbShout ShoutBox

The ShoutBox can be placed into the Info Center.
See here (#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
Edit 1 phrase: See here

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
  3. The InfoCenter isn't working well on my custom pages outside the forum directory, like a portal
    See solution in post 62
    (This improvement will be standard added into next version (newer than 1.50))


This is my first real mod, so bare with me

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 05-30-2007, 09:58 AM
LaCN LaCN is offline
 
Join Date: Feb 2005
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #13  
Old 05-30-2007, 09:59 AM
RvG2 RvG2 is offline
 
Join Date: Jan 2007
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow... nice one!
Reply With Quote
  #14  
Old 05-30-2007, 10:00 AM
Philipaclayton Philipaclayton is offline
 
Join Date: Apr 2007
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks good, may use it
Reply With Quote
  #15  
Old 05-30-2007, 01:52 PM
LaCN LaCN is offline
 
Join Date: Feb 2005
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Renes4 View Post
1.W-O-W!!!!!!!
2.Will install absolutly (first locally)
3.Will vote as MotM also

Nice work...very nice!
Thanx
Can't wait to see this mod in the nominations
Reply With Quote
  #16  
Old 05-30-2007, 01:57 PM
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Location: Las Vegas, NV.
Posts: 1,433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LaCN View Post
Thanx
Can't wait to see this mod in the nominations
Of course I'll vote for it!
but I was asking: [Since I have the Welcome Headers installed] does your hack cover those functions? [to replace it with yours]
Reply With Quote
  #17  
Old 05-30-2007, 01:59 PM
TheBlackPoet's Avatar
TheBlackPoet TheBlackPoet is offline
 
Join Date: May 2006
Location: Pasadena, Texas, USA
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed!!! kick-butt!!!
Reply With Quote
  #18  
Old 05-30-2007, 02:12 PM
LaCN LaCN is offline
 
Join Date: Feb 2005
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iogames View Post
Of course I'll vote for it!
but I was asking: [Since I have the Welcome Headers installed] does your hack cover those functions? [to replace it with yours]
I think I answered u in post 9
But I prolly didn't know what I was talking about

So I'll check that mod out now, if I can find it.


~~~~~~~~~~~~~~~~~~~~~~~


edit:

Ah, if this is the one, then it has these functions:
  • Turning lurkers into Members --> Info Center too
  • Making Users Confirm their Account --> Info Center too
  • Get non-posting users to post
  • Getting inactive users to become more active
  • General Announcements --> Info Center too, 2x

I never thought about getting non active people back on the board.
I'll write an addon to add this, tonight

Maybe even a message when the user has a pm, as I noticed a nice notice in this forum when I received one
Reply With Quote
  #19  
Old 05-30-2007, 03:08 PM
Gsmdenis Gsmdenis is offline
 
Join Date: Jan 2006
Location: Hongkong
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not bad , it's good
Reply With Quote
  #20  
Old 05-30-2007, 03:52 PM
Dragons76 Dragons76 is offline
 
Join Date: Mar 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I made the modification asked by the hack gmt-mod, here is what I put and here is what I have in the screen

And in the LaCN_InfoCenter template, i have this :

PHP Code:
  <tr>
                 <
td align=left class="smallfont" width="20%">
       <
div class="pagination" id="paginate-slider1"></div>
                 </
td>
                 <
td align=center class="smallfont" width="60%">
                   
Date et Heure courante $vbphrase[gmt_phrase$gmt
                 
</td>
                 <
td align=right class="smallfont" width="20%">
       <
div class="pagination" id="paginate-slider2"></div
Reply With Quote
  #21  
Old 05-30-2007, 04:08 PM
wizardan wizardan is offline
 
Join Date: Jan 2006
Location: America
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can't the time delay between item "slides" be controlled?

Edit:
Damn. Sorry for that.
Just looked at the screenshots.
duh...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05775 seconds
  • Memory Usage 2,354KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (7)bbcode_code
  • (1)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete