Author: Dioncecht » Sat Feb 03, 2007 11:31 am
Thanks, but that didn't work. The tutorial is for adding BBCode button on a phpbb board and Integra is alot different. I actually got the button to show up, but clicking on it does absolutly nothing. The help line doesn't even show up. The only thing that works about it is the button shows up and the ALT text works, thats it.
The tutorial says to look for "bbtags = new Array( " in posting_body.tpl but no such thing exists in that tpl file. Here is my posting_body.tpl
- Code: Select all
<script></script><script></script> <script></script><script> var is_event_allowed = 0; var is_delayed_allowed = 0; function checkForm2() { formErrors = false; if (document.post.message.value.length < 2) { formErrors = "You must enter a message when posting"; } if (is_event_allowed && is_delayed_allowed){ if (document.post.calendar_event.value && document.post.forcetime.value) { alert("A calendar event can't be posted as a delayed topic"); return false; } } if (is_event_allowed) { if (!document.post.calendar_event.value && document.post.topic_calendar_repeats_value.value != 0) { alert("A repeating event must have a calendar event specified"); return false; } }if (formErrors) { alert(formErrors); return false; } else if (is_submit) { alert('Your post is already submitted'); return false; } else { is_submit = true; } return true;}</script><style>.postimage { cursor]http://www.HVMDesign.com[/url]" target="blank">Advanced BBCode Box v5.0.0</a> </td> </tr> </table> </td> <td><img></td> </tr> <tr> <td><img></td> <td> <table> <tr> <td><img></td> <td> <select> <option>Font type</option> <option>Arial</option> <option>Arial Black</option> <option>Century Gothic</option> <option>Comic Sans MS</option> <option>Courier New</option> <option>Georgia</option> <option>Lucida Console</option> <option>Microsoft Sans Serif</option> <option>Symbol</option> <option>Tahoma</option> <option>Trebuchet</option> <option>Times New Roman</option> <option>Verdana</option> </select> <select> <option>Font Size</option> <option>{L_FONT_TINY}</option> <option>{L_FONT_SMALL}</option> <option>{L_FONT_NORMAL}</option> <option>{L_FONT_LARGE}</option> <option>{L_FONT_HUGE}</option> </select> <select> <option>Font Color</option> <option>{L_COLOR_RED}</option> <option>{L_COLOR_ORANGE}</option> <option>{L_COLOR_BROWN}</option> <option>{L_COLOR_YELLOW}</option> <option>{L_COLOR_GREEN}</option> <option>{L_COLOR_OLIVE}</option> <option>{L_COLOR_CYAN}</option> <option>{L_COLOR_BLUE}</option> <option>{L_COLOR_DARK_BLUE}</option> <option>{L_COLOR_INDIGO}</option> <option>{L_COLOR_VIOLET}</option> <option>{L_COLOR_WHITE}</option> <option>{L_COLOR_BLACK}</option> </select> </td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> </tr> </table> </td> <td><img></td> </tr> <tr> <td><img></td> <td> <table> <tr> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> </tr> </table> </td> <td><img></td> </tr> <tr> <td><img></td> <td> <table> <tr> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> <td><img></td> </tr> </table> </td> <td><img></td> </tr> <tr> <td><img></td> <td> <table> <tr> <td><img></td> <td><input></td> </tr> </table> </td> <td><img></td> </tr> <tr> <td><textarea>{MESSAGE}</textarea></td> </tr><BEGIN> <tr> <td><br><br>{CONFIRM_IMAGE}<br><br></td> </tr> <tr> <td><span><b>{L_CT_CONFIRM}</b></span><br><span>{L_CT_CONFIRM_E}</span><br><br><input>{S_HIDDEN_FIELDS}</td> </tr><END> <tr> <td>{S_HIDDEN_FORM_FIELDS} <input> <input> </td> </tr> </table> </td> </tr></table> </td></tr><tr><td><span>{L_OPTIONS}:</span><br><span>{HTML_STATUS}<br>{BBCODE_STATUS}<br>{SMILIES_STATUS}</span></td><td> <table><BEGIN><tr><td><input></td><td>{L_DISABLE_HTML}</td></tr><END><BEGIN><tr><td><input></td><td>{L_DISABLE_BBCODE}</td></tr><END><BEGIN><tr><td><input></td><td>{L_DISABLE_SMILIES}</td></tr><END><BEGIN><tr><td><input></td><td>{L_ATTACH_SIGNATURE}</td></tr><END><BEGIN><tr> <td> <input></td><td><span>{L_SET_BOOKMARK}</span></td></tr><END><BEGIN><tr><td><input></td><td>{L_NOTIFY_ON_REPLY}</td></tr><END><BEGIN><tr><td><input></td><td>{L_DELETE_POST}</td></tr><END><BEGIN><tr> <td> <input></td><td><span>{L_LOCK_TOPIC}</span></td></tr><END><BEGIN><tr> <td> <input></td><td><span>{L_UNLOCK_TOPIC}</span></td></tr><END><BEGIN><style>@import url({TEMPLATE_PATH}calendar.css);</style><script></script><script></script><script></script><script> is_event_allowed = 1;</script><tr><td><hr></td></tr><tr><td></td><td><table><tr><td><span><b>{L_CALENDAR_TITLE} :</b></span></td><td><span><input> <img> <img></span></td><script>Calendar.setup({inputField : "calendarevent", // ID of the input fieldifFormat : "%A, %B %e, %Y %I:%M %p", // the date formatbutton : "trigger2", // ID of the buttonalign : "T1"});</script><tr><td><span><b>{L_CALENDAR_UNTIL} :</b></span></td><td><span><input> <img> <img></span></td><script>Calendar.setup({inputField : "calendarduration", // ID of the input fieldifFormat : "%A, %B %e, %Y %I:%M %p", // the date formatbutton : "trigger3", // ID of the buttonalign : "T1"});</script></tr><tr><td><span><b>{L_REPEAT_MODE} :</b></span></td><td><span>{S_REPEATS_VALUE}{S_REPEATS}</span></td></tr></table><tr><td><hr></td></tr><END><BEGIN><tr><td></td><td><strong>{S_TYPE_TOGGLE}</strong></td></tr><END></table>{ATTACHBOX}{POLLBOX}{DELAYEDPOST}<tr><td>{S_HIDDEN_FORM_FIELDS}<input> <input></td></tr></table></form><BEGIN><table><tr><th>{pm_review.L_MESSAGE_PREVIEW}</th></tr><tr> <td>{pm_review.PM_REVIEW_MESSAGE}</td></tr></table><END>{TOPIC_REVIEW_BOX} <table><tr><td><a>{L_INDEX}</a> <BEGIN>{NAV_CAT_DESC}<END>{NAV_SEPARATOR} {L_POST_A}</td></tr><tr><td><br>{JUMPBOX}</td></tr></table>
Here is the mod I am tryingot install.. I posted about awhile ago, but it got forgotten about and now my users are bugging me daily about it... Please please please help me get this ported? <img>
You do not have the required permissions to view the files attached to this post.
Last edited by Dioncecht on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney
[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]