Better Prompt 4 bbcode question

Mod Support

Moderators: BNa, Sekuro, 4seven

Better Prompt 4 bbcode question

Postby iamthestreets » 05 Sep 2012, 15:10

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.
iamthestreets

Tiptop

Tiptop
 
Posts: 17
Joined: 02 Jul 2012, 17:23
 
Resolution: 1600x900


Re: Better Prompt 4 bbcode question

Postby 4seven » 05 Sep 2012, 16:23

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
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4seven

Tiptop

Tiptop
 
Posts: 318
Joined: 20 Jun 2012, 16:55
 
Resolution: 1920x1080


Re: Better Prompt 4 bbcode question

Postby iamthestreets » 05 Sep 2012, 20:57

I made those changes and I still need to put my mouse over the text box. Anything i'm missing?
iamthestreets

Tiptop

Tiptop
 
Posts: 17
Joined: 02 Jul 2012, 17:23
 
Resolution: 1600x900


Re: Better Prompt 4 bbcode question

Postby 4seven » 05 Sep 2012, 21:01

Have you checked the demo with your browser?
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4seven

Tiptop

Tiptop
 
Posts: 318
Joined: 20 Jun 2012, 16:55
 
Resolution: 1920x1080


Re: Better Prompt 4 bbcode question

Postby iamthestreets » 06 Sep 2012, 13:35

Yes the demo works great, but on my forum it does not.
iamthestreets

Tiptop

Tiptop
 
Posts: 17
Joined: 02 Jul 2012, 17:23
 
Resolution: 1600x900


Re: Better Prompt 4 bbcode question

Postby 4seven » 06 Sep 2012, 16:48

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.
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4seven

Tiptop

Tiptop
 
Posts: 318
Joined: 20 Jun 2012, 16:55
 
Resolution: 1920x1080


Re: Better Prompt 4 bbcode question

Postby iamthestreets » 06 Sep 2012, 17:50

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.
iamthestreets

Tiptop

Tiptop
 
Posts: 17
Joined: 02 Jul 2012, 17:23
 
Resolution: 1600x900


Re: Better Prompt 4 bbcode question

Postby 4seven » 06 Sep 2012, 19:54

Access will be fine. This mod is easy constructed and errors very rare. Seems there is another code with side-effects.
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4seven

Tiptop

Tiptop
 
Posts: 318
Joined: 20 Jun 2012, 16:55
 
Resolution: 1920x1080


Re: Better Prompt 4 bbcode question

Postby iamthestreets » 06 Sep 2012, 21:12

can i pm you the access?
iamthestreets

Tiptop

Tiptop
 
Posts: 17
Joined: 02 Jul 2012, 17:23
 
Resolution: 1600x900


Re: Better Prompt 4 bbcode question

Postby 4seven » 06 Sep 2012, 21:30

Thats what i say ;)
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4seven

Tiptop

Tiptop
 
Posts: 318
Joined: 20 Jun 2012, 16:55
 
Resolution: 1920x1080


Next

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron