Thread: Chat Modifications - MGC Chatbox Evo
View Single Post
  #4669  
Old 03-13-2009, 05:30 PM
Taragon's Avatar
Taragon Taragon is offline
 
Join Date: Sep 2007
Location: The Netherlands
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by VBDev View Post
Well can you make me a screenshot of the options you have selected on the notifications management page in the acp?
I've send you a pm.
Quote:
Originally Posted by VBDev View Post
Unstickying a message shouldn't redirect you as everything is done in javascript with Ajax => no page reloading.
Send me admin accoun access to your forum by pm please.
I've send you a pm.
Quote:
Originally Posted by VBDev View Post
I am sorry but I don't understand you.
It's indeed a bit hard to explain
This is a piece from the mgc_cb_evo template. To make things more visual, lets say I've replaced every 2 spaces for a % and each tab for a @, this would how it looks like:
Code:
%%%% <!-- Channel icons and chats -->
%%%% <table width="100%" cellpadding="0" cellspacing="2">
%%%%%%<tr>
%%%%%%@<if condition="$show['genchan']">
@@@@@@<td nowrap="nowrap" valign="top" align="$stylevar[left]">
@@@@@@@<div id="channel_gen_on">
@@@@@@@@<img id="mgc_cb_channel_gen_on" src="$stylevar[imgdir_misc]/mgc_cb_evo/mgc_cb_gen_channel_sel.gif" width="20px" height="20px" alt="" border="0" title="$vbphrase[mgc_cb_evo_channel_gen]" />&nbsp;
@@@@@@@</div>
@@@@@@@<div id="channel_gen_off" style="display: none;">
@@@@@@@@<a href="#mgc_cb_evo_top" onclick="return display_channel(0);"><img id="mgc_cb_gen_off" src="$stylevar[imgdir_misc]/mgc_cb_evo/mgc_cb_gen_channel_nosel.gif" width="20px" height="20px" alt="" border="0" title="$vbphrase[mgc_cb_evo_channel_gen]" /></a>&nbsp; 
@@@@@@@</div>
@@@@@@@<div id="channel_gen_new" style="display: none;">
@@@@@@@@<a href="#mgc_cb_evo_top" onclick="return display_channel(0);"><img id="mgc_cb_gen_new" src="$stylevar[imgdir_misc]/mgc_cb_evo/mgc_cb_gen_channel_new.gif" width="20px" height="20px" alt="" border="0" title="$vbphrase[mgc_cb_evo_channel_new]" /></a>&nbsp; 
@@@@@@@</div>
@@@@@@@$channels_bit
@@@@@@</td>
@@@@@</if>
%%%%%%% <td width="100%" colspan="<if condition="$show['genchan']">2<else />3</if>">
%%%%%%% @%<div id="mgc_cb_evo_user_warn" <if condition="empty($warn_msg)">style="display: none;"</if>>$warn_msg</div>
%%%%%%%%%<if condition="$vbulletin->options['mgc_cb_evo_separate_special_chats'] == 0">
%%%%%%%%%@<table width="100%">
%%%%%%%%%@<tr>
%%%%%%%%%@%<td width="100%" align="left">
@%%%%%%%%%%<div style="width:100%; height: {$chatbox_height}px;overflow-y: auto;border: none; z-index: 1;float: left;" id="chats_container">
%%@%%%%%%% @%<table width="95%" align="$stylevar[left]" cellspacing="0">
@%@@@@@@<tbody id="chats">
%%%%%%@%%%@@@<tr>
%%%%%%%%@%@@@@<td>$vbphrase[mgc_cb_evo_loading]</td>
%%%%%%%%%@@%@@</tr>
%%%%%%%%%@%@@</tbody>%%%%%%%%%@@
@%%%%%%%%%@%</table>%%%%%%%%%
%%@%%%%%%%%</div>
%%@%%%%% @%</td>
%%@%%%%% @%<td width="0%" align="left">
%%%%%%%%%%%%<div style="width:100%; height: {$chatbox_height}px;overflow-y: auto;border: none; z-index: 1; " id="schats_container">
%%%%%%%%%% @%<table width="95%" align="$stylevar[left]" cellspacing="0">
@%%@@@@@<tbody id="schats">
%%%%%%%%%%@@@<tr>
%%%%%%%%%%@@@@<td>&nbsp;</td>
%%%%%%%%%%@%@@</tr>
%%%%%%%%%%@%@</tbody>%%%%%%%%%@@
In short, all is well coded, but the layout/grammar is quite messy.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01245 seconds
  • Memory Usage 1,789KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete