3.1.x Extensions Database 3.1 / 3.2[RC] Smilie Signs

<span class="qte-attr qte_31_32-qte">3.1.x &amp; 3.2.x</span>
User avatar

Puchahawa
Users
Users
Posts: 193
Joined: 20 Jun 2015, 17:58
    Windows 7 Chrome

Re: Smilie Signs

Post by Puchahawa »

Well, operator error struck again. :whistl: replaced the whole div with that bit instead of just that part. :oops: Added the smilie and here we are.
correct.png
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

Topic Author
Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Smilie Signs

Post by Sniper_E »

I found out... and you can see by your image that aero black's shadow is being cut off.

First line of HTML Replacement

Code: Select all

<div class="signs" style="text-align: center;padding: 6px 6px 0;display: inline-block;">
See, messing with you helps me find other flaws in my codes that need adjustment. :thankyou:
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

Puchahawa
Users
Users
Posts: 193
Joined: 20 Jun 2015, 17:58
    Windows 7 Chrome

Re: Smilie Signs

Post by Puchahawa »

Win / win. :eusa_dance: :lol:
padding.png
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

Topic Author
Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Smilie Signs

Post by Sniper_E »

A few users have reported they can not see the images in the drop down because of their browser, or for whatever reason.
I've come up with another delivery system you guys may like.

Look for the smilie signs button image.
show_smiliesign_selections.gif
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Last edited by Sniper_E on 08 Oct 2016, 02:07, edited 1 time in total.

User avatar

Kinsman
Users
Users
Posts: 109
Joined: 18 Aug 2016, 15:38
    Windows 10 Firefox

Re: Smilie Signs

Post by Kinsman »

Make it simple to revert, my smiley scroll boxes are fairly customised. :whistl:

User avatar

Puchahawa
Users
Users
Posts: 193
Joined: 20 Jun 2015, 17:58
    Windows 7 Chrome

Re: Smilie Signs

Post by Puchahawa »

That looks cool Sniper. Looking forward to testing it.

User avatar

Topic Author
Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Smilie Signs

Post by Sniper_E »

This is still in the works. Trying to make it work in the buttons extensions and in the chats. Difficult so far.

This is the base of it. Getting there...
Last edited by Sniper_E on 14 Oct 2016, 04:37, edited 1 time in total.

User avatar

Puchahawa
Users
Users
Posts: 193
Joined: 20 Jun 2015, 17:58
    Windows 7 Chrome

Re: Smilie Signs

Post by Puchahawa »

Good progress. :tumbsyes: I really like the option you've chosen of having the sign smilies on the right side. :cool:

I did a disable, delete data, enable.

This is what I'm seeing with prosilver. The button shows and works in prosilver. Choosing a sign from the list works correctly.
106dev pro.png
and this is aero with the edited html repl. The button shows in aero but doesn't work. EDIT: corrected attachment. :whistl:
106dev aero.png
You will want to know that these results are using the smilies scroll box ext.
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

Topic Author
Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Smilie Signs

Post by Sniper_E »

Thank you my man!
Damn, I didn't even think about updating the migration file for the html replacement in that dev package.

And I noticed later some of those images want show. I know what I did wrong creating those images.
I'll fix those. What images are those not showing in your post under the sign? All of them?
Is {ROOT_PATH} not working?

Code: Select all

<img src="{ROOT_PATH}ext/sniper/smiliesigns/images/icons/acute.gif" alt="" title="{L_ACUTE_TITLE}" />
Yea it's cool having the smilies replaced with these sign smilies but it's tough making it all work together.
I may have to put these smilie selections in a popup instead. I'll keep working with it first before I go popup.
My only other choice is having them show where the Tables Guide instructions show but I don't like that idea at all.

User avatar

Puchahawa
Users
Users
Posts: 193
Joined: 20 Jun 2015, 17:58
    Windows 7 Chrome

Re: Smilie Signs

Post by Puchahawa »

The three I have looked at are cheers, beer and bdaycandle. so I'm thinking you may be right and root path isn't working. will check some others to confirm.

Edit: tested 6 others and none of them show.
Last edited by Puchahawa on 13 Oct 2016, 20:54, edited 2 times in total.

User avatar

dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Smilie Signs

Post by dmzx »

Ed did you try ?

Code: Select all

<img src="{BOARD_URL}/ext/sniper/smiliesigns/images/icons/acute.gif" alt="" title="{L_ACUTE_TITLE}" />

User avatar

Topic Author
Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Smilie Signs

Post by Sniper_E »

I noticed some of those icon images are missing. What happened to them? Weird because I had them in there.

Replacing {ROOT_PATH}ext/ with ./ext/ would work but not everywhere. I think I tried {BOARD_URL}/ext/ but I'll look again.

EDIT: {BOARD_URL} and {ROOT_PATH} both work in the template but not in the html replacement.
Last edited by Sniper_E on 13 Oct 2016, 21:24, edited 2 times in total.

User avatar

Topic Author
Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Smilie Signs

Post by Sniper_E »

EDIT: No no no the {ROOT_PATH}ext/ is used in the template for the smilie icon images to show. That works fine.

It's the ./ext/ code in the html replacement where the problem is at. Can we use {ROOT_PATH} or {BOARD_URL} in BBCodes?

./ext/ and ext/ work in the html replacement on my board but if you were in the apps/ directory with mchat it want work, I think.
Last edited by Sniper_E on 13 Oct 2016, 21:25, edited 1 time in total.

User avatar

Topic Author
Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Smilie Signs

Post by Sniper_E »

Having to hard code your sites url works in the html replacement but {BOARD_URL} and {ROOT_PATH} is not recognized.

Code: Select all

<img src="http://sniper-e.com/ext/sniper/smiliesigns/images/sign_{SIMPLETEXT}.gif" alt="" />

User avatar

dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Smilie Signs

Post by dmzx »

Check your migration file it inserts:

<img src="./ext/sniper/smiliesigns/styles/all/theme/images/wood_pole_{SIMPLETEXT}.gif" alt="" style="margin-top: -1px;" />

Post Reply Previous topicNext topic