Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Active pet widget? (http://www.mysidiaadoptables.com/forum/showthread.php?t=5064)

Kyttias 03-21-2016 10:26 AM

Alright right at the top of your file, check that there is not a blank space before <?php - because in what you copy pasted above there is and that could cause the issue. Maybe. Probably not, though.

See, the thing is, I just replaced my entire file with yours and everything still works fine - I can log in and out.

Might I suggest clearing your browser's cache/cookies?

Ittermat 03-21-2016 10:29 AM

ah okay....LEmme try that...

Sorry to cause so much trouble...Im trying to learn.. XD

thank you for your patience with me.

EDIT nope... that did not solve the problem.... still gives me the errors...?

Kyttias 03-21-2016 10:30 AM

Made an edit above.

But yeah I'm completely baffled by this one. :ti:

Ittermat 03-21-2016 10:34 AM

I'll try clearing my cookies XD one moment... XD

EDIT: Nope still the same problem..

Ittermat 03-21-2016 01:46 PM

I just wanted you to see how much of a ***** I am... the problem?

Apparently was an unseen space at the END of the coding....

so there was a space after-?>

Im an idiot... it works now.. XD

Ittermat 03-22-2016 01:03 PM

Also I have a question I was going to message you about but i have to post in here-- The active pet widget works- but I dont get the "speech bubbles" telling me something happened.. do you happen to know what in my browser settings/internet settings might prevent that from happening?

Kyttias 03-22-2016 03:26 PM

??? The text is appearing, right? (And it should only appear sometimes, not all the time. If you really want something to appear all the time I'll have to modify the code.) If you want the text to appear in a speech bubble, you're going to need to style the div the text is in with css. I already told you that the div has a css class of "speechbubble". You can add something like this to your template theme's css:

Code:

.speechbubble {
position: relative;
padding: 15px;
text-align: center;
background: #FFFFFF;
-webkit-border-radius: 53px;
-moz-border-radius: 53px;
border-radius: 53px;
border: #7F7F7F solid 2px;
}

.speechbubble:after {
content: '';
position: absolute;
border-style: solid;
border-width: 15px 15px 0;
border-color: #FFFFFF transparent;
display: block;
width: 0;
z-index: 1;
margin-left: -15px;
bottom: -15px;
left: 50%;
}

.speechbubble:before {
content: '';
position: absolute;
border-style: solid;
border-width: 16px 16px 0;
border-color: #7F7F7F transparent;
display: block;
width: 0;
z-index: 0;
margin-left: -16px;
bottom: -18px;
left: 50%;
}

Here's a neat site where you can use a generator to style a speech bubble. When you're done, look at the very top edge of the page for a button that "CSS" and it'll pull down the code - change the class name from .bubble to .speechbubble and then that should work. Above, I've also done three other things that their generator doesn't do - I removed the width and height, for one, and two, I centered the text. This way it'll be only as big as it needs to be.

Ittermat 03-22-2016 05:51 PM

well I havent seen the pet say anything yet.. XD (I know it doesnt happen ALL the time) but I havent noticed if there was text? I just kinda was clicking around to test it and then went to my inventory to find I had gained the items without anything that I noticed telling me...

I'll check this out! thanks.. I thought maybe I was just blocking it somehow because im paranoid and blocked stuff from appearing on webpages

EDIT: another quick question- if Im using bootstrap- which CSS File do I add this to?

Ittermat 03-22-2016 08:34 PM

Also no...apparently none of the text is appearing for me... my money amount changed but I saw no "(pet) has found some money!"

Or whatever it says..?

No speechbubbles for me either (though I admit I havent added the css you gave me since I dont know in which boostrap css to put it XD)

Kyttias 03-22-2016 08:59 PM

??? Send me your file, I guess. I tested your file previously, your exact file, and it was working just fine on mine.


All times are GMT -5. The time now is 02:44 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.