Page 1 of 2

Better Prompt 4 bbcode question

PostPosted: 05 Sep 2012, 15:10
by iamthestreets
Hi 4seven,

Edit: found out how to change color. still would like to know if the second question is possible.
how do i change the background color of the prompt?

Also, how do I Change the question mark icon to display as a different image for each popup? for example if the popup is for an image I would like to display an image icon instead of the questions mark. The same goes for the url and flash.

Edit: Another 2 questions. Can I add a dim background to the page when the prompt is clicked? Can I make the cursor appear in the text box as soon as the popup opens?

Thanks in advanced for your help.

Re: Better Prompt 4 bbcode question

PostPosted: 05 Sep 2012, 16:23
by 4seven
iamthestreets wrote:Can I add a dim background to the page when the prompt is clicked?

No clue, but i dont thinks so. In v.0.0.3 i may use another api, which will support that.
For me those effects are dalliance and not "the most wanted".

iamthestreets wrote: Can I make the cursor appear in the text box as soon as the popup opens?

The Fix was already there
https://www.phpbb.com/community/viewtop ... #p13007668
viewtopic.php?f=3&t=34&p=615#p615

Re: Better Prompt 4 bbcode question

PostPosted: 05 Sep 2012, 20:57
by iamthestreets
I made those changes and I still need to put my mouse over the text box. Anything i'm missing?

Re: Better Prompt 4 bbcode question

PostPosted: 05 Sep 2012, 21:01
by 4seven
Have you checked the demo with your browser?

Re: Better Prompt 4 bbcode question

PostPosted: 06 Sep 2012, 13:35
by iamthestreets
Yes the demo works great, but on my forum it does not.

Re: Better Prompt 4 bbcode question

PostPosted: 06 Sep 2012, 16:48
by 4seven
Have you check for firebug errors? Which style you use? If not standard style, update the style to 3.0.10/11. If standard style, search for competitive scripts or code in editor.js and posting_buttons.html, related to this > https://www.phpbb.com/community/viewtop ... #p13007668. If nothing goes, setup a virgin board and compare relevant files via windiff or similar. Otherwise i need ftp access and a testuser. On my boards it works from the first run.

Re: Better Prompt 4 bbcode question

PostPosted: 06 Sep 2012, 17:50
by iamthestreets
The style I'm using is art_ultra_gray.

Here is my code in posting buttons
Code: Select all
<!-- IF S_LINKS_ALLOWED -->
         <img class="btnbbcode" style="margin-bottom: -6px;" accesskey="w" src="{T_THEME_PATH}/images/createlink.gif" name="addbbcode16" value="URL"  width="21px" height="20" onclick="bbstyle(16)" onmouseover="helpline('w')" onmouseout="helpline('tip')" title="{LA_BBCODE_W_HELP}" />
      <!-- ENDIF -->


I noticed you have ('input.button2') but my class is different and i am not using input.
Code: Select all
<script type="text/javascript">
// <![CDATA[
$('input.button2').click(function(){
if ($("#popup_prompt").length){
$("#popup_prompt").focus();}
});
// ]]>
</script>


Edit: even in standard prosilver style it does not work

I really don't understand everything your asking me to do. I can give you Ftp access and a testuser.

Re: Better Prompt 4 bbcode question

PostPosted: 06 Sep 2012, 19:54
by 4seven
Access will be fine. This mod is easy constructed and errors very rare. Seems there is another code with side-effects.

Re: Better Prompt 4 bbcode question

PostPosted: 06 Sep 2012, 21:12
by iamthestreets
can i pm you the access?

Re: Better Prompt 4 bbcode question

PostPosted: 06 Sep 2012, 21:30
by 4seven
Thats what i say ;)