Moderator: Integra Moderator
<a><img></a>
"tmotley";p="35" wrote:Helter Skelter posted this great theme recently on previous integramod site.
I'm having some technical issues. Here's my laundry list. Any help would be appreciated.
Ongoing Issues:1. There are white squares in Firefox and gray squares in IE around the red, yellow, and blue card buttons. How can I eliminate those? There are *.gif versions included. How can I use them?
I dont know how to fix this. They are not in the images. The squares are boarders, but I have defined all borders to be off inless assigned other wise. The reason they are .png's is that I had the problem with the gifs and was trying to fix it (didnt work...lol)2. In Firefox, center portal blocks are fine. In IE, the content is slightly chopped off. I have cleared cache and it isn't fixed.
IE and FF read table info diferently. IE is very picky about % widths in <TD> tags. Ill look into it and get back to you on this3. Mini-Calendar gave errors but I just removed it. I think I remember someone talking about a fix by copying fisubice's mini-calendar block? I copied mini-calender 2 body tpl but it was too wide and the #4 issue was still there...
I have been struggling with this one since I firs ported it. It is fine in FF. I think this is another issuer where IE is not recognizing a table width somewhere4. In IE, regular Calendar is showing red X's on the right and left arrows. I can't tell what image is missing... In Firefox, images are missing but you don't notice because I don't see red X's. Viewing source I see that the image is not being defined. It says the url of the image is the page url.
open iCGstation.cfg
Find
- Code: Select all
$images['mini_cal_icon_left_arrow'] = "";$images['mini_cal_icon_right_arrow'] = "";
Replace with
- Code: Select all
$images['mini_cal_icon_left_arrow'] = "$current_template_images/icon_left.png";$images['mini_cal_icon_right_arrow'] = "$current_template_images/icon_right.png";
5. Staff page is missing content in both Firefox and IE. I replaced the staff.php with fisubice's and appears to have fixed it.
this is the correct fix. To add the correct images to it. open it up and find
- Code: Select all
<table> <tr> <td>{L_STAFF_TITLE}</td> </tr> <tr> <td><a>{L_INDEX}</a>{NAV_SEPARATOR}{L_STAFF_TITLE}</td> </tr> </table>
and replace with
- Code: Select all
<table><tr><td><img></td><td></td><td></td></tr><tr><td><span><a>{L_INDEX}</a></span></td><td><img></td></tr></table><br><table><tr><td><img></td><td><span></span></td><td><img></td></tr></table>
6. When you haven't voted on a poll yet, the page is messed up. Once you vote, it appears normal.
not sure yet
7. In Memberlist, there is the same issue as my #4 only with the sorting down arrow. It does show on my Username column but not any others.
8. I'm missing the Quick Reply feature.I replaced viewtopic_body with one from fisubice. Got QR back. Is there a problem with just replacing it? EDIT - switched back because fisubice viewtopic_body messed up poll display page. How to get QR?
Red text are my attempted fixes or added issues.
$images['up_arrow'] = "$current_template_images/icon_up_arrow.gif";$images['down_arrow'] = "$current_template_images/icon_down_arrow.gif";
$images['mini_cal_icon_left_arrow'] = "";$images['mini_cal_icon_right_arrow'] = "";
#viewtopic.php#search for $template->assign_vars(array( "TELL_LINK" => append_sid("http].$HTTP_SERVER_VARS['PHP_SELF']."?t=$topic_id", true))); #After ADD if ( ( $userdata['session_logged_in'] ) && ( $userdata['user_id'] != ANONYMOUS ) && ( ( $forum_topic_data['topic_status'] != TOPIC_LOCKED ) ? TRUE : ( ( $userdata['user_level'] == ADMIN ) ? TRUE : FALSE ) ) ){ include($phpbb_root_path . 'quick_reply.'.$phpEx);}
<php>set_filenames(array( 'quick_reply_output' => 'quick_reply.tpl'));$template->assign_vars(array( 'L_MORE_SMILIES' => $lang['More_emoticons'], 'U_MORE_SMILIES' => append_sid("posting.$phpEx?mode=smilies"), 'L_EMOTICONS' => $lang['Emoticons'], 'L_CLOSE_WINDOW' => $lang['Close_window'], 'S_SMILIES_COLSPAN' => $s_colspan));$template->assign_block_vars('smilies_row.smilies_col', array( 'SMILEY_CODE' => $data['code'], 'SMILEY_IMG' => $board_config['smilies_path'] . '/' . $smile_url, 'SMILEY_DESC' => $data['emoticon']) ); // // Taken from Quick reply with quote by Smartor - Begin // $bbcode_uid = $postrow[$total_posts - 1]['bbcode_uid']; $last_poster = $postrow[$total_posts - 1]['username']; $last_msg = $postrow[$total_posts - 1]['post_text']; $last_msg = str_replace("]" . $last_msg . '[/quote]'; $attach_sig = (( $userdata['session_logged_in'] ) ? $userdata['user_attachsig'] : 0)?"checked='checked'":''; $notify_user = (( $userdata['session_logged_in'] ) ? $userdata['user_notify'] : 0)?"checked='checked'":''; $template->assign_block_vars('quick_reply', array( 'POST_ACTION' => append_sid("posting.$phpEx"), 'TOPIC_ID' => $topic_id, 'SID' => $userdata['session_id'], 'LAST_MESSAGE' => $last_msg) ); if( $userdata['session_logged_in'] ) { $template->assign_block_vars('quick_reply.user_logged_in', array( 'ATTACH_SIGNATURE' => $attach_sig, 'NOTIFY_ON_REPLY' => $notify_user) ); } else { $template->assign_block_vars('quick_reply.user_logged_out', array()); } // // Taken from Quick reply with quote by Smartor - End // // // Show smiles or not // if ( ( $userdata['user_viewquickreply'] == 2 ) && ( $board_config['allow_smilies'] == 1 ) && ( $userdata['user_allowsmile'] == 1 ) ) { $template->assign_block_vars('quick_reply.switch_show_smiles', array()); generate_smilies('inline', PAGE_POSTING, true); } if ( ( $board_config['allow_smilies'] == 1 ) && ( $userdata['user_allowsmile'] == 1 ) ) { $template->assign_block_vars('quick_reply.switch_show_all_smiles', array( 'U_MORE_SMILIES' => append_sid("posting.$phpEx?mode=smilies"), 'L_ALL_SMILIES' => $lang['Quick_Reply_smilies']) ); } // // Show a line with BBCode buttons or not // if ( ( $board_config['allow_bbcode'] == 1 ) && ( $userdata['user_allowbbcode'] == 1 ) ) { $template->assign_block_vars('quick_reply.switch_show_bbcode', array()); } $template->assign_vars(array( 'L_BBCODE_CLOSE_TAGS' => $lang['Close_Tags'], 'L_USERNAME' => $lang['Username'], 'L_NOTIFY_ON_REPLY' => $lang['Notify'], 'L_ATTACH_SIGNATURE' => $lang['Attach_signature'], 'L_EMPTY_MESSAGE' => $lang['Empty_message'], 'L_QUOTE_LAST_MESSAGE' => $lang['Quick_quote'], 'L_QUICK_REPLY' => $lang['Quick_Reply'], 'L_PREVIEW' => $lang['Preview'], 'L_SUBMIT' => $lang['Submit']) ); $template->assign_var_from_handle('QUICKREPLY_OUTPUT', 'quick_reply_output'); ?>
<BEGIN><script><!--// bbCode control by// subBlue design// [url=http]http://www.subBlue.com[/url] // Startup variablesvar imageTag = false;var theSelection = false; // Check for Browser & Platform for PC & IE specific bits// More details from: [url=http://www.mozilla.org/docs/web-developer/sniffer/browser_type.htmlvar]http://www.mozilla.org/docs/web-develop ... pe.htmlvar[/url] clientPC = navigator.userAgent.toLowerCase(); // Get client infovar clientVer = parseInt(navigator.appVersion); // Get browser version var is_ie = ((clientPC.indexOf("msie") != -1) && (clientPC.indexOf("opera") == -1));var is_nav = ((clientPC.indexOf('mozilla')!=-1) && (clientPC.indexOf('spoofer')==-1) && (clientPC.indexOf('compatible') == -1) && (clientPC.indexOf('opera')==-1) && (clientPC.indexOf('webtv')==-1) && (clientPC.indexOf('hotjava')==-1));var is_moz = 0; var is_win = ((clientPC.indexOf("win")!=-1) || (clientPC.indexOf("16bit") != -1));var is_mac = (clientPC.indexOf("mac")!=-1); // Define the bbCode tagsbbcode = new Array();bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list type=]','[/list]','[flash=,]','[/flash:12i3mevk]','[url]','[/url]');imageTag = false; // Replacement for arrayname.length propertyfunction getarraysize(thearray) { for (i = 0; i < thearray.length; i++) { if ((thearray[i] == "undefined") || (thearray[i] == "") || (thearray[i] == null)) return i; } return thearray.length;} // Replacement for arrayname.push(value) not implemented in IE until version 5.5// Appends element to the arrayfunction arraypush(thearray,value) { thearray[ getarraysize(thearray) ] = value;} // Replacement for arrayname.pop() not implemented in IE until version 5.5// Removes and returns the last element of an arrayfunction arraypop(thearray) { thearraysize = getarraysize(thearray); retval = thearray[thearraysize - 1]; delete thearray[thearraysize - 1]; return retval;}var is_submit = false;var hilf; function checkForm() { formErrors = false; hilf = document.post.message.value; if (document.post.message.value.length < 2) { formErrors = "{L_EMPTY_MESSAGE}"; } if (formErrors) { alert(formErrors); return false; } else if (is_submit) { alert('Your post is already submitted'); return false; } else { is_submit = true; } if (document.post.quick_quote.checked) { document.post.message.value = document.post.last_msg.value + hilf; } document.post.message.value = document.post.message.value; return true; } function emoticon(text) { var txtarea = document.post.message; text = ' ' + text + ' '; if (txtarea.createTextRange && txtarea.caretPos) { var caretPos = txtarea.caretPos; caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? caretPos.text + text + ' ' : caretPos.text + text; txtarea.focus(); } else { txtarea.value += text; txtarea.focus(); }} function bbstyle(bbnumber) { var txtarea = document.post.message; txtarea.focus(); donotinsert = false; theSelection = false; bblast = 0; if (bbnumber == -1) { // Close all open tags & default button names while (bbcode[0]) { butnumber = arraypop(bbcode) - 1; txtarea.value += bbtags[butnumber + 1]; buttext = eval('document.post.addbbcode' + butnumber + '.value'); eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"'); } imageTag = false; // All tags are closed including image tags <img> txtarea.focus(); return; } if ((clientVer >= 4) && is_ie && is_win) { theSelection = document.selection.createRange().text; // Get text selection if (theSelection) { // Add tags around selection document.selection.createRange().text = bbtags[bbnumber] + theSelection + bbtags[bbnumber+1]; txtarea.focus(); theSelection = ''; return; } } else if (txtarea.selectionEnd && (txtarea.selectionEnd - txtarea.selectionStart > 0)) { mozWrap(txtarea, bbtags[bbnumber], bbtags[bbnumber+1]); return; } // Find last occurance of an open tag the same as the one just clicked for (i = 0; i <bbcode></script> <form><input><span><b>{L_QUICK_REPLY}:</b><br><BEGIN>{L_USERNAME}: <input><br><END><table> <tr> <td> <table> <tr> <td> <textarea></textarea><br> </td> </tr> </table> </td> <BEGIN> <td></td> <td> <table> <tr> <td><b>{L_EMOTICONS}</b></td> </tr> <BEGIN> <tr> <BEGIN><td>ALOEE<img></a></td><END> </tr> <END> </table> </td> <END> </tr> <BEGIN> <tr> <td><span> <input> <input> <input> <input> <input> <input> <input> </span></td> </tr> <END></table> <a>Smilies!</a><br><input>{L_QUOTE_LAST_MESSAGE}<br><input>{L_ATTACH_SIGNATURE}<br><input>[color=red]Benachrichtigen bei Antworten?[/color]<br><input><input><input><input> <input><input></span></form><END>
"tmotley";p="538" wrote:Anybody want to give me some tips to find the Quick Reply issue in iCGStation? <img>
"tmotley";p="1520" wrote:Issues Remaining:
A. Poll page messed up until you vote.
B. Center Portal blocks have content cutoff on right side.
C. Bottom of my forum shoutbox isn't normal looking.
D. My portal mini-cal give errors if I try to use it.
"Michaelo";p="2498" wrote:Just a note re Minical problem... We are looking into it (and it's very dark <img>)...
Mike
<was>no_thread_stretch({BLOCK_WIDTH}+233);
Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Vendethiel