Page 1 of 1
Remove Select Expand from quote box ?

Posted:
Tue Feb 26, 2008 10:50 am
Author: Sligo
Your phpBB Version: 2.0.
phpBB Type: Standard phpBB
MODs: No
Your knowledge: Beginner
Board URL: [url]unpublished[/url]
PHP Version:
MySQL Version:
What was done before the problem appeared?
n/a
What was done to try to solve the problem?
search forum for answers
De.scription and Message
I would like to remove the à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¹ Select à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ º and à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¹ Expand à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ º options from the quote/code boxes. I'm trying to pare down my IM141 for a cleaner look, and there won't be enough quoting and code snippets to warrant it anyways.
Can this be done through the ACP or do I need to comment-out/delete something?
Re: Remove ‹ Select âÃ

Posted:
Thu Feb 28, 2008 5:04 am
Author: obiku
comment/delete......
You have to rewrite the quote bbcode, rewrite it to its original look.
Take a look at your bbcode.php and the bbcode.tpl
Re: Remove ‹ Select âÃ

Posted:
Thu Feb 28, 2008 2:13 pm
Author: Sligo
I don't have enough php/tpl experience to recognize the appropriate lines to edit.
I looked at both files and did not see anything that might represent the 'expand' and 'select' options.
Re: Remove ‹ Select âÃ

Posted:
Sun Mar 02, 2008 8:58 am
Author: tmotley
I believe templates/fi_divexpand.js is the .script that adds that functionality. Removing the .script calls in bbcode.tpl doesn't work because then it puts the quoted text in the header part of the quote... I assume it's missing a div when the .script call is removed.
Editing fi_divexpand.js affects code and php bbcodes as well. I little testing on my site ended with this that seems to work with minimal editing.
OPEN templates/fi_divexpand.js
FIND: (line 38)
- Code: Select all
document.write('‹ <a>Select</a> ›‹ <span><a>Expand</a> ›</span></div><div>');
REPLACE WITH] document.write(' </div><div>'); [/code]
*NOTE* - Part of the FIND code posted above is being parsed as html strangely enough... If you do this slight modification, you should A) backup your fi_divexpand.js and B) replace the second to last line of fi_divexpand.js (it's my line 38) with the code posted in the REPLACE WITH:
Re: Remove ‹ Select âÃ

Posted:
Mon Mar 03, 2008 11:23 pm
Author: Sligo
tmotley,
Thanks so much for the help! I'm almost there...I'm still getting this:
so-and-so wrote ([url=http]view post[/url]): à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ º
I'm trying to get rid of the link part so that my quote boxes will read:
so-and-so wrote:
I tried looking for some info to understand document.write better, but I'm afraid java .scripting is beyond my skill level at this point. Any ideas? Seems like I need just one more small edit (famous last words!)...

Posted:
Tue Mar 04, 2008 7:16 am
Author: tmotley
I kind of like that (view post) part since it helps prevent someone intentionally misquoting someone... since a link to the quoted post is there.
I'll take a look at it tonight if I get a chance. Unless someone beats me to the punch.
Re: Remove ‹ Select âÃ

Posted:
Tue Mar 04, 2008 6:37 pm
Author: tmotley
I would think this would work... back up your bbcode.tpl file just to be safe.
OPEN bbcode.tpl
FIND:
[code] <BEGIN><script></script><table><tr><td><div>{USERNAME} {L_WROTE} ({U_VIEW_POST})]
REPLACE WITH:
[code] <BEGIN><script></script><table><tr><td><div>{USERNAME} {L_WROTE}]
FIND:
[code] <BEGIN><script></script><table><tr><td><div>{L_QUOTE} ({U_VIEW_POST})]
REPLACE WITH:
[code] <BEGIN><script></script><table><tr><td><div>{L_QUOTE}]
Re: Remove ‹ Select âÃ

Posted:
Tue Mar 04, 2008 10:19 pm
Author: Sligo
EDIT: it worked. thanks Tim!!!
Re: Remove ‹ Select âÃ

Posted:
Tue Mar 11, 2008 10:16 am
Author: Sligo
I spoke too soon - there's still one issue left (see attached). If the quote is over a certain number of lines long, a scroll bar will appear on the side. I want to have the quote box auto-size to display all text, and never use the scroll bar. Can this be done?
Re: Remove ‹ Select âÃ

Posted:
Tue Apr 01, 2008 8:16 am
Author: Sligo
Any ideas?

Posted:
Sun Jun 01, 2008 11:56 am
Author: HardHead
This worked as far as removing the à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¹ Select à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ º and à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¹ Expand à¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ º options.
http://www.hh-forums.com/viewtopic.php?t=1507How do I adjust the Hight

I tried reediting a few thing but it didn't work.