Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

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
  #22  
Old 05-30-2007, 04:18 PM
Kazenka Kazenka is offline
 
Join Date: May 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

woa ! Thannks ! Installed !
Reply With Quote
  #23  
Old 05-30-2007, 05:03 PM
Dragons76 Dragons76 is offline
 
Join Date: Mar 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I put vbphrase [gmt_phrase] $gmt in the footer, I see well the date and the current hour. But if I put it in the template LaCN_InfoCenter, I see nothing ?
Reply With Quote
  #24  
Old 05-30-2007, 05:27 PM
LaCN LaCN is offline
 
Join Date: Feb 2005
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dragons76 View Post
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

Try to re-install the GMT mod.
It looks like the template isn't catching the $gmt



~~~~~~~~~~ edit ~~~~~~~~~


See solution in post 28
Reply With Quote
  #25  
Old 05-30-2007, 05:51 PM
Dragons76 Dragons76 is offline
 
Join Date: Mar 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have re-install the GMT mod.

Here is thus my template with the sentence $vbphrase[gmt_phrase] $gmt

PHP Code:
 <tr>
           <
td class="tcat" align=center>
             <
table border=0 cellpading=0 cellspacing=0 width="100%">
               <
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>
                 </
td>
               </
tr>
             </
table>
           </
td
And now, I have it on the forumhome :

It does not still work, except in the footer for example

Sorry for my bad english, but i'm french
Reply With Quote
  #26  
Old 05-30-2007, 05:55 PM
LaCN LaCN is offline
 
Join Date: Feb 2005
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Let me pm u, to ask if I can check ur forum
Reply With Quote
  #27  
Old 05-30-2007, 06:04 PM
Dragons76 Dragons76 is offline
 
Join Date: Mar 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LaCN View Post
Let me pm u, to ask if I can check ur forum
You have a MP
Reply With Quote
  #28  
Old 05-30-2007, 06:28 PM
Barteken Barteken is offline
 
Join Date: Feb 2006
Location: Belgium
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow looks good going to install this one...
Reply With Quote
  #29  
Old 05-30-2007, 06:37 PM
LaCN LaCN is offline
 
Join Date: Feb 2005
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dragons76 View Post
I have re-install the GMT mod.

Here is thus my template with the sentence $vbphrase[gmt_phrase] $gmt

PHP Code:
 <tr>
           <
td class="tcat" align=center>
             <
table border=0 cellpading=0 cellspacing=0 width="100%">
               <
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>
                 </
td>
               </
tr>
             </
table>
           </
td
And now, I have it on the forumhome :

It does not still work, except in the footer for example

Sorry for my bad english, but i'm french

Solution: see post 30
Reply With Quote
  #30  
Old 05-30-2007, 07:34 PM
Dragons76 Dragons76 is offline
 
Join Date: Mar 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Many thanks. With this modif, it's works
Reply With Quote
  #31  
Old 05-30-2007, 08:28 PM
LaCN LaCN is offline
 
Join Date: Feb 2005
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply

Thread Tools

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 02:56 AM.


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.05221 seconds
  • Memory Usage 2,352KB
  • 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
  • (5)bbcode_code
  • (3)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
  • (4)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