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)
-   -   Chat Modifications - MGC Chatbox Evo (https://vborg.vbsupport.ru/showthread.php?t=168992)

VBDev 02-25-2008 09:36 PM

New version development is finished :) => Now translation left :D

VBDev 02-25-2008 09:40 PM

-1- "Full page mode chatbox in a new windows"

mgc_cb_evo_fullmode_link_topopup

-2- "Activate the full page mode chatbox"

mgc_cb_evo_fullmode_active

-3- The Equivalent of EVO for $vboptions[mgc_chatbox]

mgc_cb_evo_title

-4- The Equivalent of EVO for $chatbox_permission

No equivalent, sorry.

inciarco 02-25-2008 11:19 PM

Quote:

Originally Posted by VBDev (Post 1451015)

-4- The Equivalent of EVO for $chatbox_permission

No equivalent, sorry.

I think that this Last One correspond to the Checking of the Usergroup Permissions to See/Use the Chatbox, there should be a Variable for that!! :rolleyes: :confused:

I need that Variable to Condition the Display or Not Display of the Options in the Navbar.

-1- Could you Please Provide me the name of the Variable that Checks the Permissions of the Usergroups to See the Chatbox, Please VBDev!! ;)

Quote:

Originally Posted by VBDev (Post 1451015)
-3- The Equivalent of EVO for $vboptions[mgc_chatbox]

mgc_cb_evo_title

Are You Sure about This One?? Remember that is the One inside $vboptions[]

The One I need is the One that Indicates that the ChatBox Mod is Activated in the Forums (the one I selects with the Yes/No Option).

-2- Could you Please Also Provide me the name of the Variable that Checks is the ChatBox is Activated, Please VBDev!! ;)

I'll also Use that other Variable to Condition the Display or Not Display of the Options in the Navbar.

My Best Regards!! ;)

:)

Saint_ago 02-25-2008 11:27 PM

Well, Clément... the 1st message bug is gone, but still the message from "Message to display in the input field on page load" isn't showing up at all...

Any clues?

tillcat5 02-26-2008 12:22 AM

this is very well done. easy to use and looks awesome!!!

inciarco 02-26-2008 12:28 AM

Guided by some Variables I Found in the Plugins and in the Templates I'd like to Share this First Aproach for what Could be the Navbar Links, so that You can Use it and also Help me Complemment it:

Step 1

In template "Navbar".

Search for:

Code:

<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
Below Add:

Code:

<!-- Comienzo de C?digo Adicionado Para MGC ChatBox EVO 2008-02-25 -->

                <if condition="$vboptions[mgc_cb_evo_active] && $bbuserinfo[mgc_cb_evo_show]">
               
                        <td id="mgc_cb_evo" class="vbmenu_control"><a href="mgc_cb_evo.php" accesskey="3">$vboptions[mgc_cb_evo_title]</a> <script type="text/javascript"> vbmenu_register("mgc_cb_evo"); </script></td>
               
                </if>

<!-- Final de C?digo Adicionado Para MGC ChatBox EVO 2008-02-25 -->

Step 2

In the Same Template "Navbar".

Search For:

Code:

<!-- NAVBAR POPUP MENUS -->
Below Add:

Code:

<!-- Comienzo de C?digo Adicionado Para MGC ChatBox EVO 2008-02-25 -->

        <if condition="$vboptions[mgc_cb_evo_active] && $bbuserinfo[mgc_cb_evo_show]">
            <div class="vbmenu_popup" id="mgc_cb_evo_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">
                    <tr>
                        <td class="thead">$vboptions[mgc_cb_evo_title]</td>
                    </tr>
                   
                    <if condition="$vboptions[mgc_cb_evo_fullmode_active]">
                   
                        <tr>
                            <td class="vbmenu_option">
                                <a <if condition="$vboptions[mgc_cb_evo_fullmode_link_topopup]">target="_blank"</if> href="mgc_cb_evo.php?do=view_chatbox" rel="nofollow">$vboptions[mgc_cb_evo_title]</a>
                            </td>
                        </tr>
                   
                    </if>
                   
                    <tr>
                        <td class="vbmenu_option">
                            <a href="mgc_cb_evo.php?do=view_archives" rel="nofollow">$vbphrase[mgc_cb_evo_archives]</a>
                        </td>
                    </tr>       
                </table>
            </div>
        </if>

<!-- Final de C?digo Adicionado Para MGC ChatBox EVO 2008-02-25 -->

That's it.

The Second Step is the Popup Menu, and the First Step is the Position of the Popuop Menu in the Navbar.

:confused: I'd Appreciate VBDev if you can Tell me the Name of the usergroup Variable that Tells me if that Usergroup Can SEE the Chatbox, to Add it as a Second Option to the Conditionals: :confused:

Code:

<if condition="$vboptions[mgc_cb_evo_active] && $bbuserinfo[mgc_cb_evo_show]">
I've tried with $bbuserinfo[mgc_cb_evo_show], but I think is wrong because when I disable the Options for a Usergroup nothing Happens, or Perhaps I'm Using the Variable Wrong?? Please Tell me to make it work!! :confused: :(

My Best Regards!! ;)

:)

VBDev 02-26-2008 04:27 AM

Quote:

Originally Posted by Saint_ago (Post 1451065)
Well, Cl?ment... the 1st message bug is gone, but still the message from "Message to display in the input field on page load" isn't showing up at all...

Any clues?

This is based on usergroup permissions so I think you haven't set that usergroup permission :)

Quote:

Originally Posted by inciarco (Post 1451101)
Guided by some Variables I Found in the Plugins and in the Templates I'd like to Share this First Aproach for what Could be the Navbar Links, so that You can Use it and also Help me Complemment it:

Step 1

In template "Navbar".

Search for:

Code:

<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
Below Add:

Code:

<!-- Comienzo de C?digo Adicionado Para MGC ChatBox EVO 2008-02-25 -->

        <if condition="$vboptions[mgc_cb_evo_active] && $bbuserinfo[mgc_cb_evo_show]">
       
            <td id="mgc_cb_evo" class="vbmenu_control"><a href="mgc_cb_evo.php" accesskey="3">$vboptions[mgc_cb_evo_title]</a> <script type="text/javascript"> vbmenu_register("mgc_cb_evo"); </script></td>
       
        </if>

<!-- Final de C?digo Adicionado Para MGC ChatBox EVO 2008-02-25 -->

Step 2

In the Same Template "Navbar".

Search For:

Code:

<!-- NAVBAR POPUP MENUS -->
Below Add:

Code:

<!-- Comienzo de C?digo Adicionado Para MGC ChatBox EVO 2008-02-25 -->

        <if condition="$vboptions[mgc_cb_evo_active] && $bbuserinfo[mgc_cb_evo_show]">
            <div class="vbmenu_popup" id="mgc_cb_evo_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">
                    <tr>
                        <td class="thead">$vboptions[mgc_cb_evo_title]</td>
                    </tr>
                   
                    <if condition="$vboptions[mgc_cb_evo_fullmode_active]">
                   
                        <tr>
                            <td class="vbmenu_option">
                                <a <if condition="$vboptions[mgc_cb_evo_fullmode_link_topopup]">target="_blank"</if> href="mgc_cb_evo.php?do=view_chatbox" rel="nofollow">$vboptions[mgc_cb_evo_title]</a>
                            </td>
                        </tr>
                   
                    </if>
                   
                    <tr>
                        <td class="vbmenu_option">
                            <a href="mgc_cb_evo.php?do=view_archives" rel="nofollow">$vbphrase[mgc_cb_evo_archives]</a>
                        </td>
                    </tr>       
                </table>
            </div>
        </if>

<!-- Final de C?digo Adicionado Para MGC ChatBox EVO 2008-02-25 -->

That's it.

The Second Step is the Popup Menu, and the First Step is the Position of the Popuop Menu in the Navbar.

:confused: I'd Appreciate VBDev if you can Tell me the Name of the usergroup Variable that Tells me if that Usergroup Can SEE the Chatbox, to Add it as a Second Option to the Conditionals: :confused:

Code:

<if condition="$vboptions[mgc_cb_evo_active] && $bbuserinfo[mgc_cb_evo_show]">
I've tried with $bbuserinfo[mgc_cb_evo_show], but I think is wrong because when I disable the Options for a Usergroup nothing Happens, or Perhaps I'm Using the Variable Wrong?? Please Tell me to make it work!! :confused: :(

My Best Regards!! ;)

:)

You can find the permissions names in the can_see_mgc_cb_evo function located in the includes/functions_mgc_cb_evo.php file :)

sickboy6ths 02-26-2008 05:21 AM

tnx 4 update!!

i would like to request a new optional feature;
Display current server time, with option if it should take the user's location into account and display local time, or truelly the server's timezone time.

I would have use for such feature, and due to the ajax refresh, the time is updated everytime the ajax refreshes, so pretty up2date ;)

Tnx for consideration

VBDev 02-26-2008 06:36 AM

So If I do well understand, you would like the possibility to show servertime or user local time that's right ?

A single option that would toggle between both modes.

lordtopcat 02-26-2008 07:35 AM

Man you are on fire! Love the sticky feature! It's awesome.

I'm working on those docs, should be ready very soon :)


All times are GMT. The time now is 07:34 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.03857 seconds
  • Memory Usage 1,784KB
  • 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
  • (10)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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